diff options
Diffstat (limited to 'dev-python/python-distutils-extra')
6 files changed, 194 insertions, 0 deletions
diff --git a/dev-python/python-distutils-extra/Manifest b/dev-python/python-distutils-extra/Manifest new file mode 100644 index 000000000000..d1087b9deb7f --- /dev/null +++ b/dev-python/python-distutils-extra/Manifest @@ -0,0 +1,3 @@ +DIST python-distutils-extra-2.33.tar.gz 27053 SHA256 9ae0afefc19c7788a96869816ad9d39bbb187b2c61fae663d30ef2d4bbd51bd6 SHA512 aa1fac86482ee5bcb06591d334504dafb70a9f1b65076591e853cb7ef6854b913f7ae1415fbd6021df4cc9f9f232d1e114316e58db059334698af00b2da827a3 WHIRLPOOL ecc1b44479f359f5d30c3f66d3928268cc67e3ccf9877006db297abff739a830b79ee9b987a4393628e17925db7894b38ce63982827b1082ae0811cbf0f7c5f3 +DIST python-distutils-extra-2.37.tar.gz 27518 SHA256 5c9539badfdc7e0ebb463ee66b9c09d48a08ca121c84ec7316b1fbb799a72878 SHA512 757ef3f3b3c5baa4598ac2e76fc7257fa1d3f3153b842a6a55707150414199b699f460f3b0797674d6ba23824032362a470f500d2b90d9c95a0aae1a71a2d472 WHIRLPOOL f3eb3c3a9462fdf920e52dcbabe21ae8de7e60ad6b0377c5415c34e8ce91c7e3c1cfb80d75776049de081f2fb9a5d88e30161affd2cffa9cf0ef8aaa0602e48e +DIST python-distutils-extra-2.38.tar.gz 27748 SHA256 3d100d5d3492f40b3e7a6a4500f71290bfa91e2c50dc31ba8e3ff9b5d82ca153 SHA512 bbaea59a8f251f354e6cf3799b67c12225095cc869c7c4e299e719ad7bcfd1292cff99f95ab25f04fb9c3e2432da5ea614ee76154781388c47960fdf2c90a3d7 WHIRLPOOL 10ca7754985aa634aaef7f7fc80777ca4a2b79ecc11e80c48bb2e6c1765cc9f38fbf9696957f974533f50f06db3d1bdb6527f1ed6dbe05619f3d0a17184b885d diff --git a/dev-python/python-distutils-extra/metadata.xml b/dev-python/python-distutils-extra/metadata.xml new file mode 100644 index 000000000000..baa3463d92c0 --- /dev/null +++ b/dev-python/python-distutils-extra/metadata.xml @@ -0,0 +1,8 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <herd>python</herd> + <upstream> + <remote-id type="launchpad">python-distutils-extra</remote-id> + </upstream> +</pkgmetadata> diff --git a/dev-python/python-distutils-extra/python-distutils-extra-2.33-r1.ebuild b/dev-python/python-distutils-extra/python-distutils-extra-2.33-r1.ebuild new file mode 100644 index 000000000000..750d4e2d4b79 --- /dev/null +++ b/dev-python/python-distutils-extra/python-distutils-extra-2.33-r1.ebuild @@ -0,0 +1,46 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=5 + +PYTHON_COMPAT=( python2_7 pypy ) + +inherit distutils-r1 + +DESCRIPTION="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[${PYTHON_USEDEP}]" +RDEPEND="${DEPEND}" + +DOCS=( doc/{FAQ,README,setup.cfg.example,setup.py.example} ) + +python_prepare_all() { + # 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 + + distutils-r1_python_prepare_all +} + +python_test() { + # 5 tests fail with disabled byte-compilation (they rely on exact + # output from python). + local -x PYTHONDONTWRITEBYTECODE + + cp -R -l test "${BUILD_DIR}"/ || die + + cd "${BUILD_DIR}" || die + "${PYTHON}" test/auto.py || die "Tests fail with ${EPYTHON}" +} diff --git a/dev-python/python-distutils-extra/python-distutils-extra-2.33.ebuild b/dev-python/python-distutils-extra/python-distutils-extra-2.33.ebuild new file mode 100644 index 000000000000..e85d8ed4cf00 --- /dev/null +++ b/dev-python/python-distutils-extra/python-distutils-extra-2.33.ebuild @@ -0,0 +1,49 @@ +# Copyright 1999-2014 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +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 +} diff --git a/dev-python/python-distutils-extra/python-distutils-extra-2.37-r1.ebuild b/dev-python/python-distutils-extra/python-distutils-extra-2.37-r1.ebuild new file mode 100644 index 000000000000..1a2b178d60c0 --- /dev/null +++ b/dev-python/python-distutils-extra/python-distutils-extra-2.37-r1.ebuild @@ -0,0 +1,46 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=5 + +PYTHON_COMPAT=( python{2_7,3_3} pypy ) + +inherit distutils-r1 + +DESCRIPTION="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[${PYTHON_USEDEP}]" +RDEPEND="${DEPEND}" + +DOCS=( doc/{FAQ,README,setup.cfg.example,setup.py.example} ) + +python_prepare_all() { + # 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 + + distutils-r1_python_prepare_all +} + +python_test() { + # 5 tests fail with disabled byte-compilation (they rely on exact + # output from python). + local -x PYTHONDONTWRITEBYTECODE + + cp -R -l test "${BUILD_DIR}"/ || die + + cd "${BUILD_DIR}" || die + "${PYTHON}" test/auto.py || die "Tests fail with ${EPYTHON}" +} diff --git a/dev-python/python-distutils-extra/python-distutils-extra-2.38.ebuild b/dev-python/python-distutils-extra/python-distutils-extra-2.38.ebuild new file mode 100644 index 000000000000..92df6af4de12 --- /dev/null +++ b/dev-python/python-distutils-extra/python-distutils-extra-2.38.ebuild @@ -0,0 +1,42 @@ +# Copyright 1999-2014 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=5 + +PYTHON_COMPAT=( python{2_7,3_3,3_4} pypy ) + +inherit distutils-r1 + +DESCRIPTION="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[${PYTHON_USEDEP}]" +RDEPEND="${DEPEND}" + +DOCS=( doc/{FAQ,README,setup.cfg.example,setup.py.example} ) + +DISTUTILS_IN_SOURCE_BUILD=1 + +python_prepare_all() { + # 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 || die + + distutils-r1_python_prepare_all +} + +python_test() { + # 5 tests fail with disabled byte-compilation (they rely on exact + # output from python). + local -x PYTHONDONTWRITEBYTECODE + "${PYTHON}" test/auto.py || die "Tests fail with ${EPYTHON}" +} |
