diff options
-rw-r--r-- | dev-python/python-distutils-extra/ChangeLog | 8 | ||||
-rw-r--r-- | dev-python/python-distutils-extra/python-distutils-extra-2.35.ebuild | 49 |
2 files changed, 56 insertions, 1 deletions
diff --git a/dev-python/python-distutils-extra/ChangeLog b/dev-python/python-distutils-extra/ChangeLog index 81335e79a017..ba63d0553d2f 100644 --- a/dev-python/python-distutils-extra/ChangeLog +++ b/dev-python/python-distutils-extra/ChangeLog @@ -1,6 +1,12 @@ # ChangeLog for dev-python/python-distutils-extra # Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/dev-python/python-distutils-extra/ChangeLog,v 1.16 2012/10/07 09:33:52 nixnut Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-python/python-distutils-extra/ChangeLog,v 1.17 2012/10/09 11:27:31 patrick Exp $ + +*python-distutils-extra-2.35 (09 Oct 2012) + + 09 Oct 2012; Patrick Lauer <patrick@gentoo.org> + +python-distutils-extra-2.35.ebuild: + Bump 07 Oct 2012; nixnut <nixnut@gentoo.org> python-distutils-extra-2.33.ebuild: ppc stable #429036 diff --git a/dev-python/python-distutils-extra/python-distutils-extra-2.35.ebuild b/dev-python/python-distutils-extra/python-distutils-extra-2.35.ebuild new file mode 100644 index 000000000000..a239ded8fe39 --- /dev/null +++ b/dev-python/python-distutils-extra/python-distutils-extra-2.35.ebuild @@ -0,0 +1,49 @@ +# Copyright 1999-2012 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/dev-python/python-distutils-extra/python-distutils-extra-2.35.ebuild,v 1.1 2012/10/09 11:27:31 patrick Exp $ + +EAPI="3" +PYTHON_DEPEND="2" +SUPPORT_PYTHON_ABIS="1" +RESTRICT_PYTHON_ABIS="3.*" + +inherit distutils + +DESCRIPTION="You can integrate gettext support, themed icons and scrollkeeper based documentation in distutils." +HOMEPAGE="https://launchpad.net/python-distutils-extra" +SRC_URI="http://launchpad.net/python-distutils-extra/trunk/${PV}/+download/${P}.tar.gz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64 ~ppc ~x86" +IUSE="" + +DEPEND="dev-python/setuptools" +RDEPEND="${DEPEND}" + +DOCS="doc/FAQ doc/README doc/setup.cfg.example doc/setup.py.example" +PYTHON_MODNAME="DistUtilsExtra" + +src_prepare() { + distutils_src_prepare + + # Disable broken tests. + sed \ + -e "s/test_desktop/_&/" \ + -e "s/test_po(/_&/" \ + -e "s/test_policykit/_&/" \ + -e "s/test_requires_provides/_&/" \ + -i test/auto.py +} + +src_test() { + # 5 tests fail with disabled byte-compilation. + python_enable_pyc + + testing() { + PYTHONPATH="build-${PYTHON_ABI}/lib" "$(PYTHON)" test/auto.py + } + python_execute_function testing + + python_disable_pyc +} |