diff options
author | Patrick Lauer <patrick@gentoo.org> | 2011-12-26 12:11:25 +0000 |
---|---|---|
committer | Patrick Lauer <patrick@gentoo.org> | 2011-12-26 12:11:25 +0000 |
commit | f3c623914cd3b50eec1c45fef5fb476d3d8af58d (patch) | |
tree | 8bd34612ec1b8d2a550b2b5346bfc2e0d5082ae1 /dev-python/python-distutils-extra/python-distutils-extra-2.29.ebuild | |
parent | clean up (diff) | |
download | gentoo-2-f3c623914cd3b50eec1c45fef5fb476d3d8af58d.tar.gz gentoo-2-f3c623914cd3b50eec1c45fef5fb476d3d8af58d.tar.bz2 gentoo-2-f3c623914cd3b50eec1c45fef5fb476d3d8af58d.zip |
Bump for #387387
(Portage version: 2.2.0_alpha81/cvs/Linux x86_64)
Diffstat (limited to 'dev-python/python-distutils-extra/python-distutils-extra-2.29.ebuild')
-rw-r--r-- | dev-python/python-distutils-extra/python-distutils-extra-2.29.ebuild | 49 |
1 files changed, 49 insertions, 0 deletions
diff --git a/dev-python/python-distutils-extra/python-distutils-extra-2.29.ebuild b/dev-python/python-distutils-extra/python-distutils-extra-2.29.ebuild new file mode 100644 index 000000000000..1a852f6e49bb --- /dev/null +++ b/dev-python/python-distutils-extra/python-distutils-extra-2.29.ebuild @@ -0,0 +1,49 @@ +# Copyright 1999-2011 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.29.ebuild,v 1.1 2011/12/26 12:11:25 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 +} |