diff options
author | Kacper Kowalik <xarthisius@gentoo.org> | 2012-06-19 17:44:19 +0000 |
---|---|---|
committer | Kacper Kowalik <xarthisius@gentoo.org> | 2012-06-19 17:44:19 +0000 |
commit | 8eb6867dba002f22f538c71e99f5e49c209734e7 (patch) | |
tree | 1dad7a872a7f14de6d166ebbf261c2c80a1c07e9 /dev-python/apipkg | |
parent | Stable for AMD64, wrt bug #421489 (diff) | |
download | gentoo-2-8eb6867dba002f22f538c71e99f5e49c209734e7.tar.gz gentoo-2-8eb6867dba002f22f538c71e99f5e49c209734e7.tar.bz2 gentoo-2-8eb6867dba002f22f538c71e99f5e49c209734e7.zip |
Drop MY_P, bump to eapi4, add missing dependency on app-arch/unzip, drop test fixes as they're no longer necessary. Thanks to Arfrever for the patch
(Portage version: 2.2.0_alpha110/cvs/Linux x86_64)
Diffstat (limited to 'dev-python/apipkg')
-rw-r--r-- | dev-python/apipkg/ChangeLog | 6 | ||||
-rw-r--r-- | dev-python/apipkg/apipkg-1.2.ebuild | 26 |
2 files changed, 13 insertions, 19 deletions
diff --git a/dev-python/apipkg/ChangeLog b/dev-python/apipkg/ChangeLog index 22380d925f92..2085eb9977b2 100644 --- a/dev-python/apipkg/ChangeLog +++ b/dev-python/apipkg/ChangeLog @@ -1,6 +1,10 @@ # ChangeLog for dev-python/apipkg # Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/dev-python/apipkg/ChangeLog,v 1.3 2012/06/19 02:38:35 patrick Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-python/apipkg/ChangeLog,v 1.4 2012/06/19 17:44:19 xarthisius Exp $ + + 19 Jun 2012; Kacper Kowalik <xarthisius@gentoo.org> apipkg-1.2.ebuild: + Drop MY_P, bump to eapi4, add missing dependency on app-arch/unzip, drop test + fixes as they're no longer necessary. Thanks to Arfrever for the patch *apipkg-1.2 (19 Jun 2012) diff --git a/dev-python/apipkg/apipkg-1.2.ebuild b/dev-python/apipkg/apipkg-1.2.ebuild index f0252d74ad41..bafd96d186ee 100644 --- a/dev-python/apipkg/apipkg-1.2.ebuild +++ b/dev-python/apipkg/apipkg-1.2.ebuild @@ -1,35 +1,25 @@ # Copyright 1999-2012 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/dev-python/apipkg/apipkg-1.2.ebuild,v 1.1 2012/06/19 02:38:35 patrick Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-python/apipkg/apipkg-1.2.ebuild,v 1.2 2012/06/19 17:44:19 xarthisius Exp $ -EAPI="3" +EAPI="4" SUPPORT_PYTHON_ABIS="1" -DISTUTILS_SRC_TEST="py.test" +DISTUTILS_SRC_TEST=py.test inherit distutils -MY_P="${PN}-${PV/_beta/b}" - -DESCRIPTION="apipkg: namespace control and lazy-import mechanism" +DESCRIPTION="namespace control and lazy-import mechanism" HOMEPAGE="http://pypi.python.org/pypi/apipkg" -SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${MY_P}.zip" +SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.zip" LICENSE="MIT" SLOT="0" KEYWORDS="~amd64 ~x86" IUSE="" -DEPEND="dev-python/setuptools" +DEPEND="app-arch/unzip + dev-python/setuptools" RDEPEND="" -S="${WORKDIR}/${MY_P}" - DOCS="CHANGELOG README.txt" -PYTHON_MODNAME="apipkg.py" - -src_prepare() { - distutils_src_prepare - - # Disable failing test. - sed -e "s/test_onfirstaccess_setsnewattr/_&/" -i test_apipkg.py -} +PYTHON_MODNAME=${PN}.py |