From c0160118f1a03d0fce2f73a97b487aa3a3f8aa9e Mon Sep 17 00:00:00 2001 From: "Liguros - Gitlab CI/CD [develop]" Date: Thu, 10 Mar 2022 01:41:42 +0000 Subject: Adding metadata --- dev-python/Faker/Faker-13.3.1.ebuild | 30 ++++ dev-python/Faker/Manifest | 1 + dev-python/argparse-manpage/Manifest | 1 + .../argparse-manpage/argparse-manpage-2.2.ebuild | 28 ++++ dev-python/asn1crypto/Manifest | 1 + dev-python/asn1crypto/asn1crypto-1.5.0.ebuild | 20 +++ dev-python/awxkit/Manifest | 1 + dev-python/awxkit/awxkit-20.0.1.ebuild | 39 +++++ dev-python/bandit/Manifest | 1 + dev-python/bandit/bandit-1.7.4.ebuild | 37 +++++ dev-python/boto3/Manifest | 1 + dev-python/boto3/boto3-1.21.15.ebuild | 62 ++++++++ dev-python/botocore/Manifest | 1 + dev-python/botocore/botocore-1.24.15.ebuild | 67 +++++++++ dev-python/brython/Manifest | 1 + dev-python/brython/brython-3.10.5.ebuild | 38 +++++ dev-python/catkin_pkg/Manifest | 2 +- dev-python/catkin_pkg/catkin_pkg-0.4.23-r1.ebuild | 46 ------ dev-python/catkin_pkg/catkin_pkg-0.4.24.ebuild | 46 ++++++ dev-python/cfn-lint/Manifest | 1 + dev-python/cfn-lint/cfn-lint-0.58.3.ebuild | 51 +++++++ dev-python/cftime/Manifest | 1 + dev-python/cftime/cftime-1.6.0.ebuild | 29 ++++ dev-python/csvkit/Manifest | 1 + dev-python/csvkit/csvkit-1.0.7.ebuild | 31 ++++ dev-python/cvxopt/Manifest | 1 + dev-python/cvxopt/cvxopt-1.3.0.ebuild | 163 +++++++++++++++++++++ dev-python/dnspython/Manifest | 1 + dev-python/dnspython/dnspython-2.2.1.ebuild | 42 ++++++ dev-python/dulwich/Manifest | 1 + dev-python/dulwich/dulwich-0.20.33.ebuild | 56 +++++++ dev-python/elementpath/Manifest | 1 + dev-python/elementpath/elementpath-2.5.0.ebuild | 27 ++++ dev-python/emoji/Manifest | 1 + dev-python/emoji/emoji-1.7.0.ebuild | 21 +++ dev-python/flask-compress/Manifest | 1 + .../flask-compress/flask-compress-1.11.ebuild | 27 ++++ dev-python/freezegun/Manifest | 1 + dev-python/freezegun/freezegun-1.2.0.ebuild | 31 ++++ dev-python/github3/Manifest | 1 + dev-python/github3/github3-3.2.0.ebuild | 45 ++++++ dev-python/google-api-core/Manifest | 1 + .../google-api-core/google-api-core-2.7.0.ebuild | 65 ++++++++ dev-python/hypothesis/Manifest | 1 + dev-python/hypothesis/hypothesis-6.39.3.ebuild | 65 ++++++++ dev-python/iminuit/Manifest | 1 + dev-python/iminuit/iminuit-2.10.0.ebuild | 41 ++++++ dev-python/itsdangerous/Manifest | 1 + dev-python/itsdangerous/itsdangerous-2.1.1.ebuild | 22 +++ dev-python/keystoneauth/Manifest | 1 + dev-python/keystoneauth/keystoneauth-4.5.0.ebuild | 62 ++++++++ dev-python/mkdocs-material/Manifest | 2 + .../mkdocs-material/mkdocs-material-8.2.2.ebuild | 38 +++++ .../mkdocs-material/mkdocs-material-8.2.5.ebuild | 38 +++++ dev-python/networkx/Manifest | 1 + dev-python/networkx/networkx-2.7.1.ebuild | 45 ++++++ dev-python/nuitka/Manifest | 6 +- dev-python/nuitka/nuitka-0.6.19.4.ebuild | 48 ------ dev-python/nuitka/nuitka-0.6.19.5.ebuild | 49 ------- dev-python/nuitka/nuitka-0.6.19.6.ebuild | 49 ------- dev-python/nuitka/nuitka-0.6.19.7.ebuild | 49 ------- dev-python/nuitka/nuitka-0.7.3.ebuild | 49 +++++++ dev-python/nuitka/nuitka-0.7.ebuild | 49 ------- dev-python/patatt/patatt-0.4.9.ebuild | 2 +- dev-python/peewee/Manifest | 1 + dev-python/peewee/peewee-3.14.10.ebuild | 36 +++++ dev-python/podman-py/Manifest | 1 + dev-python/podman-py/podman-py-4.0.0.ebuild | 43 ++++++ dev-python/poetry-core/Manifest | 1 + dev-python/poetry-core/poetry-core-1.0.8.ebuild | 55 +++++++ dev-python/prettytable/Manifest | 1 + dev-python/prettytable/prettytable-3.2.0.ebuild | 31 ++++ dev-python/py-amqp/Manifest | 1 + dev-python/py-amqp/py-amqp-5.1.0.ebuild | 51 +++++++ dev-python/pycountry/Manifest | 1 + .../pycountry-22.3.5-fix-tests-for-pypy3.patch | 21 +++ dev-python/pycountry/pycountry-22.3.5.ebuild | 26 ++++ dev-python/pydevd/Manifest | 1 + dev-python/pydevd/pydevd-2.8.0.ebuild | 88 +++++++++++ dev-python/pyghmi/Manifest | 1 + dev-python/pyghmi/pyghmi-1.5.36.ebuild | 35 +++++ dev-python/pyglet/Manifest | 1 + dev-python/pyglet/pyglet-1.5.22.ebuild | 63 ++++++++ dev-python/pylru/Manifest | 1 + dev-python/pylru/pylru-1.2.1.ebuild | 20 +++ dev-python/pytest-asyncio/Manifest | 1 + .../pytest-asyncio/pytest-asyncio-0.18.2.ebuild | 35 +++++ dev-python/pytest-flake8/Manifest | 1 + .../pytest-flake8/pytest-flake8-1.1.0.ebuild | 26 ++++ .../python-lsp-black/python-lsp-black-1.1.0.ebuild | 4 + dev-python/python-openstackclient/Manifest | 1 + .../python-openstackclient-5.8.0.ebuild | 57 +++++++ dev-python/pytools/Manifest | 1 + dev-python/pytools/pytools-2022.1.1.ebuild | 25 ++++ dev-python/pyzotero/Manifest | 1 + dev-python/pyzotero/pyzotero-1.5.2.ebuild | 35 +++++ dev-python/ratelimit/ratelimit-2.2.1.ebuild | 4 +- dev-python/readme_renderer/Manifest | 1 + .../readme_renderer/readme_renderer-33.0.ebuild | 29 ++++ dev-python/regex/Manifest | 1 + dev-python/regex/regex-2022.3.2.ebuild | 31 ++++ dev-python/responses/Manifest | 1 + dev-python/responses/responses-0.19.0.ebuild | 30 ++++ dev-python/sentry-sdk/Manifest | 1 + dev-python/sentry-sdk/sentry-sdk-1.5.7.ebuild | 80 ++++++++++ dev-python/sqlitedict/Manifest | 1 + dev-python/sqlitedict/sqlitedict-2.0.0.ebuild | 27 ++++ dev-python/test_server/Manifest | 1 + dev-python/test_server/test_server-0.0.40.ebuild | 25 ++++ dev-python/testfixtures/Manifest | 1 + dev-python/testfixtures/testfixtures-6.18.5.ebuild | 51 +++++++ dev-python/twisted/Manifest | 1 + dev-python/twisted/twisted-22.2.0.ebuild | 160 ++++++++++++++++++++ dev-python/versioneer/Manifest | 1 + dev-python/versioneer/versioneer-0.22.ebuild | 36 +++++ dev-python/virtualenv/Manifest | 1 + dev-python/virtualenv/virtualenv-20.13.3.ebuild | 97 ++++++++++++ dev-python/waitress/Manifest | 1 + dev-python/waitress/waitress-2.1.0.ebuild | 25 ++++ dev-python/zeroconf/Manifest | 1 + dev-python/zeroconf/zeroconf-0.38.4.ebuild | 38 +++++ dev-python/zope-testing/Manifest | 1 + dev-python/zope-testing/zope-testing-4.10.ebuild | 32 ++++ 123 files changed, 2687 insertions(+), 299 deletions(-) create mode 100644 dev-python/Faker/Faker-13.3.1.ebuild create mode 100644 dev-python/argparse-manpage/argparse-manpage-2.2.ebuild create mode 100644 dev-python/asn1crypto/asn1crypto-1.5.0.ebuild create mode 100644 dev-python/awxkit/awxkit-20.0.1.ebuild create mode 100644 dev-python/bandit/bandit-1.7.4.ebuild create mode 100644 dev-python/boto3/boto3-1.21.15.ebuild create mode 100644 dev-python/botocore/botocore-1.24.15.ebuild create mode 100644 dev-python/brython/brython-3.10.5.ebuild delete mode 100644 dev-python/catkin_pkg/catkin_pkg-0.4.23-r1.ebuild create mode 100644 dev-python/catkin_pkg/catkin_pkg-0.4.24.ebuild create mode 100644 dev-python/cfn-lint/cfn-lint-0.58.3.ebuild create mode 100644 dev-python/cftime/cftime-1.6.0.ebuild create mode 100644 dev-python/csvkit/csvkit-1.0.7.ebuild create mode 100644 dev-python/cvxopt/cvxopt-1.3.0.ebuild create mode 100644 dev-python/dnspython/dnspython-2.2.1.ebuild create mode 100644 dev-python/dulwich/dulwich-0.20.33.ebuild create mode 100644 dev-python/elementpath/elementpath-2.5.0.ebuild create mode 100644 dev-python/emoji/emoji-1.7.0.ebuild create mode 100644 dev-python/flask-compress/flask-compress-1.11.ebuild create mode 100644 dev-python/freezegun/freezegun-1.2.0.ebuild create mode 100644 dev-python/github3/github3-3.2.0.ebuild create mode 100644 dev-python/google-api-core/google-api-core-2.7.0.ebuild create mode 100644 dev-python/hypothesis/hypothesis-6.39.3.ebuild create mode 100644 dev-python/iminuit/iminuit-2.10.0.ebuild create mode 100644 dev-python/itsdangerous/itsdangerous-2.1.1.ebuild create mode 100644 dev-python/keystoneauth/keystoneauth-4.5.0.ebuild create mode 100644 dev-python/mkdocs-material/mkdocs-material-8.2.2.ebuild create mode 100644 dev-python/mkdocs-material/mkdocs-material-8.2.5.ebuild create mode 100644 dev-python/networkx/networkx-2.7.1.ebuild delete mode 100644 dev-python/nuitka/nuitka-0.6.19.4.ebuild delete mode 100644 dev-python/nuitka/nuitka-0.6.19.5.ebuild delete mode 100644 dev-python/nuitka/nuitka-0.6.19.6.ebuild delete mode 100644 dev-python/nuitka/nuitka-0.6.19.7.ebuild create mode 100644 dev-python/nuitka/nuitka-0.7.3.ebuild delete mode 100644 dev-python/nuitka/nuitka-0.7.ebuild create mode 100644 dev-python/peewee/peewee-3.14.10.ebuild create mode 100644 dev-python/podman-py/podman-py-4.0.0.ebuild create mode 100644 dev-python/poetry-core/poetry-core-1.0.8.ebuild create mode 100644 dev-python/prettytable/prettytable-3.2.0.ebuild create mode 100644 dev-python/py-amqp/py-amqp-5.1.0.ebuild create mode 100644 dev-python/pycountry/files/pycountry-22.3.5-fix-tests-for-pypy3.patch create mode 100644 dev-python/pycountry/pycountry-22.3.5.ebuild create mode 100644 dev-python/pydevd/pydevd-2.8.0.ebuild create mode 100644 dev-python/pyghmi/pyghmi-1.5.36.ebuild create mode 100644 dev-python/pyglet/pyglet-1.5.22.ebuild create mode 100644 dev-python/pylru/pylru-1.2.1.ebuild create mode 100644 dev-python/pytest-asyncio/pytest-asyncio-0.18.2.ebuild create mode 100644 dev-python/pytest-flake8/pytest-flake8-1.1.0.ebuild create mode 100644 dev-python/python-openstackclient/python-openstackclient-5.8.0.ebuild create mode 100644 dev-python/pytools/pytools-2022.1.1.ebuild create mode 100644 dev-python/pyzotero/pyzotero-1.5.2.ebuild create mode 100644 dev-python/readme_renderer/readme_renderer-33.0.ebuild create mode 100644 dev-python/regex/regex-2022.3.2.ebuild create mode 100644 dev-python/responses/responses-0.19.0.ebuild create mode 100644 dev-python/sentry-sdk/sentry-sdk-1.5.7.ebuild create mode 100644 dev-python/sqlitedict/sqlitedict-2.0.0.ebuild create mode 100644 dev-python/test_server/test_server-0.0.40.ebuild create mode 100644 dev-python/testfixtures/testfixtures-6.18.5.ebuild create mode 100644 dev-python/twisted/twisted-22.2.0.ebuild create mode 100644 dev-python/versioneer/versioneer-0.22.ebuild create mode 100644 dev-python/virtualenv/virtualenv-20.13.3.ebuild create mode 100644 dev-python/waitress/waitress-2.1.0.ebuild create mode 100644 dev-python/zeroconf/zeroconf-0.38.4.ebuild create mode 100644 dev-python/zope-testing/zope-testing-4.10.ebuild (limited to 'dev-python') diff --git a/dev-python/Faker/Faker-13.3.1.ebuild b/dev-python/Faker/Faker-13.3.1.ebuild new file mode 100644 index 000000000000..82f7f26346c4 --- /dev/null +++ b/dev-python/Faker/Faker-13.3.1.ebuild @@ -0,0 +1,30 @@ +# Copyright 2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=setuptools +PYTHON_COMPAT=( python3_{7,8,9,10} ) + +inherit distutils-r1 + +DESCRIPTION="A Python package that generates fake data for you" +HOMEPAGE="https://github.com/joke2k/faker" +SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64 ~x86" + +RDEPEND=" + >=dev-python/python-dateutil-2.4.2[${PYTHON_USEDEP}] + !dev-ruby/faker" +BDEPEND=" + test? ( + dev-python/freezegun[${PYTHON_USEDEP}] + dev-python/pillow[${PYTHON_USEDEP},tiff] + dev-python/random2[${PYTHON_USEDEP}] + dev-python/validators[${PYTHON_USEDEP}] + )" + +distutils_enable_tests pytest diff --git a/dev-python/Faker/Manifest b/dev-python/Faker/Manifest index 4c9b1c2d8b46..f207d08f2a80 100644 --- a/dev-python/Faker/Manifest +++ b/dev-python/Faker/Manifest @@ -3,3 +3,4 @@ DIST Faker-12.3.0.tar.gz 1451569 BLAKE2B 2ac2d26451df5c13d0e9712e2179b067557dd3e DIST Faker-12.3.3.tar.gz 1450680 BLAKE2B 4fea547e1fa2b4525d023201bc78117f698eaee206aec8db1af92c66cc78e2c0346364c738bd27ffb0236c124ef092a29cf088ee9de0bfdb669c8c889694fa72 SHA512 e7e340799143ef411670d2cafb24d380a57f5263b3dbfa90328c9096638e59932bbbbc6f3cdf312443e85f0e9dfe9672250ae698cee1c88ab2e83141f879d346 DIST Faker-13.0.0.tar.gz 1450916 BLAKE2B 59bd53175141250f1ed07e89fb4233a99e642bfb3a502a0db831838d675e05dde3a038cb063147638b79ffc45a5c948d8ae9220cba23096bc2865efc78f696e9 SHA512 515190226604e4f7b198a68491719ec4e58afa6b24e8a03c1bce355689f1f1e7899b74137d0fb2b8e17f3b5c496292e1b0ec21db139dba107b56e47db0d4124e DIST Faker-13.2.0.tar.gz 1455143 BLAKE2B 1d1bbfbe33d8e15c40beae53631f58b575610a6ef9d351a926d226a86a30849e61854b400f0703d37ef02d401b325d7f4e3ad9323a2096b97ad660dbb8935d6e SHA512 e1f8f823e926197a45aba015e9750f898a359fbf1973ae4735f2b2479e58cee2065a941fcf7e66f25f2f89cedf9b5d6f3e902805a14f11a33c8ab22846126970 +DIST Faker-13.3.1.tar.gz 1474346 BLAKE2B f6ccb4c574b4b0ba2437d2455a4d08f37d1f5df93cff75e3ce2a74c0f29fe564e779ad3230ac65bcd6b693b7f8f9e3507e4656157c542593792dfc855369bdba SHA512 e4b468af67f637d40c5039db095a032e46dcda32b3b96ae180149d27b92a909278fc2090ae6fe70f82f589794c486662ba672e16a60eaeebfc9b3901c02f5336 diff --git a/dev-python/argparse-manpage/Manifest b/dev-python/argparse-manpage/Manifest index e37dc09dc8ac..6a7cf556053e 100644 --- a/dev-python/argparse-manpage/Manifest +++ b/dev-python/argparse-manpage/Manifest @@ -1,3 +1,4 @@ DIST argparse-manpage-1.5.tar.gz 34290 BLAKE2B 598a0eb0d4816a764c1ba4093b18e28d7865c9a113db1910793748eb24394636a9e1caad86fef5416933ae5341026048d1e39ce928131a8796a5d66a40e36853 SHA512 bfdea19fa62ac029754d6df26c4fb51c18f7fee4fae681c1117253627e724cf1ff1db5196ad0690fd436cebbe403536905f157cb7eae7be50d321c663b491fd0 DIST argparse-manpage-2.1.tar.gz 39889 BLAKE2B 9c534b775e59064062d91587e275acf0af343cef864009e290c9a5224e481cd2f7cde87e85b2b0135483d6119e711cd6668d8455315eeb2a28d335c8ef37e3ae SHA512 aed2908bec8f6bee0f8619c6d5cff742fdac0f44ab7f65b8d0c1aa3409ec0335ce763cd2177b2606111b9ba5fe43698b04ace43f9017034cf99a7142eccd9ea0 +DIST argparse-manpage-2.2.tar.gz 39963 BLAKE2B 3ba427653c51265be944309dbd94368b9e62f46ec9fa3315a9b7da2de1fc6ae3399408488b74fb1c62ed39f70034d6429f3825c0857b07b71c277922870fbc13 SHA512 1708d33633405f1c4b9c96acd78cdbc5e3465089c7de0c5d0654f9f70ac1b7176f3798fd8bd8e7c0f2163b28dcc6d41ea2b68f2e2b03652677af3ba945d14588 DIST argparse-manpage-2.tar.gz 38279 BLAKE2B 24edcb71aed7731178d24e99a36baf8be2270f6d4da0d884610da294d44313d913f8aa2db381eae77409ec504b18346688d5f7f27257285b7aa92d453b1a58f1 SHA512 24854cd5209635e8938716f97cb4eb283152a2a109c554385a78a5145c6e0f38c76a9172d607fb3ffdf610e8d3f7270ed94f6b4612ce731ea9dafe0a1bebebe6 diff --git a/dev-python/argparse-manpage/argparse-manpage-2.2.ebuild b/dev-python/argparse-manpage/argparse-manpage-2.2.ebuild new file mode 100644 index 000000000000..9ed15b5a6102 --- /dev/null +++ b/dev-python/argparse-manpage/argparse-manpage-2.2.ebuild @@ -0,0 +1,28 @@ +# Copyright 2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=setuptools +PYTHON_COMPAT=( python3_{7,8,9,10} ) +inherit distutils-r1 + +DESCRIPTION="Automatically build man-pages for your Python project" +HOMEPAGE="https://github.com/praiskup/argparse-manpage https://pypi.org/project/argparse-manpage/" +SRC_URI="https://github.com/praiskup/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="Apache-2.0" +SLOT="0" +KEYWORDS="~amd64 ~ppc ~sparc ~x86" + +BDEPEND=" + test? ( + dev-python/pip[${PYTHON_USEDEP}] + )" + +distutils_enable_tests pytest + +python_test() { + local -x COLUMNS=80 + epytest +} diff --git a/dev-python/asn1crypto/Manifest b/dev-python/asn1crypto/Manifest index e47867e63666..258547d0420d 100644 --- a/dev-python/asn1crypto/Manifest +++ b/dev-python/asn1crypto/Manifest @@ -1 +1,2 @@ DIST asn1crypto-1.4.0.gh.tar.gz 672812 BLAKE2B 7545d424c244c04c2639df45e0bb56c50de95d0a7ee1e56933720dd7215c2be2608ac7889e2e901785592592e9ac6cb116fff3cd00536903c392a9e3912fc08a SHA512 989e4e0650252c29477d71263549b99f2c51c87f0768c20264b3de65f32edd8e7922e8af23bb1a7e29567a4ad8c4c5d596cdf7db3c766352c7f19d4f93361cd0 +DIST asn1crypto-1.5.0.gh.tar.gz 686107 BLAKE2B 9a21c50b5b2c0504178efa0cd5389d004595020ee87b7a5c8e469f9c2de8eb75817d507cd2f8fd0515087d63ca8b135f4c3b85db418997ccbff286e2551c0a1c SHA512 2045ae0ddf777c7a6bc6ba946f457e6a2561d4ebe8fa0ad5b6663af345c6a232a4fd1751dcad6e3c4a99b56c06148801485fb81f1a48e04b1b711dda9d6d0e54 diff --git a/dev-python/asn1crypto/asn1crypto-1.5.0.ebuild b/dev-python/asn1crypto/asn1crypto-1.5.0.ebuild new file mode 100644 index 000000000000..887510e8f31b --- /dev/null +++ b/dev-python/asn1crypto/asn1crypto-1.5.0.ebuild @@ -0,0 +1,20 @@ +# Copyright 1999-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +PYTHON_COMPAT=( python3_{7,8,9,10} pypy3 ) +PYTHON_REQ_USE="threads(+)" + +inherit distutils-r1 + +DESCRIPTION="Python ASN.1 library with a focus on performance and a pythonic API" +HOMEPAGE="https://github.com/wbond/asn1crypto/ https://pypi.org/project/asn1crypto/" +# pypi tarball does not have tests +SRC_URI="https://github.com/wbond/asn1crypto/archive/${PV}.tar.gz -> ${P}.gh.tar.gz" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sparc ~x86 ~x64-cygwin ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris" + +distutils_enable_tests unittest diff --git a/dev-python/awxkit/Manifest b/dev-python/awxkit/Manifest index b7f01b12f70a..7699135f959b 100644 --- a/dev-python/awxkit/Manifest +++ b/dev-python/awxkit/Manifest @@ -1 +1,2 @@ DIST awxkit-19.4.0.tar.gz 95558 BLAKE2B fa8f408e310ba819e6d8a326e67dddac44ffe0fec2ff3018e8eeeda269c50257689b221785f27c897f526e6f5180c49aa506be6b85e01602b0d7d1dcd88a6987 SHA512 c6c6cf897128153fbb1dac77d50028a7649b97278394384bf5a549c1583b9c89b694f1ce2c850d0b072a4a7142a9b906edfba8d3a68cb446c73a13e3e33c0a61 +DIST awxkit-20.0.1.gh.tar.gz 15896876 BLAKE2B b1ad083e8aa5075b2acd03fe588223186e96f7a09451dec471f58fc463717079840368ad770c3bbcc819fdf7b148fcfdc098baa72dae923d3a3db514318c8a5e SHA512 caa6092bb2d47c9027fd20e42207f4e4fd431afaaec88afd498d0f535545f99dbd9186338e803d33e3cbaa3fcb4e44f29d6d7688b2c22f9393438aae3c9c6ed3 diff --git a/dev-python/awxkit/awxkit-20.0.1.ebuild b/dev-python/awxkit/awxkit-20.0.1.ebuild new file mode 100644 index 000000000000..ca90fcd61c96 --- /dev/null +++ b/dev-python/awxkit/awxkit-20.0.1.ebuild @@ -0,0 +1,39 @@ +# Copyright 2021-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=setuptools +PYTHON_COMPAT=( python3_{7,8,9,10} ) +inherit distutils-r1 + +DESCRIPTION="Command line interface for Ansible AWX" +HOMEPAGE="https://github.com/ansible/awx" +SRC_URI="https://github.com/ansible/awx/archive/${PV}.tar.gz -> ${P}.gh.tar.gz" +S="${WORKDIR}/awx-${PV}/awxkit" + +LICENSE="Apache-2.0" +SLOT="0" +KEYWORDS="~amd64" + +RDEPEND=" + dev-python/cryptography[${PYTHON_USEDEP}] + dev-python/pyyaml[${PYTHON_USEDEP}] + dev-python/requests[${PYTHON_USEDEP}] + dev-python/urllib3[${PYTHON_USEDEP}] + dev-python/websocket-client[${PYTHON_USEDEP}] +" +BDEPEND=" + dev-python/setuptools_scm[${PYTHON_USEDEP}] +" + +distutils_enable_tests pytest + +src_prepare() { + export SETUPTOOLS_SCM_PRETEND_VERSION=${PV} + + sed -e 's|websocket-client==[[:digit:]\.]*|websocket-client|' \ + -e "/'clean'/d" \ + -i setup.py || die + distutils-r1_src_prepare +} diff --git a/dev-python/bandit/Manifest b/dev-python/bandit/Manifest index 5d7fd5714ebd..39d9c1e94443 100644 --- a/dev-python/bandit/Manifest +++ b/dev-python/bandit/Manifest @@ -1,2 +1,3 @@ DIST bandit-1.7.2.tar.gz 497104 BLAKE2B 235e8c29658db9b0916b2108a46931581384851650217a7e368f06fe9225aadf181b320a75061387b277d1e3ff3f1d38fe6d07be14f7c7d056fa06e8db84e4e4 SHA512 fde27d409dcb867285f3c7a9ee88a079dae58211e17c2157601bbff9e9144e604def3c0179a7c9016266bdf70ed9da9ca519641f4aca4e76a30859c8e01177b9 DIST bandit-1.7.3.tar.gz 495009 BLAKE2B fb31ae7a5115ec98ba9b62100a2601552e6ca54b9f57fe61e0bb3f2b4b107cc83c25425a43e2681a1e83d7606e209089cbfa95068bb3dc0f35f188b75a307390 SHA512 4a95c67185446ba4250bb2e37dcafb423d4985952122793a698788f8d973ac700964dce0603b5d547d4b74f82272593bc72be266c34ec73af903f3d016015148 +DIST bandit-1.7.4.tar.gz 495104 BLAKE2B 5531a602dea877745ebdecf768fa83e0e478c52d472fbfdf98fec32c73a76a73e4f6dd957be760b4757e47c5f9cc25f6cd2f6c593df1e54165e647950a9f8a54 SHA512 93e1a25fd41e9409971f4cbac2ff73971ba270936a6b2aeecb3e0a2aa2015bcefd5eaab3cc94b2d9d96e4604d1a39c5ca1150c9eadd073357a90c5265c592407 diff --git a/dev-python/bandit/bandit-1.7.4.ebuild b/dev-python/bandit/bandit-1.7.4.ebuild new file mode 100644 index 000000000000..b8207362b981 --- /dev/null +++ b/dev-python/bandit/bandit-1.7.4.ebuild @@ -0,0 +1,37 @@ +# Copyright 1999-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=setuptools +PYTHON_COMPAT=( python3_{7,8,9,10} ) + +inherit distutils-r1 + +DESCRIPTION="A security linter from OpenStack Security" +HOMEPAGE="https://github.com/PyCQA/bandit" +SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" + +LICENSE="Apache-2.0" +SLOT="0" +KEYWORDS="~amd64 ~arm ~arm64 ~s390 ~x86" + +RDEPEND=" + >=dev-python/pbr-2.0.0[${PYTHON_USEDEP}] + >=dev-python/GitPython-1.0.1[${PYTHON_USEDEP}] + >=dev-python/pyyaml-5.3.1[${PYTHON_USEDEP}] + >=dev-python/stevedore-1.20.0[${PYTHON_USEDEP}] +" +BDEPEND=" + >=dev-python/pbr-2.0.0[${PYTHON_USEDEP}] + test? ( + >=dev-python/fixtures-3.0.0[${PYTHON_USEDEP}] + >=dev-python/testscenarios-0.5.0[${PYTHON_USEDEP}] + >=dev-python/testtools-2.3.0[${PYTHON_USEDEP}] + >=dev-python/beautifulsoup4-4.8.0[${PYTHON_USEDEP}] + >=dev-python/pylint-1.9.4[${PYTHON_USEDEP}] + dev-python/toml[${PYTHON_USEDEP}] + ) +" + +distutils_enable_tests unittest diff --git a/dev-python/boto3/Manifest b/dev-python/boto3/Manifest index 9fc3a23275ec..ac797f90fa86 100644 --- a/dev-python/boto3/Manifest +++ b/dev-python/boto3/Manifest @@ -5,6 +5,7 @@ DIST boto3-1.20.49.tar.gz 466426 BLAKE2B 82f2ed7f14576afd5a4d2dab91b99986904fef9 DIST boto3-1.20.54.tar.gz 468340 BLAKE2B 4b7406411200f7af7768c2ed213d623ff6ce607451abd9242c1fd3654132445bc40fd7d608ef9adad143883755e6729f42c223ace2037aca886ecc38f130d166 SHA512 8d82a433eae2b57fe5b3057d42f25769cf70f5e24db1b680c32a34e605caf573e273daae82164c746a6f6cf2c75d67e19bf99efd6ebe27d195aeb67dd8555808 DIST boto3-1.21.0.tar.gz 468664 BLAKE2B 7d118b2d91a7d8fa38c27a218fc2eb8e8964f0974ddbaf84b92a9bf2ada884738b22d603fe9665ee27191508ea916e1bb8aeaa2eafb43162b7bbf0c48424415e SHA512 b3f9831c43dd3223dd72daeb4aeba9483927913570ffaee7d2d19736dca4fe587cca8703e8ec887440bc0abba55c0094bc2cf824f3e1982b626af11acec18290 DIST boto3-1.21.1.tar.gz 469079 BLAKE2B c2a30539709c7c9741e3a34d5d352a31a0997cfadc29bb3b86c32c602229077414485b77c58718f2a519a5bb2ec8a3d7bfe1d6ef2daf26a8a4ae3c804c636464 SHA512 a94d195cbcee2b18877502eca9a79f231519f63712c7522ede23357d1117885e1fd2cce91d3698527d7f19140e08d68dd7272ef1278b9cbad86c77d81aa2661b +DIST boto3-1.21.15.tar.gz 476516 BLAKE2B 306c7ee69dec5ff1fbd76ed32aaebdf0f52cdc49df600562f49cd543e5f331c6dbf88001070022043b9fd01c651af83b1c8c0966292c90791831f2e9d9fc4a84 SHA512 9d431fcbdcd42658cd52094b97c151fd10a68f2c83a457dccdf7991c8358c17b32faa09e3941f6d6e72bad8cda1b93dcfae8d78585dae43790c0ec248f0ab15d DIST boto3-1.21.2.tar.gz 469425 BLAKE2B a49c1280610bcb0564ad357570712224abdc032e807926be7bc0d0652503381b2b854e94ced12c95765f9c30ff62128ec0bff4d38d33e8a7a3d5a8d397de084b SHA512 bcd578c8b0665fc2951897d67279a7075d451a47cad70b59047c1cf66e26fd07f9f90ff8c69f9bc21038042dc6398944c02ebcc355dc8750d0613a11a0c3a2c6 DIST boto3-1.21.3.tar.gz 469833 BLAKE2B 97efa041762cbb1b2f493195ca680a6c1631c6f599c631ec33939295d41df03ff1faae2d9178e60a34343a9b2fba33759cbd3d07222e8fabdc923e1a7dc8464f SHA512 57552b96dad6694dc7df34a83fa3822843e9f912c92146e1d11e2bf66fc85c89624752207389a612fa672556a9a02d62af573cbc9c2e264a97e933eb7f18a728 DIST boto3-1.21.4.tar.gz 470233 BLAKE2B 3e6d8c5264ac66829e468633700e155ac935aae9fb148d892c90bb629699a4fd726f4e73aa399d98fafbffd71c215d141d682e49850f6d046a4513ab6dda8208 SHA512 2366cb0c415ee0497912a2369b3f3981562324556f5e7137d0b52069c63c778406802e2434bec122a047ac14dbdc44e51f6bc3c90fcee12d315aa30c21d45f0c diff --git a/dev-python/boto3/boto3-1.21.15.ebuild b/dev-python/boto3/boto3-1.21.15.ebuild new file mode 100644 index 000000000000..18b68d93f6ed --- /dev/null +++ b/dev-python/boto3/boto3-1.21.15.ebuild @@ -0,0 +1,62 @@ +# Copyright 1999-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=setuptools +PYTHON_COMPAT=( python3_{7,8,9,10} ) +inherit distutils-r1 multiprocessing + +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 + BOTOCORE_PV=${PV} +else + SRC_URI="https://github.com/boto/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz" + KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~ppc64 ~riscv ~sparc ~x86 ~amd64-linux ~x86-linux" + + # botocore is x.(y+3).z + BOTOCORE_PV="$(ver_cut 1).$(( $(ver_cut 2) + 3)).$(ver_cut 3-)" +fi + +RDEPEND=" + >=dev-python/botocore-${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}] + dev-python/pytest-xdist[${PYTHON_USEDEP}] + ) +" + +distutils_enable_sphinx docs/source \ + 'dev-python/guzzle_sphinx_theme' +distutils_enable_tests pytest + +python_prepare_all() { + # don't lock versions to narrow ranges + sed -e '/botocore/ d' \ + -e '/jmespath/ d' \ + -e '/s3transfer/ d' \ + -i setup.py || die + + # do not rely on bundled deps in botocore (sic!) + find -name '*.py' -exec sed -i \ + -e 's:from botocore[.]vendored import:import:' \ + -e 's:from botocore[.]vendored[.]:from :' \ + {} + || die + + distutils-r1_python_prepare_all +} + +python_test() { + epytest tests/{functional,unit} \ + -n "$(makeopts_jobs "${MAKEOPTS}" "$(get_nproc)")" +} diff --git a/dev-python/botocore/Manifest b/dev-python/botocore/Manifest index bb7100517bd7..121446312686 100644 --- a/dev-python/botocore/Manifest +++ b/dev-python/botocore/Manifest @@ -5,6 +5,7 @@ DIST botocore-1.23.49.tar.gz 8758361 BLAKE2B 5e53366fdd705e81af6752665f3078e26d5 DIST botocore-1.23.54.tar.gz 8766494 BLAKE2B 27af2f4575fc133a253a4fe0671375f0389a0d526912e63b33a4cc5ee0cfa1898c27b52a53c9f4a496d6034f8d120e96616dd14e037f39dd67a410b8445391a4 SHA512 c986a8c346aea4bda5fc8bbcc02a7fe9ef83c2b278a81f4e6adc865add4e903e097b6f774a3f0716519ced9594ccc792656ffb8adc150be69d1fc2f94d83689a DIST botocore-1.24.0.tar.gz 8767222 BLAKE2B 9cdcb7677544230f006783d5a666c39c0ec27cf4f854f5dd47865ed8a42ad416b764e81e2b4b539c3a54934cf254f33ced562cd933cd2bd37c36dda0d16afe9b SHA512 1a60073f825cbbe50a8a45c1630391ee0c40646e520e60aef67698f121d1cc31ca5d9ff034ba5c05560193bf24438b5541e9b06c75b9d13888685565d01ff5b9 DIST botocore-1.24.1.tar.gz 8768807 BLAKE2B 649633afa85cab9fb248ed9907e2ea3e57aae7325f4f53271669fbb7fa3f6932ce693878905bfe09e1dd1102a05e4be9dec58f9d3f53778a759c5afd85be6e32 SHA512 192113e6d072897d6eead85d31f44ee3051ab4610718cbb7b49bfc1e1b884fda9b9f793445275d6ecd678fea12b789fa137c41d1effcafd2ab50cbce81a57927 +DIST botocore-1.24.15.tar.gz 8820413 BLAKE2B 1a842d811b0471ee6881fc6fbae9726912636c9a83ed9e1395ae96705f6ef47cbb5d6b134a011da747951b7570e722af5a60c949e9301d509a79f431a797ca70 SHA512 d614d6f065a77e5d4dda9c8dbe401feae4e83398c5d2508b0807984fc8783b31cd6c507663c90a08daa5ccbf95b450633928599cd340227ab5dc90ea00fa1bbe DIST botocore-1.24.2.tar.gz 8770474 BLAKE2B ed0f5920ae29bc5d51ca5d304f3cc13feb3ca45667d397f77e982d283f1b5551eccdbf41c0e274f56c59cca3398e47c6790d97374f189d4a9411107b0fd7490c SHA512 93811544f756419d6a0a9f49dc836e8c580c7c8ab49f90a541f2f8a24203959976a974056a0953f4d137a19254059e25c356843fb5df91a6d752d23c004f0c34 DIST botocore-1.24.3.tar.gz 8770454 BLAKE2B 35c77a5a65a75844594673d3a1af23b087cf88ed7c61177a3f422d4261f907c9ccd1b3beb9eb6f67dcc23084b27078d49e34102ebaa2b868da8b19b1c6e677b4 SHA512 313a1a94b985641257b3ee6b7dbfab88fd28efbfcec2cee6e5826ee6e65b174892c9ad9afa2b46caa4b262feb1e731823875d8981c6bd092f5f423ad4cac9430 DIST botocore-1.24.4.tar.gz 8775103 BLAKE2B c23256daab72fd60dbc9c3cb665816970bb168d6e63e0d53bc16dbda6cdeec30a87a864a6a3107f104c3e9d7aabdd1bbe5e43105a8fccad606cf5ac250282738 SHA512 73a717b454ce715446e75852b37207691118106e45fd0484101527adbb7e9062d78b200bb650e183bb1a40c0a4d9b0e1c9cc8621e5b5c2d9e7a5de6d46c34297 diff --git a/dev-python/botocore/botocore-1.24.15.ebuild b/dev-python/botocore/botocore-1.24.15.ebuild new file mode 100644 index 000000000000..94a3d0fe8785 --- /dev/null +++ b/dev-python/botocore/botocore-1.24.15.ebuild @@ -0,0 +1,67 @@ +# Copyright 1999-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=setuptools +PYTHON_COMPAT=( python3_{7,8,9,10} ) +inherit distutils-r1 multiprocessing + +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 ~arm ~arm64 ~ppc ~ppc64 ~riscv ~sparc ~x86 ~amd64-linux ~x86-linux" +fi + +RDEPEND=" + dev-python/six[${PYTHON_USEDEP}] + dev-python/jmespath[${PYTHON_USEDEP}] + dev-python/python-dateutil[${PYTHON_USEDEP}] + >=dev-python/urllib3-1.25.4[${PYTHON_USEDEP}] +" +BDEPEND=" + test? ( + dev-python/jsonschema[${PYTHON_USEDEP}] + dev-python/pytest-xdist[${PYTHON_USEDEP}] + ) +" + +PATCHES=( + "${FILESDIR}/1.8.6-tests-pass-all-env-vars-to-cmd-runner.patch" +) + +distutils_enable_sphinx docs/source \ + 'dev-python/guzzle_sphinx_theme' +distutils_enable_tests pytest + +src_prepare() { + # unpin deps + sed -i -e "s:>=.*':':" setup.py || die + + # unbundle deps + rm -r botocore/vendored || die + find -name '*.py' -exec sed -i \ + -e 's:from botocore[.]vendored import:import:' \ + -e 's:from botocore[.]vendored[.]:from :' \ + {} + || die + + distutils-r1_src_prepare +} + +python_test() { + local EPYTEST_DESELECT=( + # rely on bundled six + tests/functional/test_six_imports.py::test_no_bare_six_imports + tests/functional/test_six_threading.py::test_six_thread_safety + ) + + epytest tests/{functional,unit} \ + -n "$(makeopts_jobs "${MAKEOPTS}" "$(get_nproc)")" +} diff --git a/dev-python/brython/Manifest b/dev-python/brython/Manifest index cd9ef2e73c7d..3f4d6ba10270 100644 --- a/dev-python/brython/Manifest +++ b/dev-python/brython/Manifest @@ -1 +1,2 @@ +DIST brython-3.10.5.tar.gz 11106672 BLAKE2B 4219bdb99efd666e37ee08283e58f288e06dac52454931f72bcb4f3bf61a380fb1e01d724f49e598f6d7a95260609767d4536b5f04531939daaf93db6cdb23ad SHA512 7d2f50f94c9762d6587a9b0ed76805b14a5c2c89c0d27c7e181a3e3abdcdd28c9691fb80cd472f635f5bc6c36c884becd9a5625da4825d551b57b6b0779d3529 DIST brython-3.9.0.tar.gz 10232037 BLAKE2B 4dc70efa14174f90cddd72ba9c07afd7be4fc81cde3f9ace7b5f015acd4cc18e9ab222aded496523f7298cb7ecb93c1d691fda818ef9fe15fabbb876143af487 SHA512 fcacc6f5e959afd2c84980eb0a650028ad018f4ebda05c53ef0a73ef5a8e1b4a28b2940c08f6b5e82bb52975b671610ad47e42de0d6d3030a6b9f5af02784c20 diff --git a/dev-python/brython/brython-3.10.5.ebuild b/dev-python/brython/brython-3.10.5.ebuild new file mode 100644 index 000000000000..d3f3b5fc9360 --- /dev/null +++ b/dev-python/brython/brython-3.10.5.ebuild @@ -0,0 +1,38 @@ +# Copyright 1999-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=setuptools +PYTHON_COMPAT=( python3_{7,8,9,10} ) +inherit webapp python-single-r1 + +DESCRIPTION="Python 3 implementation for client-side web programming" +HOMEPAGE="http://www.brython.info" +SRC_URI="https://github.com/${PN}-dev/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="BSD" +KEYWORDS="~amd64 ~ppc ~ppc64 ~x86" + +REQUIRED_USE="${PYTHON_REQUIRED_USE}" + +RDEPEND="${PYTHON_DEPS}" + +need_httpd_cgi + +pkg_setup() { + webapp_pkg_setup + python-single-r1_pkg_setup +} + +src_install() { + dodoc LICENCE.txt README.md + rm -v LICENCE.txt README.md bower.json .{git*,tra*} server.py || die + + webapp_src_preinst + + insinto "${MY_HTDOCSDIR}" + doins -r . + + webapp_src_install +} diff --git a/dev-python/catkin_pkg/Manifest b/dev-python/catkin_pkg/Manifest index d9d6f350b0c9..c7f66fef7438 100644 --- a/dev-python/catkin_pkg/Manifest +++ b/dev-python/catkin_pkg/Manifest @@ -1 +1 @@ -DIST catkin_pkg-0.4.23-gh.tar.gz 64677 BLAKE2B 7bdd6e748561fd7e1193bdc85373e621bba0f1f80452c85c9d90d3b7cf758a83596376dae841b0ccac56a4ba7732111d464a47bc50cf4d9f29fb607f00ec66d7 SHA512 f388eb9ae588dc3a7b69d20fdba127081c9bfa24f7d5d01fee4cac7b57cfb05beb342a23e96052d4952dcb16be87495a9514edae57ea9d7c9742dce9a8a99dee +DIST catkin_pkg-0.4.24-gh.tar.gz 65113 BLAKE2B 554848e5e34a663b29246ec1109f228361cbb010d76d54e0b27107189382843e90babf24f8660dce4063324f78dff87286e31f5f1bb7db10aaa86e056c23de2d SHA512 7c746917876d5a9d8be6f187fc3d75e322ab158ff9fd1b9c661e0802504b188c59d47ad42320613e3aff26b83a6f239bb3dec5d0ab16dadd2ff1e26f73288e61 diff --git a/dev-python/catkin_pkg/catkin_pkg-0.4.23-r1.ebuild b/dev-python/catkin_pkg/catkin_pkg-0.4.23-r1.ebuild deleted file mode 100644 index a87aec2430aa..000000000000 --- a/dev-python/catkin_pkg/catkin_pkg-0.4.23-r1.ebuild +++ /dev/null @@ -1,46 +0,0 @@ -# Copyright 1999-2021 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=7 - -PYTHON_COMPAT=( python3_{7,8,9,10} pypy3 ) - -SCM="" -if [ "${PV#9999}" != "${PV}" ] ; then - SCM="git-r3" - EGIT_REPO_URI="https://github.com/ros-infrastructure/catkin_pkg" -fi - -inherit ${SCM} distutils-r1 - -DESCRIPTION="Standalone Python library for the catkin package system" -HOMEPAGE="https://wiki.ros.org/catkin_pkg" -if [ "${PV#9999}" != "${PV}" ] ; then - SRC_URI="" -else - SRC_URI="https://github.com/ros-infrastructure/catkin_pkg/archive/${PV}.tar.gz -> ${P}-gh.tar.gz" - KEYWORDS="~amd64 ~arm" -fi - -LICENSE="BSD" -SLOT="0" - -RDEPEND=" - dev-python/docutils[${PYTHON_USEDEP}] - dev-python/python-dateutil[${PYTHON_USEDEP}] - dev-python/pyparsing[${PYTHON_USEDEP}] - ! +Date: Thu Sep 17 13:01:07 2020 +0200 + + Do not rely on CPython-specific __builtins__ for tests + + This makes test_locales pass with PyPy3. + +diff --git a/src/pycountry/tests/test_general.py b/src/pycountry/tests/test_general.py +index ea697ae..ad1090f 100644 +--- a/src/pycountry/tests/test_general.py ++++ b/src/pycountry/tests/test_general.py +@@ -149,7 +149,7 @@ def test_locales(): + german = gettext.translation( + "iso3166", pycountry.LOCALES_DIR, languages=["de"]) + german.install() +- assert __builtins__["_"]("Germany") == "Deutschland" ++ assert _("Germany") == "Deutschland" + + + def test_removed_countries(): diff --git a/dev-python/pycountry/pycountry-22.3.5.ebuild b/dev-python/pycountry/pycountry-22.3.5.ebuild new file mode 100644 index 000000000000..cd2024ab364f --- /dev/null +++ b/dev-python/pycountry/pycountry-22.3.5.ebuild @@ -0,0 +1,26 @@ +# Copyright 1999-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=setuptools +PYTHON_COMPAT=( python3_{7,8,9,10} pypy3 ) +inherit distutils-r1 + +DESCRIPTION="Database of countries, subdivisions, languages, currencies and script" +HOMEPAGE="https://github.com/flyingcircusio/pycountry" +SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" + +LICENSE="LGPL-2.1" +SLOT="0" +KEYWORDS="~amd64 ~arm64 ~ia64 ~ppc ~riscv ~sparc ~x86" + +RDEPEND="dev-python/setuptools[${PYTHON_USEDEP}]" +BDEPEND="${RDEPEND}" + +distutils_enable_tests pytest + +# https://github.com/flyingcircusio/pycountry/pull/51 +PATCHES=( + "${FILESDIR}/pycountry-22.3.5-fix-tests-for-pypy3.patch" +) diff --git a/dev-python/pydevd/Manifest b/dev-python/pydevd/Manifest index e354506cf14d..1698c91646fb 100644 --- a/dev-python/pydevd/Manifest +++ b/dev-python/pydevd/Manifest @@ -1 +1,2 @@ DIST pydev_debugger_2_7_0.tar.gz 4154343 BLAKE2B 6504ffa5eee5548a6aa9e59712b6c0054b69c2e0f6ff48059ed8b2e3edb92ec92ea4e7f9ff084419b46310c4d08f11008571cbf70ccc4efddd0fae688e4110f5 SHA512 8f09b446eeaace1f9ecd3d331813e8bd7d8e09e1fe9dc9fa955ecc26a97ac6015f7becc4005a87405d1154280ec10eb7fa87914bcd41f27e51d90ad3eb99f643 +DIST pydev_debugger_2_8_0.tar.gz 4171117 BLAKE2B 4f0ea0eeb228cb66f71e2046438396ff5ce59b42e620a067bc515ff504fa2da151e05f8ea6cf2d1aaa0768122431ccb45708a88c0616fb2859e96671b172e822 SHA512 b0189f1824b52f8ad35d1d1cfba0bd734806541ae2ff4f410c110763201630d296d10c2b7eaac8c656dfb3ff0f3c31bfdf2de28323778000cc7821e123a877d3 diff --git a/dev-python/pydevd/pydevd-2.8.0.ebuild b/dev-python/pydevd/pydevd-2.8.0.ebuild new file mode 100644 index 000000000000..25eb3f2afb83 --- /dev/null +++ b/dev-python/pydevd/pydevd-2.8.0.ebuild @@ -0,0 +1,88 @@ +# Copyright 1999-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=setuptools +PYTHON_COMPAT=( python3_{7,8,9,10} ) +inherit distutils-r1 toolchain-funcs + +MY_P="pydev_debugger_${PV//./_}" + +DESCRIPTION="PyDev.Debugger (used in PyDev, PyCharm and VSCode Python)" +HOMEPAGE="https://github.com/fabioz/PyDev.Debugger/" +SRC_URI="https://github.com/fabioz/PyDev.Debugger/archive/${MY_P}.tar.gz" +S="${WORKDIR}/PyDev.Debugger-${MY_P}" + +LICENSE="EPL-1.0" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86" + +# After removing and recompiling the prebuilt lib the tests fail? +# For some reason the test suite is executing a slightly different gdb command +# then before, which is lacking the file name of the lib that was pre built: +# gdb: No symbol table is loaded. Use the "file" command +# This also happens outside of portage so it is not related to any *FLAGS +RESTRICT="test" + +BDEPEND=" + test? ( + dev-python/untangle[${PYTHON_USEDEP}] + dev-python/numpy[${PYTHON_USEDEP}] + dev-python/psutil[${PYTHON_USEDEP}] + ) +" + +# Block against the version of debugpy that still bundles pydevd +RDEPEND=" + ! "${D}$(python_get_sitedir)"/twisted/plugins/dropin.cache || die + + python_doscript "${WORKDIR}"/twisted-regen-cache +} + +python_install_all() { + distutils-r1_python_install_all + + newconfd "${FILESDIR}/twistd.conf" twistd + newinitd "${FILESDIR}/twistd.init" twistd +} + +python_postinst() { + twisted-regen-cache || die +} + +pkg_postinst() { + python_foreach_impl python_postinst + + einfo "Install complete" + if use test ; then + einfo "" + einfo "Some tests have been disabled during testing due to" + einfo "known incompatibilities with the emerge sandboxes and/or" + einfo "not runnable as the root user." + einfo "For a complete test suite run on the code." + einfo "Run the tests as a normal user for each python it is installed to." + einfo " ie: $ python3.6 /usr/bin/trial twisted" + fi +} + +python_postrm() { + rm -f "${ROOT}$(python_get_sitedir)/twisted/plugins/dropin.cache" || die +} + +pkg_postrm() { + # if we're removing the last version, remove the cache file + if [[ ! ${REPLACING_VERSIONS} ]]; then + python_foreach_impl python_postrm + fi +} diff --git a/dev-python/versioneer/Manifest b/dev-python/versioneer/Manifest index c86611ee7490..3d6e7daec8db 100644 --- a/dev-python/versioneer/Manifest +++ b/dev-python/versioneer/Manifest @@ -1 +1,2 @@ DIST versioneer-0.21.tar.gz 50072 BLAKE2B 83b56dc61b7ba6dd1fb274f08b08e501ab0e209d915785c3a62d733524270a8bd1f60fb09dd3d97c2030fa4e8e154e8351de51beb17774189ae68c12fca1e12a SHA512 a75e68cf1d11ddca220e8e617cd4c2e17b20d8d683c9e6ab94e8470695eee8fa00f7b5a9cb5cfeabd984446dffab70cb7acc749296c235a6a6f1c815f1729583 +DIST versioneer-0.22.tar.gz 50847 BLAKE2B 3508ac89e65df7a936168fefc1a557191d9362ba69fc9b79eea495cb340c9e314ba5fbac28041bc502aee3adff555e56b43e4ff7fb0d682e96fc3e2ad6bddbad SHA512 f02d50a47c1990275ebf9e720bdb7f13e5fbfc344b361197ecb7602e5ff02e438e43983b4e1cbfde5aa6fa4328a1ffdac60009d6925cf027e484b0ce12587484 diff --git a/dev-python/versioneer/versioneer-0.22.ebuild b/dev-python/versioneer/versioneer-0.22.ebuild new file mode 100644 index 000000000000..3b6c38d45f96 --- /dev/null +++ b/dev-python/versioneer/versioneer-0.22.ebuild @@ -0,0 +1,36 @@ +# Copyright 1999-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=setuptools +PYTHON_COMPAT=( python3_{7,8,9,10} ) +inherit distutils-r1 + +DESCRIPTION="Easy VCS-based management of project version strings" +HOMEPAGE=" + https://pypi.org/project/versioneer/ + https://github.com/python-versioneer/python-versioneer/" +SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" + +SLOT="0" +LICENSE="public-domain" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux" +IUSE="test" +RESTRICT="!test? ( test )" + +BDEPEND=" + test? ( + dev-python/packaging[${PYTHON_USEDEP}] + dev-vcs/git + ) +" + +python_test() { + esetup.py make_versioneer + + git config --global user.email "you@example.com" || die + git config --global user.name "Your Name" || die + + "${EPYTHON}" test/git/test_git.py -v || die +} diff --git a/dev-python/virtualenv/Manifest b/dev-python/virtualenv/Manifest index 175310d32a99..cd7f2e9ce987 100644 --- a/dev-python/virtualenv/Manifest +++ b/dev-python/virtualenv/Manifest @@ -3,3 +3,4 @@ DIST virtualenv-20.12.1.tar.gz 9956052 BLAKE2B 1507e45de7d1383062b18a2796baf91be DIST virtualenv-20.13.0.tar.gz 9957090 BLAKE2B 7ff73c458b319c2a4545e6ad468cfdf3b4d48eec02f2d82843fd5276a0f97b72a953079849295ab2467fc78d6fb304774cac800b8744cbf7a295cc3fc4dbb433 SHA512 72aa8cffe92551479ad4ec93395597cd9f77ddaf2063e36d5836277199a96ab2d57236d94b99b7038a60ada103a2d8a37ae4b13ffaaa6ed8e786245d9fbbf6d6 DIST virtualenv-20.13.1.tar.gz 11990886 BLAKE2B 9db9504576406f7992f5ad132241e91042e57fc9b37b0a539c11a79499e1b6da9eea997fa9bbba85ba1e3e388b3dc9245bf02f4ee87408547590b9a34ff6f389 SHA512 97204361a308cced55b07b868b2039662b7c9d82cf4ecf64df18ff9723312e73bc9eb2a88937fb6b5f19c2bae3289784cf28bca46f138603fd55d8a76c6e2897 DIST virtualenv-20.13.2.tar.gz 12111439 BLAKE2B 956c5c7f1215bfb46279b29634ab0cab523bb44578077837bab47634495462ccc0f8010a438d3eeebfe6afec0900cfa14dd015dabbc31a8e56c9f34312f2f260 SHA512 7e5ef7927637ab1d029c8831889846acb13948c8cfafc17d56ca815f23f682207da0f3b3291936585a9b059c10ec35813fb53511f19462f867edaf5f197c0135 +DIST virtualenv-20.13.3.tar.gz 12152717 BLAKE2B 791eff66e02d0e7b563d68136cf9652ca0e7422cde94ddf558053778e7677937f7f3ddd9e2d6d0a5fd56c79d9061474685b39aa8519471cea230f4dc5ea71c83 SHA512 e9e05e6e6aba10bb6c0813484f508aede9fe2a78401272bb12ea68b80e8f4059f4292de51e37c2487efb92d27f6eeda6e108dd12f45623984966d8fe821352c0 diff --git a/dev-python/virtualenv/virtualenv-20.13.3.ebuild b/dev-python/virtualenv/virtualenv-20.13.3.ebuild new file mode 100644 index 000000000000..8b0e61e36817 --- /dev/null +++ b/dev-python/virtualenv/virtualenv-20.13.3.ebuild @@ -0,0 +1,97 @@ +# Copyright 1999-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=setuptools +PYTHON_COMPAT=( python3_{7,8,9,10} pypy3 ) + +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="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86" +SLOT="0" + +RDEPEND=" + >=dev-python/backports-entry_points_selectable-1.0.4[${PYTHON_USEDEP}] + >=dev-python/distlib-0.3.1[${PYTHON_USEDEP}] + >=dev-python/filelock-3[${PYTHON_USEDEP}] + >=dev-python/platformdirs-2[${PYTHON_USEDEP}] + >=dev-python/setuptools-41[${PYTHON_USEDEP}] + >=dev-python/six-1.9.0[${PYTHON_USEDEP}]" +# coverage is used somehow magically in virtualenv, maybe it actually +# tests something useful +BDEPEND=" + dev-python/setuptools_scm[${PYTHON_USEDEP}] + test? ( + dev-python/coverage[${PYTHON_USEDEP}] + dev-python/flaky[${PYTHON_USEDEP}] + >=dev-python/pip-20.0.2[${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}] + )" + +# (unpackaged deps) +#distutils_enable_sphinx docs \ +# dev-python/sphinx-argparse \ +# dev-python/sphinx_rtd_theme \ +# dev-python/towncrier +distutils_enable_tests pytest + +src_configure() { + export SETUPTOOLS_SCM_PRETEND_VERSION=${PV} +} + +python_test() { + local EPYTEST_DESELECT=( + tests/unit/activation/test_xonsh.py + tests/unit/seed/embed/test_bootstrap_link_via_app_data.py::test_seed_link_via_app_data + tests/unit/create/test_creator.py::test_cross_major + ) + [[ ${EPYTHON} == pypy3 ]] && EPYTEST_DESELECT+=( + 'tests/unit/create/test_creator.py::test_create_no_seed[root-pypy3-posix-copies-isolated]' + 'tests/unit/create/test_creator.py::test_create_no_seed[root-pypy3-posix-copies-global]' + 'tests/unit/create/test_creator.py::test_create_no_seed[venv-pypy3-posix-copies-isolated]' + 'tests/unit/create/test_creator.py::test_create_no_seed[venv-pypy3-posix-copies-global]' + 'tests/unit/create/test_creator.py::test_create_no_seed[root-venv-copies-isolated]' + 'tests/unit/create/test_creator.py::test_create_no_seed[root-venv-copies-global]' + 'tests/unit/create/test_creator.py::test_create_no_seed[venv-venv-copies-isolated]' + 'tests/unit/create/test_creator.py::test_create_no_seed[venv-venv-copies-global]' + 'tests/unit/create/test_creator.py::test_zip_importer_can_import_setuptools' + 'tests/unit/discovery/py_info/test_py_info_exe_based_of.py::test_discover_ok[PyPy-3.7.9-64-bin-]' + 'tests/unit/discovery/py_info/test_py_info_exe_based_of.py::test_discover_ok[PyPy-3.7.9--bin-]' + 'tests/unit/discovery/py_info/test_py_info_exe_based_of.py::test_discover_ok[PyPy-3.7.10-64-bin-]' + 'tests/unit/discovery/py_info/test_py_info_exe_based_of.py::test_discover_ok[PyPy-3.7.10--bin-]' + 'tests/unit/discovery/py_info/test_py_info_exe_based_of.py::test_discover_ok[PyPy-3.7-64-bin-]' + 'tests/unit/discovery/py_info/test_py_info_exe_based_of.py::test_discover_ok[PyPy-3.7--bin-]' + 'tests/unit/discovery/py_info/test_py_info_exe_based_of.py::test_discover_ok[PyPy-3-64-bin-]' + 'tests/unit/discovery/py_info/test_py_info_exe_based_of.py::test_discover_ok[PyPy-3--bin-]' + 'tests/unit/discovery/py_info/test_py_info_exe_based_of.py::test_discover_ok[python-3.7.9-64-bin-]' + 'tests/unit/discovery/py_info/test_py_info_exe_based_of.py::test_discover_ok[python-3.7.9--bin-]' + 'tests/unit/discovery/py_info/test_py_info_exe_based_of.py::test_discover_ok[python-3.7.10-64-bin-]' + 'tests/unit/discovery/py_info/test_py_info_exe_based_of.py::test_discover_ok[python-3.7.10--bin-]' + 'tests/unit/discovery/py_info/test_py_info_exe_based_of.py::test_discover_ok[python-3.7-64-bin-]' + 'tests/unit/discovery/py_info/test_py_info_exe_based_of.py::test_discover_ok[python-3.7--bin-]' + 'tests/unit/discovery/py_info/test_py_info_exe_based_of.py::test_discover_ok[python-3-64-bin-]' + 'tests/unit/discovery/py_info/test_py_info_exe_based_of.py::test_discover_ok[python-3--bin-]' + ) + + epytest +} + +pkg_postinst() { + elog "Please note that while virtualenv package no longer supports" + elog "Python 2.7, you can still create py2.7 virtualenvs via:" + elog " $ virtualenv -p 2.7 ..." +} diff --git a/dev-python/waitress/Manifest b/dev-python/waitress/Manifest index 442145281cd5..6d078193c37a 100644 --- a/dev-python/waitress/Manifest +++ b/dev-python/waitress/Manifest @@ -1 +1,2 @@ DIST waitress-2.0.0.tar.gz 175641 BLAKE2B 819682a44f388cce3b77d31e5d1fb299db88d41a2a7b01e42d48554bff65c2ba165dae5d1e680cd2a46a1ebe6887f96f8b93d4bc18bd7527a48fd5c3aabab0bf SHA512 c046195431ca31ff5ad74638ff80022d23591a06265d195b82eb320bb20b2b1d2de261db5981a91556af9f9c3b2ad12bf42148e4dfd955ed764d9b3f9a71f058 +DIST waitress-2.1.0.tar.gz 176665 BLAKE2B f78dba19a64b975b396c5babbb7b11747004ed4522980663fd94db5908c9e8da80d54911dcfd211b7b486e09e84c6903f842a908ad50a731f54b092e17bccf0c SHA512 7a64664ab57bedde72bfcac3a31c6b8c858d33f6b75a439de9a47d201f9a5c663414f2617ef568beaed77c2acd221758ab4d27135600aa900f1e7b1933883f01 diff --git a/dev-python/waitress/waitress-2.1.0.ebuild b/dev-python/waitress/waitress-2.1.0.ebuild new file mode 100644 index 000000000000..e4f691f510c2 --- /dev/null +++ b/dev-python/waitress/waitress-2.1.0.ebuild @@ -0,0 +1,25 @@ +# Copyright 1999-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +DISTUTILS_USE_PEP517=setuptools +PYTHON_COMPAT=( python3_{7,8,9,10} pypy3 ) +inherit distutils-r1 + +DESCRIPTION="A pure-Python WSGI server" +HOMEPAGE="https://docs.pylonsproject.org/projects/waitress/en/latest/ + https://pypi.org/project/waitress/ + https://github.com/Pylons/waitress" +SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" + +LICENSE="ZPL" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~x64-macos" + +distutils_enable_tests pytest + +src_prepare() { + sed -i -e 's:--cov::' setup.cfg || die + distutils-r1_src_prepare +} diff --git a/dev-python/zeroconf/Manifest b/dev-python/zeroconf/Manifest index e98d79115eb9..5917219629d9 100644 --- a/dev-python/zeroconf/Manifest +++ b/dev-python/zeroconf/Manifest @@ -1,2 +1,3 @@ DIST python-zeroconf-0.38.1.gh.tar.gz 133094 BLAKE2B dae802e19b8b9488fc71cf482578be53c99bbb58580de987522e068b8d4042ac093225035bf5f7c2318c9a90bf5404e42f315cae095b0b4455ebd769facdcd81 SHA512 c60f03100c83e9327a910ad84aec768fb890453c21f9baf0fbbec96f0077c602c5e806e8a6047b87108f6d257942305a2ce76c984935ed3c000d83d2c44bb8d6 DIST python-zeroconf-0.38.3.gh.tar.gz 133187 BLAKE2B 2058a4e8b772b49e1e6c3dd55ca1ef1f73630724d22a253d7f14f63a361e58cff24a700dfdeeaac5ca1bed43490865885dbd8956ee58924b4f9b0c4ae3351131 SHA512 30adeb1d2dfb317224a78a7f23b64da6449b9f2e64bfebf6155711f65fb302327cb78c98afd646ae167f1fbda41b8a6c927f0d36278d266583bc5369af70f8e5 +DIST python-zeroconf-0.38.4.gh.tar.gz 133770 BLAKE2B 2b7b01112957ed9456acd7ef842a010d38b2a6e589b1714ed3fd47d2b51f448bf716bdd8511b0a3f4560cdcf0cc16bad06ac73f9a42b5c5cf4154b48cafdf97b SHA512 6b0df6fed453dab2e554d4af4d807eed1108fe50fdcc41096a11944577ee8cfa0a0b30491a1ebe6d95ddc5b78c3c0cb07bd34ef279fbfca70775628667f40212 diff --git a/dev-python/zeroconf/zeroconf-0.38.4.ebuild b/dev-python/zeroconf/zeroconf-0.38.4.ebuild new file mode 100644 index 000000000000..49814ef81e0c --- /dev/null +++ b/dev-python/zeroconf/zeroconf-0.38.4.ebuild @@ -0,0 +1,38 @@ +# Copyright 1999-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=setuptools +PYTHON_COMPAT=( python3_{7,8,9,10} ) + +inherit distutils-r1 + +MY_P=python-zeroconf-${PV} +DESCRIPTION="Pure Python Multicast DNS Service Discovery Library (Bonjour/Avahi compatible)" +HOMEPAGE=" + https://github.com/jstasiak/python-zeroconf/ + https://pypi.org/project/zeroconf/" +SRC_URI=" + https://github.com/jstasiak/python-zeroconf/archive/${PV}.tar.gz + -> ${MY_P}.gh.tar.gz" +S="${WORKDIR}/${MY_P}" + +LICENSE="LGPL-2.1" +SLOT="0" +KEYWORDS="~amd64 ~arm ~arm64 ~x86 ~amd64-linux ~x86-linux" + +RDEPEND=">=dev-python/ifaddr-0.1.7[${PYTHON_USEDEP}]" + +distutils_enable_tests pytest + +EPYTEST_DESELECT=( + tests/utils/test_asyncio.py::test_run_coro_with_timeout + # network + tests/test_core.py::Framework::test_close_multiple_times + tests/test_core.py::Framework::test_launch_and_close + tests/test_core.py::Framework::test_launch_and_close_context_manager + tests/test_core.py::Framework::test_launch_and_close_v4_v6 + tests/test_core.py::Framework::test_launch_and_close_v6_only + tests/services/test_types.py::ServiceTypesQuery::test_integration_with_listener_ipv6 +) diff --git a/dev-python/zope-testing/Manifest b/dev-python/zope-testing/Manifest index 092affe13b43..8c42f0d8f341 100644 --- a/dev-python/zope-testing/Manifest +++ b/dev-python/zope-testing/Manifest @@ -1 +1,2 @@ +DIST zope.testing-4.10.tar.gz 45359 BLAKE2B 477d28a7d1a76c0a5111f16859d9e3b9b9ac9cc953b0e2c7dd9ba0a39b498d71442d1b5aaf485455c919ad618efb1f9f9b8e1587fd4905c4a823b04ef09ef8b2 SHA512 35fd5114b6de3cb47336185feb8bf8f444b53ef2c32f165e57756a017ec9caba9a29f2ec01844ebcf156fff1c2b7424b3ac126b3e8d4daefe73e1a640d21589a DIST zope.testing-4.9.tar.gz 62294 BLAKE2B 34b2fc10e7220d88451b655d0e43f513d004779c496c824fa3e58b17c883a401f4707d5dbe7a547f1f97fe7db73b25cdf16997f2733b832ceabc37f1d5265397 SHA512 04b660aa93e120ae7e57bf637d99302d26912800ea3995a24c6d252ee4bd8e06fd8d4a24d980f591846d9bca93523373a92528ef492ff4d6990887ab6cf527d0 diff --git a/dev-python/zope-testing/zope-testing-4.10.ebuild b/dev-python/zope-testing/zope-testing-4.10.ebuild new file mode 100644 index 000000000000..cc6897d77ff3 --- /dev/null +++ b/dev-python/zope-testing/zope-testing-4.10.ebuild @@ -0,0 +1,32 @@ +# Copyright 1999-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=setuptools +PYTHON_COMPAT=( python3_{7,8,9,10} pypy3 ) +inherit distutils-r1 + +MY_PN=${PN/-/.} +MY_P=${MY_PN}-${PV} + +DESCRIPTION="Zope testing helpers" +HOMEPAGE="https://pypi.org/project/zope.testing/ + https://github.com/zopefoundation/zope.testing" +SRC_URI="mirror://pypi/${P::1}/${MY_PN}/${MY_P}.tar.gz" +S="${WORKDIR}/${MY_P}" + +LICENSE="ZPL" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris" + +RDEPEND="dev-python/namespace-zope[${PYTHON_USEDEP}]" + +distutils_enable_tests setup.py + +python_install_all() { + distutils-r1_python_install_all + + # remove .pth files since dev-python/namespace-zope handles the ns + find "${D}" -name '*.pth' -delete || die +} -- cgit v1.3