diff options
| author | Liguros - Gitlab CI/CD [feature/flatten] <gitlab@liguros.net> | 2020-07-19 19:25:50 +0000 |
|---|---|---|
| committer | Liguros - Gitlab CI/CD [feature/flatten] <gitlab@liguros.net> | 2020-07-19 19:25:50 +0000 |
| commit | 5820d1a9be994beb80f780193206bd4638e67024 (patch) | |
| tree | ce33c408fd54ccf8cdaf61a303dc94f5313269c9 /dev-python | |
| parent | b284b398f585e6db1bf1358ecc56b5821f21a153 (diff) | |
| download | baldeagleos-repo-5820d1a9be994beb80f780193206bd4638e67024.tar.gz baldeagleos-repo-5820d1a9be994beb80f780193206bd4638e67024.tar.xz baldeagleos-repo-5820d1a9be994beb80f780193206bd4638e67024.zip | |
Updating liguros repo
Diffstat (limited to 'dev-python')
22 files changed, 328 insertions, 321 deletions
diff --git a/dev-python/boto3/Manifest b/dev-python/boto3/Manifest index 6798f3a4bb8b..2ddac5a5db73 100644 --- a/dev-python/boto3/Manifest +++ b/dev-python/boto3/Manifest @@ -1,2 +1,3 @@ DIST boto3-1.13.26.tar.gz 296782 BLAKE2B 117bb18679fe3ae8c4feee1a5fb2d1df1923764bba3dce72040ccc802d10bb88263744a0491195f414761b6755353775a8a413a121a5a0fc42373a4e9b8aac1a SHA512 513ea4b39a5af4ae8e45f6b8b315a19d5184998fa881782bf2e6074aee36a709b51813fc9fe403bb8dbfb9b51ead50367af18f0918a1c88a37eab263ccddd11a DIST boto3-1.14.20.tar.gz 299325 BLAKE2B e1105a2ba55d59dc4d9a73f40e3bc34c05ceda906963d162eeeac8542d234a85b01e2ed485069269e923e2697b33c3f8e77af474716d8b2fa2a2f3ecf4093168 SHA512 d8f281d41386754c3720eeade23bb7b3c2b74176b5e0a763c5f355ed44e52f651d76a10dcc947142f0438be7c983bfc26ec8d31a1b341f55149188e6e7d6d1d8 +DIST boto3-1.14.23.tar.gz 299581 BLAKE2B 57cbb3fbd9a84f334b5874ca96490cb0269bb79f3fd2b50d4c51efcfadaa41b2e11853266ba12544b77999fa85fefb0bdf84d924667c4092b3deb72f41e33a21 SHA512 263b2abf3c220d3fb3d7acf4cd87266c11d3dcd5d7ffcafb0aab128b1e324d6f99c44de8abfb621b153b5fc51b9823b6b79ea5c529f6c59c548c900015bcdb5e diff --git a/dev-python/boto3/boto3-1.14.23.ebuild b/dev-python/boto3/boto3-1.14.23.ebuild new file mode 100644 index 000000000000..27267218687f --- /dev/null +++ b/dev-python/boto3/boto3-1.14.23.ebuild @@ -0,0 +1,53 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 +PYTHON_COMPAT=( python3_{5,6,7,8,9} ) +DISTUTILS_USE_SETUPTOOLS=bdepend +inherit distutils-r1 + +DESCRIPTION="The AWS SDK for Python" +HOMEPAGE="https://github.com/boto/boto3" +LICENSE="Apache-2.0" +SLOT="0" + +if [[ "${PV}" == "9999" ]]; then + EGIT_REPO_URI="https://github.com/boto/boto3" + inherit git-r3 +else + SRC_URI="https://github.com/boto/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz" + KEYWORDS="~amd64 ~arm64 ~x86 ~amd64-linux ~x86-linux" +fi + +RDEPEND=" + >=dev-python/botocore-${PV}[${PYTHON_USEDEP}] + >=dev-python/jmespath-0.7.1[${PYTHON_USEDEP}] + >=dev-python/s3transfer-0.3.0[${PYTHON_USEDEP}] +" +BDEPEND=" + test? ( + dev-python/mock[${PYTHON_USEDEP}] + ) +" + +distutils_enable_sphinx docs/source \ + 'dev-python/guzzle_sphinx_theme' +distutils_enable_tests nose + +python_prepare_all() { + # don't lock versions to narrow ranges + sed -e '/botocore/ d' \ + -e '/jmespath/ d' \ + -e '/s3transfer/ d' \ + -i setup.py || die + + # prevent an infinite loop + rm tests/functional/docs/test_smoke.py || die + + distutils-r1_python_prepare_all +} + +python_test() { + nosetests -v tests/unit tests/functional || + die "test failed under ${EPYTHON}" +} diff --git a/dev-python/botocore/Manifest b/dev-python/botocore/Manifest index 11f548ead21c..38a6975ed624 100644 --- a/dev-python/botocore/Manifest +++ b/dev-python/botocore/Manifest @@ -1,2 +1,3 @@ DIST botocore-1.16.26.tar.gz 6458468 BLAKE2B e753f7dcb3d75a86da78536883e44cbd493fd3ff48fae86e5e1959e55d2d66fe8dcb33ee46af51b39390ce7d2227bdb193a827932b53dc5a4b56f985faeebd31 SHA512 66ba4e9bd8ae72a31fa093dc7d8eccd646a12381086f524e3bd63d6031f2d75bad5e241f08e5588a6ac6c16eac693d0410b1858641bf8e59decfb1e6ed16b360 DIST botocore-1.17.20.tar.gz 6557688 BLAKE2B a4d17d436a7af1a9825ebc0bcb23d0cb32ba90dc1e359b7c248347351321d50d91fd7dcf35afbebcd714f1e1ee37300db5bc22d071404d9403d7812c9fa3e3bc SHA512 db59ee57cc01742f37b95e3655a55e7631458eba74f8e8b808199892921240c8d108e2db4144f50dcd1d00286ff9cc24f38f866baca0a4df26b4771159d09aff +DIST botocore-1.17.23.tar.gz 6564852 BLAKE2B cc1da91f4a45964fe684b015de9db253059241f654dac93901cde5dc24f3ab3595ecd201be91bed36236bb885c7ec7aed998025f6c0ea8b050c13d17a6431238 SHA512 93af672e8d110ab4989e9abc20b3bbb1a6c9050c379bb1db8542e9027e6a4ee82083645c59211204d7110e112d393f80f87d15b77337a4d73358f43d39f6e52f diff --git a/dev-python/botocore/botocore-1.17.23.ebuild b/dev-python/botocore/botocore-1.17.23.ebuild new file mode 100644 index 000000000000..2c1de490f867 --- /dev/null +++ b/dev-python/botocore/botocore-1.17.23.ebuild @@ -0,0 +1,62 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 +PYTHON_COMPAT=( python3_{5,6,7,8,9} ) + +inherit distutils-r1 + +DESCRIPTION="Low-level, data-driven core of boto 3" +HOMEPAGE="https://github.com/boto/botocore" +LICENSE="Apache-2.0" +SLOT="0" + +if [[ "${PV}" == "9999" ]]; then + EGIT_REPO_URI="https://github.com/boto/botocore" + inherit git-r3 +else + SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" + KEYWORDS="~amd64 ~arm64 ~x86 ~amd64-linux ~x86-linux" +fi + +RDEPEND=" + dev-python/six[${PYTHON_USEDEP}] + dev-python/docutils[${PYTHON_USEDEP}] + dev-python/jmespath[${PYTHON_USEDEP}] + dev-python/python-dateutil[${PYTHON_USEDEP}] + dev-python/urllib3[${PYTHON_USEDEP}] +" +BDEPEND=" + test? ( + dev-python/mock[${PYTHON_USEDEP}] + dev-python/jsonschema[${PYTHON_USEDEP}] + ) +" + +PATCHES=( + "${FILESDIR}/1.8.6-tests-pass-all-env-vars-to-cmd-runner.patch" + "${FILESDIR}/botocore-1.16.7-unlock-deps.patch" +) + +distutils_enable_sphinx docs \ + 'dev-python/guzzle_sphinx_theme' +distutils_enable_tests nose + +src_prepare() { + # py3.9 + find -name '*.py' -exec \ + sed -i -e 's:cElementTree:ElementTree:' {} + || die + # very unstable + sed -i -e 's:test_stress_test_token_bucket:_&:' \ + tests/functional/retries/test_bucket.py || die + distutils-r1_src_prepare +} + +python_test() { + # note: suites need to be run separately as one of the unit tests + # seems to be leaking mocks and breaking a few functional tests + nosetests -v tests/unit || + die "unit tests failed under ${EPYTHON}" + nosetests -v tests/functional || + die "functional tests failed under ${EPYTHON}" +} diff --git a/dev-python/dnspython/Manifest b/dev-python/dnspython/Manifest index 72633cea41b8..30c14b535b94 100644 --- a/dev-python/dnspython/Manifest +++ b/dev-python/dnspython/Manifest @@ -1 +1,2 @@ DIST dnspython-1.16.0.tar.gz 167172 BLAKE2B a246684aae8651d94b4312a4b4cce2236a0c4f2289a8fe8a2bb8e81c6beddf6e81a7d54928bc50f950fde862b27e589e83fa9f7aaff7d263a6442f47fe9bb3bb SHA512 825a1815855e036ea1dfece6ec0d42242f83163960439ecba3da58d9adb85b65dda7e628cf38c386807a6c0c36aa026d5e95f7a1bdc2927aa2f6f042f873c14c +DIST dnspython-2.0.0.tar.gz 221903 BLAKE2B 540fb5fb12791dad6bae4007a77201092c8d5e64b7d82b23d5e3d16f48b49f73c90b85a6c8a83fa056a35cf7975ea2ad4a030f2b1fb1b87948bf1703adabb9d6 SHA512 3b38850fcacb0dd25ac0345201474f297c402617e8d706f3061c42172d697103075098e62ca0ac4e0e29967e00407f32f41789ac7bf070fba5aec0af9882e0fb diff --git a/dev-python/dnspython/dnspython-2.0.0.ebuild b/dev-python/dnspython/dnspython-2.0.0.ebuild new file mode 100644 index 000000000000..e41d6ff09447 --- /dev/null +++ b/dev-python/dnspython/dnspython-2.0.0.ebuild @@ -0,0 +1,39 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +PYTHON_COMPAT=( python3_{5,6,7,8,9} pypy3 ) + +inherit distutils-r1 + +DESCRIPTION="DNS toolkit for Python" +HOMEPAGE="https://www.dnspython.org/ https://pypi.org/project/dnspython/" +SRC_URI="https://github.com/rthalley/dnspython/archive/v${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="ISC" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~ppc ~ppc64 ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-solaris" +IUSE="examples" + +RDEPEND=" + dev-python/cryptography[${PYTHON_USEDEP}] + >=dev-python/idna-2.1[${PYTHON_USEDEP}] + !dev-python/dnspython:py2 + !dev-python/dnspython:py3" + +distutils_enable_tests unittest + +src_prepare() { + sed -i -e '/network_avail/s:True:False:' \ + tests/*.py || die + distutils-r1_src_prepare +} + +python_install_all() { + distutils-r1_python_install_all + if use examples; then + dodoc -r examples + docompress -x /usr/share/doc/${PF}/examples + fi +} diff --git a/dev-python/hypothesis/Manifest b/dev-python/hypothesis/Manifest index e7f559cc2cd5..cbb98d181b47 100644 --- a/dev-python/hypothesis/Manifest +++ b/dev-python/hypothesis/Manifest @@ -5,3 +5,4 @@ DIST hypothesis-python-5.16.3.tar.gz 9011952 BLAKE2B d74a68c4ee1e5aacf4be1da5a46 DIST hypothesis-python-5.19.0.tar.gz 9022213 BLAKE2B d8996cfd18d24722cd4faaf8335ce2b1c67757e3ffe973a33bd8ad087fcde513442d9fdf01f486ee07b33504e4088aa9e4c104782c3b03aa4f0d77a99ba6f672 SHA512 c26b0c9c5c7e1941c7f491e8e8165fda86a6e985204b9098c214080e508167f77f7dffe65192a4418f4958c3c6df44a20d75131895517c40c1113995ace3b604 DIST hypothesis-python-5.19.1.tar.gz 9023768 BLAKE2B d1aa7c7a537e9f4ac0f33c12fa0c8269917aa83c01b8e333492d22ac8642ea29f678ca94d6f3d6c45efce7a2fd178d7cab6bcdfefef57c19e84c559a9affd8bd SHA512 81397f64f79debcea05f343f7c8c7cb528231be0bea15f0c6b81e3f68278eff6d73fa09a2f85a798c58468087b6135fea21530402a8fb9bd8014c040ad54a8c4 DIST hypothesis-python-5.19.2.tar.gz 9023874 BLAKE2B e4c713a574547eccfd9d9fc36c2ef192795922c7fc97eb8a59a61506d2d89101a02e0f81fda3d703aac03ed4dc902f47f07ea50375efbc5b1ae7c24f7ea3f058 SHA512 f0a55e8039666dc664760483e6a6cae3371b627912f89215c76430d71bfc80426beef3001dd7415686d75387ceb1a0810068fded11ec728d20f81936bd0b9717 +DIST hypothesis-python-5.20.2.tar.gz 9024252 BLAKE2B 91fc3c24e00301c2df16ca408f1efce512753bd8ea37ae912d4a10be455b42b830a72659394a88749d261cda08f5519c2cc455339094c025d5cb9e9ffede654e SHA512 8819cf3cce70a16d5e551d38ac54cd27a9649a775416d01452694a86dc40c840ace5d8edda6aed5680a98908e6266fbe6dcc4e6d6d9d3bceb8417d341e3e7a07 diff --git a/dev-python/hypothesis/hypothesis-5.20.2.ebuild b/dev-python/hypothesis/hypothesis-5.20.2.ebuild new file mode 100644 index 000000000000..37f9e736953e --- /dev/null +++ b/dev-python/hypothesis/hypothesis-5.20.2.ebuild @@ -0,0 +1,56 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +DISTUTILS_USE_SETUPTOOLS=rdepend +PYTHON_COMPAT=( python3_{5,6,7,8,9} pypy3 ) +PYTHON_REQ_USE="threads(+),sqlite" + +inherit distutils-r1 eutils + +DESCRIPTION="A library for property based testing" +HOMEPAGE="https://github.com/HypothesisWorks/hypothesis https://pypi.org/project/hypothesis/" +SRC_URI="https://github.com/HypothesisWorks/${PN}/archive/${PN}-python-${PV}.tar.gz" +S="${WORKDIR}/${PN}-${PN}-python-${PV}/${PN}-python" + +LICENSE="MPL-2.0" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~ppc ~ppc64 ~s390 ~sparc ~x86" +IUSE="test" +RESTRICT="!test? ( test )" + +RDEPEND=" + >=dev-python/attrs-19.2.0[${PYTHON_USEDEP}] + >=dev-python/sortedcontainers-2.1.0[${PYTHON_USEDEP}] +" +BDEPEND=" + test? ( + ${RDEPEND} + dev-python/mock[${PYTHON_USEDEP}] + dev-python/pexpect[${PYTHON_USEDEP}] + >=dev-python/pytest-5.3.5[${PYTHON_USEDEP}] + !!<dev-python/typing-3.7.4.1 + ) +" + +src_prepare() { + # avoid pytest-xdist dep for one test + sed -i -e 's:test_prints_statistics_given_option_under_xdist:_&:' \ + tests/pytest/test_statistics.py || die + distutils-r1_src_prepare +} + +python_test() { + pytest -vv tests/cover tests/pytest tests/quality || + die "Tests fail with ${EPYTHON}" +} + +pkg_postinst() { + optfeature "datetime support" dev-python/pytz + optfeature "dateutil support" dev-python/python-dateutil + optfeature "numpy support" dev-python/numpy + optfeature "django support" dev-python/django dev-python/pytz + optfeature "pandas support" dev-python/pandas + optfeature "pytest support" dev-python/pytest +} diff --git a/dev-python/ipykernel/Manifest b/dev-python/ipykernel/Manifest index c346733ac510..74b583e953c7 100644 --- a/dev-python/ipykernel/Manifest +++ b/dev-python/ipykernel/Manifest @@ -1,3 +1,4 @@ DIST ipykernel-5.1.4.tar.gz 108592 BLAKE2B 9e009bc2d251b065b1e6e72fd5dfb1aeace9fef094a72c76b96814923cefeb50b214032a125936536b34209e7a1e4b68fac270f9000862fcbafac2f270266916 SHA512 f9552526fece022192a90e4a263651cafe54a609424df578b0549cc663af9981e746a6132ff5e646c6a7b429335b92e7335272d7870affaa1a1846a4d39e09bd DIST ipykernel-5.3.0.tar.gz 110977 BLAKE2B 4ca23618e25cc4ab4d6e1b0725136594d995eda91bd804611d1707c81437bfa0eef2b0995eb2697f28b119696d7493f6ec8e0c21e0cafb6e791a35438e8dd464 SHA512 c36a6dd4d9dfd52d31a8a37e10aea3c67a7a523ab32db8fb8904f4d90741056d946c265c57354be016d0fa1e4a34f4722c26798a3a7d6b6992884bdba8101190 DIST ipykernel-5.3.2.tar.gz 108384 BLAKE2B f999735c04c1a4cddfe58761b22d079a79098049c6595aa5fc7b027404e2d01ce89395ed46eab007e0c1aa7a35b2c8c92c634c0110c011a5e18002044e9663d4 SHA512 26426c564bd725f8ba1ffcd112c1352a2b0068cdd34a994a17cee821d6ec14751c760db3a73e154b735d679d9f66e98c512c45d81c2eb22e26acc331f0f1e838 +DIST ipykernel-5.3.3.tar.gz 111718 BLAKE2B 4295eab97c971dfaef797ad3314b9077f740ae102282553ae7265352b83c3d44a51e1cb696cdf161c612ccc1ccdbed39bde1ffe17d83aeb3f61c1cdf73154d3e SHA512 4c33e6db572e002c2ecda479a427a46707f0e162bac5701a5a079d6d5c1df2680b20bed2cd5b2aa7927e8efee0b0993dc78ba4090e7e053389e278f6116be1d3 diff --git a/dev-python/ipykernel/ipykernel-5.3.3.ebuild b/dev-python/ipykernel/ipykernel-5.3.3.ebuild new file mode 100644 index 000000000000..64b03e679834 --- /dev/null +++ b/dev-python/ipykernel/ipykernel-5.3.3.ebuild @@ -0,0 +1,33 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +PYTHON_COMPAT=( python3_{5,6,7,8,9} ) +PYTHON_REQ_USE="threads(+)" + +inherit distutils-r1 + +DESCRIPTION="IPython Kernel for Jupyter" +HOMEPAGE="https://github.com/ipython/ipykernel" +SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" + +LICENSE="BSD" +SLOT="0" +KEYWORDS="~amd64 ~arm64 ~x86" +IUSE="test" + +RDEPEND=" + >=dev-python/ipython-6[${PYTHON_USEDEP}] + dev-python/jupyter_client[${PYTHON_USEDEP}] + >=dev-python/jupyter_core-4.6[${PYTHON_USEDEP}] + >=dev-python/traitlets-4.1.0[${PYTHON_USEDEP}] + >=www-servers/tornado-4.0[${PYTHON_USEDEP}] +" +DEPEND="${RDEPEND} + test? ( + dev-python/nose[${PYTHON_USEDEP}] + dev-python/nose_warnings_filters[${PYTHON_USEDEP}] + dev-python/flaky[${PYTHON_USEDEP}] )" + +distutils_enable_tests pytest diff --git a/dev-python/pygobject/Manifest b/dev-python/pygobject/Manifest index 353a2297b088..ab65c220c720 100644 --- a/dev-python/pygobject/Manifest +++ b/dev-python/pygobject/Manifest @@ -1,3 +1,4 @@ DIST pygobject-2.28.6.tar.xz 747248 BLAKE2B 5f92794034b2d0559a623db4a7d273a7dc3f099cae87ede91b17e81acac085a9298c6b81b45b4b8540b6a75ced97e474a993437dbfcfc2133d3321d6a979b541 SHA512 37544ea2377258758169b25a2969d5ee1c9ffb9b6e63e05bc7a0471a49ac9169c51ec587d4489172c7d256f53df878a81c1992a08059aa7e43dbbb69f799545c DIST pygobject-3.32.1.tar.xz 551708 BLAKE2B ba7c34e4747d6a11424a23195f71877ecbd69b463b3c8aae7634a320cc8ec723e24301c0674b9ffbfdcb6d798fddddb5b772a723afc7ac28c23461e84cf7485a SHA512 5b325d0caf4f34f783fc2c664a795809f048eb1639d2f2e375fc147c852d6e29a8ab119438cac76786fb20220c72d5859cc06d6f70c29f976f6a5914e0169915 DIST pygobject-3.34.0.tar.xz 552268 BLAKE2B a9cbeb644e0aa1b23067b591fe5c6299741395656631d39782a8c183a5d3a8e5e7f1a81acdefee186b7cc2bc34dda9271468b1828d5b9613ddc1256e24f1ecb8 SHA512 782195d22e564b88dea8d43469f0111f398b44b51a63df2fe7d07650af94d5cd037f322a5d7e405338823be3419fcdbf0113fe50b220ab1cfd07d4d01dbc4766 +DIST pygobject-3.36.1.tar.xz 556568 BLAKE2B cd38aec8e71ff230926327e77867d07ae0fd5549b71619301bb3be01821ea93e557ecf335ea238292176981a864b269eaa2a86da47e8fb320f187f54caf24dc4 SHA512 5e00dcd03dfe4f92acbf827c13c164b6b9740b2a8cef3b2dce70f96a2156fee2411c84dc669f12b910f4a93daa03ba845282832e2b09d8c887102d43764a345f diff --git a/dev-python/pygobject/pygobject-3.36.1.ebuild b/dev-python/pygobject/pygobject-3.36.1.ebuild new file mode 100644 index 000000000000..3f39912bc4c9 --- /dev/null +++ b/dev-python/pygobject/pygobject-3.36.1.ebuild @@ -0,0 +1,75 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +PYTHON_COMPAT=( python2_7 python3_{5,6,7,8,9} ) + +inherit gnome.org meson python-r1 virtualx xdg + +DESCRIPTION="Python bindings for GObject Introspection" +HOMEPAGE="https://pygobject.readthedocs.io/" + +LICENSE="LGPL-2.1+" +SLOT="3" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~x64-solaris ~x86-solaris" +IUSE="+cairo examples test" + +REQUIRED_USE="${PYTHON_REQUIRED_USE}" + +RDEPEND="${PYTHON_DEPS} + >=dev-libs/glib-2.48:2 + >=dev-libs/gobject-introspection-1.54:= + dev-libs/libffi:= + cairo? ( + >=dev-python/pycairo-1.11.1[${PYTHON_USEDEP}] + x11-libs/cairo[glib] ) +" +DEPEND="${RDEPEND} + test? ( + dev-libs/atk[introspection] + dev-python/pytest[${PYTHON_USEDEP}] + x11-libs/gdk-pixbuf:2[introspection,jpeg] + x11-libs/gtk+:3[introspection] + x11-libs/pango[introspection] ) +" +BDEPEND=" + virtual/pkgconfig +" + +RESTRICT="!test? ( test )" + +src_configure() { + configuring() { + meson_src_configure \ + $(meson_use cairo pycairo) \ + $(meson_use test tests) \ + -Dpython="${EPYTHON}" + } + + python_foreach_impl configuring +} + +src_compile() { + python_foreach_impl meson_src_compile +} + +src_test() { + local -x GIO_USE_VFS="local" # prevents odd issues with deleting ${T}/.gvfs + local -x GIO_USE_VOLUME_MONITOR="unix" # prevent udisks-related failures in chroots, bug #449484 + + testing() { + local -x XDG_CACHE_HOME="${T}/${EPYTHON}" + meson_src_test || die "test failed for ${EPYTHON}" + } + virtx python_foreach_impl testing +} + +src_install() { + installing() { + meson_src_install + python_optimize + } + python_foreach_impl installing + use examples && dodoc -r examples +} diff --git a/dev-python/pypiserver/pypiserver-1.3.2.ebuild b/dev-python/pypiserver/pypiserver-1.3.2.ebuild index 1e2c6d29b686..a02f523cdf71 100644 --- a/dev-python/pypiserver/pypiserver-1.3.2.ebuild +++ b/dev-python/pypiserver/pypiserver-1.3.2.ebuild @@ -13,7 +13,7 @@ SRC_URI="https://github.com/${PN}/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz" LICENSE="ZLIB MIT" SLOT="0" -KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ppc ppc64 sparc ~x86" +KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ppc ppc64 sparc x86" IUSE="test" RDEPEND=" diff --git a/dev-python/tqdm/tqdm-4.45.0.ebuild b/dev-python/tqdm/tqdm-4.45.0.ebuild index e149c88cd2ee..3b9d869eda74 100644 --- a/dev-python/tqdm/tqdm-4.45.0.ebuild +++ b/dev-python/tqdm/tqdm-4.45.0.ebuild @@ -12,7 +12,7 @@ if [[ ${PV} == 9999 ]]; then EGIT_REPO_URI="https://github.com/tqdm/tqdm" else SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" - KEYWORDS="~alpha amd64 arm arm64 hppa ppc ppc64 sparc ~x86" + KEYWORDS="~alpha amd64 arm arm64 hppa ppc ppc64 sparc x86" fi DESCRIPTION="Add a progress meter to your loops in a second" diff --git a/dev-python/virtualenv/Manifest b/dev-python/virtualenv/Manifest index b3b81c3a197c..97862e67947a 100644 --- a/dev-python/virtualenv/Manifest +++ b/dev-python/virtualenv/Manifest @@ -1,6 +1,2 @@ -DIST virtualenv-16.0.0.tar.gz 1968312 BLAKE2B efc25f7c12335bb8619c3de125af3693d73afc5e7ff4edf1afa95227360ab4d0eb2ffb574b9bb36de26a2bda65b1f06009308fef48b12a81050bbc1f4ab852e9 SHA512 aed6eff9b85107072c321b37c1725987d474caf615734ab40d8d1fa60f2635be1a1919a47fbd211127e38cf1c4002548c778df29fc56d45a4570b31906c0ee54 DIST virtualenv-16.7.10.tar.gz 5116776 BLAKE2B 42f0a4b4330850b504f8febd991ef6ecdcbb0821efdd94ca324a8cc34a68a760a8a98de97f0cb2384d8e6cbb0ce8f261995c6433886444e29b75ba0ce09ca12c SHA512 f06d7c354ce1910f04dbcbe1a77e60392653bbe4f638bafbe9284454db2c0e5d63cf9159201d0916fc01aaba91d45fb733b63096c38517fcd83fd00ed8b26d28 -DIST virtualenv-16.7.9.tar.gz 5116740 BLAKE2B 10b77c4d74d3b1be60d567caf60b48274893777313d7151350df1d8a7d86d7cbd299c6c04734cbad134512e2ea05f5bc694648b6e9307019ffd9b91f7d0cdaf5 SHA512 d7379941e299c44beba30eaab68d5f1a6650f767b24f95d5e8abd05c1529dca4c1423113a41ff42690bb2b2bd4fe05c3e47a8fed4f9df0972188f6c77034436b -DIST virtualenv-20.0.23.tar.gz 8038565 BLAKE2B e11a7e36c33848fc9c8ad12fed369e6804c11a89e11cb66ff105b4e4e5758dcab15809932f88d9ddbc229d1bb862d29dead9ff2e4da655603e627887a1a2cd1d SHA512 01a56564ac09abca25cd163e7b425d8dbf1f57d6771b57e1f5fe4182f86197009e7ebdcb6f4a8640c8b8f0cdfcfdcd843f7be33848c66b0b5877cc7a8fe6ee0e -DIST virtualenv-20.0.26.tar.gz 8264088 BLAKE2B 0d5bfbae10fa7de73ec3766863415a5a8f6680b168ef4ef25984b91a9291645189b987bfc63b96897b6f421fd692b4a388eee7a36995b0b65fe52d3019813da4 SHA512 d81fa8f25b7752fbb76494cea62f76d5f40e1397853ef71c1eb8078ffe8748fb365f275cc34ef04f64a001e3300a6f26f872542f68c047bee1eeb74cd49180a7 DIST virtualenv-20.0.27.tar.gz 8265353 BLAKE2B 31e0a5fa11d988b5340b130615dc5095a61321393fdc4f72fd88e70d88bc7922c2f8f289b995fb623d2fe900a7da8f012433d4a7bb2ecd7ab53810865e05ea2b SHA512 812a17d1461c8e62568f345aba0722204dd22d0d149720d00e37712a34a9d2d614e1b854f07d7e89e1eb6e915ca3f90e8e81fb9c2442ed637efdc6b2120153d7 diff --git a/dev-python/virtualenv/files/virtualenv-12.1.1-skip-broken-test.patch b/dev-python/virtualenv/files/virtualenv-12.1.1-skip-broken-test.patch deleted file mode 100644 index 5c14c3e22850..000000000000 --- a/dev-python/virtualenv/files/virtualenv-12.1.1-skip-broken-test.patch +++ /dev/null @@ -1,19 +0,0 @@ ---- virtualenv-12.1.1/tests/test_virtualenv.py -+++ virtualenv-12.1.1/tests/test_virtualenv.py -@@ -6,6 +6,7 @@ - import tempfile - import pytest - import platform # noqa -+import unittest - - from mock import patch, Mock - -@@ -126,7 +127,7 @@ - shutil.rmtree(tmp_virtualenv) - - --@pytest.mark.skipif("platform.python_implementation() == 'PyPy'") -+@unittest.skip("Running create environment while testing is broken") - def test_always_copy_option(): - """Should be no symlinks in directory tree""" - tmp_virtualenv = tempfile.mkdtemp() diff --git a/dev-python/virtualenv/virtualenv-16.0.0.ebuild b/dev-python/virtualenv/virtualenv-16.0.0.ebuild deleted file mode 100644 index 86db5ceaf364..000000000000 --- a/dev-python/virtualenv/virtualenv-16.0.0.ebuild +++ /dev/null @@ -1,50 +0,0 @@ -# Copyright 1999-2020 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=6 - -PYTHON_COMPAT=( python2_7 python3_{5,6,7,8,9} ) - -inherit distutils-r1 - -DESCRIPTION="Virtual Python Environment builder" -HOMEPAGE=" - https://virtualenv.pypa.io/en/stable/ - https://pypi.org/project/virtualenv/ - https://github.com/pypa/virtualenv/ -" -SRC_URI="https://github.com/pypa/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz" - -LICENSE="MIT" -KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~m68k ~mips ppc ppc64 s390 sparc x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~sparc-solaris ~x64-solaris ~x86-solaris" -SLOT="0" -IUSE="doc test" -RESTRICT="!test? ( test )" - -RDEPEND="" -DEPEND="${RDEPEND} - >=dev-python/setuptools-19.6.2[${PYTHON_USEDEP}] - 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}-12.1.1-skip-broken-test.patch -) - -python_compile_all() { - use doc && emake -C docs html -} - -python_test() { - py.test -v -v || die "Tests fail with ${EPYTHON}" -} - -python_install_all() { - use doc && local HTML_DOCS=( docs/_build/html/. ) - distutils-r1_python_install_all -} diff --git a/dev-python/virtualenv/virtualenv-16.7.10.ebuild b/dev-python/virtualenv/virtualenv-16.7.10.ebuild index d76470b94b17..72a47a8cc4c8 100644 --- a/dev-python/virtualenv/virtualenv-16.7.10.ebuild +++ b/dev-python/virtualenv/virtualenv-16.7.10.ebuild @@ -18,7 +18,7 @@ SRC_URI="https://github.com/pypa/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz" LICENSE="MIT" #KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~sparc-solaris ~x64-solaris ~x86-solaris" -KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ppc ppc64 sparc ~x86 ~amd64-linux ~x86-linux" +KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ppc ppc64 sparc x86 ~amd64-linux ~x86-linux" SLOT="0" IUSE="test" RESTRICT="!test? ( test )" diff --git a/dev-python/virtualenv/virtualenv-16.7.9-r1.ebuild b/dev-python/virtualenv/virtualenv-16.7.9-r1.ebuild deleted file mode 100644 index c3e8720bf47c..000000000000 --- a/dev-python/virtualenv/virtualenv-16.7.9-r1.ebuild +++ /dev/null @@ -1,62 +0,0 @@ -# Copyright 1999-2020 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=7 - -# pypy{,3} dropped until test deps are tested/updated -PYTHON_COMPAT=( python2_7 python3_{5,6,7,8,9} ) -DISTUTILS_USE_SETUPTOOLS=manual - -inherit distutils-r1 - -DESCRIPTION="Virtual Python Environment builder" -HOMEPAGE=" - https://virtualenv.pypa.io/en/stable/ - https://pypi.org/project/virtualenv/ - https://github.com/pypa/virtualenv/ -" -SRC_URI="https://github.com/pypa/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz" - -LICENSE="MIT" -#KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~sparc-solaris ~x64-solaris ~x86-solaris" -KEYWORDS="~alpha amd64 ~hppa ~sparc x86 ~amd64-linux ~x86-linux" -SLOT="0" -IUSE="test" -RESTRICT="!test? ( test )" - -RDEPEND=">=dev-python/setuptools-19.6.2[${PYTHON_USEDEP}]" -BDEPEND="${RDEPEND} - test? ( - >=dev-python/pip-19.3.1-r1[${PYTHON_USEDEP}] - dev-python/mock[${PYTHON_USEDEP}] - dev-python/pypiserver[${PYTHON_USEDEP}] - dev-python/pytest-localserver[${PYTHON_USEDEP}] - dev-python/pytest-timeout[${PYTHON_USEDEP}] - dev-python/pytest-xdist[${PYTHON_USEDEP}] - dev-python/pytest[${PYTHON_USEDEP}] - dev-python/six[${PYTHON_USEDEP}] - dev-python/wheel[${PYTHON_USEDEP}] - )" - -DOCS=( docs/index.rst docs/changes.rst ) - -PATCHES=( - "${FILESDIR}/virtualenv-16.7.7-tests.patch" - - # disable tests that need internet access - "${FILESDIR}/virtualenv-16.7.7-tests-internet.patch" - - # test fixes for pypy - "${FILESDIR}/virtualenv-16.7.8-tests-pypy.patch" -) - -distutils_enable_sphinx docs \ - dev-python/sphinx_rtd_theme \ - dev-python/towncrier - -python_test() { - cp "${S}"/LICENSE.txt "${BUILD_DIR}"/lib || \ - die "Could not copy LICENSE.txt with ${EPYTHON}" - - pytest -vv tests || die "Tests fail with ${EPYTHON}" -} diff --git a/dev-python/virtualenv/virtualenv-20.0.23.ebuild b/dev-python/virtualenv/virtualenv-20.0.23.ebuild deleted file mode 100644 index 98d22e193a9e..000000000000 --- a/dev-python/virtualenv/virtualenv-20.0.23.ebuild +++ /dev/null @@ -1,91 +0,0 @@ -# Copyright 1999-2020 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=7 - -PYTHON_COMPAT=( python2_7 python3_{5,6,7,8,9} ) -DISTUTILS_USE_SETUPTOOLS=manual - -inherit distutils-r1 - -DESCRIPTION="Virtual Python Environment builder" -HOMEPAGE=" - https://virtualenv.pypa.io/en/stable/ - https://pypi.org/project/virtualenv/ - https://github.com/pypa/virtualenv/ -" -SRC_URI="https://github.com/pypa/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz" - -LICENSE="MIT" -KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86" -SLOT="0" -IUSE="test" -RESTRICT="!test? ( test )" - -RDEPEND=" - >=dev-python/appdirs-1.4.3[${PYTHON_USEDEP}] - >=dev-python/distlib-0.3.0[${PYTHON_USEDEP}] - >=dev-python/filelock-3[${PYTHON_USEDEP}] - >=dev-python/setuptools-41[${PYTHON_USEDEP}] - >=dev-python/six-1.9.0[${PYTHON_USEDEP}] - $(python_gen_cond_dep ' - >=dev-python/contextlib2-0.6.0[${PYTHON_USEDEP}] - >=dev-python/pathlib2-2.3.3[${PYTHON_USEDEP}] - ' -2) - $(python_gen_cond_dep ' - >=dev-python/importlib_metadata-0.12[${PYTHON_USEDEP}] - ' -2 python3_{6,7} pypy3) - $(python_gen_cond_dep ' - >=dev-python/importlib_resources-1.0[${PYTHON_USEDEP}] - ' -2 python3_6 pypy3)" -# coverage is used somehow magically in virtualenv, maybe it actually -# tests something useful -BDEPEND=" - dev-python/setuptools_scm[${PYTHON_USEDEP}] - test? ( - ${RDEPEND} - $(python_gen_cond_dep ' - dev-python/coverage[${PYTHON_USEDEP}] - >=dev-python/pip-20.0.2[${PYTHON_USEDEP}] - >=dev-python/pytest-5[${PYTHON_USEDEP}] - >=dev-python/pytest-mock-2.0.0[${PYTHON_USEDEP}] - >=dev-python/pytest-timeout-1.3.4[${PYTHON_USEDEP}] - dev-python/wheel[${PYTHON_USEDEP}] - >=dev-python/packaging-20.0[${PYTHON_USEDEP}] - ' 'python3*') - )" - -distutils_enable_sphinx docs \ - dev-python/sphinx_rtd_theme \ - dev-python/towncrier - -src_prepare() { - # we don't have xonsh - rm tests/unit/activation/test_xonsh.py || die - # require internet - sed -e 's:test_seed_link_via_app_data:_&:' \ - -i tests/unit/seed/test_boostrap_link_via_app_data.py || die - # TODO: investigate - sed -e 's:test_cross_major:_&:' \ - -i tests/unit/create/test_creator.py || die - sed -e 's:test_py_info_to_system_raises:_&:' \ - -i tests/unit/discovery/py_info/test_py_info.py || die - - distutils-r1_src_prepare -} - -src_configure() { - export SETUPTOOLS_SCM_PRETEND_VERSION=${PV} -} - -python_test() { - # TODO: fix/skip with more granularity tests on pypy3 - if has "${EPYTHON}" pypy3 python2.7; then - einfo "Skipping broken tests on pypy3" - continue - fi - - distutils_install_for_testing - - pytest -vv || die "Tests fail with ${EPYTHON}" -} diff --git a/dev-python/virtualenv/virtualenv-20.0.26.ebuild b/dev-python/virtualenv/virtualenv-20.0.26.ebuild deleted file mode 100644 index 28a014086ee3..000000000000 --- a/dev-python/virtualenv/virtualenv-20.0.26.ebuild +++ /dev/null @@ -1,91 +0,0 @@ -# Copyright 1999-2020 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=7 - -PYTHON_COMPAT=( python2_7 python3_{5,6,7,8,9} ) -DISTUTILS_USE_SETUPTOOLS=manual - -inherit distutils-r1 - -DESCRIPTION="Virtual Python Environment builder" -HOMEPAGE=" - https://virtualenv.pypa.io/en/stable/ - https://pypi.org/project/virtualenv/ - https://github.com/pypa/virtualenv/ -" -SRC_URI="mirror://pypi/${PN::1}/${PN}/${P}.tar.gz" - -LICENSE="MIT" -KEYWORDS="~amd64 ~arm ~arm64 ~ia64 ~ppc ~ppc64 ~sparc ~x86" -SLOT="0" -IUSE="test" -RESTRICT="!test? ( test )" - -RDEPEND=" - >=dev-python/appdirs-1.4.3[${PYTHON_USEDEP}] - >=dev-python/distlib-0.3.1[${PYTHON_USEDEP}] - >=dev-python/filelock-3[${PYTHON_USEDEP}] - >=dev-python/setuptools-41[${PYTHON_USEDEP}] - >=dev-python/six-1.9.0[${PYTHON_USEDEP}] - $(python_gen_cond_dep ' - >=dev-python/contextlib2-0.6.0[${PYTHON_USEDEP}] - >=dev-python/pathlib2-2.3.3[${PYTHON_USEDEP}] - ' -2) - $(python_gen_cond_dep ' - >=dev-python/importlib_metadata-0.12[${PYTHON_USEDEP}] - ' -2 python3_{6,7} pypy3) - $(python_gen_cond_dep ' - >=dev-python/importlib_resources-1.0[${PYTHON_USEDEP}] - ' -2 python3_6 pypy3)" -# coverage is used somehow magically in virtualenv, maybe it actually -# tests something useful -BDEPEND=" - dev-python/setuptools_scm[${PYTHON_USEDEP}] - test? ( - ${RDEPEND} - $(python_gen_cond_dep ' - dev-python/coverage[${PYTHON_USEDEP}] - dev-python/flaky[${PYTHON_USEDEP}] - >=dev-python/pip-20.0.2[${PYTHON_USEDEP}] - >=dev-python/pytest-5[${PYTHON_USEDEP}] - >=dev-python/pytest-freezegun-0.4.1[${PYTHON_USEDEP}] - >=dev-python/pytest-mock-2.0.0[${PYTHON_USEDEP}] - >=dev-python/pytest-timeout-1.3.4[${PYTHON_USEDEP}] - dev-python/wheel[${PYTHON_USEDEP}] - >=dev-python/packaging-20.0[${PYTHON_USEDEP}] - ' 'python3*') - )" - -distutils_enable_sphinx docs \ - dev-python/sphinx_rtd_theme \ - dev-python/towncrier - -src_prepare() { - # we don't have xonsh - rm tests/unit/activation/test_xonsh.py || die - # require internet - sed -e 's:test_seed_link_via_app_data:_&:' \ - -i tests/unit/seed/embed/test_boostrap_link_via_app_data.py || die - # TODO: investigate - sed -e 's:test_cross_major:_&:' \ - -i tests/unit/create/test_creator.py || die - - distutils-r1_src_prepare -} - -src_configure() { - export SETUPTOOLS_SCM_PRETEND_VERSION=${PV} -} - -python_test() { - # TODO: fix/skip with more granularity tests on pypy3 - if has "${EPYTHON}" pypy3 python2.7; then - einfo "Skipping broken tests on pypy3" - continue - fi - - distutils_install_for_testing - - pytest -vv || die "Tests fail with ${EPYTHON}" -} diff --git a/dev-python/webtest/webtest-2.0.35.ebuild b/dev-python/webtest/webtest-2.0.35.ebuild index 643e9d43bc57..44f40cefb3e8 100644 --- a/dev-python/webtest/webtest-2.0.35.ebuild +++ b/dev-python/webtest/webtest-2.0.35.ebuild @@ -18,7 +18,7 @@ S="${WORKDIR}/${MY_P}" LICENSE="MIT" SLOT="0" -KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ppc ppc64 ~s390 sparc ~x86" +KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ppc ppc64 ~s390 sparc x86" IUSE="test" RESTRICT="!test? ( test )" |
