diff --git a/dev-python/yenc/Manifest b/dev-python/yenc/Manifest new file mode 100644 index 000000000..9e618fa16 --- /dev/null +++ b/dev-python/yenc/Manifest @@ -0,0 +1,2 @@ +DIST yenc-0.3.tar.gz 42740 RMD160 c71c776088ebb4ccc50276957a2d58b821ab52f0 SHA1 0ce392753e825f965dfc91cd0c106e434984496e SHA256 fb04fea7c5821345608fa01728ce5356b6dfb2d3e469e59e3fd31b88f45fb313 +EBUILD yenc-0.3.ebuild 722 RMD160 6f35b64a96f570f4aa934d591341d65e8f616d9c SHA1 cb7b2be64da49b553b04eafa0c67124a17a36740 SHA256 e118fdaad6fd8042955eba53563101f6a66ca3a3fd1b93476f9d164831ba6c82 diff --git a/dev-python/yenc/yenc-0.3.ebuild b/dev-python/yenc/yenc-0.3.ebuild new file mode 100644 index 000000000..3767299ad --- /dev/null +++ b/dev-python/yenc/yenc-0.3.ebuild @@ -0,0 +1,36 @@ +# Copyright 1999-2007 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: $ + +inherit distutils + +DESCRIPTION="A fairly simple module, it provide only raw yEnc +encoding/decoding with builitin crc32 calculation.." +HOMEPAGE="http://sourceforge.net/projects/sabnzbd" +SRC_URI="http://sabnzbd.sourceforge.net/yenc-0.3.tar.gz" +S=${WORKDIR}/yenc-${PV} + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64" +IUSE="" + +DEPEND=">=dev-lang/python-2.1" + +src_unpack() { + unpack ${A} || die + cd ${S} +} + +src_install() { + distutils_src_install + insinto /usr/share/doc/${P} + doins -r yenc/doc + insinto /usr/share/${PN} + doins -r yenc/test +} + +src_test() { + cd yenc/test + python test.py || die "Test failed." +}