diff options
134 files changed, 100 insertions, 3046 deletions
diff --git a/dev-python/Babel/Babel-2.1.1-r1.ebuild b/dev-python/Babel/Babel-2.1.1-r1.ebuild deleted file mode 100644 index ba579d6977db..000000000000 --- a/dev-python/Babel/Babel-2.1.1-r1.ebuild +++ /dev/null @@ -1,49 +0,0 @@ -# Copyright 1999-2015 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Id$ - -EAPI=5 - -PYTHON_COMPAT=( python2_7 python3_{3,4,5} pypy pypy3 ) - -inherit distutils-r1 - -DESCRIPTION="A collection of tools for internationalizing Python applications" -HOMEPAGE="http://babel.edgewall.org/ https://pypi.python.org/pypi/Babel" -SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" - -LICENSE="BSD" -SLOT="0" -KEYWORDS="~amd64 ~x86 ~amd64-fbsd ~x86-fbsd ~amd64-linux ~ia64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos" -IUSE="doc test" - -RDEPEND="dev-python/pytz[${PYTHON_USEDEP}] - dev-python/setuptools[${PYTHON_USEDEP}]" -DEPEND="${DEPEND} - doc? ( dev-python/sphinx[${PYTHON_USEDEP}] ) - test? ( >=dev-python/pytest-2.3.5[${PYTHON_USEDEP}] )" - -python_prepare_all() { - # Make the tests use implementation-specific datadir, - # because they try to write in it. - sed -e '/datadir =/s:os\.path\.dirname(__file__):os.environ["BUILD_DIR"]:' \ - -i tests/messages/test_frontend.py || die - sed -e '/^intersphinx_mapping/,+3d' -i docs/conf.py || die - distutils-r1_python_prepare_all -} - -python_test() { - # Create implementation-specific datadir for tests. - cp -R -l tests/messages/data "${BUILD_DIR}"/ || die - export BUILD_DIR - py.test || die -} - -python_compile_all() { - use doc && emake -C docs html -} - -python_install_all() { - use doc && local HTML_DOCS=( docs/_build/html/. ) - distutils-r1_python_install_all -} diff --git a/dev-python/Babel/Babel-2.1.1.ebuild b/dev-python/Babel/Babel-2.1.1.ebuild index 76a20cfc8d3b..25db72185597 100644 --- a/dev-python/Babel/Babel-2.1.1.ebuild +++ b/dev-python/Babel/Babel-2.1.1.ebuild @@ -4,7 +4,7 @@ EAPI=5 -PYTHON_COMPAT=( python{2_7,3_3,3_4} pypy pypy3 ) +PYTHON_COMPAT=( python2_7 python3_{3,4,5} pypy pypy3 ) inherit distutils-r1 diff --git a/dev-python/CacheControl/CacheControl-0.11.5-r1.ebuild b/dev-python/CacheControl/CacheControl-0.11.5-r1.ebuild deleted file mode 100644 index 62ca021b2653..000000000000 --- a/dev-python/CacheControl/CacheControl-0.11.5-r1.ebuild +++ /dev/null @@ -1,31 +0,0 @@ -# Copyright 1999-2015 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Id$ - -EAPI=5 - -PYTHON_COMPAT=( python2_7 python3_{3,4,5} pypy pypy3 ) - -inherit distutils-r1 - -DESCRIPTION="The httplib2 caching algorithms packaged up for use with requests" -HOMEPAGE="https://github.com/ionrock/cachecontrol https://pypi.python.org/pypi/cachecontrol/" -SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" - -LICENSE="MIT" -SLOT="0" -KEYWORDS="~amd64 ~x86" -IUSE="redis test" - -RDEPEND=" - dev-python/requests[${PYTHON_USEDEP}] - >=dev-python/lockfile-0.9[${PYTHON_USEDEP}] - redis? ( dev-python/redis-py[${PYTHON_USEDEP}] )" -DEPENDS="${RDEPEND} - dev-python/setuptools[${PYTHON_USEDEP}] - test? ( dev-python/pytest[${PYTHON_USEDEP}] ) -" - -python_test() { - py.test -v || die -} diff --git a/dev-python/CacheControl/CacheControl-0.11.5.ebuild b/dev-python/CacheControl/CacheControl-0.11.5.ebuild index 260be47e8ff1..d030fba7e69b 100644 --- a/dev-python/CacheControl/CacheControl-0.11.5.ebuild +++ b/dev-python/CacheControl/CacheControl-0.11.5.ebuild @@ -4,7 +4,7 @@ EAPI=5 -PYTHON_COMPAT=( python{2_7,3_3,3_4} pypy pypy3 ) +PYTHON_COMPAT=( python2_7 python3_{3,4,5} pypy pypy3 ) inherit distutils-r1 diff --git a/dev-python/alabaster/alabaster-0.7.6-r1.ebuild b/dev-python/alabaster/alabaster-0.7.6-r1.ebuild deleted file mode 100644 index 54702d66d9c9..000000000000 --- a/dev-python/alabaster/alabaster-0.7.6-r1.ebuild +++ /dev/null @@ -1,19 +0,0 @@ -# Copyright 1999-2015 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Id$ - -EAPI=5 - -PYTHON_COMPAT=( python2_7 python3_{3,4,5} pypy pypy3 ) - -inherit distutils-r1 - -DESCRIPTION="A configurable sidebar-enabled Sphinx theme" -HOMEPAGE="https://github.com/bitprophet/alabaster" -SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" - -LICENSE="BSD" -KEYWORDS="~amd64 ~x86" -SLOT="0" - -DEPEND="dev-python/setuptools[${PYTHON_USEDEP}]" diff --git a/dev-python/alabaster/alabaster-0.7.6.ebuild b/dev-python/alabaster/alabaster-0.7.6.ebuild index a4b1dc36a34a..b4efc52670f2 100644 --- a/dev-python/alabaster/alabaster-0.7.6.ebuild +++ b/dev-python/alabaster/alabaster-0.7.6.ebuild @@ -2,11 +2,11 @@ # Distributed under the terms of the GNU General Public License v2 # $Id$ -EAPI="5" +EAPI=5 -PYTHON_COMPAT=( python2_7 python3_{3,4} pypy pypy3 ) +PYTHON_COMPAT=( python2_7 python3_{3,4,5} pypy pypy3 ) -inherit distutils-r1 flag-o-matic +inherit distutils-r1 DESCRIPTION="A configurable sidebar-enabled Sphinx theme" HOMEPAGE="https://github.com/bitprophet/alabaster" diff --git a/dev-python/certifi/certifi-2015.9.6.2-r1.ebuild b/dev-python/certifi/certifi-2015.9.6.2-r1.ebuild deleted file mode 100644 index 00427b5192ce..000000000000 --- a/dev-python/certifi/certifi-2015.9.6.2-r1.ebuild +++ /dev/null @@ -1,21 +0,0 @@ -# Copyright 1999-2015 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Id$ - -EAPI=5 - -PYTHON_COMPAT=( python2_7 python3_{3,4,5} pypy pypy3 ) - -inherit distutils-r1 - -DESCRIPTION="Python package for providing Mozilla's CA Bundle" -HOMEPAGE="http://certifi.io/" -SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" - -LICENSE="LGPL-2.1" -SLOT="0" -KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux" -IUSE="" - -RDEPEND="" -DEPEND="dev-python/setuptools[${PYTHON_USEDEP}]" diff --git a/dev-python/certifi/certifi-2015.9.6.2.ebuild b/dev-python/certifi/certifi-2015.9.6.2.ebuild index cebbac086d2b..480a58f96236 100644 --- a/dev-python/certifi/certifi-2015.9.6.2.ebuild +++ b/dev-python/certifi/certifi-2015.9.6.2.ebuild @@ -4,7 +4,7 @@ EAPI=5 -PYTHON_COMPAT=( python2_7 python3_{3,4} pypy pypy3 ) +PYTHON_COMPAT=( python2_7 python3_{3,4,5} pypy pypy3 ) inherit distutils-r1 diff --git a/dev-python/cffi/cffi-1.2.1-r1.ebuild b/dev-python/cffi/cffi-1.2.1-r1.ebuild deleted file mode 100644 index e4240734ea85..000000000000 --- a/dev-python/cffi/cffi-1.2.1-r1.ebuild +++ /dev/null @@ -1,42 +0,0 @@ -# Copyright 1999-2015 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Id$ - -EAPI=5 - -# DO NOT ADD pypy to PYTHON_COMPAT -# pypy bundles a modified version of cffi. Use python_gen_cond_dep instead. -PYTHON_COMPAT=( python2_7 python3_{3,4,5} ) - -inherit distutils-r1 - -DESCRIPTION="Foreign Function Interface for Python calling C code" -HOMEPAGE="http://cffi.readthedocs.org/ https://pypi.python.org/pypi/cffi" -SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" - -LICENSE="MIT" -SLOT="0/${PV}" -KEYWORDS="~amd64 ~x86 ~x86-fbsd ~x86-freebsd ~x86-interix ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~x64-solaris" -IUSE="doc" - -RDEPEND=" - virtual/libffi - dev-python/pycparser[${PYTHON_USEDEP}] - dev-python/pytest[${PYTHON_USEDEP}]" -DEPEND="${RDEPEND}" - -# Avoid race on _configtest.c (distutils/command/config.py:_gen_temp_sourcefile) -DISTUTILS_IN_SOURCE_BUILD=1 - -python_compile_all() { - use doc && emake -C doc html -} - -python_test() { - py.test -x -v --ignore testing/test_zintegration.py c/ testing/ || die "Testing failed with ${EPYTHON}" -} - -python_install_all() { - use doc && local HTML_DOCS=( doc/build/html/. ) - distutils-r1_python_install_all -} diff --git a/dev-python/cffi/cffi-1.2.1.ebuild b/dev-python/cffi/cffi-1.2.1.ebuild index b955aede1bf7..a798c659a4b1 100644 --- a/dev-python/cffi/cffi-1.2.1.ebuild +++ b/dev-python/cffi/cffi-1.2.1.ebuild @@ -2,11 +2,11 @@ # Distributed under the terms of the GNU General Public License v2 # $Id$ -EAPI="5" +EAPI=5 # DO NOT ADD pypy to PYTHON_COMPAT # pypy bundles a modified version of cffi. Use python_gen_cond_dep instead. -PYTHON_COMPAT=( python{2_7,3_3,3_4} ) +PYTHON_COMPAT=( python2_7 python3_{3,4,5} ) inherit distutils-r1 diff --git a/dev-python/characteristic/characteristic-14.3.0-r1.ebuild b/dev-python/characteristic/characteristic-14.3.0-r1.ebuild index 32358868a9dd..96745f77e7a3 100644 --- a/dev-python/characteristic/characteristic-14.3.0-r1.ebuild +++ b/dev-python/characteristic/characteristic-14.3.0-r1.ebuild @@ -14,7 +14,7 @@ SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" LICENSE="MIT" SLOT="0" -KEYWORDS="~amd64 ~x86" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~ppc ~ppc64 ~s390 ~sh ~x86" IUSE="doc test" RDEPEND="" diff --git a/dev-python/chardet/chardet-2.3.0-r1.ebuild b/dev-python/chardet/chardet-2.3.0-r1.ebuild deleted file mode 100644 index f83a2341f7db..000000000000 --- a/dev-python/chardet/chardet-2.3.0-r1.ebuild +++ /dev/null @@ -1,21 +0,0 @@ -# Copyright 1999-2015 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Id$ - -EAPI=5 - -PYTHON_COMPAT=( python2_7 python3_{3,4,5} pypy pypy3 ) - -inherit distutils-r1 - -DESCRIPTION="Universal encoding detector" -HOMEPAGE="https://github.com/chardet/chardet https://pypi.python.org/pypi/chardet" -SRC_URI="mirror://pypi/${P:0:1}/${PN}/${P}.tar.gz" - -LICENSE="LGPL-2.1" -SLOT="0" -KEYWORDS="~amd64 ~x86 ~x86-fbsd ~x86-freebsd ~amd64-linux ~x86-linux ~x64-macos ~x86-macos" -IUSE="" - -DEPEND="dev-python/setuptools[${PYTHON_USEDEP}]" -RDEPEND="${DEPEND}" diff --git a/dev-python/chardet/chardet-2.3.0.ebuild b/dev-python/chardet/chardet-2.3.0.ebuild index d6e8951aa1ea..0bacb6b99ec7 100644 --- a/dev-python/chardet/chardet-2.3.0.ebuild +++ b/dev-python/chardet/chardet-2.3.0.ebuild @@ -4,7 +4,7 @@ EAPI=5 -PYTHON_COMPAT=( python{2_7,3_3,3_4} pypy pypy3 ) +PYTHON_COMPAT=( python2_7 python3_{3,4,5} pypy pypy3 ) inherit distutils-r1 diff --git a/dev-python/click/click-5.1-r1.ebuild b/dev-python/click/click-5.1-r1.ebuild deleted file mode 100644 index 71da8775a2a5..000000000000 --- a/dev-python/click/click-5.1-r1.ebuild +++ /dev/null @@ -1,43 +0,0 @@ -# Copyright 1999-2015 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Id$ - -EAPI=5 - -PYTHON_COMPAT=( python2_7 python3_{3,4,5} pypy pypy3 ) - -inherit distutils-r1 - -DESCRIPTION="A Python package for creating beautiful command line interfaces" -SRC_URI="mirror://pypi/${P:0:1}/${PN}/${P}.tar.gz" -HOMEPAGE="http://click.pocoo.org/ https://pypi.python.org/pypi/click" - -LICENSE="BSD" -SLOT="0" -KEYWORDS="~amd64 ~x86" -IUSE="doc examples test" - -DEPEND=" - dev-python/setuptools[${PYTHON_USEDEP}] - test? ( dev-python/pytest[${PYTHON_USEDEP}] ) - doc? ( dev-python/sphinx[${PYTHON_USEDEP}] )" - -python_prepare_all() { - # Prevent un-needed d'loading - sed -e "s/, 'sphinx.ext.intersphinx'//" -i docs/conf.py || die - distutils-r1_python_prepare_all -} - -python_compile_all() { - use doc && emake -C docs html -} - -python_test() { - emake test -} - -python_install_all() { - use doc && local HTML_DOCS=( docs/_build/html/. ) - use examples && local EXAMPLES=( examples/. ) - distutils-r1_python_install_all -} diff --git a/dev-python/click/click-5.1.ebuild b/dev-python/click/click-5.1.ebuild index d3161e0a571b..71da8775a2a5 100644 --- a/dev-python/click/click-5.1.ebuild +++ b/dev-python/click/click-5.1.ebuild @@ -4,7 +4,7 @@ EAPI=5 -PYTHON_COMPAT=( python{2_7,3_3,3_4} pypy pypy3 ) +PYTHON_COMPAT=( python2_7 python3_{3,4,5} pypy pypy3 ) inherit distutils-r1 @@ -17,7 +17,8 @@ SLOT="0" KEYWORDS="~amd64 ~x86" IUSE="doc examples test" -DEPEND="dev-python/setuptools[${PYTHON_USEDEP}] +DEPEND=" + dev-python/setuptools[${PYTHON_USEDEP}] test? ( dev-python/pytest[${PYTHON_USEDEP}] ) doc? ( dev-python/sphinx[${PYTHON_USEDEP}] )" diff --git a/dev-python/colorama/colorama-0.3.3-r1.ebuild b/dev-python/colorama/colorama-0.3.3-r1.ebuild deleted file mode 100644 index 7f861fa6464f..000000000000 --- a/dev-python/colorama/colorama-0.3.3-r1.ebuild +++ /dev/null @@ -1,23 +0,0 @@ -# Copyright 1999-2015 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Id$ - -EAPI=5 - -PYTHON_COMPAT=( python2_7 python3_{3,4,5} pypy pypy3 ) - -inherit distutils-r1 - -DESCRIPTION="Makes ANSI escape character sequences for producing colored terminal text & cursor positioning" -HOMEPAGE="https://code.google.com/p/colorama/ https://pypi.python.org/pypi/colorama https://github.com/tartley/colorama" -SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" - -LICENSE="BSD" -SLOT="0" -KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux" -IUSE="examples" - -python_install_all() { - use examples && local EXAMPLES=( demos/. ) - distutils-r1_python_install_all -} diff --git a/dev-python/colorama/colorama-0.3.3.ebuild b/dev-python/colorama/colorama-0.3.3.ebuild index eae1e355cc42..62e9a5ac1757 100644 --- a/dev-python/colorama/colorama-0.3.3.ebuild +++ b/dev-python/colorama/colorama-0.3.3.ebuild @@ -3,7 +3,8 @@ # $Id$ EAPI=5 -PYTHON_COMPAT=( python{2_7,3_3,3_4} pypy pypy3 ) + +PYTHON_COMPAT=( python2_7 python3_{3,4,5} pypy pypy3 ) inherit distutils-r1 diff --git a/dev-python/coverage/coverage-4.0-r1.ebuild b/dev-python/coverage/coverage-4.0-r1.ebuild deleted file mode 100644 index 40187ee1e0cf..000000000000 --- a/dev-python/coverage/coverage-4.0-r1.ebuild +++ /dev/null @@ -1,30 +0,0 @@ -# Copyright 1999-2015 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Id$ - -EAPI=5 - -PYTHON_COMPAT=( python2_7 python3_{3,4,5} pypy pypy3 ) - -inherit distutils-r1 - -DESCRIPTION="Code coverage measurement for Python" -HOMEPAGE="http://nedbatchelder.com/code/coverage/ https://pypi.python.org/pypi/coverage" -SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" - -LICENSE="BSD" -SLOT="0" -KEYWORDS="~amd64 ~x86 ~amd64-fbsd ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris" -IUSE="" - -DEPEND="dev-python/setuptools[${PYTHON_USEDEP}]" -RDEPEND="${DEPEND}" - -python_compile() { - if [[ ${EPYTHON} == python2.7 ]]; then - local CFLAGS="${CFLAGS} -fno-strict-aliasing" - export CFLAGS - fi - - distutils-r1_python_compile -} diff --git a/dev-python/coverage/coverage-4.0.ebuild b/dev-python/coverage/coverage-4.0.ebuild index a2e1c402a0fc..a45d9ff684e7 100644 --- a/dev-python/coverage/coverage-4.0.ebuild +++ b/dev-python/coverage/coverage-4.0.ebuild @@ -4,7 +4,8 @@ EAPI=5 -PYTHON_COMPAT=( python{2_7,3_3,3_4} pypy pypy3 ) +PYTHON_COMPAT=( python2_7 python3_{3,4,5} pypy pypy3 ) + inherit distutils-r1 DESCRIPTION="Code coverage measurement for Python" diff --git a/dev-python/cryptography-vectors/cryptography-vectors-1.0.2-r1.ebuild b/dev-python/cryptography-vectors/cryptography-vectors-1.0.2-r1.ebuild deleted file mode 100644 index f09f5655dbcc..000000000000 --- a/dev-python/cryptography-vectors/cryptography-vectors-1.0.2-r1.ebuild +++ /dev/null @@ -1,26 +0,0 @@ -# Copyright 1999-2015 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Id$ - -EAPI=5 - -PYTHON_COMPAT=( python2_7 python3_{3,4,5} pypy pypy3 ) - -inherit distutils-r1 - -MY_PN=${PN/-/_} -MY_P=${MY_PN}-${PV} - -DESCRIPTION="Test vectors for the cryptography package" -HOMEPAGE="https://pypi.python.org/pypi/cryptography-vectors/" -SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${MY_P}.tar.gz" - -LICENSE="|| ( Apache-2.0 BSD )" -SLOT="0" -KEYWORDS="~amd64 ~x86 ~x86-fbsd" -IUSE="" - -DEPEND="dev-python/setuptools[${PYTHON_USEDEP}]" -RDEPEND="" - -S=${WORKDIR}/${MY_P} diff --git a/dev-python/cryptography-vectors/cryptography-vectors-1.0.2.ebuild b/dev-python/cryptography-vectors/cryptography-vectors-1.0.2.ebuild index 741f3a0208e4..6a701d7b4b81 100644 --- a/dev-python/cryptography-vectors/cryptography-vectors-1.0.2.ebuild +++ b/dev-python/cryptography-vectors/cryptography-vectors-1.0.2.ebuild @@ -4,7 +4,7 @@ EAPI=5 -PYTHON_COMPAT=( python2_7 python3_{3,4} pypy pypy3 ) +PYTHON_COMPAT=( python2_7 python3_{3,4,5} pypy pypy3 ) inherit distutils-r1 diff --git a/dev-python/cryptography/cryptography-1.0.2-r1.ebuild b/dev-python/cryptography/cryptography-1.0.2-r1.ebuild deleted file mode 100644 index c8cd8f4a594c..000000000000 --- a/dev-python/cryptography/cryptography-1.0.2-r1.ebuild +++ /dev/null @@ -1,47 +0,0 @@ -# Copyright 1999-2015 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Id$ - -EAPI=5 - -# only works with >=pypy-2.6 -PYTHON_COMPAT=( python2_7 python3_{3,4,5} pypy ) - -inherit distutils-r1 - -DESCRIPTION="Library providing cryptographic recipes and primitives" -HOMEPAGE="https://github.com/pyca/cryptography/ https://pypi.python.org/pypi/cryptography/" -SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" - -LICENSE="|| ( Apache-2.0 BSD )" -SLOT="0" -KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux" -IUSE="libressl test" - -RDEPEND=" - !libressl? ( dev-libs/openssl:0 ) - libressl? ( dev-libs/libressl ) - $(python_gen_cond_dep '>=dev-python/cffi-1.1.0:=[${PYTHON_USEDEP}]' 'python*') - $(python_gen_cond_dep 'dev-python/enum34[${PYTHON_USEDEP}]' python2_7 python3_3 pypy) - >=dev-python/idna-2.0[${PYTHON_USEDEP}] - $(python_gen_cond_dep 'dev-python/ipaddress[${PYTHON_USEDEP}]' python2_7 pypy) - >=dev-python/pyasn1-0.1.8[${PYTHON_USEDEP}] - dev-python/setuptools[${PYTHON_USEDEP}] - >=dev-python/six-1.4.1[${PYTHON_USEDEP}] - $(python_gen_cond_dep '>=virtual/pypy-2.6.0' pypy ) - " -DEPEND="${RDEPEND} - dev-python/setuptools[${PYTHON_USEDEP}] - test? ( - ~dev-python/cryptography-vectors-${PV}[${PYTHON_USEDEP}] - dev-python/iso8601[${PYTHON_USEDEP}] - dev-python/pretend[${PYTHON_USEDEP}] - >=dev-python/pytest-2.4.2[${PYTHON_USEDEP}] - <dev-python/pytest-2.8[${PYTHON_USEDEP}] - )" - -DOCS=( AUTHORS.rst CONTRIBUTING.rst README.rst ) - -python_test() { - py.test -v -v -x || die "Tests fail with ${EPYTHON}" -} diff --git a/dev-python/cryptography/cryptography-1.0.2.ebuild b/dev-python/cryptography/cryptography-1.0.2.ebuild index e7979826cb92..95418d9d65e9 100644 --- a/dev-python/cryptography/cryptography-1.0.2.ebuild +++ b/dev-python/cryptography/cryptography-1.0.2.ebuild @@ -5,7 +5,7 @@ EAPI=5 # only works with >=pypy-2.6 -PYTHON_COMPAT=( python2_7 python3_{3,4} pypy ) +PYTHON_COMPAT=( python2_7 python3_{3,4,5} pypy ) inherit distutils-r1 diff --git a/dev-python/cython/cython-0.23.3-r1.ebuild b/dev-python/cython/cython-0.23.3-r1.ebuild deleted file mode 100644 index 1a85940f4a7f..000000000000 --- a/dev-python/cython/cython-0.23.3-r1.ebuild +++ /dev/null @@ -1,62 +0,0 @@ -# Copyright 1999-2015 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Id$ - -EAPI=5 - -PYTHON_COMPAT=( python2_7 python3_{3,4,5} ) - -inherit distutils-r1 flag-o-matic toolchain-funcs - -MY_PN="Cython" -MY_P="${MY_PN}-${PV/_/}" - -DESCRIPTION="A Python to C compiler" -HOMEPAGE="http://www.cython.org/ https://pypi.python.org/pypi/Cython" -SRC_URI="http://www.cython.org/release/${MY_P}.tar.gz" - -LICENSE="Apache-2.0" -SLOT="0" -KEYWORDS="~amd64 ~x86 ~amd64-fbsd ~x86-fbsd ~amd64-linux ~ia64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~x64-solaris ~x86-solaris" -IUSE="doc examples test" - -RDEPEND="" -# On testing, setuptools invokes an error in running the testsuite cited in a number of recent bugs -# spanning several packages. This bug has been fixed in the recent release of version 9.1 -DEPEND="${RDEPEND} - >=dev-python/setuptools-9.1[${PYTHON_USEDEP}] - doc? ( dev-python/sphinx[${PYTHON_USEDEP}] ) - test? ( dev-python/numpy[${PYTHON_USEDEP}] )" - -S="${WORKDIR}/${MY_PN}-${PV%_*}" - -python_compile() { - if ! python_is_python3; then - local CFLAGS="${CFLAGS}" - local CXXFLAGS="${CXXFLAGS}" - append-flags -fno-strict-aliasing - fi - - # Python gets confused when it is in sys.path before build. - local PYTHONPATH= - export PYTHONPATH - - distutils-r1_python_compile -} - -python_compile_all() { - use doc && unset XDG_CONFIG_HOME && emake -C docs html -} - -python_test() { - tc-export CC - "${PYTHON}" runtests.py -vv --work-dir "${BUILD_DIR}"/tests \ - || die "Tests fail with ${EPYTHON}" -} - -python_install_all() { - local DOCS=( CHANGES.rst README.txt ToDo.txt USAGE.txt ) - use doc && local HTML_DOCS=( docs/build/html/. ) - use examples && local EXAMPLES=( Demos/. ) - distutils-r1_python_install_all -} diff --git a/dev-python/cython/cython-0.23.3.ebuild b/dev-python/cython/cython-0.23.3.ebuild index ea5a078b2b07..bc79b4d9f287 100644 --- a/dev-python/cython/cython-0.23.3.ebuild +++ b/dev-python/cython/cython-0.23.3.ebuild @@ -4,7 +4,7 @@ EAPI=5 -PYTHON_COMPAT=( python2_7 python3_{3,4} ) +PYTHON_COMPAT=( python2_7 python3_{3,4,5} ) inherit distutils-r1 flag-o-matic toolchain-funcs diff --git a/dev-python/cython/cython-0.23.4.ebuild b/dev-python/cython/cython-0.23.4.ebuild index 1a85940f4a7f..bc79b4d9f287 100644 --- a/dev-python/cython/cython-0.23.4.ebuild +++ b/dev-python/cython/cython-0.23.4.ebuild @@ -17,7 +17,7 @@ SRC_URI="http://www.cython.org/release/${MY_P}.tar.gz" LICENSE="Apache-2.0" SLOT="0" -KEYWORDS="~amd64 ~x86 ~amd64-fbsd ~x86-fbsd ~amd64-linux ~ia64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~x64-solaris ~x86-solaris" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-fbsd ~x86-fbsd ~amd64-linux ~ia64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~x64-solaris ~x86-solaris" IUSE="doc examples test" RDEPEND="" diff --git a/dev-python/distlib/distlib-0.2.1-r1.ebuild b/dev-python/distlib/distlib-0.2.1-r1.ebuild deleted file mode 100644 index 7df0c549df73..000000000000 --- a/dev-python/distlib/distlib-0.2.1-r1.ebuild +++ /dev/null @@ -1,25 +0,0 @@ -# Copyright 1999-2015 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Id$ - -EAPI=5 - -PYTHON_COMPAT=( python2_7 python3_{3,4,5} pypy pypy3 ) - -inherit distutils-r1 - -DESCRIPTION="Distribution utilities" -HOMEPAGE="https://pypi.python.org/pypi/distlib https://bitbucket.org/vinay.sajip/distlib https://github.com/vsajip/distlib" -SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.zip" - -SLOT="0" -LICENSE="BSD" -KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux" -IUSE="" - -python_test() { - sed \ - -e '/PIP_AVAILABLE/s:True:False:g' \ - -i tests/*py || die - PYTHONHASHSEED=0 esetup.py test -} diff --git a/dev-python/distlib/distlib-0.2.1.ebuild b/dev-python/distlib/distlib-0.2.1.ebuild index 77daeeeaf502..5af02786fcea 100644 --- a/dev-python/distlib/distlib-0.2.1.ebuild +++ b/dev-python/distlib/distlib-0.2.1.ebuild @@ -4,7 +4,7 @@ EAPI=5 -PYTHON_COMPAT=( python2_7 python3_{3,4} pypy pypy3 ) +PYTHON_COMPAT=( python2_7 python3_{3,4,5} pypy pypy3 ) inherit distutils-r1 diff --git a/dev-python/docutils/docutils-0.12-r1.ebuild b/dev-python/docutils/docutils-0.12-r1.ebuild deleted file mode 100644 index 470ac18e3148..000000000000 --- a/dev-python/docutils/docutils-0.12-r1.ebuild +++ /dev/null @@ -1,70 +0,0 @@ -# Copyright 1999-2015 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Id$ - -EAPI=5 - -PYTHON_COMPAT=( python2_7 python3_{3,4,5} pypy pypy3 ) - -inherit distutils-r1 - -DESCRIPTION="Python Documentation Utilities" -HOMEPAGE="http://docutils.sourceforge.net/ https://pypi.python.org/pypi/docutils" -SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz" - -LICENSE="BSD-2 GPL-3 public-domain" -SLOT="0" -KEYWORDS="~amd64 ~x86 ~ppc-aix ~amd64-fbsd ~sparc-fbsd ~x86-fbsd ~x86-freebsd ~hppa-hpux ~ia64-hpux ~x86-interix ~amd64-linux ~ia64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~m68k-mint ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris" -IUSE="" - -DEPEND="dev-python/pygments[${PYTHON_USEDEP}]" -RDEPEND="${DEPEND}" - -DISTUTILS_NO_PARALLEL_BUILD=1 - -python_compile_all() { - # Generate html docs from reStructured text sources. - - # Place html4css1.css in base directory to ensure that the generated reference to it is correct. - cp docutils/writers/html4css1/html4css1.css . || die - - cd tools || die - "${PYTHON}" buildhtml.py --input-encoding=utf-8 \ - --stylesheet-path=../html4css1.css, --traceback ../docs || die -} - -python_test() { - if python_is_python3; then - pushd test3 > /dev/null || die - else - pushd test > /dev/null || die - fi - "${PYTHON}" alltests.py || die "Testing failed with ${EPYTHON}" - popd > /dev/null || die -} - -python_install() { - distutils-r1_python_install - - # Install tools. - python_doscript tools/{buildhtml,quicktest}.py -} - -install_txt_doc() { - local doc="${1}" - local dir="txt/$(dirname ${doc})" - docinto "${dir}" - dodoc "${doc}" -} - -python_install_all() { - local DOCS=( *.txt ) - local HTML_DOCS=( docs tools docutils/writers/html4css1/html4css1.css ) - - distutils-r1_python_install_all - - local doc - while IFS= read -r -d '' doc; do - install_txt_doc "${doc}" - done < <(find docs tools -name '*.txt' -print0) -} diff --git a/dev-python/docutils/docutils-0.12.ebuild b/dev-python/docutils/docutils-0.12.ebuild index 8b8eaebcc115..e579edfa94cc 100644 --- a/dev-python/docutils/docutils-0.12.ebuild +++ b/dev-python/docutils/docutils-0.12.ebuild @@ -2,8 +2,9 @@ # Distributed under the terms of the GNU General Public License v2 # $Id$ -EAPI="5" -PYTHON_COMPAT=( python{2_7,3_3,3_4} pypy pypy3 ) +EAPI=5 + +PYTHON_COMPAT=( python2_7 python3_{3,4,5} pypy pypy3 ) inherit distutils-r1 diff --git a/dev-python/extras/extras-0.0.3-r1.ebuild b/dev-python/extras/extras-0.0.3-r1.ebuild deleted file mode 100644 index cd914dae022f..000000000000 --- a/dev-python/extras/extras-0.0.3-r1.ebuild +++ /dev/null @@ -1,27 +0,0 @@ -# Copyright 1999-2015 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Id$ - -EAPI=5 - -PYTHON_COMPAT=( python2_7 python3_{3,4,5} pypy pypy3 ) - -inherit distutils-r1 - -DESCRIPTION="Useful extra bits for Python that should be in the standard library" -HOMEPAGE="https://github.com/testing-cabal/extras/ https://pypi.python.org/pypi/extras/" -SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" - -LICENSE="MIT" -SLOT="0" -KEYWORDS="~amd64 ~x86 ~amd64-fbsd ~x86-fbsd" -IUSE="test" - -DEPEND=" - dev-python/setuptools[${PYTHON_USEDEP}] - test? ( dev-python/testtools[${PYTHON_USEDEP}] )" -RDEPEND="" - -python_test() { - "${PYTHON}" ${PN}/tests/test_extras.py || die -} diff --git a/dev-python/extras/extras-0.0.3.ebuild b/dev-python/extras/extras-0.0.3.ebuild index d4e264ceeb66..dc55b4d80f0a 100644 --- a/dev-python/extras/extras-0.0.3.ebuild +++ b/dev-python/extras/extras-0.0.3.ebuild @@ -4,7 +4,7 @@ EAPI=5 -PYTHON_COMPAT=( python{2_7,3_3,3_4} pypy pypy3 ) +PYTHON_COMPAT=( python2_7 python3_{3,4,5} pypy pypy3 ) inherit distutils-r1 diff --git a/dev-python/fixtures/fixtures-1.3.1-r1.ebuild b/dev-python/fixtures/fixtures-1.3.1-r1.ebuild index 6772b2c652f2..c5313ec8fbb5 100644 --- a/dev-python/fixtures/fixtures-1.3.1-r1.ebuild +++ b/dev-python/fixtures/fixtures-1.3.1-r1.ebuild @@ -4,7 +4,7 @@ EAPI=5 -PYTHON_COMPAT=( python2_7 python3_{3,4} pypy pypy3 ) +PYTHON_COMPAT=( python2_7 python3_{3,4,5} pypy pypy3 ) inherit distutils-r1 diff --git a/dev-python/fixtures/fixtures-1.3.1-r2.ebuild b/dev-python/fixtures/fixtures-1.3.1-r2.ebuild deleted file mode 100644 index d3aa1382c442..000000000000 --- a/dev-python/fixtures/fixtures-1.3.1-r2.ebuild +++ /dev/null @@ -1,32 +0,0 @@ -# Copyright 1999-2015 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Id$ - -EAPI=5 - -PYTHON_COMPAT=( python2_7 python3_{3,4,5} pypy pypy3 ) - -inherit distutils-r1 - -DESCRIPTION="Fixtures, reusable state for writing clean tests and more" -HOMEPAGE="https://launchpad.net/python-fixtures https://pypi.python.org/pypi/fixtures" -SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" - -LICENSE="|| ( Apache-2.0 BSD )" -SLOT="0" -KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux" -IUSE="test" - -# nose not listed but provides coverage output of tests -# run of test files by python lacks any output except on fail -RDEPEND=" - >=dev-python/pbr-0.11[${PYTHON_USEDEP}] - dev-python/six[${PYTHON_USEDEP}] - >=dev-python/testtools-0.9.22[${PYTHON_USEDEP}]" -DEPEND="${RDEPEND} - test? ( dev-python/mock[${PYTHON_USEDEP}] )" -#DISTUTILS_IN_SOURCE_BUILD=1 - -python_test() { - emake check -} diff --git a/dev-python/html5lib/html5lib-0.9999999-r1.ebuild b/dev-python/html5lib/html5lib-0.9999999-r1.ebuild deleted file mode 100644 index 3f957765ad28..000000000000 --- a/dev-python/html5lib/html5lib-0.9999999-r1.ebuild +++ /dev/null @@ -1,28 +0,0 @@ -# Copyright 1999-2015 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Id$ - -EAPI=5 - -PYTHON_COMPAT=( python2_7 python3_{3,4,5} pypy pypy3 ) -PYTHON_REQ_USE="xml(+)" - -inherit distutils-r1 - -DESCRIPTION="HTML parser based on the HTML5 specification" -HOMEPAGE="https://github.com/html5lib/html5lib-python/ https://html5lib.readthedocs.org" -SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" - -LICENSE="MIT" -SLOT="0" -KEYWORDS="~amd64 ~x86 ~amd64-fbsd ~x86-fbsd ~amd64-linux ~x86-linux" -IUSE="test" - -RDEPEND="dev-python/six[${PYTHON_USEDEP}]" -DEPEND="${RDEPEND} - dev-python/setuptools[${PYTHON_USEDEP}] - test? ( dev-python/nose[${PYTHON_USEDEP}] )" - -python_test() { - nosetests || die "Tests fail with ${EPYTHON}" -} diff --git a/dev-python/html5lib/html5lib-0.9999999.ebuild b/dev-python/html5lib/html5lib-0.9999999.ebuild index 522b34c77993..9d0148740a9a 100644 --- a/dev-python/html5lib/html5lib-0.9999999.ebuild +++ b/dev-python/html5lib/html5lib-0.9999999.ebuild @@ -4,7 +4,7 @@ EAPI=5 -PYTHON_COMPAT=( python2_7 python3_{3,4} pypy pypy3 ) +PYTHON_COMPAT=( python2_7 python3_{3,4,5} pypy pypy3 ) PYTHON_REQ_USE="xml(+)" inherit distutils-r1 diff --git a/dev-python/idna/idna-2.0-r1.ebuild b/dev-python/idna/idna-2.0-r1.ebuild deleted file mode 100644 index 9a53690c762b..000000000000 --- a/dev-python/idna/idna-2.0-r1.ebuild +++ /dev/null @@ -1,24 +0,0 @@ -# Copyright 1999-2015 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Id$ - -EAPI=5 - -PYTHON_COMPAT=( python2_7 python3_{3,4,5} pypy pypy3 ) - -inherit distutils-r1 - -DESCRIPTION="Internationalized Domain Names in Applications (IDNA)" -HOMEPAGE="https://github.com/kjd/idna" -SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" - -SLOT="0" -LICENSE="BSD" -KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux" -IUSE="" - -DEPEND="dev-python/setuptools[${PYTHON_USEDEP}]" - -python_test() { - esetup.py test -} diff --git a/dev-python/idna/idna-2.0.ebuild b/dev-python/idna/idna-2.0.ebuild index c91b33db2b02..65e8a8189689 100644 --- a/dev-python/idna/idna-2.0.ebuild +++ b/dev-python/idna/idna-2.0.ebuild @@ -4,7 +4,7 @@ EAPI=5 -PYTHON_COMPAT=( python2_7 python3_{3,4} pypy pypy3 ) +PYTHON_COMPAT=( python2_7 python3_{3,4,5} pypy pypy3 ) inherit distutils-r1 diff --git a/dev-python/ipaddress/ipaddress-1.0.14-r1.ebuild b/dev-python/ipaddress/ipaddress-1.0.14-r1.ebuild deleted file mode 100644 index 74fbeef0c74f..000000000000 --- a/dev-python/ipaddress/ipaddress-1.0.14-r1.ebuild +++ /dev/null @@ -1,25 +0,0 @@ -# Copyright 1999-2015 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Id$ - -EAPI=5 - -PYTHON_COMPAT=( python2_7 python3_{3,4,5} pypy pypy3 ) - -inherit distutils-r1 - -DESCRIPTION="IPv4/IPv6 manipulation library, a port of the ipaddress module" -HOMEPAGE="https://github.com/phihag/ipaddress" -SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" - -SLOT="0" -LICENSE="PSF-2" -KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux" -IUSE="" - -RDEPEND="" -DEPEND="dev-python/setuptools[${PYTHON_USEDEP}]" - -python_test() { - "${PYTHON}" test_ipaddress.py || die -} diff --git a/dev-python/ipaddress/ipaddress-1.0.14.ebuild b/dev-python/ipaddress/ipaddress-1.0.14.ebuild index 603e385cb263..0a8711403de6 100644 --- a/dev-python/ipaddress/ipaddress-1.0.14.ebuild +++ b/dev-python/ipaddress/ipaddress-1.0.14.ebuild @@ -4,7 +4,7 @@ EAPI=5 -PYTHON_COMPAT=( python{2_7,3_3,3_4} pypy pypy3 ) +PYTHON_COMPAT=( python2_7 python3_{3,4,5} pypy pypy3 ) inherit distutils-r1 diff --git a/dev-python/iso8601/iso8601-0.1.10-r1.ebuild b/dev-python/iso8601/iso8601-0.1.10-r1.ebuild deleted file mode 100644 index c4f84eb7eacc..000000000000 --- a/dev-python/iso8601/iso8601-0.1.10-r1.ebuild +++ /dev/null @@ -1,25 +0,0 @@ -# Copyright 1999-2015 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Id$ - -EAPI=5 - -PYTHON_COMPAT=( python2_7 python3_{3,4,5} pypy pypy3 ) - -inherit distutils-r1 - -DESCRIPTION="Simple module to parse ISO 8601 dates" -HOMEPAGE="https://code.google.com/p/pyiso8601/ https://pypi.python.org/pypi/iso8601" -SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" - -LICENSE="MIT" -SLOT="0" -KEYWORDS="~amd64 ~x86 ~x86-fbsd ~x86-freebsd ~x86-interix ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~x64-solaris" -IUSE="test" - -DEPEND="dev-python/setuptools[${PYTHON_USEDEP}] - test? ( >=dev-python/pytest-2.4.2[${PYTHON_USEDEP}] )" - -python_test() { - "${PYTHON}" -m pytest --verbose ${PN} || die "Tests fail with ${EPYTHON}" -} diff --git a/dev-python/iso8601/iso8601-0.1.10.ebuild b/dev-python/iso8601/iso8601-0.1.10.ebuild index f3001888eb42..23788c7f1594 100644 --- a/dev-python/iso8601/iso8601-0.1.10.ebuild +++ b/dev-python/iso8601/iso8601-0.1.10.ebuild @@ -3,7 +3,8 @@ # $Id$ EAPI=5 -PYTHON_COMPAT=( python{2_7,3_3,3_4} pypy pypy3 ) + +PYTHON_COMPAT=( python2_7 python3_{3,4,5} pypy pypy3 ) inherit distutils-r1 diff --git a/dev-python/jinja/jinja-2.8-r1.ebuild b/dev-python/jinja/jinja-2.8-r1.ebuild deleted file mode 100644 index 06c864ce38e3..000000000000 --- a/dev-python/jinja/jinja-2.8-r1.ebuild +++ /dev/null @@ -1,73 +0,0 @@ -# Copyright 1999-2015 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Id$ - -EAPI=5 - -PYTHON_COMPAT=( python2_7 python3_{3,4,5} pypy pypy3 ) - -inherit eutils distutils-r1 - -MY_PN=Jinja2 -MY_P=${MY_PN}-${PV} - -DESCRIPTION="A small but fast and easy to use stand-alone template engine written in pure Python" -HOMEPAGE="http://jinja.pocoo.org/ https://pypi.python.org/pypi/Jinja2" -SRC_URI="mirror://pypi/${MY_PN:0:1}/${MY_PN}/${MY_P}.tar.gz" - -LICENSE="BSD" -SLOT="0" -KEYWORDS="~amd64 ~x86 ~amd64-fbsd ~x86-fbsd ~x86-interix ~amd64-linux ~x86-linux ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris" -IUSE="doc examples" - -RDEPEND=" - dev-python/markupsafe[${PYTHON_USEDEP}] - dev-python/setuptools[${PYTHON_USEDEP}] - !dev-python/jinja:compat" -DEPEND="${RDEPEND} - doc? ( dev-python/sphinx[${PYTHON_USEDEP}] )" - -# XXX: handle Babel better? - -S=${WORKDIR}/${MY_P} - -wrap_opts() { - local mydistutilsargs=() - - if [[ ${EPYTHON} == python* ]]; then - mydistutilargs+=( --with-debugsupport ) - fi - - "${@}" -} - -python_compile() { - wrap_opts distutils-r1_python_compile - if [[ ${EPYTHON} == python3.2 ]]; then - 2to3 --no-diffs -n -w -f unicode "${BUILD_DIR}/lib" || die - fi -} - -python_compile_all() { - use doc && emake -C docs html -} - -python_test() { - esetup.py test -} - -python_install_all() { - use doc && local HTML_DOCS=( docs/_build/html/. ) - use examples && local EXAMPLES=( examples/. ) - - distutils-r1_python_install_all - - insinto /usr/share/vim/vimfiles/syntax - doins ext/Vim/* -} - -pkg_postinst() { - if ! has_version dev-python/Babel; then - elog "For i18n support, please emerge dev-python/Babel." - fi -} diff --git a/dev-python/jinja/jinja-2.8.ebuild b/dev-python/jinja/jinja-2.8.ebuild index 17453626be5f..0d44e5cacdc7 100644 --- a/dev-python/jinja/jinja-2.8.ebuild +++ b/dev-python/jinja/jinja-2.8.ebuild @@ -4,7 +4,7 @@ EAPI=5 -PYTHON_COMPAT=( python{2_7,3_3,3_4} pypy pypy3 ) +PYTHON_COMPAT=( python2_7 python3_{3,4,5} pypy pypy3 ) inherit eutils distutils-r1 @@ -20,7 +20,8 @@ SLOT="0" KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-fbsd ~x86-fbsd ~x86-interix ~amd64-linux ~x86-linux ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris" IUSE="doc examples" -RDEPEND="dev-python/markupsafe[${PYTHON_USEDEP}] +RDEPEND=" + dev-python/markupsafe[${PYTHON_USEDEP}] dev-python/setuptools[${PYTHON_USEDEP}] !dev-python/jinja:compat" DEPEND="${RDEPEND} diff --git a/dev-python/linecache2/linecache2-1.0.0-r1.ebuild b/dev-python/linecache2/linecache2-1.0.0-r1.ebuild deleted file mode 100644 index 6fc65336bb52..000000000000 --- a/dev-python/linecache2/linecache2-1.0.0-r1.ebuild +++ /dev/null @@ -1,32 +0,0 @@ -# Copyright 1999-2015 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Id$ - -EAPI=5 - -PYTHON_COMPAT=( python2_7 python3_{3,4,5} pypy pypy3 ) - -inherit distutils-r1 - -DESCRIPTION="Backports of the linecache module" -HOMEPAGE="https://github.com/testing-cabal/linecache2" -SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" - -LICENSE="PSF-2" -SLOT="0" -KEYWORDS="~amd64 ~x86" -IUSE="test" - -DEPEND=" - dev-python/pbr[${PYTHON_USEDEP}] - dev-python/setuptools[${PYTHON_USEDEP}] - test? ( - dev-python/fixtures[${PYTHON_USEDEP}] - dev-python/unittest2[${PYTHON_USEDEP}] - ) -" -RDEPEND="" - -python_test() { - "${PYTHON}" -m unittest2 discover || die "tests failed under ${EPYTHON}" -} diff --git a/dev-python/linecache2/linecache2-1.0.0.ebuild b/dev-python/linecache2/linecache2-1.0.0.ebuild index eaac72004065..f7c10b28ab25 100644 --- a/dev-python/linecache2/linecache2-1.0.0.ebuild +++ b/dev-python/linecache2/linecache2-1.0.0.ebuild @@ -4,7 +4,7 @@ EAPI=5 -PYTHON_COMPAT=( python2_7 python3_{3,4} pypy pypy3 ) +PYTHON_COMPAT=( python2_7 python3_{3,4,5} pypy pypy3 ) inherit distutils-r1 diff --git a/dev-python/lockfile/lockfile-0.10.2-r1.ebuild b/dev-python/lockfile/lockfile-0.10.2-r1.ebuild deleted file mode 100644 index 4de50b189c20..000000000000 --- a/dev-python/lockfile/lockfile-0.10.2-r1.ebuild +++ /dev/null @@ -1,43 +0,0 @@ -# Copyright 1999-2015 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Id$ - -EAPI=5 - -PYTHON_COMPAT=( python2_7 python3_{3,4,5} pypy pypy3 ) - -inherit distutils-r1 - -DESCRIPTION="Platform-independent file locking module" -HOMEPAGE="https://launchpad.net/pylockfile https://pypi.python.org/pypi/lockfile" -SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" - -LICENSE="MIT" -SLOT="0" -KEYWORDS="~amd64 ~x86" -IUSE="doc test" - -DEPEND=" - dev-python/pbr[${PYTHON_USEDEP}] - doc? ( dev-python/sphinx[${PYTHON_USEDEP}] ) - test? ( dev-python/nose[${PYTHON_USEDEP}] )" -RDEPEND="" - -DOCS=( ACKS README RELEASE-NOTES ) - -python_compile_all() { - if use doc; then - einfo "Generation of documentation" - emake -C doc/source html || die "Generation of documentation failed" - fi -} - -python_test() { - # "${PYTHON}" test/test_lockfile.py yeilds no informative coverage output - nosetests || die "test_lockfile failed under ${EPYTHON}" -} - -python_install_all() { - use doc && local HTML_DOCS=( doc/source/.build/html/. ) - distutils-r1_python_install_all -} diff --git a/dev-python/lockfile/lockfile-0.10.2.ebuild b/dev-python/lockfile/lockfile-0.10.2.ebuild index a08d2ef6de66..a3e684ce6ba4 100644 --- a/dev-python/lockfile/lockfile-0.10.2.ebuild +++ b/dev-python/lockfile/lockfile-0.10.2.ebuild @@ -4,7 +4,7 @@ EAPI=5 -PYTHON_COMPAT=( python{2_7,3_3,3_4} pypy pypy3 ) +PYTHON_COMPAT=( python2_7 python3_{3,4,5} pypy pypy3 ) inherit distutils-r1 diff --git a/dev-python/markupsafe/markupsafe-0.23-r1.ebuild b/dev-python/markupsafe/markupsafe-0.23-r1.ebuild deleted file mode 100644 index 3732393c8724..000000000000 --- a/dev-python/markupsafe/markupsafe-0.23-r1.ebuild +++ /dev/null @@ -1,38 +0,0 @@ -# Copyright 1999-2015 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Id$ - -EAPI=5 - -PYTHON_COMPAT=( python2_7 python3_{3,4,5} pypy pypy3 ) - -inherit distutils-r1 - -MY_PN="MarkupSafe" -MY_P="${MY_PN}-${PV}" - -DESCRIPTION="Implements a XML/HTML/XHTML Markup safe string for Python" -HOMEPAGE="https://pypi.python.org/pypi/MarkupSafe" -SRC_URI="mirror://pypi/${MY_PN:0:1}/${MY_PN}/${MY_P}.tar.gz" - -LICENSE="BSD" -SLOT="0" -KEYWORDS="~amd64 ~x86 ~amd64-fbsd ~x86-fbsd ~x86-interix ~amd64-linux ~x86-linux ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris" -IUSE="" - -DEPEND="dev-python/setuptools[${PYTHON_USEDEP}]" -RDEPEND="" - -S=${WORKDIR}/${MY_P} -DISTUTILS_IN_SOURCE_BUILD=1 - -python_compile() { - distutils-r1_python_compile - if [[ ${EPYTHON} == python3.2 ]]; then - 2to3 --no-diffs -n -w -f unicode ${PN} || die - fi -} - -python_test() { - esetup.py test -} diff --git a/dev-python/markupsafe/markupsafe-0.23.ebuild b/dev-python/markupsafe/markupsafe-0.23.ebuild index b7a6ef9e6223..c0c2bd823cee 100644 --- a/dev-python/markupsafe/markupsafe-0.23.ebuild +++ b/dev-python/markupsafe/markupsafe-0.23.ebuild @@ -4,7 +4,8 @@ EAPI=5 -PYTHON_COMPAT=( python{2_7,3_3,3_4} pypy pypy3) +PYTHON_COMPAT=( python2_7 python3_{3,4,5} pypy pypy3 ) + inherit distutils-r1 MY_PN="MarkupSafe" diff --git a/dev-python/mimeparse/mimeparse-0.1.4-r1.ebuild b/dev-python/mimeparse/mimeparse-0.1.4-r1.ebuild index 98913f2398b8..df704f3e2601 100644 --- a/dev-python/mimeparse/mimeparse-0.1.4-r1.ebuild +++ b/dev-python/mimeparse/mimeparse-0.1.4-r1.ebuild @@ -4,7 +4,7 @@ EAPI=5 -PYTHON_COMPAT=( python{2_7,3_3,3_4} pypy pypy3 ) +PYTHON_COMPAT=( python2_7 python3_{3,4,5} pypy pypy3 ) inherit distutils-r1 diff --git a/dev-python/mimeparse/mimeparse-0.1.4-r2.ebuild b/dev-python/mimeparse/mimeparse-0.1.4-r2.ebuild deleted file mode 100644 index c67e7fc5b8d1..000000000000 --- a/dev-python/mimeparse/mimeparse-0.1.4-r2.ebuild +++ /dev/null @@ -1,45 +0,0 @@ -# Copyright 1999-2015 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Id$ - -EAPI=5 - -PYTHON_COMPAT=( python2_7 python3_{3,4,5} pypy pypy3 ) - -inherit distutils-r1 - -DESCRIPTION="Basic functions for handling mime-types in python" -HOMEPAGE=" - https://code.google.com/p/mimeparse - https://github.com/dbtsai/python-mimeparse" -MY_PN="python-${PN}" -MY_P="${MY_PN}-${PV}" -SRC_URI="mirror://pypi/${MY_PN:0:1}/${MY_PN}/${MY_P}.tar.gz" - -LICENSE="MIT" -SLOT="0" -KEYWORDS="~amd64 ~x86 ~amd64-fbsd ~x86-fbsd ~amd64-linux ~x86-linux" -IUSE="" - -S="${WORKDIR}/${MY_P}" - -python_test() { - "${PYTHON}" mimeparse_test.py || die "Tests fail with ${EPYTHON}" -} - -python_install() { - distutils-r1_python_install - - if [[ ${EPYTHON} == pypy ]]; then - local pyver=2.7 - elif [[ ${EPYTHON} == pypy3 ]]; then - local pyver=3.2 - else - local pyver=${EPYTHON#python} - fi - python_export PYTHON_SITEDIR - - # Previous versions were just called 'mimeparse' - cp "${D%/}${PYTHON_SITEDIR}/python_mimeparse-${PV}-py${pyver}.egg-info" \ - "${D%/}${PYTHON_SITEDIR}/mimeparse-${PV}-py${pyver}.egg-info" || die -} diff --git a/dev-python/mock/mock-1.3.0-r1.ebuild b/dev-python/mock/mock-1.3.0-r1.ebuild index 2dcbea744541..f2667256ead3 100644 --- a/dev-python/mock/mock-1.3.0-r1.ebuild +++ b/dev-python/mock/mock-1.3.0-r1.ebuild @@ -4,7 +4,7 @@ EAPI=5 -PYTHON_COMPAT=( python2_7 python3_3 python3_4 pypy pypy3 ) +PYTHON_COMPAT=( python2_7 python3_{3,4,5} pypy pypy3 ) inherit distutils-r1 diff --git a/dev-python/mock/mock-1.3.0-r2.ebuild b/dev-python/mock/mock-1.3.0-r2.ebuild deleted file mode 100644 index ddcdc19b6a6c..000000000000 --- a/dev-python/mock/mock-1.3.0-r2.ebuild +++ /dev/null @@ -1,42 +0,0 @@ -# Copyright 1999-2015 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Id$ - -EAPI=5 - -PYTHON_COMPAT=( python2_7 python3_{3,4,5} pypy pypy3 ) - -inherit distutils-r1 - -DESCRIPTION="Rolling backport of unittest.mock for all Pythons" -HOMEPAGE="https://github.com/testing-cabal/mock" -SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" - -LICENSE="BSD" -SLOT="0" -KEYWORDS="~amd64 ~x86 ~amd64-fbsd ~x86-fbsd ~amd64-linux ~x86-linux ~x64-macos" -IUSE="doc test" - -CDEPEND="$(python_gen_cond_dep 'dev-python/funcsigs[${PYTHON_USEDEP}]' 'python2_7') - >=dev-python/pbr-1.3[${PYTHON_USEDEP}]" -DEPEND=" - >=dev-python/setuptools-17.1[${PYTHON_USEDEP}] - test? ( - ${CDEPEND} - dev-python/nose[${PYTHON_USEDEP}] - $(python_gen_cond_dep '>=dev-python/unittest2-1.1.0[${PYTHON_USEDEP}]' python{2_7,3_3} pypy) - )" -RDEPEND=" - ${CDEPEND} - >=dev-python/six-1.7[${PYTHON_USEDEP}] -" - -python_test() { - nosetests || die "tests fail under ${EPYTHON}" -} - -python_install_all() { - use doc && local DOCS=( docs/*.txt ) - - distutils-r1_python_install_all -} diff --git a/dev-python/ndg-httpsclient/ndg-httpsclient-0.4.0-r1.ebuild b/dev-python/ndg-httpsclient/ndg-httpsclient-0.4.0-r1.ebuild deleted file mode 100644 index c2341b1d3094..000000000000 --- a/dev-python/ndg-httpsclient/ndg-httpsclient-0.4.0-r1.ebuild +++ /dev/null @@ -1,28 +0,0 @@ -# Copyright 1999-2015 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Id$ - -EAPI=5 - -PYTHON_COMPAT=( python2_7 python3_{3,4,5} pypy pypy3 ) - -inherit distutils-r1 - -DESCRIPTION="Provides enhanced HTTPS support for httplib and urllib2 using PyOpenSSL" -HOMEPAGE=" - https://github.com/cedadev/ndg_httpsclient/ - https://pypi.python.org/pypi/ndg-httpsclient" -SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P/-/_}.tar.gz" - -LICENSE="BSD" -SLOT="0" -KEYWORDS="~amd64 ~x86 ~x86-fbsd ~amd64-linux ~x86-linux ~x64-macos ~x86-macos" -IUSE="" - -RDEPEND="dev-python/pyopenssl[$(python_gen_usedep 'python*' pypy)]" -DEPEND="${RDEPEND} - dev-python/setuptools[${PYTHON_USEDEP}]" - -S="${WORKDIR}/${P/-/_}" - -# doc build by Makefile in folder documentation is broken diff --git a/dev-python/ndg-httpsclient/ndg-httpsclient-0.4.0.ebuild b/dev-python/ndg-httpsclient/ndg-httpsclient-0.4.0.ebuild index b2a1f73ca755..50b428e00ddc 100644 --- a/dev-python/ndg-httpsclient/ndg-httpsclient-0.4.0.ebuild +++ b/dev-python/ndg-httpsclient/ndg-httpsclient-0.4.0.ebuild @@ -4,7 +4,7 @@ EAPI=5 -PYTHON_COMPAT=( python{2_7,3_3,3_4} pypy pypy3 ) +PYTHON_COMPAT=( python2_7 python3_{3,4,5} pypy pypy3 ) inherit distutils-r1 diff --git a/dev-python/nose/nose-1.3.7-r1.ebuild b/dev-python/nose/nose-1.3.7-r1.ebuild deleted file mode 100644 index b8ea30e5b18b..000000000000 --- a/dev-python/nose/nose-1.3.7-r1.ebuild +++ /dev/null @@ -1,89 +0,0 @@ -# Copyright 1999-2015 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Id$ - -EAPI=5 - -PYTHON_COMPAT=( python2_7 python3_{3,4,5} pypy pypy3 ) - -inherit distutils-r1 - -DESCRIPTION="A unittest extension offering automatic test suite discovery and easy test authoring" -HOMEPAGE=" - https://pypi.python.org/pypi/nose - http://readthedocs.org/docs/nose/ - https://bitbucket.org/jpellerin/nose" -SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" - -LICENSE="LGPL-2.1" -SLOT="0" -KEYWORDS="~amd64 ~x86 ~amd64-fbsd ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris" -IUSE="doc examples test" - -RDEPEND=" - dev-python/coverage[${PYTHON_USEDEP}] - dev-python/setuptools[${PYTHON_USEDEP}]" -DEPEND="${RDEPEND} - doc? ( >=dev-python/sphinx-0.6[${PYTHON_USEDEP}] ) - test? ( $(python_gen_cond_dep 'dev-python/twisted-core[${PYTHON_USEDEP}]' python2_7) )" - -python_prepare_all() { - # Tests need to be converted, and they don't respect BUILD_DIR. - use test && DISTUTILS_IN_SOURCE_BUILD=1 - - # Disable tests requiring network connection. - sed \ - -e "s/test_resolve/_&/g" \ - -e "s/test_raises_bad_return/_&/g" \ - -e "s/test_raises_twisted_error/_&/g" \ - -i unit_tests/test_twisted.py || die "sed failed" - # Disable versioning of nosetests script to avoid collision with - # versioning performed by the eclass. - sed -e "/'nosetests%s = nose:run_exit' % py_vers_tag,/d" \ - -i setup.py || die "sed2 failed" - - # Prevent un-needed d'loading during doc build - sed -e "s/, 'sphinx.ext.intersphinx'//" -i doc/conf.py || die - - distutils-r1_python_prepare_all -} - -python_compile() { - local add_targets=() - - if use test; then - add_targets+=( egg_info ) - python_is_python3 && add_targets+=( build_tests ) - fi - - distutils-r1_python_compile ${add_targets[@]} -} - -python_compile_all() { - use doc && emake -C doc html -} - -src_test() { - # nosetests use heavy multiprocessing during the tests. - # this shall make them less likely to kill your system or timeout. - local DISTUTILS_NO_PARALLEL_BUILD=1 - - distutils-r1_src_test -} - -python_test() { - "${PYTHON}" selftest.py -v || die "Tests fail with ${EPYTHON}" -} - -python_install() { - distutils-r1_python_install --install-data "${EPREFIX}/usr/share" -} - -python_install_all() { - use examples && local EXAMPLES=( examples/. ) - distutils-r1_python_install_all - - if use doc; then - dohtml -r -A txt doc/.build/html/. - fi -} diff --git a/dev-python/nose/nose-1.3.7.ebuild b/dev-python/nose/nose-1.3.7.ebuild index d1be779415a9..b4e89e80c916 100644 --- a/dev-python/nose/nose-1.3.7.ebuild +++ b/dev-python/nose/nose-1.3.7.ebuild @@ -4,7 +4,7 @@ EAPI=5 -PYTHON_COMPAT=( python2_7 python3_{3,4} pypy pypy3 ) +PYTHON_COMPAT=( python2_7 python3_{3,4,5} pypy pypy3 ) inherit distutils-r1 diff --git a/dev-python/numpy/numpy-1.10.0_p2-r1.ebuild b/dev-python/numpy/numpy-1.10.0_p2-r1.ebuild deleted file mode 100644 index dd9c6fd94378..000000000000 --- a/dev-python/numpy/numpy-1.10.0_p2-r1.ebuild +++ /dev/null @@ -1,154 +0,0 @@ -# Copyright 1999-2015 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Id$ - -EAPI=5 - -PYTHON_COMPAT=( python2_7 python3_{3,4,5} ) - -FORTRAN_NEEDED=lapack - -inherit distutils-r1 eutils flag-o-matic fortran-2 multilib multiprocessing toolchain-funcs versionator - -DOC_PV="1.9.1" -DOC_P="${PN}-${DOC_PV}" - -DESCRIPTION="Fast array and numerical python library" -HOMEPAGE="http://www.numpy.org/" -SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P/_p/.post}.tar.gz - doc? ( - http://docs.scipy.org/doc/${DOC_P}/${PN}-html-${DOC_PV}.zip - http://docs.scipy.org/doc/${DOC_P}/${PN}-ref-${DOC_PV}.pdf - http://docs.scipy.org/doc/${DOC_P}/${PN}-user-${DOC_PV}.pdf - )" -# It appears the docs haven't been upgraded, still @ 1.8.1 -LICENSE="BSD" -SLOT="0" -KEYWORDS="~amd64 ~x86 ~amd64-fbsd ~x86-fbsd ~x86-freebsd ~x86-interix ~amd64-linux ~arm-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~x64-solaris ~x86-solaris" -IUSE="doc lapack test" - -RDEPEND=" - dev-python/setuptools[${PYTHON_USEDEP}] - lapack? ( virtual/cblas virtual/lapack )" -DEPEND="${RDEPEND} - doc? ( app-arch/unzip ) - lapack? ( virtual/pkgconfig ) - test? ( >=dev-python/nose-1.0[${PYTHON_USEDEP}] )" - -# Uses distutils.command.config. -DISTUTILS_IN_SOURCE_BUILD=1 - -PATCHES=( - "${FILESDIR}"/${PN}-1.9.2-no-hardcode-blas.patch -) - -src_unpack() { - default - mv "${WORKDIR}"/* "${S}" || die - - if use doc; then - unzip -qo "${DISTDIR}"/${PN}-html-${DOC_PV}.zip -d html || die - fi -} - -pc_incdir() { - $(tc-getPKG_CONFIG) --cflags-only-I $@ | \ - sed -e 's/^-I//' -e 's/[ ]*-I/:/g' -e 's/[ ]*$//' -e 's|^:||' -} - -pc_libdir() { - $(tc-getPKG_CONFIG) --libs-only-L $@ | \ - sed -e 's/^-L//' -e 's/[ ]*-L/:/g' -e 's/[ ]*$//' -e 's|^:||' -} - -pc_libs() { - $(tc-getPKG_CONFIG) --libs-only-l $@ | \ - sed -e 's/[ ]-l*\(pthread\|m\)\([ ]\|$\)//g' \ - -e 's/^-l//' -e 's/[ ]*-l/,/g' -e 's/[ ]*$//' \ - | tr ',' '\n' | sort -u | tr '\n' ',' | sed -e 's|,$||' -} - -python_prepare_all() { - if use lapack; then - append-ldflags "$($(tc-getPKG_CONFIG) --libs-only-other cblas lapack)" - local libdir="${EPREFIX}"/usr/$(get_libdir) - # make sure _dotblas.so gets built - sed -i -e '/NO_ATLAS_INFO/,+1d' numpy/core/setup.py || die - cat >> site.cfg <<-EOF - [blas] - include_dirs = $(pc_incdir cblas) - library_dirs = $(pc_libdir cblas blas):${libdir} - blas_libs = $(pc_libs cblas blas) - [lapack] - library_dirs = $(pc_libdir lapack):${libdir} - lapack_libs = $(pc_libs lapack) - EOF - else - export {ATLAS,PTATLAS,BLAS,LAPACK,MKL}=None - fi - - export CC="$(tc-getCC) ${CFLAGS}" - - append-flags -fno-strict-aliasing - - # See progress in http://projects.scipy.org/scipy/numpy/ticket/573 - # with the subtle difference that we don't want to break Darwin where - # -shared is not a valid linker argument - if [[ ${CHOST} != *-darwin* ]]; then - append-ldflags -shared - fi - - # only one fortran to link with: - # linking with cblas and lapack library will force - # autodetecting and linking to all available fortran compilers - append-fflags -fPIC - if use lapack; then - NUMPY_FCONFIG="config_fc --noopt --noarch" - # workaround bug 335908 - [[ $(tc-getFC) == *gfortran* ]] && NUMPY_FCONFIG+=" --fcompiler=gnu95" - fi - - # don't version f2py, we will handle it. - sed -i -e '/f2py_exe/s:+os\.path.*$::' numpy/f2py/setup.py || die - - # we don't have f2py-3.3 - sed \ - -e "/f2py_cmd/s:'f2py'.*:'f2py':g" \ - -i numpy/tests/test_scripts.py || die - - distutils-r1_python_prepare_all -} - -python_compile() { - distutils-r1_python_compile -j $(makeopts_jobs) ${NUMPY_FCONFIG} -} - -python_test() { - distutils_install_for_testing ${NUMPY_FCONFIG} - - cd "${TMPDIR}" || die - ${EPYTHON} -c " -import numpy, sys -r = numpy.test(label='full', verbose=3) -sys.exit(0 if r.wasSuccessful() else 1)" || die "Tests fail with ${EPYTHON}" -} - -python_install() { - distutils-r1_python_install ${NUMPY_FCONFIG} -} - -python_install_all() { - distutils-r1_python_install_all - - dodoc COMPATIBILITY DEV_README.txt THANKS.txt - - if use doc; then - dohtml -r "${WORKDIR}"/html/* - dodoc "${DISTDIR}"/${PN}-{user,ref}-${DOC_PV}.pdf - fi - - # absent in 1.9 - #docinto f2py - #dodoc numpy/f2py/docs/*.txt - #doman numpy/f2py/f2py.1 -} diff --git a/dev-python/numpy/numpy-1.10.0_p2.ebuild b/dev-python/numpy/numpy-1.10.0_p2.ebuild index f7fdd3dcf5ea..1174f3a6b652 100644 --- a/dev-python/numpy/numpy-1.10.0_p2.ebuild +++ b/dev-python/numpy/numpy-1.10.0_p2.ebuild @@ -4,7 +4,7 @@ EAPI=5 -PYTHON_COMPAT=( python2_7 python3_{3,4} ) +PYTHON_COMPAT=( python2_7 python3_{3,4,5} ) FORTRAN_NEEDED=lapack diff --git a/dev-python/packaging/packaging-15.3-r1.ebuild b/dev-python/packaging/packaging-15.3-r1.ebuild index 80062fed5ece..bd92da65a30b 100644 --- a/dev-python/packaging/packaging-15.3-r1.ebuild +++ b/dev-python/packaging/packaging-15.3-r1.ebuild @@ -4,7 +4,7 @@ EAPI=5 -PYTHON_COMPAT=( python2_7 python3_{3,4} pypy pypy3 ) +PYTHON_COMPAT=( python2_7 python3_{3,4,5} pypy pypy3 ) inherit distutils-r1 diff --git a/dev-python/packaging/packaging-15.3-r2.ebuild b/dev-python/packaging/packaging-15.3-r2.ebuild deleted file mode 100644 index 6d77cb96a087..000000000000 --- a/dev-python/packaging/packaging-15.3-r2.ebuild +++ /dev/null @@ -1,32 +0,0 @@ -# Copyright 1999-2015 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Id$ - -EAPI=5 - -PYTHON_COMPAT=( python2_7 python3_{3,4,5} pypy pypy3 ) - -inherit distutils-r1 - -DESCRIPTION="Core utilities for Python packages" -HOMEPAGE="https://github.com/pypa/packaging https://pypi.python.org/pypi/packaging" -SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" - -SLOT="0" -LICENSE="Apache-2.0" -KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux" -IUSE="test" - -RDEPEND="" -DEPEND="${RDEPEND} - test? ( - dev-python/pretend[${PYTHON_USEDEP}] - dev-python/pytest[${PYTHON_USEDEP}] - ) -" - -PATCHES=( "${FILESDIR}"/${P}-setuptools.patch ) - -python_test() { - py.test --capture=no --strict -v || die -} diff --git a/dev-python/pbr/pbr-1.8.1-r1.ebuild b/dev-python/pbr/pbr-1.8.1-r1.ebuild deleted file mode 100644 index 72d38961cbde..000000000000 --- a/dev-python/pbr/pbr-1.8.1-r1.ebuild +++ /dev/null @@ -1,68 +0,0 @@ -# Copyright 1999-2015 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Id$ - -EAPI=5 - -PYTHON_COMPAT=( python2_7 python3_{3,4,5} pypy pypy3 ) - -inherit distutils-r1 - -DESCRIPTION="Inject some useful and sensible default behaviors into setuptools" -HOMEPAGE="https://github.com/openstack-dev/pbr" -SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" - -LICENSE="Apache-2.0" -SLOT="0" -KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux" -IUSE="test" - -# git is needed for tests, see https://bugs.launchpad.net/pbr/+bug/1326682 and https://bugs.gentoo.org/show_bug.cgi?id=561038 -DEPEND=" - dev-python/setuptools[${PYTHON_USEDEP}] - test? ( - >=dev-python/coverage-3.6[${PYTHON_USEDEP}] - >=dev-python/fixtures-1.3.1[${PYTHON_USEDEP}] - >=dev-python/mock-1.2[${PYTHON_USEDEP}] - >=dev-python/subunit-0.0.18[${PYTHON_USEDEP}] - >=dev-python/sphinx-1.1.2[${PYTHON_USEDEP}] - !~dev-python/sphinx-1.2.0[${PYTHON_USEDEP}] - <dev-python/sphinx-1.3[${PYTHON_USEDEP}] - >=dev-python/six-1.9.0[${PYTHON_USEDEP}] - >=dev-python/testrepository-0.0.18[${PYTHON_USEDEP}] - >=dev-python/testresources-0.2.4[${PYTHON_USEDEP}] - >=dev-python/testscenarios-0.4[${PYTHON_USEDEP}] - >=dev-python/testtools-1.4.0[${PYTHON_USEDEP}] - dev-python/virtualenv[${PYTHON_USEDEP}] - dev-vcs/git - )" -PDEPEND="dev-python/pip[${PYTHON_USEDEP}]" - -# This normally actually belongs here. -python_prepare_all() { - # This test passes when run within the source and doesn't represent a failure, but rather - # a gentoo sandbox constraint - # Rm tests that rely upon the package being already installed and fail - sed -e s':test_console_script_develop:_&:' \ - -e s':test_console_script_install:_&:' \ - -e s':test_sdist_extra_files:_&:' \ - -e s':test_command_hooks:_&:' \ - -e s':test_sdist_git_extra_files:_&:' \ - -i pbr/tests/test_core.py || die - sed -e s':test_command_hooks:_&:' \ - -e s':test_global_setup_hooks:_&:' \ - -i pbr/tests/test_hooks.py || die - einfo "rogue tests disabled" - sed -i '/^hacking/d' test-requirements.txt || die - - distutils-r1_python_prepare_all -} - -python_test() { - distutils_install_for_testing - - rm -rf .testrepository || die "couldn't remove '.testrepository' under ${EPTYHON}" - - testr init || die "testr init failed under ${EPYTHON}" - testr run || die "testr run failed under ${EPYTHON}" -} diff --git a/dev-python/pbr/pbr-1.8.1.ebuild b/dev-python/pbr/pbr-1.8.1.ebuild index 3dab5b25767d..367e7ea6d873 100644 --- a/dev-python/pbr/pbr-1.8.1.ebuild +++ b/dev-python/pbr/pbr-1.8.1.ebuild @@ -4,7 +4,7 @@ EAPI=5 -PYTHON_COMPAT=( python{2_7,3_3,3_4} pypy pypy3 ) +PYTHON_COMPAT=( python2_7 python3_{3,4,5} pypy pypy3 ) inherit distutils-r1 diff --git a/dev-python/pexpect/pexpect-4.0.1-r1.ebuild b/dev-python/pexpect/pexpect-4.0.1-r1.ebuild deleted file mode 100644 index 8071929a5e9b..000000000000 --- a/dev-python/pexpect/pexpect-4.0.1-r1.ebuild +++ /dev/null @@ -1,51 +0,0 @@ -# Copyright 1999-2015 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Id$ - -EAPI=5 - -PYTHON_COMPAT=( python2_7 python3_{3,4,5} pypy pypy3 ) - -inherit distutils-r1 - -DESCRIPTION="Python module for spawning child applications and responding to expected patterns" -HOMEPAGE=" - http://pexpect.sourceforge.net/ - https://pypi.python.org/pypi/pexpect/ - https://github.com/pexpect/pexpect/ -" -SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" - -LICENSE="MIT" -SLOT="0" -KEYWORDS="~amd64 ~x86 ~amd64-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos" -IUSE="doc examples test" - -RDEPEND=">=dev-python/ptyprocess-0.5[${PYTHON_USEDEP}]" -DEPEND=" - doc? ( dev-python/sphinx[${PYTHON_USEDEP}] ) - test? ( dev-python/pytest[${PYTHON_USEDEP}] )" - -python_prepare_all() { - # tests failing - # https://github.com/pexpect/pexpect/issues/282 - # https://github.com/pexpect/pexpect/issues/283 - # https://github.com/pexpect/pexpect/issues/284 - rm tests/test_maxcanon.py tests/test_async.py || die - touch .coveragerc || die - distutils-r1_python_prepare_all -} - -python_compile_all() { - use doc && emake -C doc html -} - -python_test() { - py.test tests || die "Tests fail with ${EPYTHON}" -} - -python_install_all() { - use doc && local HTML_DOCS=( doc/_build/html/. ) - use examples && local EXAMPLES=( examples/. ) - distutils-r1_python_install_all -} diff --git a/dev-python/pexpect/pexpect-4.0.1.ebuild b/dev-python/pexpect/pexpect-4.0.1.ebuild index 33a957104da2..c1f7a48a82ef 100644 --- a/dev-python/pexpect/pexpect-4.0.1.ebuild +++ b/dev-python/pexpect/pexpect-4.0.1.ebuild @@ -4,7 +4,7 @@ EAPI=5 -PYTHON_COMPAT=( python{2_7,3_3,3_4} pypy pypy3 ) +PYTHON_COMPAT=( python2_7 python3_{3,4,5} pypy pypy3 ) inherit distutils-r1 diff --git a/dev-python/pip/pip-7.1.2-r1.ebuild b/dev-python/pip/pip-7.1.2-r1.ebuild deleted file mode 100644 index cfdac503d9f6..000000000000 --- a/dev-python/pip/pip-7.1.2-r1.ebuild +++ /dev/null @@ -1,66 +0,0 @@ -# Copyright 1999-2015 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Id$ - -EAPI=5 - -PYTHON_COMPAT=( python2_7 python3_{3,4,5} pypy pypy3 ) - -inherit bash-completion-r1 distutils-r1 - -DESCRIPTION="Installs python packages -- replacement for easy_install" -HOMEPAGE="https://pip.pypa.io/ https://pypi.python.org/pypi/pip/ https://github.com/pypa/pip/" -SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" - -LICENSE="MIT" -KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux" -SLOT="0" - -# Check pip/_vendor/vendor.txt for this -VENDOR_DEPEND=" - >=dev-python/distlib-0.2.1[${PYTHON_USEDEP}] - >=dev-python/html5lib-0.999999[${PYTHON_USEDEP}] - >=dev-python/six-1.9[${PYTHON_USEDEP}] - >=dev-python/colorama-0.3.3[${PYTHON_USEDEP}] - >=dev-python/requests-2.7.0[${PYTHON_USEDEP}] - >=dev-python/CacheControl-0.11.5[${PYTHON_USEDEP}] - >=dev-python/lockfile-0.10.2[${PYTHON_USEDEP}] - >=dev-python/progress-1.2[${PYTHON_USEDEP}] - >=dev-python/ipaddress-1.0.14[${PYTHON_USEDEP}] - >=dev-python/packaging-15.3[${PYTHON_USEDEP}] - >=dev-python/retrying-1.3.3[${PYTHON_USEDEP}] -" -RDEPEND="${VENDOR_DEPEND} - >=dev-python/setuptools-18.2[${PYTHON_USEDEP}] -" -DEPEND="${RDEPEND}" - -# required test data isn't bundled with the tarball -RESTRICT="test" - -PATCHES=( - "${FILESDIR}"/${PN}-6.0.2-disable-version-check.patch - "${FILESDIR}"/${P}-unbundle.patch - ) - -python_prepare_all() { - mv pip/_vendor/__init__.py "${T}" || die - rm -r pip/_vendor/* || die - mv "${T}"/__init__.py pip/_vendor/__init__.py || die - - distutils-r1_python_prepare_all -} - -python_install_all() { - local DOCS=( AUTHORS.txt docs/*.rst ) - distutils-r1_python_install_all - - COMPLETION="${T}"/completion.tmp - - ${EPYTHON} pip/__init__.py completion --bash > "${COMPLETION}" || die - newbashcomp "${COMPLETION}" ${PN} - - ${EPYTHON} pip/__init__.py completion --zsh > "${COMPLETION}" || die - insinto /usr/share/zsh/site-functions - newins "${COMPLETION}" _pip -} diff --git a/dev-python/pip/pip-7.1.2.ebuild b/dev-python/pip/pip-7.1.2.ebuild index 524cddad339d..10eff97fc739 100644 --- a/dev-python/pip/pip-7.1.2.ebuild +++ b/dev-python/pip/pip-7.1.2.ebuild @@ -4,7 +4,7 @@ EAPI=5 -PYTHON_COMPAT=( python{2_7,3_3,3_4} pypy pypy3 ) +PYTHON_COMPAT=( python2_7 python3_{3,4,5} pypy pypy3 ) inherit bash-completion-r1 distutils-r1 diff --git a/dev-python/ply/ply-3.8-r1.ebuild b/dev-python/ply/ply-3.8-r1.ebuild deleted file mode 100644 index d32b5aa665b4..000000000000 --- a/dev-python/ply/ply-3.8-r1.ebuild +++ /dev/null @@ -1,44 +0,0 @@ -# Copyright 1999-2015 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Id$ - -EAPI=5 - -PYTHON_COMPAT=( python2_7 python3_{3,4,5} pypy pypy3 ) - -inherit distutils-r1 - -DESCRIPTION="Python Lex-Yacc library" -HOMEPAGE="http://www.dabeaz.com/ply/ https://pypi.python.org/pypi/ply" -SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" - -LICENSE="BSD" -SLOT="0" -KEYWORDS="~amd64 ~x86 ~x86-fbsd ~x86-freebsd ~x86-interix ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~x64-solaris" -IUSE="examples" - -RDEPEND="" -DEPEND="dev-python/setuptools[${PYTHON_USEDEP}]" - -# See bug #458648 for reference -RESTRICT="test" - -DOCS=( ANNOUNCE CHANGES TODO ) - -PATCHES=( "${FILESDIR}/3.6-picklefile-IOError.patch" ) - -python_test() { - cp -r -l test "${BUILD_DIR}"/ || die - cd "${BUILD_DIR}"/test || die - - local t - for t in testlex.py testyacc.py; do - "${PYTHON}" "${t}" || die "${t} fails with ${EPYTHON}" - done -} - -python_install_all() { - local HTML_DOCS=( doc/. ) - use examples && local EXAMPLES=( example/. ) - distutils-r1_python_install_all -} diff --git a/dev-python/ply/ply-3.8.ebuild b/dev-python/ply/ply-3.8.ebuild index 1e5e55f92e4b..0bf8120129e2 100644 --- a/dev-python/ply/ply-3.8.ebuild +++ b/dev-python/ply/ply-3.8.ebuild @@ -4,7 +4,7 @@ EAPI=5 -PYTHON_COMPAT=( python{2_7,3_3,3_4} pypy ) +PYTHON_COMPAT=( python2_7 python3_{3,4,5} pypy pypy3 ) inherit distutils-r1 diff --git a/dev-python/pretend/pretend-1.0.8-r1.ebuild b/dev-python/pretend/pretend-1.0.8-r1.ebuild deleted file mode 100644 index fa1f8d0c1030..000000000000 --- a/dev-python/pretend/pretend-1.0.8-r1.ebuild +++ /dev/null @@ -1,20 +0,0 @@ -# Copyright 1999-2015 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Id$ - -EAPI=5 - -PYTHON_COMPAT=( python2_7 python3_{3,4,5} pypy pypy3 ) - -inherit distutils-r1 - -DESCRIPTION="A library for stubbing in Python" -HOMEPAGE="https://github.com/alex/pretend/ https://pypi.python.org/pypi/pretend/" -SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" - -LICENSE="BSD" -SLOT="0" -KEYWORDS="~amd64 ~x86 ~x86-fbsd ~x86-freebsd ~x86-interix ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~x64-solaris" -IUSE="" - -DEPEND="dev-python/setuptools[${PYTHON_USEDEP}]" diff --git a/dev-python/pretend/pretend-1.0.8.ebuild b/dev-python/pretend/pretend-1.0.8.ebuild index 426577330ecd..d2f9acdfc595 100644 --- a/dev-python/pretend/pretend-1.0.8.ebuild +++ b/dev-python/pretend/pretend-1.0.8.ebuild @@ -4,7 +4,7 @@ EAPI=5 -PYTHON_COMPAT=( python{2_7,3_3,3_4} pypy pypy3 ) +PYTHON_COMPAT=( python2_7 python3_{3,4,5} pypy pypy3 ) inherit distutils-r1 diff --git a/dev-python/progress/progress-1.2-r1.ebuild b/dev-python/progress/progress-1.2-r1.ebuild deleted file mode 100644 index ac4092c9ca9e..000000000000 --- a/dev-python/progress/progress-1.2-r1.ebuild +++ /dev/null @@ -1,29 +0,0 @@ -# Copyright 1999-2015 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Id$ - -EAPI=5 - -PYTHON_COMPAT=( python2_7 python3_{3,4,5} pypy pypy3 ) - -inherit bash-completion-r1 distutils-r1 - -DESCRIPTION="Easy to use progress bars" -HOMEPAGE="https://pypi.python.org/pypi/progress https://github.com/verigak/progress/" -SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" - -SLOT="0" -LICENSE="ISC" -KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux" -IUSE="" - -RDEPEND="" -DEPEND="${RDEPEND} - dev-python/setuptools[${PYTHON_USEDEP}]" - -# Not bundled -RESTRICT="test" - -python_test() { - "${PYTHON}" test_progress.py || die -} diff --git a/dev-python/progress/progress-1.2.ebuild b/dev-python/progress/progress-1.2.ebuild index 58659f46917d..80f7c1cd7697 100644 --- a/dev-python/progress/progress-1.2.ebuild +++ b/dev-python/progress/progress-1.2.ebuild @@ -4,7 +4,7 @@ EAPI=5 -PYTHON_COMPAT=( python2_7 python3_{3,4} pypy pypy3 ) +PYTHON_COMPAT=( python2_7 python3_{3,4,5} pypy pypy3 ) inherit bash-completion-r1 distutils-r1 diff --git a/dev-python/ptyprocess/ptyprocess-0.5-r1.ebuild b/dev-python/ptyprocess/ptyprocess-0.5-r1.ebuild deleted file mode 100644 index 1c1b3c9f50c6..000000000000 --- a/dev-python/ptyprocess/ptyprocess-0.5-r1.ebuild +++ /dev/null @@ -1,24 +0,0 @@ -# Copyright 1999-2015 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Id$ - -EAPI=5 - -PYTHON_COMPAT=( python2_7 python3_{3,4,5} pypy pypy3 ) - -inherit distutils-r1 - -DESCRIPTION="Run a subprocess in a pseudo terminal" -HOMEPAGE="https://github.com/pexpect/ptyprocess" -SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" - -LICENSE="ISC" -SLOT="0" -KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux" -IUSE="test" - -DEPEND="test? ( dev-python/pytest[${PYTHON_USEDEP}] )" - -python_test() { - py.test --verbose --verbose || die -} diff --git a/dev-python/ptyprocess/ptyprocess-0.5.ebuild b/dev-python/ptyprocess/ptyprocess-0.5.ebuild index 1a1280eff6b8..5faf2b1c4b7e 100644 --- a/dev-python/ptyprocess/ptyprocess-0.5.ebuild +++ b/dev-python/ptyprocess/ptyprocess-0.5.ebuild @@ -4,7 +4,7 @@ EAPI=5 -PYTHON_COMPAT=( python2_7 python3_{3,4} pypy pypy3 ) +PYTHON_COMPAT=( python2_7 python3_{3,4,5} pypy pypy3 ) inherit distutils-r1 diff --git a/dev-python/py/py-1.4.30-r1.ebuild b/dev-python/py/py-1.4.30-r1.ebuild deleted file mode 100644 index a4de0a1ecbca..000000000000 --- a/dev-python/py/py-1.4.30-r1.ebuild +++ /dev/null @@ -1,45 +0,0 @@ -# Copyright 1999-2015 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Id$ - -EAPI="5" - -PYTHON_COMPAT=( python2_7 python3_{3,4,5} pypy pypy3 ) - -inherit distutils-r1 - -DESCRIPTION="library with cross-python path, ini-parsing, io, code, log facilities" -HOMEPAGE="http://pylib.readthedocs.org/ https://pypi.python.org/pypi/py" -SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" - -LICENSE="MIT" -SLOT="0" -KEYWORDS="~amd64 ~x86 ~amd64-fbsd ~x86-fbsd ~amd64-linux ~ia64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos" -IUSE="doc test" - -RDEPEND="" -DEPEND=" - dev-python/setuptools[${PYTHON_USEDEP}] - test? ( >=dev-python/pytest-2.4.2[${PYTHON_USEDEP}] ) - doc? ( dev-python/sphinx[${PYTHON_USEDEP}] )" - -python_prepare_all() { - sed -e 's:intersphinx_mapping:#&:' -i doc/conf.py || die - distutils-r1_python_prepare_all -} - -python_compile_all() { - use doc && emake -C doc html -} - -python_test() { - # 1 failure, test_comments, under both pypy only. - # Also appears the home repo has no issue tracker. - [[ "${EPYTHON}" == pypy ]] && return - py.test || die "testing failed with ${EPYTHON}" -} - -python_install_all() { - use doc && local HTML_DOCS=( doc/_build/html/. ) - distutils-r1_python_install_all -} diff --git a/dev-python/py/py-1.4.30.ebuild b/dev-python/py/py-1.4.30.ebuild index 7d8deeee46a0..1ea51d06536b 100644 --- a/dev-python/py/py-1.4.30.ebuild +++ b/dev-python/py/py-1.4.30.ebuild @@ -4,7 +4,7 @@ EAPI="5" -PYTHON_COMPAT=( python2_7 python3_{3,4} pypy pypy3 ) +PYTHON_COMPAT=( python2_7 python3_{3,4,5} pypy pypy3 ) inherit distutils-r1 diff --git a/dev-python/pyasn1-modules/pyasn1-modules-0.0.8-r1.ebuild b/dev-python/pyasn1-modules/pyasn1-modules-0.0.8-r1.ebuild deleted file mode 100644 index a34c654789e4..000000000000 --- a/dev-python/pyasn1-modules/pyasn1-modules-0.0.8-r1.ebuild +++ /dev/null @@ -1,38 +0,0 @@ -# Copyright 1999-2015 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Id$ - -EAPI=5 - -PYTHON_COMPAT=( python2_7 python3_{3,4,5} pypy pypy3 ) - -inherit distutils-r1 - -DESCRIPTION="pyasn1 modules" -HOMEPAGE="http://pyasn1.sourceforge.net/ https://pypi.python.org/pypi/pyasn1-modules" -SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" - -LICENSE="BSD" -SLOT="0" -KEYWORDS="~amd64 ~x86" -IUSE="" - -RDEPEND=">=dev-python/pyasn1-0.1.8[${PYTHON_USEDEP}]" -DEPEND="${RDEPEND} - dev-python/setuptools[${PYTHON_USEDEP}]" - -python_test() { - echoit() { echo "$@"; "$@"; } - local exit_status=0 test - for test in test/*.sh; do - PATH="${S}/tools:${PATH}" \ - echoit sh "${test}" || exit_status=1 - done - return ${exit_status} -} - -python_install_all() { - distutils-r1_python_install_all - insinto /usr/share/${P} - doins -r tools -} diff --git a/dev-python/pyasn1-modules/pyasn1-modules-0.0.8.ebuild b/dev-python/pyasn1-modules/pyasn1-modules-0.0.8.ebuild index 5c68dd2fe0b2..192da0f6a5b0 100644 --- a/dev-python/pyasn1-modules/pyasn1-modules-0.0.8.ebuild +++ b/dev-python/pyasn1-modules/pyasn1-modules-0.0.8.ebuild @@ -4,7 +4,7 @@ EAPI=5 -PYTHON_COMPAT=( python{2_7,3_3,3_4} pypy pypy3 ) +PYTHON_COMPAT=( python2_7 python3_{3,4,5} pypy pypy3 ) inherit distutils-r1 diff --git a/dev-python/pyasn1/pyasn1-0.1.9-r1.ebuild b/dev-python/pyasn1/pyasn1-0.1.9-r1.ebuild deleted file mode 100644 index 671c341be6a4..000000000000 --- a/dev-python/pyasn1/pyasn1-0.1.9-r1.ebuild +++ /dev/null @@ -1,32 +0,0 @@ -# Copyright 1999-2015 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Id$ - -EAPI=5 - -PYTHON_COMPAT=( python2_7 python3_{3,4,5} pypy pypy3 ) - -inherit distutils-r1 - -DESCRIPTION="ASN.1 library for Python" -HOMEPAGE="http://pyasn1.sourceforge.net/ https://pypi.python.org/pypi/pyasn1" -SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" - -LICENSE="BSD" -SLOT="0" -KEYWORDS="~amd64 ~x86 ~x86-fbsd ~amd64-linux ~x86-linux ~x64-macos ~x86-macos" -IUSE="doc" - -RDEPEND="" -DEPEND="dev-python/setuptools[${PYTHON_USEDEP}]" - -python_test() { - "${PYTHON}" test/suite.py || die "Tests fail with ${EPYTHON}" -} - -src_install() { - local HTML_DOCS=( doc/pyasn1-tutorial.html ) - use doc && HTML_DOCS=( doc/. ) - - distutils-r1_src_install -} diff --git a/dev-python/pyasn1/pyasn1-0.1.9.ebuild b/dev-python/pyasn1/pyasn1-0.1.9.ebuild index a01b4fdad97a..8ca98bf842c5 100644 --- a/dev-python/pyasn1/pyasn1-0.1.9.ebuild +++ b/dev-python/pyasn1/pyasn1-0.1.9.ebuild @@ -2,9 +2,9 @@ # Distributed under the terms of the GNU General Public License v2 # $Id$ -EAPI="5" +EAPI=5 -PYTHON_COMPAT=( python{2_7,3_3,3_4} pypy pypy3 ) +PYTHON_COMPAT=( python2_7 python3_{3,4,5} pypy pypy3 ) inherit distutils-r1 diff --git a/dev-python/pycparser/pycparser-2.14-r1.ebuild b/dev-python/pycparser/pycparser-2.14-r1.ebuild deleted file mode 100644 index d479b06b7667..000000000000 --- a/dev-python/pycparser/pycparser-2.14-r1.ebuild +++ /dev/null @@ -1,34 +0,0 @@ -# Copyright 1999-2015 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Id$ - -EAPI=5 - -PYTHON_COMPAT=( python2_7 python3_{3,4,5} pypy pypy3 ) - -inherit distutils-r1 vcs-snapshot - -DESCRIPTION="C parser and AST generator written in Python" -HOMEPAGE="https://github.com/eliben/pycparser" -SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" - -LICENSE="BSD" -SLOT="0" -KEYWORDS="~amd64 ~x86 ~x86-fbsd ~x86-freebsd ~x86-interix ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~x64-solaris" -IUSE="test" - -RDEPEND="dev-python/ply[${PYTHON_USEDEP}]" -DEPEND="${RDEPEND} - dev-python/setuptools[${PYTHON_USEDEP}] - test? ( dev-python/nose[${PYTHON_USEDEP}] )" - -python_compile() { - distutils-r1_python_compile - pushd "${BUILD_DIR}/lib/pycparser" > /dev/null || die - "${PYTHON}" _build_tables.py || die - popd > /dev/null || die -} - -python_test() { - nosetests || die -} diff --git a/dev-python/pycparser/pycparser-2.14.ebuild b/dev-python/pycparser/pycparser-2.14.ebuild index 0b29b2dad409..c7fc55640f53 100644 --- a/dev-python/pycparser/pycparser-2.14.ebuild +++ b/dev-python/pycparser/pycparser-2.14.ebuild @@ -2,9 +2,9 @@ # Distributed under the terms of the GNU General Public License v2 # $Id$ -EAPI="5" +EAPI=5 -PYTHON_COMPAT=( python2_7 python3_{3,4} pypy ) +PYTHON_COMPAT=( python2_7 python3_{3,4,5} pypy pypy3 ) inherit distutils-r1 vcs-snapshot diff --git a/dev-python/pygments/pygments-2.0.2-r1.ebuild b/dev-python/pygments/pygments-2.0.2-r1.ebuild deleted file mode 100644 index 33077c71e6c8..000000000000 --- a/dev-python/pygments/pygments-2.0.2-r1.ebuild +++ /dev/null @@ -1,52 +0,0 @@ -# Copyright 1999-2015 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Id$ - -EAPI=5 - -PYTHON_COMPAT=( python2_7 python3_{3,4,5} pypy pypy3 ) - -inherit distutils-r1 bash-completion-r1 vcs-snapshot - -MY_PN="Pygments" -MY_P="${MY_PN}-${PV}" - -DESCRIPTION="Pygments is a syntax highlighting package written in Python" -HOMEPAGE="http://pygments.org/ https://pypi.python.org/pypi/Pygments" -SRC_URI="mirror://pypi/${MY_PN:0:1}/${MY_PN}/${MY_P}.tar.gz" - -LICENSE="BSD" -SLOT="0" -KEYWORDS="~amd64 ~x86 ~amd64-fbsd ~x86-fbsd ~x86-interix ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris" -IUSE="doc test" - -RDEPEND="dev-python/setuptools[${PYTHON_USEDEP}]" -DEPEND="${RDEPEND} - doc? ( dev-python/sphinx[${PYTHON_USEDEP}] ) - test? ( - dev-python/nose[${PYTHON_USEDEP}] - virtual/ttf-fonts )" -# dev-texlive/texlive-latexrecommended -# Removing / commenting out this dep. I can find no mention of it in tests other than -# importing pygment's own tex module. If it's there and I missed it just uncomment and re-add -# Tests pass without it - -S="${WORKDIR}/${MY_P}" - -python_compile_all() { - use doc && emake -C doc html -} - -python_test() { - cp -r -l tests "${BUILD_DIR}"/ || die - # With pypy3 there is 1 error out of 1556 tests when run as is and - # (SKIP=8, errors=1, failures=1) when run with 2to3; meh - nosetests -w "${BUILD_DIR}"/tests || die "Tests fail with ${EPYTHON}" -} - -python_install_all() { - use doc && local HTML_DOCS=( doc/_build/html/. ) - - distutils-r1_python_install_all - newbashcomp external/pygments.bashcomp pygmentize -} diff --git a/dev-python/pygments/pygments-2.0.2.ebuild b/dev-python/pygments/pygments-2.0.2.ebuild index 59b89d7ea5a3..2ea5783ccf36 100644 --- a/dev-python/pygments/pygments-2.0.2.ebuild +++ b/dev-python/pygments/pygments-2.0.2.ebuild @@ -3,7 +3,8 @@ # $Id$ EAPI=5 -PYTHON_COMPAT=( python{2_7,3_3,3_4} pypy pypy3 ) + +PYTHON_COMPAT=( python2_7 python3_{3,4,5} pypy pypy3 ) inherit distutils-r1 bash-completion-r1 vcs-snapshot diff --git a/dev-python/pyopenssl/pyopenssl-0.15.1-r1.ebuild b/dev-python/pyopenssl/pyopenssl-0.15.1-r1.ebuild deleted file mode 100644 index 679861855e3c..000000000000 --- a/dev-python/pyopenssl/pyopenssl-0.15.1-r1.ebuild +++ /dev/null @@ -1,57 +0,0 @@ -# Copyright 1999-2015 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Id$ - -EAPI=5 - -PYTHON_COMPAT=( python2_7 python3_{3,4,5} pypy ) - -inherit distutils-r1 flag-o-matic - -MY_PN=pyOpenSSL -MY_P=${MY_PN}-${PV} - -DESCRIPTION="Python interface to the OpenSSL library" -HOMEPAGE=" - http://pyopenssl.sourceforge.net/ - https://launchpad.net/pyopenssl - https://pypi.python.org/pypi/pyOpenSSL -" -SRC_URI="mirror://pypi/${MY_PN:0:1}/${MY_PN}/${MY_P}.tar.gz" - -LICENSE="Apache-2.0" -SLOT="0" -KEYWORDS="~amd64 ~x86 ~x86-fbsd ~x86-freebsd ~x86-interix ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~x64-solaris" -IUSE="doc examples" - -RDEPEND=" - >=dev-python/six-1.5.2[${PYTHON_USEDEP}] - >=dev-python/cryptography-0.7[${PYTHON_USEDEP}]" -DEPEND="${RDEPEND} - doc? ( dev-python/sphinx[${PYTHON_USEDEP}] )" - -S=${WORKDIR}/${MY_P} - -python_prepare_all() { - # https://github.com/pyca/pyopenssl/issues/41 - sed -e "s/test_digest/_&/" -i OpenSSL/test/test_crypto.py - - distutils-r1_python_prepare_all -} - -python_compile_all() { - use doc && emake -C doc html -} - -python_test() { - esetup.py test - - # https://bugs.launchpad.net/pyopenssl/+bug/1237953 - rm -rf tmp* *.key *.pem || die -} - -python_install_all() { - use doc && local HTML_DOCS=( doc/_build/html/. ) - use examples && local EXAMPLES=( examples/. ) - distutils-r1_python_install_all -} diff --git a/dev-python/pyopenssl/pyopenssl-0.15.1.ebuild b/dev-python/pyopenssl/pyopenssl-0.15.1.ebuild index 51f0a602c591..81fcfde2507a 100644 --- a/dev-python/pyopenssl/pyopenssl-0.15.1.ebuild +++ b/dev-python/pyopenssl/pyopenssl-0.15.1.ebuild @@ -4,7 +4,7 @@ EAPI=5 -PYTHON_COMPAT=( python{2_7,3_3,3_4} pypy ) +PYTHON_COMPAT=( python2_7 python3_{3,4,5} pypy ) inherit distutils-r1 flag-o-matic diff --git a/dev-python/pytest/pytest-2.7.3-r1.ebuild b/dev-python/pytest/pytest-2.7.3-r1.ebuild deleted file mode 100644 index e44499416983..000000000000 --- a/dev-python/pytest/pytest-2.7.3-r1.ebuild +++ /dev/null @@ -1,63 +0,0 @@ -# Copyright 1999-2015 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Id$ - -EAPI=5 - -PYTHON_COMPAT=( python2_7 python3_{3,4,5} pypy pypy3 ) - -inherit distutils-r1 - -DESCRIPTION="Simple powerful testing with Python" -HOMEPAGE="http://pytest.org/ https://pypi.python.org/pypi/pytest" -SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" - -LICENSE="MIT" -SLOT="0" -KEYWORDS="~amd64 ~x86 ~amd64-fbsd ~x86-fbsd ~amd64-linux ~ia64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos" -IUSE="doc test" - -# When bumping, please check setup.py for the proper py version -PY_VER="1.4.29" -RDEPEND=">=dev-python/py-${PY_VER}[${PYTHON_USEDEP}]" - -#pexpect dep based on https://bitbucket.org/hpk42/pytest/issue/386/tests-fail-with-pexpect-30 -DEPEND="${RDEPEND} - dev-python/setuptools[${PYTHON_USEDEP}] - test? ( dev-python/pexpect[${PYTHON_USEDEP}] ) - doc? ( dev-python/sphinx[${PYTHON_USEDEP}] )" - -python_prepare_all() { - # Disable versioning of py.test script to avoid collision with - # versioning performed by the eclass. - sed -e "s/return points/return {'py.test': target}/" -i setup.py || die "sed failed" - grep -qF "py>=${PY_VER}" setup.py || die "Incorrect dev-python/py dependency" - - # Prevent un-needed d'loading - sed -e "s/'sphinx.ext.intersphinx', //" -i doc/en/conf.py || die - distutils-r1_python_prepare_all -} - -python_compile_all() { - if use doc; then - mkdir doc/en/.build || die - emake -C doc/en html - fi -} - -python_test() { - # test_nose.py not written to suit py3.2 in pypy3 - if [[ "${EPYTHON}" == pypy3 ]]; then - "${PYTHON}" "${BUILD_DIR}"/lib/pytest.py \ - --ignore=testing/test_nose.py \ - || die "tests failed with ${EPYTHON}" - else - "${PYTHON}" "${BUILD_DIR}"/lib/pytest.py \ - || die "tests failed with ${EPYTHON}" - fi -} - -python_install_all() { - use doc && dohtml -r doc/en/_build/html/ - distutils-r1_python_install_all -} diff --git a/dev-python/pytest/pytest-2.7.3.ebuild b/dev-python/pytest/pytest-2.7.3.ebuild index f116f3735ab6..745e174dad0a 100644 --- a/dev-python/pytest/pytest-2.7.3.ebuild +++ b/dev-python/pytest/pytest-2.7.3.ebuild @@ -4,11 +4,11 @@ EAPI=5 -PYTHON_COMPAT=( python{2_7,3_3,3_4} pypy pypy3 ) +PYTHON_COMPAT=( python2_7 python3_{3,4,5} pypy pypy3 ) inherit distutils-r1 -DESCRIPTION="simple powerful testing with Python" +DESCRIPTION="Simple powerful testing with Python" HOMEPAGE="http://pytest.org/ https://pypi.python.org/pypi/pytest" SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" diff --git a/dev-python/pytest/pytest-2.8.2-r1.ebuild b/dev-python/pytest/pytest-2.8.2-r1.ebuild deleted file mode 100644 index 0b5e1898b1e4..000000000000 --- a/dev-python/pytest/pytest-2.8.2-r1.ebuild +++ /dev/null @@ -1,73 +0,0 @@ -# Copyright 1999-2015 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Id$ - -EAPI=5 - -PYTHON_COMPAT=( python2_7 python3_{3,4,5} pypy pypy3 ) - -inherit distutils-r1 - -DESCRIPTION="simple powerful testing with Python" -HOMEPAGE="http://pytest.org/ https://pypi.python.org/pypi/pytest" -SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" - -LICENSE="MIT" -SLOT="0" -KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux" -IUSE="doc test" - -# When bumping, please check setup.py for the proper py version -PY_VER="1.4.29" -RDEPEND=">=dev-python/py-${PY_VER}[${PYTHON_USEDEP}]" - -# dev-python/pluggy -# https://github.com/hpk42/pluggy -# See https://github.com/pytest-dev/pytest/issues/944 -# for why not now - -#pexpect dep based on https://bitbucket.org/hpk42/pytest/issue/386/tests-fail-with-pexpect-30 -DEPEND="${RDEPEND} - dev-python/setuptools[${PYTHON_USEDEP}] - test? ( dev-python/pexpect[${PYTHON_USEDEP}] ) - doc? ( - >=dev-python/sphinx-1.2.3[${PYTHON_USEDEP}] - dev-python/pyyaml[${PYTHON_USEDEP}] - dev-python/regendoc[${PYTHON_USEDEP}] - )" - -python_prepare_all() { - chmod o-w *egg*/* || die - # Disable versioning of py.test script to avoid collision with - # versioning performed by the eclass. - sed -e "s/return points/return {'py.test': target}/" -i setup.py || die "sed failed" - grep -qF "py>=${PY_VER}" setup.py || die "Incorrect dev-python/py dependency" - - # Prevent un-needed d'loading - sed -e "s/'sphinx.ext.intersphinx', //" -i doc/en/conf.py || die - distutils-r1_python_prepare_all -} - -python_compile_all() { - if use doc; then - mkdir doc/en/.build || die - emake -C doc/en html - fi -} - -python_test() { - # test_nose.py not written to suit py3.2 in pypy3 - if [[ "${EPYTHON}" == pypy3 ]]; then - "${PYTHON}" "${BUILD_DIR}"/lib/pytest.py -x -v \ - --ignore=testing/BUILD_nose.py \ - || die "tests failed with ${EPYTHON}" - else - "${PYTHON}" "${BUILD_DIR}"/lib/pytest.py -x -v --runpytest=subprocess \ - || die "tests failed with ${EPYTHON}" - fi -} - -python_install_all() { - use doc && HTML_DOCS=( doc/en/_build/html/. ) - distutils-r1_python_install_all -} diff --git a/dev-python/pytest/pytest-2.8.2.ebuild b/dev-python/pytest/pytest-2.8.2.ebuild index 6a87be6eb7fa..0b5e1898b1e4 100644 --- a/dev-python/pytest/pytest-2.8.2.ebuild +++ b/dev-python/pytest/pytest-2.8.2.ebuild @@ -4,7 +4,7 @@ EAPI=5 -PYTHON_COMPAT=( python{2_7,3_3,3_4} pypy pypy3 ) +PYTHON_COMPAT=( python2_7 python3_{3,4,5} pypy pypy3 ) inherit distutils-r1 diff --git a/dev-python/pytz/pytz-2015.6-r1.ebuild b/dev-python/pytz/pytz-2015.6-r1.ebuild deleted file mode 100644 index 5913f36bc8b9..000000000000 --- a/dev-python/pytz/pytz-2015.6-r1.ebuild +++ /dev/null @@ -1,34 +0,0 @@ -# Copyright 1999-2015 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Id$ - -EAPI=5 - -PYTHON_COMPAT=( python2_7 python3_{3,4,5} pypy pypy3 ) - -inherit distutils-r1 - -DESCRIPTION="World timezone definitions for Python" -HOMEPAGE="http://pythonhosted.org/pytz/ https://pypi.python.org/pypi/pytz/" -SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.bz2" - -LICENSE="MIT" -SLOT="0" -KEYWORDS="~amd64 ~x86 ~amd64-fbsd ~x86-fbsd ~amd64-linux ~ia64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos" -IUSE="" - -DEPEND=" - dev-python/setuptools[${PYTHON_USEDEP}] - >=sys-libs/timezone-data-2014i" -RDEPEND="${DEPEND}" - -PATCHES=( - # Use timezone-data zoneinfo. - "${FILESDIR}"/${PN}-2009j-zoneinfo.patch - # ...and do not install a copy of it. - "${FILESDIR}"/${PN}-2009h-zoneinfo-noinstall.patch -) - -python_test() { - "${PYTHON}" pytz/tests/test_tzinfo.py -v || die "Tests fail with ${EPYTHON}" -} diff --git a/dev-python/pytz/pytz-2015.6.ebuild b/dev-python/pytz/pytz-2015.6.ebuild index 6041a1492cc9..64190a53aae2 100644 --- a/dev-python/pytz/pytz-2015.6.ebuild +++ b/dev-python/pytz/pytz-2015.6.ebuild @@ -4,7 +4,7 @@ EAPI=5 -PYTHON_COMPAT=( python2_7 python3_{3,4} pypy pypy3 ) +PYTHON_COMPAT=( python2_7 python3_{3,4,5} pypy pypy3 ) inherit distutils-r1 diff --git a/dev-python/pyyaml/pyyaml-3.11-r1.ebuild b/dev-python/pyyaml/pyyaml-3.11-r1.ebuild deleted file mode 100644 index 364e467d29cc..000000000000 --- a/dev-python/pyyaml/pyyaml-3.11-r1.ebuild +++ /dev/null @@ -1,42 +0,0 @@ -# Copyright 1999-2015 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Id$ - -EAPI=5 - -PYTHON_COMPAT=( python2_7 python3_{3,4,5} pypy pypy3 ) - -inherit distutils-r1 - -MY_P="PyYAML-${PV}" - -DESCRIPTION="YAML parser and emitter for Python" -HOMEPAGE="http://pyyaml.org/wiki/PyYAML https://pypi.python.org/pypi/PyYAML" -SRC_URI="http://pyyaml.org/download/${PN}/${MY_P}.tar.gz" - -LICENSE="MIT" -SLOT="0" -KEYWORDS="~amd64 ~x86 ~amd64-fbsd ~x86-fbsd ~amd64-linux ~ia64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~x86-solaris" -IUSE="examples libyaml" - -RDEPEND="libyaml? ( dev-libs/libyaml )" -DEPEND="${RDEPEND} - libyaml? ( $(python_gen_cond_dep 'dev-python/cython[${PYTHON_USEDEP}]' python2_7 'python3*') )" - -S="${WORKDIR}/${MY_P}" - -python_configure_all() { - mydistutilsargs=( $(use_with libyaml) ) -} - -python_test() { - esetup.py test -} - -python_install_all() { - distutils-r1_python_install_all - if use examples; then - dodoc -r examples - docompress -x /usr/share/doc/${PF} - fi -} diff --git a/dev-python/pyyaml/pyyaml-3.11.ebuild b/dev-python/pyyaml/pyyaml-3.11.ebuild index 9e8b6ad7a244..526a65883cbe 100644 --- a/dev-python/pyyaml/pyyaml-3.11.ebuild +++ b/dev-python/pyyaml/pyyaml-3.11.ebuild @@ -3,7 +3,8 @@ # $Id$ EAPI=5 -PYTHON_COMPAT=( python{2_7,3_3,3_4} pypy pypy3 ) + +PYTHON_COMPAT=( python2_7 python3_{3,4,5} pypy pypy3 ) inherit distutils-r1 diff --git a/dev-python/redis-py/redis-py-2.10.3-r1.ebuild b/dev-python/redis-py/redis-py-2.10.3-r1.ebuild deleted file mode 100644 index 3a78bd4533cc..000000000000 --- a/dev-python/redis-py/redis-py-2.10.3-r1.ebuild +++ /dev/null @@ -1,62 +0,0 @@ -# Copyright 1999-2015 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Id$ - -EAPI=5 - -PYTHON_COMPAT=( python2_7 python3_{3,4,5} pypy pypy3 ) - -inherit distutils-r1 - -MY_PN="redis" -MY_P="${MY_PN}-${PV}" - -DESCRIPTION="Python client for Redis key-value store" -HOMEPAGE="https://github.com/andymccurdy/redis-py" -SRC_URI="mirror://pypi/${MY_PN:0:1}/${MY_PN}/${MY_P}.tar.gz -> ${P}.tar.gz" - -LICENSE="MIT" -SLOT="0" -KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux" -IUSE="test" - -RDEPEND="" -DEPEND="dev-python/setuptools[${PYTHON_USEDEP}] - test? ( dev-db/redis - >=dev-python/pytest-2.5.0[${PYTHON_USEDEP}] )" - -S="${WORKDIR}/${MY_P}" - -python_prepare_all() { - # Make sure that tests will be used from BUILD_DIR rather than cwd. - mv tests tests-hidden || die - - # Correct local import patch syntax - sed -e 's:from .conftest:from conftest:' \ - -i tests-hidden/{test_connection_pool.py,test_commands.py,test_encoding.py,test_pubsub.py} \ - || die - - distutils-r1_python_prepare_all -} - -python_compile() { - distutils-r1_python_compile - - if use test; then - cp -r tests-hidden "${BUILD_DIR}"/tests || die - fi -} - -python_test() { - local sock="${T}/redis.sock" - - "${EPREFIX}/usr/sbin/redis-server" - <<- EOF - daemonize yes - pidfile "${T}"/redis.pid - unixsocket ${sock} - EOF - - PYTHONPATH="${S}:${S}/tests-hidden" - esetup.py test - kill "$(<"${T}/redis.pid")" -} diff --git a/dev-python/redis-py/redis-py-2.10.3.ebuild b/dev-python/redis-py/redis-py-2.10.3.ebuild index b94bf89e9aa0..0ca1dc75e3dc 100644 --- a/dev-python/redis-py/redis-py-2.10.3.ebuild +++ b/dev-python/redis-py/redis-py-2.10.3.ebuild @@ -4,7 +4,7 @@ EAPI=5 -PYTHON_COMPAT=( python{2_7,3_3,3_4} pypy pypy3 ) +PYTHON_COMPAT=( python2_7 python3_{3,4,5} pypy pypy3 ) inherit distutils-r1 @@ -47,14 +47,7 @@ python_compile() { fi } -src_test() { - # testsuite fails miserably under multiprocessing - local DISTUTILS_NO_PARALLEL_BUILD=1 - distutils-r1_src_test -} - python_test() { - local sock="${T}/redis.sock" "${EPREFIX}/usr/sbin/redis-server" - <<- EOF diff --git a/dev-python/regendoc/regendoc-0.5-r1.ebuild b/dev-python/regendoc/regendoc-0.5-r1.ebuild deleted file mode 100644 index 6a59d680a8fd..000000000000 --- a/dev-python/regendoc/regendoc-0.5-r1.ebuild +++ /dev/null @@ -1,26 +0,0 @@ -# Copyright 1999-2015 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Id$ - -EAPI=5 - -PYTHON_COMPAT=( python2_7 python3_{3,4,5} pypy pypy3 ) - -inherit distutils-r1 - -MY_PN="RegenDoc" -MY_P="${MY_PN}-${PV}" - -DESCRIPTION="Check/update simple file/shell examples in documentation" -HOMEPAGE="https://pypi.python.org/pypi/RegenDoc http://bitbucket.org/pytest-dev/regendoc/" -SRC_URI="mirror://pypi/${MY_PN:0:1}/${MY_PN}/${P}.tar.gz" - -LICENSE="MIT" -KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux" -SLOT="0" - -RDEPEND="dev-python/click[${PYTHON_USEDEP}]" -DEPEND="${RDEPEND} - dev-python/setuptools[${PYTHON_USEDEP}] - dev-python/setuptools_scm[${PYTHON_USEDEP}] -" diff --git a/dev-python/regendoc/regendoc-0.5.ebuild b/dev-python/regendoc/regendoc-0.5.ebuild index 18882c2b680e..6a59d680a8fd 100644 --- a/dev-python/regendoc/regendoc-0.5.ebuild +++ b/dev-python/regendoc/regendoc-0.5.ebuild @@ -4,7 +4,7 @@ EAPI=5 -PYTHON_COMPAT=( python{2_7,3_3,3_4} pypy pypy3 ) +PYTHON_COMPAT=( python2_7 python3_{3,4,5} pypy pypy3 ) inherit distutils-r1 diff --git a/dev-python/requests/requests-2.8.0-r1.ebuild b/dev-python/requests/requests-2.8.0-r1.ebuild deleted file mode 100644 index 07eb12ba8f9d..000000000000 --- a/dev-python/requests/requests-2.8.0-r1.ebuild +++ /dev/null @@ -1,53 +0,0 @@ -# Copyright 1999-2015 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Id$ - -EAPI=5 - -PYTHON_COMPAT=( python2_7 python3_{3,4,5} pypy pypy3 ) - -inherit distutils-r1 - -DESCRIPTION="HTTP library for human beings" -HOMEPAGE="http://python-requests.org/ https://pypi.python.org/pypi/requests" -SRC_URI="mirror://pypi/${P:0:1}/${PN}/${P}.tar.gz" - -LICENSE="Apache-2.0" -SLOT="0" -KEYWORDS="~amd64 ~x86 ~x86-fbsd ~amd64-linux ~x86-linux ~x64-macos ~x86-macos" -IUSE="test" - -# bundles dev-python/urllib3 snapshot -RDEPEND=" - app-misc/ca-certificates - >=dev-python/chardet-2.2.1[${PYTHON_USEDEP}] - dev-python/ndg-httpsclient[${PYTHON_USEDEP}] - >=dev-python/py-1.4.30[${PYTHON_USEDEP}] - dev-python/pyasn1[${PYTHON_USEDEP}] - dev-python/pyopenssl[$(python_gen_usedep 'python*' pypy)] - " -DEPEND="${RDEPEND} - dev-python/setuptools[${PYTHON_USEDEP}] - test? ( - >=dev-python/pytest-2.8.1[${PYTHON_USEDEP}] - ) - " - -# tests connect to various remote sites -RESTRICT="test" - -PATCHES=( - "${FILESDIR}"/${PN}-2.2.0-system-chardet.patch - "${FILESDIR}"/${PN}-2.5.0-system-cacerts.patch -) - -python_prepare_all() { - # use system chardet - rm -r requests/packages/chardet || die - - distutils-r1_python_prepare_all -} - -python_test() { - "${PYTHON}" test_requests.py || die "Tests fail with ${EPYTHON}" -} diff --git a/dev-python/requests/requests-2.8.0.ebuild b/dev-python/requests/requests-2.8.0.ebuild index e52bb4808329..07eb12ba8f9d 100644 --- a/dev-python/requests/requests-2.8.0.ebuild +++ b/dev-python/requests/requests-2.8.0.ebuild @@ -4,7 +4,7 @@ EAPI=5 -PYTHON_COMPAT=( python2_7 python3_{3,4} pypy pypy3 ) +PYTHON_COMPAT=( python2_7 python3_{3,4,5} pypy pypy3 ) inherit distutils-r1 diff --git a/dev-python/retrying/retrying-1.3.3-r1.ebuild b/dev-python/retrying/retrying-1.3.3-r1.ebuild deleted file mode 100644 index 777574062811..000000000000 --- a/dev-python/retrying/retrying-1.3.3-r1.ebuild +++ /dev/null @@ -1,25 +0,0 @@ -# Copyright 1999-2015 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Id$ - -EAPI=5 - -PYTHON_COMPAT=( python2_7 python3_{3,4,5} pypy pypy3 ) - -inherit distutils-r1 - -DESCRIPTION="General-purpose retrying library" -HOMEPAGE="https://github.com/rholder/retrying" -SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" - -LICENSE="Apache-2.0" -SLOT="0" -KEYWORDS="~amd64 ~x86" -IUSE="" - -DEPEND=" - dev-python/setuptools[${PYTHON_USEDEP}] -" -RDEPEND=" - >=dev-python/six-1.7.0[${PYTHON_USEDEP}] -" diff --git a/dev-python/retrying/retrying-1.3.3.ebuild b/dev-python/retrying/retrying-1.3.3.ebuild index ab990eee69a0..8fbf6fe3527e 100644 --- a/dev-python/retrying/retrying-1.3.3.ebuild +++ b/dev-python/retrying/retrying-1.3.3.ebuild @@ -4,7 +4,7 @@ EAPI=5 -PYTHON_COMPAT=( python2_7 python3_{3,4} pypy pypy3 ) +PYTHON_COMPAT=( python2_7 python3_{3,4,5} pypy pypy3 ) inherit distutils-r1 diff --git a/dev-python/setuptools/setuptools-18.3.2-r1.ebuild b/dev-python/setuptools/setuptools-18.3.2-r1.ebuild deleted file mode 100644 index a2d5b1b6f25e..000000000000 --- a/dev-python/setuptools/setuptools-18.3.2-r1.ebuild +++ /dev/null @@ -1,54 +0,0 @@ -# Copyright 1999-2015 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Id$ - -EAPI="5" - -PYTHON_COMPAT=( python2_7 python3_{3,4,5} pypy pypy3 ) - -inherit distutils-r1 - -DESCRIPTION="Collection of extensions to Distutils" -HOMEPAGE="https://pypi.python.org/pypi/setuptools" -SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" - -LICENSE="PSF-2" -SLOT="0" -KEYWORDS="~amd64 ~mips ~x86 ~ppc-aix ~amd64-fbsd ~sparc-fbsd ~x86-fbsd ~x64-freebsd ~x86-freebsd ~hppa-hpux ~ia64-hpux ~x86-interix ~amd64-linux ~arm-linux ~ia64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~m68k-mint ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris" -IUSE="test" - -RDEPEND=">=dev-python/packaging-15.3-r1[${PYTHON_USEDEP}]" -DEPEND="${RDEPEND} - test? ( - dev-python/pytest[${PYTHON_USEDEP}] - dev-python/mock[${PYTHON_USEDEP}] - ) -" -PDEPEND=">=dev-python/certifi-2015.04.28[${PYTHON_USEDEP}]" - -# Force in-source build because build system modifies sources. -DISTUTILS_IN_SOURCE_BUILD=1 - -DOCS=( README.txt docs/{easy_install.txt,pkg_resources.txt,setuptools.txt} ) - -python_prepare_all() { - rm -r ./pkg_resources/_vendor || die - # disable tests requiring a network connection - rm setuptools/tests/test_packageindex.py || die - - # don't run integration tests - rm setuptools/tests/test_integration.py || die - - distutils-r1_python_prepare_all -} - -python_test() { - # test_easy_install raises a SandboxViolation due to ${HOME}/.pydistutils.cfg - # It tries to sandbox the test in a tempdir - HOME="${PWD}" py.test ${PN} || die "Tests failed under ${EPYTHON}" -} - -python_install() { - export DISTRIBUTE_DISABLE_VERSIONED_EASY_INSTALL_SCRIPT=1 - distutils-r1_python_install -} diff --git a/dev-python/setuptools/setuptools-18.3.2.ebuild b/dev-python/setuptools/setuptools-18.3.2.ebuild index 801757b4b91e..a2d5b1b6f25e 100644 --- a/dev-python/setuptools/setuptools-18.3.2.ebuild +++ b/dev-python/setuptools/setuptools-18.3.2.ebuild @@ -4,7 +4,7 @@ EAPI="5" -PYTHON_COMPAT=( python2_7 python3_{3,4} pypy pypy3 ) +PYTHON_COMPAT=( python2_7 python3_{3,4,5} pypy pypy3 ) inherit distutils-r1 diff --git a/dev-python/setuptools_scm/setuptools_scm-1.8.0-r1.ebuild b/dev-python/setuptools_scm/setuptools_scm-1.8.0-r1.ebuild deleted file mode 100644 index aa939b2a6604..000000000000 --- a/dev-python/setuptools_scm/setuptools_scm-1.8.0-r1.ebuild +++ /dev/null @@ -1,26 +0,0 @@ -# Copyright 1999-2015 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Id$ - -EAPI=5 - -PYTHON_COMPAT=( python2_7 python3_{3,4,5} pypy pypy3 ) - -inherit distutils-r1 - -DESCRIPTION="package to manage versions by scm tags via setuptools" -HOMEPAGE="https://github.com/pypa/setuptools_scm https://pypi.python.org/pypi/setuptools_scm" -SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.bz2" - -LICENSE="MIT" -SLOT="0" -KEYWORDS="~amd64 ~x86" -IUSE="test" - -DEPEND=" - dev-python/setuptools[${PYTHON_USEDEP}] - test? ( dev-python/pytest[${PYTHON_USEDEP}] )" - -python_test() { - py.test -v -v -x || die "tests failed under ${EPYTHON}" -} diff --git a/dev-python/setuptools_scm/setuptools_scm-1.8.0.ebuild b/dev-python/setuptools_scm/setuptools_scm-1.8.0.ebuild index c791b4b24d76..d89cd17175c8 100644 --- a/dev-python/setuptools_scm/setuptools_scm-1.8.0.ebuild +++ b/dev-python/setuptools_scm/setuptools_scm-1.8.0.ebuild @@ -4,7 +4,7 @@ EAPI=5 -PYTHON_COMPAT=( python2_7 python3_{3,4} pypy pypy3 ) +PYTHON_COMPAT=( python2_7 python3_{3,4,5} pypy pypy3 ) inherit distutils-r1 @@ -17,9 +17,10 @@ SLOT="0" KEYWORDS="~amd64 ~arm ~x86" IUSE="test" -DEPEND="dev-python/setuptools[${PYTHON_USEDEP}] +DEPEND=" + dev-python/setuptools[${PYTHON_USEDEP}] test? ( dev-python/pytest[${PYTHON_USEDEP}] )" python_test() { - py.test || die "tests failed under ${EPYTHON}" + py.test -v -v -x || die "tests failed under ${EPYTHON}" } diff --git a/dev-python/six/six-1.10.0-r1.ebuild b/dev-python/six/six-1.10.0-r1.ebuild deleted file mode 100644 index f5c53b6ef577..000000000000 --- a/dev-python/six/six-1.10.0-r1.ebuild +++ /dev/null @@ -1,40 +0,0 @@ -# Copyright 1999-2015 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Id$ - -EAPI=5 - -PYTHON_COMPAT=( python2_7 python3_{3,4,5} pypy pypy3 ) - -inherit distutils-r1 - -DESCRIPTION="Python 2 and 3 compatibility library" -HOMEPAGE="https://bitbucket.org/gutworth/six https://pypi.python.org/pypi/six" -SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" - -LICENSE="MIT" -SLOT="0" -KEYWORDS="~amd64 ~x86 ~amd64-fbsd ~x86-fbsd ~x86-freebsd ~x86-interix ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris" -IUSE="doc test" - -DEPEND=" - dev-python/setuptools[${PYTHON_USEDEP}] - doc? ( dev-python/sphinx ) - test? ( >=dev-python/pytest-2.2.0[${PYTHON_USEDEP}] )" - -PATCHES=( - "${FILESDIR}"/1.9.0-mapping.patch - ) - -python_compile_all() { - use doc && emake -C documentation html -} - -python_test() { - py.test -v || die "Testing failed with ${EPYTHON}" -} - -python_install_all() { - use doc && local HTML_DOCS=( documentation/_build/html/ ) - distutils-r1_python_install_all -} diff --git a/dev-python/six/six-1.10.0.ebuild b/dev-python/six/six-1.10.0.ebuild index 079a08116b39..465102afe7fe 100644 --- a/dev-python/six/six-1.10.0.ebuild +++ b/dev-python/six/six-1.10.0.ebuild @@ -4,7 +4,7 @@ EAPI=5 -PYTHON_COMPAT=( python2_7 python3_{3,4} pypy pypy3 ) +PYTHON_COMPAT=( python2_7 python3_{3,4,5} pypy pypy3 ) inherit distutils-r1 @@ -20,7 +20,7 @@ IUSE="doc test" DEPEND=" dev-python/setuptools[${PYTHON_USEDEP}] doc? ( dev-python/sphinx ) - test? ( dev-python/pytest[${PYTHON_USEDEP}] )" + test? ( >=dev-python/pytest-2.2.0[${PYTHON_USEDEP}] )" PATCHES=( "${FILESDIR}"/1.9.0-mapping.patch diff --git a/dev-python/snowballstemmer/snowballstemmer-1.2.0-r1.ebuild b/dev-python/snowballstemmer/snowballstemmer-1.2.0-r1.ebuild deleted file mode 100644 index 268fdd39df96..000000000000 --- a/dev-python/snowballstemmer/snowballstemmer-1.2.0-r1.ebuild +++ /dev/null @@ -1,18 +0,0 @@ -# Copyright 1999-2015 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Id$ - -EAPI=5 - -PYTHON_COMPAT=( python2_7 python3_{3,4,5} pypy pypy3 ) - -inherit distutils-r1 - -DESCRIPTION="Stemmer algorithms generated from Snowball algorithms" -HOMEPAGE="https://github.com/shibukawa/snowball_py https://pypi.python.org/pypi/snowballstemmer/" -SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" - -LICENSE="BSD" -SLOT="0" -KEYWORDS="~amd64 ~x86" -IUSE="" diff --git a/dev-python/snowballstemmer/snowballstemmer-1.2.0.ebuild b/dev-python/snowballstemmer/snowballstemmer-1.2.0.ebuild index 04ebc23044ff..a48675750c72 100644 --- a/dev-python/snowballstemmer/snowballstemmer-1.2.0.ebuild +++ b/dev-python/snowballstemmer/snowballstemmer-1.2.0.ebuild @@ -3,7 +3,8 @@ # $Id$ EAPI=5 -PYTHON_COMPAT=( python{2_7,3_3,3_4} pypy ) + +PYTHON_COMPAT=( python2_7 python3_{3,4,5} pypy pypy3 ) inherit distutils-r1 diff --git a/dev-python/sphinx/sphinx-1.2.3-r1.ebuild b/dev-python/sphinx/sphinx-1.2.3-r1.ebuild deleted file mode 100644 index 171dd36ca1f2..000000000000 --- a/dev-python/sphinx/sphinx-1.2.3-r1.ebuild +++ /dev/null @@ -1,125 +0,0 @@ -# Copyright 1999-2015 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Id$ - -EAPI=5 - -PYTHON_COMPAT=( python2_7 python3_{3,4,5} pypy pypy3 ) - -inherit distutils-r1 eutils versionator - -MY_PN="Sphinx" -MY_P="${MY_PN}-${PV}" - -DESCRIPTION="Python documentation generator" -HOMEPAGE="http://sphinx.pocoo.org/ https://pypi.python.org/pypi/Sphinx" -SRC_URI="mirror://pypi/${MY_PN:0:1}/${MY_PN}/${MY_P}.tar.gz" - -LICENSE="BSD" -SLOT="0" -KEYWORDS="~amd64 ~x86 ~amd64-fbsd ~x86-fbsd ~amd64-linux ~ia64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos" -IUSE="doc latex test" - -# Portage has only >= minimum required versions of all rdeps making -# setting of version borders unnecessary -RDEPEND=" - dev-python/docutils[${PYTHON_USEDEP}] - dev-python/jinja[${PYTHON_USEDEP}] - dev-python/pygments[${PYTHON_USEDEP}] - dev-python/setuptools[${PYTHON_USEDEP}] - latex? ( - dev-texlive/texlive-latexextra - app-text/dvipng - )" -DEPEND="${DEPEND} - test? ( dev-python/nose[${PYTHON_USEDEP}] )" - -S="${WORKDIR}/${MY_P}" - -python_compile() { - distutils-r1_python_compile - - # Generate the grammar. It will be caught by install somehow. - # Note that the tests usually do it for us. However, I don't want - # to trust USE=test really running all the tests, especially - # with FEATURES=test-fail-continue. - pushd "${BUILD_DIR}"/lib > /dev/null || die - "${PYTHON}" -m sphinx.pycode.__init__ \ - || die "Grammar generation failed." - popd > /dev/null || die -} - -python_compile_all() { - use doc && emake -C doc SPHINXBUILD='"${PYTHON}" "${S}/sphinx-build.py"' html -} - -python_test() { - cp -r -l tests "${BUILD_DIR}"/ || die - - if $(python_is_python3); then - 2to3 -w --no-diffs "${BUILD_DIR}"/tests || die - fi - - nosetests -w "${BUILD_DIR}"/tests -v \ - || die "Tests fail with ${EPYTHON}" -} - -python_install_all() { - use doc && local HTML_DOCS=( doc/_build/html/. ) - - distutils-r1_python_install_all -} - -replacing_python_eclass() { - local pv - for pv in ${REPLACING_VERSIONS}; do - if ! version_is_at_least 1.1.3-r4 ${pv}; then - return 0 - fi - done - - return 1 -} - -pkg_preinst() { - if replacing_python_eclass; then - # the old python.eclass ebuild will want to remove our pickles... - backup_pickle() { - # array to enable filename expansion - local pickle_name=( - "${D}$(python_get_sitedir)"/sphinx/pycode/Grammar*.pickle - ) - - local dest=${ROOT}${pickle_name[0]#${D}}.backup - - eumask_push 022 - mkdir -p "${dest%/*}" || die - eumask_pop - - cp -p -v "${pickle_name[0]}" "${dest}" \ - || die "Unable to backup grammar pickle from overwriting" - } - - python_foreach_impl backup_pickle - fi -} - -pkg_postinst() { - if replacing_python_eclass; then - local warned - - restore_pickle() { - local backup_name=( - "${ROOT}$(python_get_sitedir)"/sphinx/pycode/Grammar*.pickle.backup - ) - local dest=${backup_name[0]%.backup} - - mv -v "${backup_name[0]}" "${dest}" \ - || die "Unable to restore grammar pickle backup" - } - - python_foreach_impl restore_pickle - - [[ ${warned} ]] && ewarn "Please try rebuilding the package." - fi -} diff --git a/dev-python/sphinx/sphinx-1.2.3.ebuild b/dev-python/sphinx/sphinx-1.2.3.ebuild index 3db64054a136..339f31fc05d5 100644 --- a/dev-python/sphinx/sphinx-1.2.3.ebuild +++ b/dev-python/sphinx/sphinx-1.2.3.ebuild @@ -4,7 +4,7 @@ EAPI=5 -PYTHON_COMPAT=( python{2_7,3_3,3_4} pypy pypy3 ) +PYTHON_COMPAT=( python2_7 python3_{3,4,5} pypy pypy3 ) inherit distutils-r1 eutils versionator diff --git a/dev-python/sphinx/sphinx-1.3.1-r1.ebuild b/dev-python/sphinx/sphinx-1.3.1-r1.ebuild deleted file mode 100644 index 1d8298687dca..000000000000 --- a/dev-python/sphinx/sphinx-1.3.1-r1.ebuild +++ /dev/null @@ -1,133 +0,0 @@ -# Copyright 1999-2015 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Id$ - -EAPI=5 - -PYTHON_COMPAT=( python2_7 python3_{3,4,5} pypy) - -inherit distutils-r1 eutils versionator - -MY_PN="Sphinx" -MY_P="${MY_PN}-${PV}" - -DESCRIPTION="Python documentation generator" -HOMEPAGE="http://sphinx.pocoo.org/ https://pypi.python.org/pypi/Sphinx" -SRC_URI="mirror://pypi/${MY_PN:0:1}/${MY_PN}/${MY_P}.tar.gz" - -LICENSE="BSD" -SLOT="0" -KEYWORDS="~amd64 ~x86" -IUSE="doc latex test" - -RDEPEND=" - dev-python/setuptools[${PYTHON_USEDEP}] - >=dev-python/docutils-0.11[${PYTHON_USEDEP}] - >=dev-python/jinja-2.3[${PYTHON_USEDEP}] - >=dev-python/pygments-2.0.1-r1[${PYTHON_USEDEP}] - >=dev-python/six-1.4[${PYTHON_USEDEP}] - >=dev-python/Babel-1.3[${PYTHON_USEDEP}] - =dev-python/alabaster-0.7*[${PYTHON_USEDEP}] - >=dev-python/snowballstemmer-1.1[${PYTHON_USEDEP}] - latex? ( - dev-texlive/texlive-latexextra - app-text/dvipng - )" -DEPEND="${DEPEND} - test? ( - dev-python/nose[${PYTHON_USEDEP}] - $(python_gen_cond_dep 'dev-python/mock[${PYTHON_USEDEP}]' python2_7 pypy) - )" -PDEPEND="dev-python/sphinx_rtd_theme[${PYTHON_USEDEP}]" - -S="${WORKDIR}/${MY_P}" - -python_compile() { - distutils-r1_python_compile - - # Generate the grammar. It will be caught by install somehow. - # Note that the tests usually do it for us. However, I don't want - # to trust USE=test really running all the tests, especially - # with FEATURES=test-fail-continue. - pushd "${BUILD_DIR}"/lib > /dev/null || die - "${PYTHON}" -m sphinx.pycode.__init__ \ - || die "Grammar generation failed." - popd > /dev/null || die -} - -python_compile_all() { - use doc && emake -C doc SPHINXBUILD='"${PYTHON}" "${S}/sphinx-build.py"' html -} - -python_test() { - mkdir -p "${BUILD_DIR}/sphinx_tempdir" - export SPHINX_TEST_TEMPDIR="${BUILD_DIR}/sphinx_tempdir" - cp -r -l tests "${BUILD_DIR}"/ || die - - if $(python_is_python3); then - 2to3 -w --no-diffs "${BUILD_DIR}"/tests || die - fi - - nosetests -w "${BUILD_DIR}"/tests -v \ - || die "Tests fail with ${EPYTHON}" -} - -python_install_all() { - use doc && local HTML_DOCS=( doc/_build/html/. ) - - distutils-r1_python_install_all -} - -replacing_python_eclass() { - local pv - for pv in ${REPLACING_VERSIONS}; do - if ! version_is_at_least 1.1.3-r4 ${pv}; then - return 0 - fi - done - - return 1 -} - -pkg_preinst() { - if replacing_python_eclass; then - # the old python.eclass ebuild will want to remove our pickles... - backup_pickle() { - # array to enable filename expansion - local pickle_name=( - "${D}$(python_get_sitedir)"/sphinx/pycode/Grammar*.pickle - ) - - local dest=${ROOT}${pickle_name[0]#${D}}.backup - - eumask_push 022 - mkdir -p "${dest%/*}" || die - eumask_pop - - cp -p -v "${pickle_name[0]}" "${dest}" \ - || die "Unable to backup grammar pickle from overwriting" - } - - python_foreach_impl backup_pickle - fi -} - -pkg_postinst() { - if replacing_python_eclass; then - local warned - - restore_pickle() { - local backup_name=( - "${ROOT}$(python_get_sitedir)"/sphinx/pycode/Grammar*.pickle.backup - ) - local dest=${backup_name[0]%.backup} - - mv -v "${backup_name[0]}" "${dest}" \ - || die "Unable to restore grammar pickle backup" - } - - python_foreach_impl restore_pickle - - [[ ${warned} ]] && ewarn "Please try rebuilding the package." - fi -} diff --git a/dev-python/sphinx/sphinx-1.3.1.ebuild b/dev-python/sphinx/sphinx-1.3.1.ebuild index 48c79764279e..c85460e9f893 100644 --- a/dev-python/sphinx/sphinx-1.3.1.ebuild +++ b/dev-python/sphinx/sphinx-1.3.1.ebuild @@ -4,7 +4,7 @@ EAPI=5 -PYTHON_COMPAT=( python{2_7,3_3,3_4} pypy ) +PYTHON_COMPAT=( python2_7 python3_{3,4,5} pypy) inherit distutils-r1 eutils versionator diff --git a/dev-python/sphinx_rtd_theme/sphinx_rtd_theme-0.1.9-r1.ebuild b/dev-python/sphinx_rtd_theme/sphinx_rtd_theme-0.1.9-r1.ebuild deleted file mode 100644 index 8bacdf21c947..000000000000 --- a/dev-python/sphinx_rtd_theme/sphinx_rtd_theme-0.1.9-r1.ebuild +++ /dev/null @@ -1,23 +0,0 @@ -# Copyright 1999-2015 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Id$ - -EAPI=5 - -PYTHON_COMPAT=( python2_7 python3_{3,4,5} pypy ) - -inherit distutils-r1 - -DESCRIPTION="ReadTheDocs.org theme for Sphinx" -HOMEPAGE="https://github.com/snide/sphinx_rtd_theme/" -SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" - -LICENSE="MIT" -SLOT="0" -KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux" -IUSE="" - -DEPEND="dev-python/setuptools[${PYTHON_USEDEP}] - dev-python/sphinx[${PYTHON_USEDEP}]" - -# dev-python/sphinx previously set in PDEPEND which broke some doc builds. diff --git a/dev-python/sphinx_rtd_theme/sphinx_rtd_theme-0.1.9.ebuild b/dev-python/sphinx_rtd_theme/sphinx_rtd_theme-0.1.9.ebuild index 1b3504ea2b5f..274ebecc1439 100644 --- a/dev-python/sphinx_rtd_theme/sphinx_rtd_theme-0.1.9.ebuild +++ b/dev-python/sphinx_rtd_theme/sphinx_rtd_theme-0.1.9.ebuild @@ -4,7 +4,7 @@ EAPI=5 -PYTHON_COMPAT=( python{2_7,3_3,3_4} pypy ) +PYTHON_COMPAT=( python2_7 python3_{3,4,5} pypy ) inherit distutils-r1 diff --git a/dev-python/subunit/subunit-1.1.0-r1.ebuild b/dev-python/subunit/subunit-1.1.0-r1.ebuild deleted file mode 100644 index 96db9ac6c7d0..000000000000 --- a/dev-python/subunit/subunit-1.1.0-r1.ebuild +++ /dev/null @@ -1,90 +0,0 @@ -# Copyright 1999-2015 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Id$ - -EAPI=5 - -PYTHON_COMPAT=( python2_7 python3_{3,4,5} pypy pypy3 ) - -inherit distutils-r1 eutils multilib-minimal - -DESCRIPTION="A streaming protocol for test results" -HOMEPAGE="https://launchpad.net/subunit https://pypi.python.org/pypi/python-subunit" -SRC_URI="https://launchpad.net/${PN}/trunk/${PV}/+download/${P}.tar.gz" - -LICENSE="Apache-2.0 BSD" -SLOT="0" -KEYWORDS="~amd64 ~x86 ~x86-fbsd" -IUSE="static-libs test" - -RDEPEND=" - >=dev-python/testtools-0.9.34[${PYTHON_USEDEP}] - dev-python/extras[${PYTHON_USEDEP}]" -DEPEND="${RDEPEND} - dev-python/setuptools[${PYTHON_USEDEP}] - dev-lang/perl:= - >=dev-libs/check-0.9.11[${MULTILIB_USEDEP}] - >=dev-util/cppunit-1.13.2[${MULTILIB_USEDEP}] - >=virtual/pkgconfig-0-r1[${MULTILIB_USEDEP}] - test? ( dev-python/testscenarios[${PYTHON_USEDEP}] )" - -# Take out rogue & trivial failing tests that exit the suite before it even gets started -# The removed class in fact works fine in py3 and fails with py2.7 & pupu -# The setu to restrict this patch is just those 2 is not worth it. -PATCHES=( "${FILESDIR}"/1.0.0-tests.patch ) - -src_prepare() { - sed -i -e 's/os.chdir(os.path.dirname(__file__))//' setup.py || die - - # Install perl modules in vendor_perl, bug 534654. - export INSTALLDIRS=vendor - - # needed for perl modules - distutils-r1_src_prepare - multilib_copy_sources -} - -multilib_src_configure() { - ECONF_SOURCE=${S} \ - econf \ - --enable-shared \ - $(use_enable static-libs static) -} - -multilib_src_compile() { - default - multilib_is_native_abi && distutils-r1_src_compile -} - -python_test() { - local -x PATH="${PWD}/shell/share:${PATH}" - local -x PYTHONPATH=python - # Following tests are known to fail in py2.7 & pypy. They pass under py3. - # DO NOT re-file - # test_add_error test_add_error_details test_add_expected_failure - # test_add_expected_failure_details test_add_failure test_add_failure - # https://bugs.launchpad.net/subunit/+bug/1436686 - - "${PYTHON}" -m testtools.run all_tests.test_suite || die "Testing failed with ${EPYTHON}" -} - -multilib_src_test() { - multilib_is_native_abi && distutils-r1_src_test -} - -multilib_src_install() { - local targets=( - install-include_subunitHEADERS - install-pcdataDATA - install-exec-local - install-libLTLIBRARIES - ) - emake DESTDIR="${D}" "${targets[@]}" - - multilib_is_native_abi && distutils-r1_src_install -} - -multilib_src_install_all() { - einstalldocs - prune_libtool_files -} diff --git a/dev-python/subunit/subunit-1.1.0.ebuild b/dev-python/subunit/subunit-1.1.0.ebuild index 22bac6e196d1..30b3b69a7107 100644 --- a/dev-python/subunit/subunit-1.1.0.ebuild +++ b/dev-python/subunit/subunit-1.1.0.ebuild @@ -4,7 +4,7 @@ EAPI=5 -PYTHON_COMPAT=( python{2_7,3_3,3_4} pypy pypy3 ) +PYTHON_COMPAT=( python2_7 python3_{3,4,5} pypy pypy3 ) inherit distutils-r1 eutils multilib-minimal diff --git a/dev-python/testrepository/testrepository-0.0.18-r1.ebuild b/dev-python/testrepository/testrepository-0.0.18-r1.ebuild index 8cdff6bef49b..bc47c8c11367 100644 --- a/dev-python/testrepository/testrepository-0.0.18-r1.ebuild +++ b/dev-python/testrepository/testrepository-0.0.18-r1.ebuild @@ -4,7 +4,7 @@ EAPI=5 -PYTHON_COMPAT=( python{2_7,3_3,3_4} pypy pypy3 ) +PYTHON_COMPAT=( python2_7 python3_{3,4,5} pypy pypy3 ) inherit distutils-r1 diff --git a/dev-python/testrepository/testrepository-0.0.18-r2.ebuild b/dev-python/testrepository/testrepository-0.0.18-r2.ebuild deleted file mode 100644 index 6cac0137838f..000000000000 --- a/dev-python/testrepository/testrepository-0.0.18-r2.ebuild +++ /dev/null @@ -1,42 +0,0 @@ -# Copyright 1999-2015 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Id$ - -EAPI=5 - -PYTHON_COMPAT=( python2_7 python3_{3,4,5} pypy pypy3 ) - -inherit distutils-r1 - -DESCRIPTION="A repository of test results" -HOMEPAGE="https://launchpad.net/testscenarios" -SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" - -LICENSE="Apache-2.0" -SLOT="0" -KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux" -IUSE="test" - -RDEPEND=" - >=dev-python/subunit-0.0.10[${PYTHON_USEDEP}] - >=dev-python/testtools-0.9.30[${PYTHON_USEDEP}] - dev-python/fixtures[${PYTHON_USEDEP}]" -#bzr is listed but presumably req'd for a live repo test run - -DEPEND=" - dev-python/setuptools[${PYTHON_USEDEP}] - test? ( ${RDEPEND} - dev-python/testresources[${PYTHON_USEDEP}] - dev-python/testscenarios[${PYTHON_USEDEP}] - dev-python/pytz[${PYTHON_USEDEP}] - )" - -# Required for test phase -DISTUTILS_IN_SOURCE_BUILD=1 - -python_test() { - # some errors appear to have crept in the suite undert py3 since addition. - # Python2.7 now passes all. - - esetup.py testr --coverage -} diff --git a/dev-python/testresources/testresources-0.2.7-r2.ebuild b/dev-python/testresources/testresources-0.2.7-r2.ebuild index 8190811f037c..a0e0b1b391ba 100644 --- a/dev-python/testresources/testresources-0.2.7-r2.ebuild +++ b/dev-python/testresources/testresources-0.2.7-r2.ebuild @@ -4,11 +4,11 @@ EAPI=5 -PYTHON_COMPAT=( python{2_7,3_3,3_4} pypy pypy3 ) +PYTHON_COMPAT=( python2_7 python3_{3,4,5} pypy pypy3 ) inherit distutils-r1 -DESCRIPTION="Testresources, a pyunit extension for managing expensive test resources" +DESCRIPTION="A pyunit extension for managing expensive test resources" HOMEPAGE="https://launchpad.net/testresources" SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" diff --git a/dev-python/testresources/testresources-0.2.7-r3.ebuild b/dev-python/testresources/testresources-0.2.7-r3.ebuild deleted file mode 100644 index c5333a451354..000000000000 --- a/dev-python/testresources/testresources-0.2.7-r3.ebuild +++ /dev/null @@ -1,31 +0,0 @@ -# Copyright 1999-2015 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Id$ - -EAPI=5 - -PYTHON_COMPAT=( python2_7 python3_{3,4,5} pypy pypy3 ) - -inherit distutils-r1 - -DESCRIPTION="A pyunit extension for managing expensive test resources" -HOMEPAGE="https://launchpad.net/testresources" -SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" - -LICENSE="Apache-2.0" -SLOT="0" -KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux" -IUSE="test" - -DEPEND=" - dev-python/setuptools[${PYTHON_USEDEP}] - test? ( - dev-python/nose[${PYTHON_USEDEP}] - dev-python/testtools[${PYTHON_USEDEP}] - dev-python/fixtures[${PYTHON_USEDEP}] - )" -RDEPEND="" - -python_test() { - nosetests || die "Tests failed under ${EPYTHON}" -} diff --git a/dev-python/testscenarios/testscenarios-0.5.0-r1.ebuild b/dev-python/testscenarios/testscenarios-0.5.0-r1.ebuild deleted file mode 100644 index f7be22fe65b8..000000000000 --- a/dev-python/testscenarios/testscenarios-0.5.0-r1.ebuild +++ /dev/null @@ -1,32 +0,0 @@ -# Copyright 1999-2015 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Id$ - -EAPI=5 - -PYTHON_COMPAT=( python2_7 python3_{3,4,5} pypy pypy3 ) - -inherit distutils-r1 - -DESCRIPTION="A pyunit extension for dependency injection" -HOMEPAGE="https://launchpad.net/testscenarios" -SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" - -LICENSE="Apache-2.0" -SLOT="0" -KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux" - -RDEPEND="dev-python/testtools[${PYTHON_USEDEP}]" -DEPEND="${RDEPEND} - dev-python/setuptools[${PYTHON_USEDEP}] - >=dev-python/pbr-0.11[${PYTHON_USEDEP}]" - -python_prepare_all() { - # Remove a faulty file from tests, missing a required attribute - rm ${PN}/tests/test_testcase.py || die - distutils-r1_python_prepare_all -} - -python_test() { - "${PYTHON}" -m unittest discover -} diff --git a/dev-python/testscenarios/testscenarios-0.5.0.ebuild b/dev-python/testscenarios/testscenarios-0.5.0.ebuild index 38fef5d3fae3..2e26f29623eb 100644 --- a/dev-python/testscenarios/testscenarios-0.5.0.ebuild +++ b/dev-python/testscenarios/testscenarios-0.5.0.ebuild @@ -4,11 +4,11 @@ EAPI=5 -PYTHON_COMPAT=( python2_7 python3_{3,4} pypy pypy3 ) +PYTHON_COMPAT=( python2_7 python3_{3,4,5} pypy pypy3 ) inherit distutils-r1 -DESCRIPTION="Testscenarios, a pyunit extension for dependency injection" +DESCRIPTION="A pyunit extension for dependency injection" HOMEPAGE="https://launchpad.net/testscenarios" SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" diff --git a/dev-python/testtools/testtools-1.8.0-r1.ebuild b/dev-python/testtools/testtools-1.8.0-r1.ebuild deleted file mode 100644 index 6243aebf7d9d..000000000000 --- a/dev-python/testtools/testtools-1.8.0-r1.ebuild +++ /dev/null @@ -1,46 +0,0 @@ -# Copyright 1999-2015 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Id$ - -EAPI=5 - -PYTHON_COMPAT=( python2_7 python3_{3,4,5} pypy pypy3 ) - -inherit distutils-r1 - -DESCRIPTION="Extensions to the Python standard library unit testing framework" -HOMEPAGE="https://github.com/testing-cabal/testtools" -SRC_URI="mirror://pypi/${P:0:1}/${PN}/${P}.tar.gz" - -LICENSE="MIT" -SLOT="0" -KEYWORDS="~amd64 ~x86" -IUSE="doc test" - -CDEPEND=" - dev-python/extras[${PYTHON_USEDEP}] - dev-python/mimeparse[${PYTHON_USEDEP}] - >=dev-python/pbr-0.11[${PYTHON_USEDEP}] - >=dev-python/unittest2-1.0.0[${PYTHON_USEDEP}] - dev-python/traceback2[${PYTHON_USEDEP}] -" -DEPEND=" - dev-python/setuptools[${PYTHON_USEDEP}] - ${CDEPEND} - doc? ( dev-python/sphinx[${PYTHON_USEDEP}] ) -" -RDEPEND="${CDEPEND}" - -python_compile_all() { - use doc && emake -C doc html -} - -python_test() { - "${PYTHON}" -m testtools.run testtools.tests.test_suite || die "tests failed under ${EPYTHON}" -} - -python_install_all() { - use doc && HTML_DOCS=( doc/_build/html/. ) - - distutils-r1_python_install_all -} diff --git a/dev-python/testtools/testtools-1.8.0.ebuild b/dev-python/testtools/testtools-1.8.0.ebuild index d2f5d2046439..e928f1b6f8b3 100644 --- a/dev-python/testtools/testtools-1.8.0.ebuild +++ b/dev-python/testtools/testtools-1.8.0.ebuild @@ -4,7 +4,7 @@ EAPI=5 -PYTHON_COMPAT=( python{2_7,3_3,3_4} pypy pypy3 ) +PYTHON_COMPAT=( python2_7 python3_{3,4,5} pypy pypy3 ) inherit distutils-r1 diff --git a/dev-python/traceback2/traceback2-1.4.0-r1.ebuild b/dev-python/traceback2/traceback2-1.4.0-r1.ebuild deleted file mode 100644 index 4e790e70509c..000000000000 --- a/dev-python/traceback2/traceback2-1.4.0-r1.ebuild +++ /dev/null @@ -1,24 +0,0 @@ -# Copyright 1999-2015 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Id$ - -EAPI=5 - -PYTHON_COMPAT=( python2_7 python3_{3,4,5} pypy pypy3 ) - -inherit distutils-r1 - -DESCRIPTION="Backports of the traceback module" -HOMEPAGE="https://github.com/testing-cabal/traceback2" -SRC_URI="mirror://pypi/${P:0:1}/${PN}/${P}.tar.gz" - -LICENSE="PSF-2" -SLOT="0" -KEYWORDS="~amd64 ~x86" -IUSE="" - -DEPEND=" - dev-python/setuptools[${PYTHON_USEDEP}] - dev-python/pbr[${PYTHON_USEDEP}] -" -RDEPEND="dev-python/linecache2[${PYTHON_USEDEP}]" diff --git a/dev-python/traceback2/traceback2-1.4.0.ebuild b/dev-python/traceback2/traceback2-1.4.0.ebuild index db883f2d8d72..3d62e75f28b3 100644 --- a/dev-python/traceback2/traceback2-1.4.0.ebuild +++ b/dev-python/traceback2/traceback2-1.4.0.ebuild @@ -4,7 +4,7 @@ EAPI=5 -PYTHON_COMPAT=( python2_7 python3_{3,4} pypy pypy3 ) +PYTHON_COMPAT=( python2_7 python3_{3,4,5} pypy pypy3 ) inherit distutils-r1 diff --git a/dev-python/unittest2/unittest2-1.1.0-r1.ebuild b/dev-python/unittest2/unittest2-1.1.0-r1.ebuild deleted file mode 100644 index 502d2ed886e8..000000000000 --- a/dev-python/unittest2/unittest2-1.1.0-r1.ebuild +++ /dev/null @@ -1,33 +0,0 @@ -# Copyright 1999-2015 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Id$ - -EAPI=5 - -PYTHON_COMPAT=( python2_7 python3_{3,4,5} pypy pypy3 ) - -inherit distutils-r1 - -DESCRIPTION="The new features in unittest backported to Python 2.4+" -HOMEPAGE="https://pypi.python.org/pypi/unittest2" -SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" - -LICENSE="BSD" -SLOT="0" -KEYWORDS="~amd64 ~x86" -IUSE="" - -CDEPEND=" - dev-python/setuptools[${PYTHON_USEDEP}] - dev-python/linecache2[${PYTHON_USEDEP}] - >=dev-python/six-1.4[${PYTHON_USEDEP}] - dev-python/traceback2[${PYTHON_USEDEP}] -" -DEPEND="${CDEPEND}" -RDEPEND="${CDEPEND}" - -PATCHES=( "${FILESDIR}"/remove-argparse-dependence.patch ) - -python_test() { - "${PYTHON}" -m unittest2 discover || die "tests failed under ${EPYTHON}" -} diff --git a/dev-python/unittest2/unittest2-1.1.0.ebuild b/dev-python/unittest2/unittest2-1.1.0.ebuild index 04eabeebd773..bb6a9411589a 100644 --- a/dev-python/unittest2/unittest2-1.1.0.ebuild +++ b/dev-python/unittest2/unittest2-1.1.0.ebuild @@ -4,7 +4,7 @@ EAPI=5 -PYTHON_COMPAT=( python2_7 python3_{3,4} pypy pypy3 ) +PYTHON_COMPAT=( python2_7 python3_{3,4,5} pypy pypy3 ) inherit distutils-r1 diff --git a/dev-python/virtualenv/virtualenv-13.1.2-r1.ebuild b/dev-python/virtualenv/virtualenv-13.1.2-r1.ebuild deleted file mode 100644 index 77713a1002f8..000000000000 --- a/dev-python/virtualenv/virtualenv-13.1.2-r1.ebuild +++ /dev/null @@ -1,53 +0,0 @@ -# Copyright 1999-2015 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Id$ - -EAPI=5 - -PYTHON_COMPAT=( python2_7 python3_{3,4,5} pypy pypy3 ) - -inherit distutils-r1 - -DESCRIPTION="Virtual Python Environment builder" -HOMEPAGE=" - http://www.virtualenv.org/ - https://pypi.python.org/pypi/virtualenv - https://github.com/pypa/virtualenv/ -" -SRC_URI="https://github.com/pypa/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz" - -LICENSE="MIT" -KEYWORDS="~amd64 ~x86 ~x86-fbsd ~x86-freebsd ~x86-interix ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~sparc-solaris ~x64-solaris ~x86-solaris" -SLOT="0" -IUSE="doc test" - -RDEPEND=" - >=dev-python/pip-7.1.2[${PYTHON_USEDEP}] - dev-python/setuptools[${PYTHON_USEDEP}] - " -DEPEND="${RDEPEND} - doc? ( dev-python/sphinx[${PYTHON_USEDEP}] ) - test? ( - dev-python/mock[${PYTHON_USEDEP}] - dev-python/pytest[${PYTHON_USEDEP}] - )" - -DOCS=( docs/index.rst docs/changes.rst ) - -PATCHES=( - "${FILESDIR}"/${PN}-1.8.2-no-versioned-script.patch - "${FILESDIR}"/${PN}-12.1.1-skip-broken-test.patch -) - -python_compile_all() { - use doc && emake -C docs html -} - -python_test() { - py.test -vvx || die "Tests fail with ${EPYTHON}" -} - -python_install_all() { - use doc && local HTML_DOCS=( "${S}"/docs/_build/html/. ) - distutils-r1_python_install_all -} diff --git a/dev-python/virtualenv/virtualenv-13.1.2.ebuild b/dev-python/virtualenv/virtualenv-13.1.2.ebuild index c67a30fafa66..0d4b20406c5b 100644 --- a/dev-python/virtualenv/virtualenv-13.1.2.ebuild +++ b/dev-python/virtualenv/virtualenv-13.1.2.ebuild @@ -2,14 +2,18 @@ # Distributed under the terms of the GNU General Public License v2 # $Id$ -EAPI="5" +EAPI=5 -PYTHON_COMPAT=( python2_7 python3_{3,4} pypy pypy3 ) +PYTHON_COMPAT=( python2_7 python3_{3,4,5} pypy pypy3 ) inherit distutils-r1 DESCRIPTION="Virtual Python Environment builder" -HOMEPAGE="http://www.virtualenv.org/ https://pypi.python.org/pypi/virtualenv https://github.com/pypa/virtualenv/" +HOMEPAGE=" + http://www.virtualenv.org/ + https://pypi.python.org/pypi/virtualenv + https://github.com/pypa/virtualenv/ +" SRC_URI="https://github.com/pypa/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz" LICENSE="MIT" @@ -40,7 +44,7 @@ python_compile_all() { } python_test() { - py.test || die "Tests fail with ${EPYTHON}" + py.test -vvx || die "Tests fail with ${EPYTHON}" } python_install_all() { |