diff options
author | Tim Harder <radhermit@gentoo.org> | 2013-01-04 00:33:39 +0000 |
---|---|---|
committer | Tim Harder <radhermit@gentoo.org> | 2013-01-04 00:33:39 +0000 |
commit | 5218cac49b18ed6a72ed629b3a1aa84c1bbfb7a5 (patch) | |
tree | 953885240643db9b59ced4d1e7f666db4c4659b7 /dev-python/yenc/yenc-0.4.0-r1.ebuild | |
parent | debug USE-flag needs to be in sync with llvm's one, thanks hasufell in bug #4... (diff) | |
download | gentoo-2-5218cac49b18ed6a72ed629b3a1aa84c1bbfb7a5.tar.gz gentoo-2-5218cac49b18ed6a72ed629b3a1aa84c1bbfb7a5.tar.bz2 gentoo-2-5218cac49b18ed6a72ed629b3a1aa84c1bbfb7a5.zip |
Revbump to migrate to distutils-r1.
(Portage version: 2.2.0_alpha149/cvs/Linux x86_64, signed Manifest commit with key 4AB3E85B4F064CA3)
Diffstat (limited to 'dev-python/yenc/yenc-0.4.0-r1.ebuild')
-rw-r--r-- | dev-python/yenc/yenc-0.4.0-r1.ebuild | 29 |
1 files changed, 29 insertions, 0 deletions
diff --git a/dev-python/yenc/yenc-0.4.0-r1.ebuild b/dev-python/yenc/yenc-0.4.0-r1.ebuild new file mode 100644 index 000000000000..9a0a4c291651 --- /dev/null +++ b/dev-python/yenc/yenc-0.4.0-r1.ebuild @@ -0,0 +1,29 @@ +# Copyright 1999-2013 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/dev-python/yenc/yenc-0.4.0-r1.ebuild,v 1.1 2013/01/04 00:33:38 radhermit Exp $ + +EAPI="5" +PYTHON_COMPAT=( python{2_6,2_7} ) + +inherit distutils-r1 + +DESCRIPTION="Module providing raw yEnc encoding/decoding" +HOMEPAGE="http://www.golug.it/yenc.html" +SRC_URI="http://www.golug.it/pub/${PN}/${P}.tar.gz" + +LICENSE="LGPL-2.1" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="" + +# Remove forced CFLAG on setup.py +PATCHES=( "${FILESDIR}"/${PN}-remove-cflags.patch ) + +python_test() { + "${PYTHON}" test/test.py || die "Test failed." +} + +python_install_all() { + distutils-r1_python_install_all + dodoc doc/${PN}-draft.1.3.txt +} |