From 0272d79517902a1fb7d3486e48993ede1dc0ed68 Mon Sep 17 00:00:00 2001 From: "Liguros - Gitlab CI/CD [develop]" Date: Thu, 2 Mar 2023 09:35:39 +0000 Subject: Adding metadata --- dev-python/Faker/Faker-17.5.0.ebuild | 34 ++++++++++ dev-python/Faker/Manifest | 1 + .../ansible-compat/ansible-compat-2.2.7.ebuild | 2 +- .../ansible-compat/ansible-compat-3.0.1.ebuild | 4 +- dev-python/apsw/Manifest | 1 + dev-python/apsw/apsw-3.41.0.0.ebuild | 50 +++++++++++++++ dev-python/bareos/Manifest | 2 +- dev-python/bareos/bareos-21.1.5.ebuild | 18 ------ dev-python/bareos/bareos-21.1.6.ebuild | 18 ++++++ dev-python/boto3/Manifest | 1 + dev-python/boto3/boto3-1.26.82.ebuild | 68 ++++++++++++++++++++ dev-python/botocore/Manifest | 1 + dev-python/botocore/botocore-1.29.82.ebuild | 74 ++++++++++++++++++++++ dev-python/eradicate/Manifest | 1 + dev-python/eradicate/eradicate-2.2.0.ebuild | 25 ++++++++ dev-python/google-api-python-client/Manifest | 1 + .../google-api-python-client-2.80.0.ebuild | 52 +++++++++++++++ dev-python/jupyter_core/jupyter_core-5.1.5.ebuild | 2 +- dev-python/jupyter_core/jupyter_core-5.2.0.ebuild | 5 +- .../jupyter_server/jupyter_server-1.19.1.ebuild | 2 +- dev-python/jupyter_ydoc/jupyter_ydoc-0.2.2.ebuild | 2 +- dev-python/jupyter_ydoc/jupyter_ydoc-0.3.1.ebuild | 2 +- dev-python/jupyterlab/jupyterlab-3.5.3.ebuild | 2 +- dev-python/jupyterlab/jupyterlab-3.6.1-r1.ebuild | 5 +- .../jupyterlab_server-2.19.0.ebuild | 5 +- dev-python/myst-parser/Manifest | 2 + dev-python/myst-parser/metadata.xml | 11 ++++ .../myst-parser/myst-parser-0.18.1-r1.ebuild | 62 ++++++++++++++++++ dev-python/myst-parser/myst-parser-0.19.0.ebuild | 60 ++++++++++++++++++ dev-python/myst_parser/Manifest | 1 - dev-python/myst_parser/metadata.xml | 11 ---- .../myst_parser/myst_parser-0.18.1-r1.ebuild | 62 ------------------ dev-python/nbclassic/nbclassic-0.5.1.ebuild | 2 +- dev-python/nbclassic/nbclassic-0.5.2.ebuild | 2 +- dev-python/nbformat/nbformat-5.7.3.ebuild | 5 +- .../pyrate-limiter/pyrate-limiter-2.10.0.ebuild | 2 +- .../pyrate-limiter/pyrate-limiter-2.8.2.ebuild | 2 +- .../pyrate-limiter/pyrate-limiter-2.9.1.ebuild | 2 +- dev-python/pyzmq/pyzmq-25.0.0.ebuild | 2 +- dev-python/requests-cache/Manifest | 1 + .../requests-cache/requests-cache-1.0.0.ebuild | 71 +++++++++++++++++++++ dev-python/sphinx-autoapi/Manifest | 1 + .../sphinx-autoapi/sphinx-autoapi-2.0.0.ebuild | 13 +++- .../sphinx-autoapi/sphinx-autoapi-2.0.1.ebuild | 54 ++++++++++++++++ .../sphinx-basic-ng-0.0.1_alpha12.ebuild | 2 +- .../sphinx-basic-ng-1.0.0_beta1.ebuild | 2 +- dev-python/sybil/sybil-4.0.0.ebuild | 2 +- dev-python/sybil/sybil-4.0.1.ebuild | 2 +- dev-python/tifffile/Manifest | 1 + dev-python/tifffile/tifffile-2023.2.28.ebuild | 60 ++++++++++++++++++ dev-python/traitlets/traitlets-5.9.0.ebuild | 5 +- 51 files changed, 691 insertions(+), 127 deletions(-) create mode 100644 dev-python/Faker/Faker-17.5.0.ebuild create mode 100644 dev-python/apsw/apsw-3.41.0.0.ebuild delete mode 100644 dev-python/bareos/bareos-21.1.5.ebuild create mode 100644 dev-python/bareos/bareos-21.1.6.ebuild create mode 100644 dev-python/boto3/boto3-1.26.82.ebuild create mode 100644 dev-python/botocore/botocore-1.29.82.ebuild create mode 100644 dev-python/eradicate/eradicate-2.2.0.ebuild create mode 100644 dev-python/google-api-python-client/google-api-python-client-2.80.0.ebuild create mode 100644 dev-python/myst-parser/Manifest create mode 100644 dev-python/myst-parser/metadata.xml create mode 100644 dev-python/myst-parser/myst-parser-0.18.1-r1.ebuild create mode 100644 dev-python/myst-parser/myst-parser-0.19.0.ebuild delete mode 100644 dev-python/myst_parser/Manifest delete mode 100644 dev-python/myst_parser/metadata.xml delete mode 100644 dev-python/myst_parser/myst_parser-0.18.1-r1.ebuild create mode 100644 dev-python/requests-cache/requests-cache-1.0.0.ebuild create mode 100644 dev-python/sphinx-autoapi/sphinx-autoapi-2.0.1.ebuild create mode 100644 dev-python/tifffile/tifffile-2023.2.28.ebuild (limited to 'dev-python') diff --git a/dev-python/Faker/Faker-17.5.0.ebuild b/dev-python/Faker/Faker-17.5.0.ebuild new file mode 100644 index 000000000000..9fd3af59256e --- /dev/null +++ b/dev-python/Faker/Faker-17.5.0.ebuild @@ -0,0 +1,34 @@ +# Copyright 2022-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=setuptools +PYPI_NO_NORMALIZE=1 +PYTHON_COMPAT=( python3_{7,8,9,10,11} ) + +inherit distutils-r1 pypi + +DESCRIPTION="A Python package that generates fake data for you" +HOMEPAGE=" + https://github.com/joke2k/faker/ + https://pypi.org/project/Faker/ +" + +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/validators[${PYTHON_USEDEP}] + ) +" + +distutils_enable_tests pytest diff --git a/dev-python/Faker/Manifest b/dev-python/Faker/Manifest index 6b92fd6b6c08..732f86644527 100644 --- a/dev-python/Faker/Manifest +++ b/dev-python/Faker/Manifest @@ -3,3 +3,4 @@ DIST Faker-16.8.1.tar.gz 1649844 BLAKE2B 3ec9b7566342e569580fa8db4df20708ef9b1b6 DIST Faker-17.0.0.tar.gz 1650338 BLAKE2B 4e3e9723d9016481e7b7d3e9a27060881833ab1e8309f93fffcade696679da64345bcc6fce12ce6bcb2a237b317ea697a5ff4344d929e66c2b6778ec39fdb282 SHA512 9fcd79a6e8a3db592edaa83c30d89d86a0018181d4c778c3c3566cb6d95181b033639eaf92a332539b4436138cc868192d5a21f1c12c9ba180da0dacd8bee493 DIST Faker-17.3.0.tar.gz 1651539 BLAKE2B 5695edf10d246bd776f63f0a2d26d0e3b36f7c20a0553333359d91f013522256c93bfe967655003b61832132d38dcc5d1909468d391b2a017605df32c31f0d41 SHA512 685dedd1d73210d58008f8898c0a95a6616c16852c59e7993e33fbb187a63ba8db72ef2a6fc37f0cb8c0da2b4e1521f6f4b82a8674bbf843219b0ee25d88d950 DIST Faker-17.4.0.tar.gz 1651645 BLAKE2B f4cde3f203e3d8abe0762f9b68785c495bc85080177d85610f023648b88b13c903a42e39eb0b1d86c120752aa683f6a399ea8377c492eb938742e883710d7f51 SHA512 58821d9fae04363508ffe1be58f8df9830772b6531958842633e9a6d3f88928d0927beaf978288ce96c269f66df61dc137efd3977f6746f0d374017b6f4c5b05 +DIST Faker-17.5.0.tar.gz 1653260 BLAKE2B 05a1abb8b99537758dfafbaab366f51c74ce5722af4f52a54374c0ff3ddf9abd0058bbc891843ef2b24e72505e5dad5e019453617ea70cf75c905ae8c817bfe4 SHA512 58bb42146dc4edc2512aa68b5fb1e2e0324159947935c157e8bb44782d70e14b2c23cbed9e2e6e86332da0f70acd7ab03a302a1826e44354077c6266ecf86df2 diff --git a/dev-python/ansible-compat/ansible-compat-2.2.7.ebuild b/dev-python/ansible-compat/ansible-compat-2.2.7.ebuild index 39bd146bfb5d..a66381447db6 100644 --- a/dev-python/ansible-compat/ansible-compat-2.2.7.ebuild +++ b/dev-python/ansible-compat/ansible-compat-2.2.7.ebuild @@ -51,6 +51,6 @@ EPYTEST_DESELECT=( distutils_enable_sphinx docs \ dev-python/ansible-pygments \ - dev-python/myst_parser \ + dev-python/myst-parser \ dev-python/sphinx_ansible_theme distutils_enable_tests pytest diff --git a/dev-python/ansible-compat/ansible-compat-3.0.1.ebuild b/dev-python/ansible-compat/ansible-compat-3.0.1.ebuild index c1d94be9be9e..d0bf4e964fdb 100644 --- a/dev-python/ansible-compat/ansible-compat-3.0.1.ebuild +++ b/dev-python/ansible-compat/ansible-compat-3.0.1.ebuild @@ -4,16 +4,16 @@ EAPI=8 DISTUTILS_USE_PEP517=setuptools +PYPI_NO_NORMALIZE=1 PYTHON_COMPAT=( python3_{10..11} ) -inherit distutils-r1 +inherit distutils-r1 pypi DESCRIPTION="Contains functions that facilitate working with various versions of Ansible" HOMEPAGE=" https://pypi.org/project/ansible-compat/ https://github.com/ansible/ansible-compat/ " -SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" LICENSE="MIT" SLOT="0" diff --git a/dev-python/apsw/Manifest b/dev-python/apsw/Manifest index 20914d1ef637..1c8fa16a0709 100644 --- a/dev-python/apsw/Manifest +++ b/dev-python/apsw/Manifest @@ -1 +1,2 @@ DIST apsw-3.40.1.0.gh.tar.gz 423060 BLAKE2B 7ac1a587ab93b4cd6ae20a137f2f1a2e96039209f74c8aa626ea7bf219b1698403fe4c8365662e8b896a56024b45b36a80df5f506d6a813dea920add202479cd SHA512 243d47efc7407c4f3bad92d1bf4044fe4a53d913b86e1821c7d1c3711348bf25b2a339a68d18075f99c0899766085c2f2b93a303f8298c115463224ad46f99f1 +DIST apsw-3.41.0.0.gh.tar.gz 837111 BLAKE2B f3374dae906148d7553c9c67c7e1f91acfc5124d525aa37728f81ce39c33368ae387a555dc2c50d2117a29e35c925a968968cdf22fd18477d00a877efcfef876 SHA512 f5ee663e15f54fc8f3d1fe6435be6470f9399271d2f746b8e624a98b1ae8b5fcaa0152ddae9e99d8ab2876388e42348f8e9ba8773f34e7042a72467d794c108b diff --git a/dev-python/apsw/apsw-3.41.0.0.ebuild b/dev-python/apsw/apsw-3.41.0.0.ebuild new file mode 100644 index 000000000000..ee9b2bcff92d --- /dev/null +++ b/dev-python/apsw/apsw-3.41.0.0.ebuild @@ -0,0 +1,50 @@ +# Copyright 1999-2023 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,11} ) + +inherit distutils-r1 + +DESCRIPTION="APSW - Another Python SQLite Wrapper" +HOMEPAGE=" + https://github.com/rogerbinns/apsw/ + https://pypi.org/project/apsw/ +" +SRC_URI=" + https://github.com/rogerbinns/apsw/archive/${PV}.tar.gz + -> ${P}.gh.tar.gz +" + +LICENSE="ZLIB" +SLOT="0" +KEYWORDS="~amd64 ~arm ~ppc64 ~x86" +IUSE="doc" + +DEPEND=" + >=dev-db/sqlite-${PV%.*}:3 +" +RDEPEND=" + ${DEPEND} +" + +src_configure() { + cat >> setup.cfg <<-EOF || die + [build_ext] + enable=load_extension + use_system_sqlite_config=True + EOF +} + +python_test() { + esetup.py build_test_extension + cd "${T}" || die + "${EPYTHON}" -m apsw.tests -v || die "Tests failed under ${EPYTHON}" +} + +python_install_all() { + use doc && local HTML_DOCS=( doc/. ) + distutils-r1_python_install_all +} diff --git a/dev-python/bareos/Manifest b/dev-python/bareos/Manifest index d5848a643dcc..b115a7aeee94 100644 --- a/dev-python/bareos/Manifest +++ b/dev-python/bareos/Manifest @@ -1 +1 @@ -DIST bareos-21.1.5.tar.gz 11655244 BLAKE2B 18ef42669cfdd7a663910fa1ce9b46f12eab0aa3a2106e9877dc3d341e9a7b309c21bc1768d4873d626938fcbb2084884a85d6dcef0aa2834b117aef1034d28f SHA512 637c6c0500ff31bb2c87f27d87f908d49836191afb880de4b636432b9c20433ec6f32f5805aaa7fb57f2f99a0201c51802c8d213ee5573642698f74da4cb06b7 +DIST bareos-21.1.6.tar.gz 11654525 BLAKE2B 9b023a07e28098fd93aca57aead5b2bf993b85c52dc8f76870dc53ee88ec5995bcc908397173c7d3504c78214e37311442dd96bb563fa4382ae35904fef69e0a SHA512 e9ccafd379ea2a7ede2b6852fa544e7d4b63b23e9d91e8b747c1aecf5d764b06991a57f658842d48fbbe49335a92f29eea90e56b613a3123246a9cd9e8273f36 diff --git a/dev-python/bareos/bareos-21.1.5.ebuild b/dev-python/bareos/bareos-21.1.5.ebuild deleted file mode 100644 index 2fbff33684c8..000000000000 --- a/dev-python/bareos/bareos-21.1.5.ebuild +++ /dev/null @@ -1,18 +0,0 @@ -# Copyright 2022-2023 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=7 - -PYTHON_COMPAT=( python3_{7,8,9,10,11} ) -DISTUTILS_USE_PEP517=setuptools -inherit distutils-r1 - -DESCRIPTION="python bindings for bareos network backup suite" -HOMEPAGE="https://www.bareos.com/" -SRC_URI="https://github.com/${PN}/${PN}/archive/Release/${PV}.tar.gz -> ${P}.tar.gz" -S=${WORKDIR}/${PN}-Release-${PV}/python-bareos - -LICENSE="AGPL-3" -SLOT="0" -KEYWORDS="~amd64 ~x86" -RESTRICT="mirror test" diff --git a/dev-python/bareos/bareos-21.1.6.ebuild b/dev-python/bareos/bareos-21.1.6.ebuild new file mode 100644 index 000000000000..2fbff33684c8 --- /dev/null +++ b/dev-python/bareos/bareos-21.1.6.ebuild @@ -0,0 +1,18 @@ +# Copyright 2022-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +PYTHON_COMPAT=( python3_{7,8,9,10,11} ) +DISTUTILS_USE_PEP517=setuptools +inherit distutils-r1 + +DESCRIPTION="python bindings for bareos network backup suite" +HOMEPAGE="https://www.bareos.com/" +SRC_URI="https://github.com/${PN}/${PN}/archive/Release/${PV}.tar.gz -> ${P}.tar.gz" +S=${WORKDIR}/${PN}-Release-${PV}/python-bareos + +LICENSE="AGPL-3" +SLOT="0" +KEYWORDS="~amd64 ~x86" +RESTRICT="mirror test" diff --git a/dev-python/boto3/Manifest b/dev-python/boto3/Manifest index 5bfc5322a756..78f40df0f997 100644 --- a/dev-python/boto3/Manifest +++ b/dev-python/boto3/Manifest @@ -2,3 +2,4 @@ DIST boto3-1.26.74.gh.tar.gz 602525 BLAKE2B 6d9b397864649ecd9b3f46bcee832c57cdce DIST boto3-1.26.79.gh.tar.gz 605312 BLAKE2B c36b86ab289be9c08a1ab43274a4f4db71cede08598b6f8092af8404bc9994e345b263b144ee3a1974ea276fce63c330d7ffa6335bb889bea32e380e9003a8c7 SHA512 cfc789296b904c0c3bd3999153067f4fb174b323f0fbd22e8f4a49aed98338e20fd238876e2f55f608f5d6b60b584e15d370400e8d0a8a00b0689e0867d00f05 DIST boto3-1.26.80.gh.tar.gz 606204 BLAKE2B ae80c1ec7e99f48844c4eec39df1f6802df1fbbf2d94f1b7ddc04c7a21cb885823ebadb11cf9e81b51af9aa5f09775c02e52e926b94c49331307873b86702446 SHA512 e4ab89f2afe506d7d1ba9e1615e3a92ba4bf5dc9a85d3a14f034c1b14733d99cebf594bb6dc80914bf444da34d09c045c8933cf3c97e6ccfa9e31901e99d76ee DIST boto3-1.26.81.gh.tar.gz 611431 BLAKE2B e3f607e4bbd4ae7002168a697c6c3081b3713acbf7d7c8abdb1016b63f9ac5b16ae44255f707272db6a7b4c657210af0ed1c355889b01434683889b28de9d4e7 SHA512 30faa2d60f5f661e4d56a57c5b9d258ad3de260be2a21723b921f2383e290ca0b3d417a4a970ba3defd8f8196deaade2741117393c664b5fe267deab2e210e06 +DIST boto3-1.26.82.gh.tar.gz 611850 BLAKE2B fbf4581d616c6978482689e42a5cf8dc846ef91c77bd9f94298bed1ec50cdf41bc999ee81a1dd43b697da282f2774133daf6c6789d7d78b78aeb272c42f91f56 SHA512 8dc96da11d6da19610810c850c69070d25629e583f4eda822c218f4ad09295d25d3ae689a321c6a0c5f0c27e34717c44eb708950b4f37fe1d27f1f48205e5870 diff --git a/dev-python/boto3/boto3-1.26.82.ebuild b/dev-python/boto3/boto3-1.26.82.ebuild new file mode 100644 index 000000000000..9523f65d5fb9 --- /dev/null +++ b/dev-python/boto3/boto3-1.26.82.ebuild @@ -0,0 +1,68 @@ +# Copyright 1999-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=setuptools +PYTHON_COMPAT=( python3_{10..11} ) + +inherit distutils-r1 multiprocessing + +DESCRIPTION="The AWS SDK for Python" +HOMEPAGE=" + https://github.com/boto/boto3/ + https://pypi.org/project/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/boto3/archive/${PV}.tar.gz + -> ${P}.gh.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.6.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)" +} diff --git a/dev-python/botocore/Manifest b/dev-python/botocore/Manifest index dcae58dcc352..7ab0f57581b8 100644 --- a/dev-python/botocore/Manifest +++ b/dev-python/botocore/Manifest @@ -2,3 +2,4 @@ DIST botocore-1.29.74.gh.tar.gz 11153254 BLAKE2B b3d3b75643cd5e3fac54a09e971daa2 DIST botocore-1.29.79.gh.tar.gz 11184048 BLAKE2B 062326a477fb27844ec47af28b77424863d6ff407dbcfd95bc9aa26d4009f503364f3d438997fe437b4830b8ef8c7bfb7e026313364bb3e9429cd3b7c2eae261 SHA512 260cf6a533e32c6f514774e5c5ef6830feb77058e1074e730d7fa05fb7067dac093f1a612ed11e02db116671ca9f7301ed29e1625f6e47724301d25b03eb3c30 DIST botocore-1.29.80.gh.tar.gz 11197756 BLAKE2B 62f70c71f6b5892ff4daaede65389c75a159ebc29da69b2b2f9b59fabcf1818d91b968cbb04f48acce8310f34b96dbb30189c1fdc609e124202a6743d5b3e65a SHA512 27f31ba27448c5ea3214dcd585d60901761f6cd26e384a861aa377842dd3561f293c261a6a3fd91e78cc3ea75f48b9369e77f4a8d1a4b4dd08fbdde9335ee5a8 DIST botocore-1.29.81.gh.tar.gz 11211684 BLAKE2B c89f683ab6fd238f975af4a30eea6191d1a6c2a8cf5ec1ac640a34de801bc289545dc2a98e9a76824afdb650b9d173751b23af3a3f3e9438f8cd1cdeb0fb64e3 SHA512 91b0d34652f68a3f41e768ff35d342c50868fb9e6f9da2b97a64cf08cac03e959395ac499b9fea7cf5997273700b06499f0d870661b9104709fead4a87c0a1ee +DIST botocore-1.29.82.gh.tar.gz 11213502 BLAKE2B 8038e8a97e7c8795b9f273e6d7a87f42d764c7996ebc9c6ba831720db9104ead2e11b8a30e660b1112ca2e5ce2582f7135b0db79c56bf6c615f9a7e242b9ef8e SHA512 4492b8bed66736f446e3dd76bf0bde56e2402093630f38246941d17e388f62ca2d0e069b08c7a39cd12e719d062c85c0981636b72362118a8d689581e492ad06 diff --git a/dev-python/botocore/botocore-1.29.82.ebuild b/dev-python/botocore/botocore-1.29.82.ebuild new file mode 100644 index 000000000000..0f4daaa48e81 --- /dev/null +++ b/dev-python/botocore/botocore-1.29.82.ebuild @@ -0,0 +1,74 @@ +# Copyright 1999-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=setuptools +PYTHON_COMPAT=( python3_{10..11} ) + +inherit distutils-r1 multiprocessing + +DESCRIPTION="Low-level, data-driven core of boto 3" +HOMEPAGE=" + https://github.com/boto/botocore/ + https://pypi.org/project/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=" + https://github.com/boto/botocore/archive/${PV}.tar.gz + -> ${P}.gh.tar.gz + " + KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~ppc64 ~riscv ~sparc ~x86 ~amd64-linux ~x86-linux" +fi + +RDEPEND=" + dev-python/six[${PYTHON_USEDEP}] + =dev-python/urllib3-1.25.4[${PYTHON_USEDEP}] +" +BDEPEND=" + test? ( + dev-python/jsonschema[${PYTHON_USEDEP}] + dev-python/pytest-xdist[${PYTHON_USEDEP}] + ) +" + +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 + # fails on unrelated warnings + tests/unit/test_client.py::TestAutoGeneratedClient::test_BOTO_DISABLE_COMMONNAME + tests/unit/test_client.py::TestClientErrors::test_BOTO_DISABLE_COMMONNAME + # TODO + tests/functional/test_credentials.py::SSOSessionTest::test_token_chosen_from_provider + ) + + epytest tests/{functional,unit} -n "$(makeopts_jobs)" +} diff --git a/dev-python/eradicate/Manifest b/dev-python/eradicate/Manifest index 7864f6650ec2..0920215bb3e4 100644 --- a/dev-python/eradicate/Manifest +++ b/dev-python/eradicate/Manifest @@ -1 +1,2 @@ DIST eradicate-2.1.0.tar.gz 8706 BLAKE2B 5b5cab1c465c8295157bec1e8e39f0e33dbe31957da01ec44bbabf54a2b19c519a35cd7d2b92217d5395ce7397b3ae70175766a83b66d05e723fc5b5a019eb40 SHA512 a9b06745bceff909a1bbe34348b8e4c17d7f1e0ab3b554206633f350725c34a9b7238b3af6a40516081bc06aa86cdd593b27b90efa083ac024b0226f7cfc4df3 +DIST eradicate-2.2.0.gh.tar.gz 8808 BLAKE2B 34d1db824f6288d5da5cdc868045d899041b219e4918f5e838c066eb4e9903c2951c7cdded56c7c5455336940c212eb3e68ae61b9e090f497c3e6ef199f71e80 SHA512 80b7dd60004a5f4279a87c692b63de1b340c68d1379d975ef660130a649acbc03a5c5d6db935c782b84bbc7c2ab50b0ada2a172eafce1945113b3bccfb8055b5 diff --git a/dev-python/eradicate/eradicate-2.2.0.ebuild b/dev-python/eradicate/eradicate-2.2.0.ebuild new file mode 100644 index 000000000000..18b86eba6156 --- /dev/null +++ b/dev-python/eradicate/eradicate-2.2.0.ebuild @@ -0,0 +1,25 @@ +# Copyright 1999-2023 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,11} pypy3 ) + +inherit distutils-r1 + +DESCRIPTION="Removes commented-out code from Python files" +HOMEPAGE=" + https://github.com/myint/eradicate/ + https://pypi.org/project/eradicate/ +" +SRC_URI=" + https://github.com/myint/eradicate/archive/${PV}.tar.gz + -> ${P}.gh.tar.gz +" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86" + +distutils_enable_tests unittest diff --git a/dev-python/google-api-python-client/Manifest b/dev-python/google-api-python-client/Manifest index 5c4ebc9d6717..9bc3f9c3f94b 100644 --- a/dev-python/google-api-python-client/Manifest +++ b/dev-python/google-api-python-client/Manifest @@ -1,3 +1,4 @@ DIST google-api-python-client-2.77.0.gh.tar.gz 38300787 BLAKE2B c7d147b9ae78fff5aa70b2ba219888296d414c1f7b498c93bb424d06c437a50d5a1a2284062e58defb29ba3aa89b225e4218d9acd303a0e17f3ec4ab0380a2f6 SHA512 24aa2b3d709de83b76be2d8030a419d0e3f8f447852d7f95c6cf735134270a7af94edd86bcc3d82cd25af2497f30ac6c365ac88494c227b19faecb8e3706c261 DIST google-api-python-client-2.78.0.gh.tar.gz 38327369 BLAKE2B 291941a44a6fc9da7df2cbb108ba90babac33916f9c36aeae6e8b1575e9851f7c93aaea09340d36acd8f80dbe5ebe63820d60edc0aec14ee4859a47dcf66e344 SHA512 fff05aa981106aaccb689aeeace62734df77fefe7132481a11bc81b249a7793c1743c7c7c21116b3f5d4d59230ec7adac090d478969f8847bc201a2a23dd072d DIST google-api-python-client-2.79.0.gh.tar.gz 38537790 BLAKE2B 968a33a92bff0b7bc6e01e69df3b405b189df1560e1100de6bfb987ba5d87f1da9dafa184966f55f1d64b41912790f94a98d5160dd042661a2d5acc02c6d10e3 SHA512 c16e32306eb8660facbaa078fc76ad49692948f26d81d753977d1cfa49f76b4eacf2a5613c4bdb8f463ebd65c955d5edda415355d143ce1dd59ec7443eeb0a13 +DIST google-api-python-client-2.80.0.gh.tar.gz 38885627 BLAKE2B f81943e8c4179130bbd7f3d89cdd3c7c5c828c78b9cbed6a5c011c3a0751a19a223b6e52a5fe8f739a8170b6e0e186b5e6b56b4ac08c88a1bf167cb5652d0e18 SHA512 cabd955f730a2b9bf8e8e3579b28935cbbc16b0ac4534d4b841317ff86cec420dd2a5a7b5b319a6a765cce02258fb43cafd6165ae49a7b99e0e891d9ba86e198 diff --git a/dev-python/google-api-python-client/google-api-python-client-2.80.0.ebuild b/dev-python/google-api-python-client/google-api-python-client-2.80.0.ebuild new file mode 100644 index 000000000000..65893f1d07cd --- /dev/null +++ b/dev-python/google-api-python-client/google-api-python-client-2.80.0.ebuild @@ -0,0 +1,52 @@ +# Copyright 1999-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=setuptools +PYTHON_COMPAT=( python3_{10..11} ) + +inherit distutils-r1 + +DESCRIPTION="Google API Client for Python" +HOMEPAGE=" + https://github.com/googleapis/google-api-python-client/ + https://pypi.org/project/google-api-python-client/ +" +SRC_URI=" + https://github.com/googleapis/google-api-python-client/archive/v${PV}.tar.gz + -> ${P}.gh.tar.gz +" + +LICENSE="Apache-2.0" +SLOT="0" +KEYWORDS="~amd64 ~arm ~arm64 ~x86" + +RDEPEND=" + >=dev-python/httplib2-0.15[${PYTHON_USEDEP}] + =dev-python/google-api-core-2.3.1[${PYTHON_USEDEP}] + >=dev-python/google-auth-1.35.0[${PYTHON_USEDEP}] + >=dev-python/google-auth-httplib2-0.1.0[${PYTHON_USEDEP}] + >=dev-python/uritemplate-3.0.0[${PYTHON_USEDEP}] + + + + + python@gentoo.org + Python + + + gentoo-staging + + \ No newline at end of file diff --git a/dev-python/myst-parser/myst-parser-0.18.1-r1.ebuild b/dev-python/myst-parser/myst-parser-0.18.1-r1.ebuild new file mode 100644 index 000000000000..0e3f5ad10e17 --- /dev/null +++ b/dev-python/myst-parser/myst-parser-0.18.1-r1.ebuild @@ -0,0 +1,62 @@ +# Copyright 2022-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=flit +PYTHON_COMPAT=( python3_{7,8,9,10,11} pypy3 ) + +inherit distutils-r1 + +MY_P=MyST-Parser-${PV} +DESCRIPTION="Extended commonmark compliant parser, with bridges to Sphinx" +HOMEPAGE=" + https://github.com/executablebooks/MyST-Parser/ + https://pypi.org/project/myst-parser/ +" +SRC_URI=" + https://github.com/executablebooks/MyST-Parser/archive/v${PV}.tar.gz + -> ${MY_P}.gh.tar.gz +" +S=${WORKDIR}/${MY_P} + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~m68k ppc ppc64 ~riscv ~s390 sparc x86" + +RDEPEND=" + =dev-python/mdit-py-plugins-0.3.1[${PYTHON_USEDEP}] + dev-python/pyyaml[${PYTHON_USEDEP}] + =dev-python/sphinx-4[${PYTHON_USEDEP}] + dev-python/typing-extensions[${PYTHON_USEDEP}] +" +BDEPEND=" + test? ( + dev-python/beautifulsoup4[${PYTHON_USEDEP}] + dev-python/pytest-regressions[${PYTHON_USEDEP}] + dev-python/pytest-param-files[${PYTHON_USEDEP}] + - - - - python@gentoo.org - Python - - - gentoo-staging - - \ No newline at end of file diff --git a/dev-python/myst_parser/myst_parser-0.18.1-r1.ebuild b/dev-python/myst_parser/myst_parser-0.18.1-r1.ebuild deleted file mode 100644 index 0e3f5ad10e17..000000000000 --- a/dev-python/myst_parser/myst_parser-0.18.1-r1.ebuild +++ /dev/null @@ -1,62 +0,0 @@ -# Copyright 2022-2023 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -DISTUTILS_USE_PEP517=flit -PYTHON_COMPAT=( python3_{7,8,9,10,11} pypy3 ) - -inherit distutils-r1 - -MY_P=MyST-Parser-${PV} -DESCRIPTION="Extended commonmark compliant parser, with bridges to Sphinx" -HOMEPAGE=" - https://github.com/executablebooks/MyST-Parser/ - https://pypi.org/project/myst-parser/ -" -SRC_URI=" - https://github.com/executablebooks/MyST-Parser/archive/v${PV}.tar.gz - -> ${MY_P}.gh.tar.gz -" -S=${WORKDIR}/${MY_P} - -LICENSE="MIT" -SLOT="0" -KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~m68k ppc ppc64 ~riscv ~s390 sparc x86" - -RDEPEND=" - =dev-python/mdit-py-plugins-0.3.1[${PYTHON_USEDEP}] - dev-python/pyyaml[${PYTHON_USEDEP}] - =dev-python/sphinx-4[${PYTHON_USEDEP}] - dev-python/typing-extensions[${PYTHON_USEDEP}] -" -BDEPEND=" - test? ( - dev-python/beautifulsoup4[${PYTHON_USEDEP}] - dev-python/pytest-regressions[${PYTHON_USEDEP}] - dev-python/pytest-param-files[${PYTHON_USEDEP}] - =dev-python/sphinx-6.0"; then + EPYTEST_DESELECT+=( + tests/python/test_pyintegration.py::TestPositionalOnlyArgumentsModule::test_integration + ) + fi + + distutils-r1_python_test +} diff --git a/dev-python/sphinx-autoapi/sphinx-autoapi-2.0.1.ebuild b/dev-python/sphinx-autoapi/sphinx-autoapi-2.0.1.ebuild new file mode 100644 index 000000000000..5e51e6405d5f --- /dev/null +++ b/dev-python/sphinx-autoapi/sphinx-autoapi-2.0.1.ebuild @@ -0,0 +1,54 @@ +# Copyright 2022-2023 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,11} ) + +inherit distutils-r1 + +DESCRIPTION="A new approach to API documentation in Sphinx" +HOMEPAGE=" + https://sphinx-autoapi.readthedocs.io/ + https://github.com/readthedocs/sphinx-autoapi/ + https://pypi.org/project/sphinx-autoapi/ +" +SRC_URI=" + https://github.com/readthedocs/sphinx-autoapi/archive/v${PV}.tar.gz + -> ${P}.gh.tar.gz +" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64 ~arm ~arm64 ~x86" + +RDEPEND=" + dev-python/astroid[${PYTHON_USEDEP}] + dev-python/pyyaml[${PYTHON_USEDEP}] + >=dev-python/sphinx-4.0[${PYTHON_USEDEP}] + dev-python/unidecode[${PYTHON_USEDEP}] +" + +DOCS=( README.rst CHANGELOG.rst ) + +# Test requires pypi download w/ internet: https://github.com/readthedocs/sphinx-autoapi/issues/329 +EPYTEST_DESELECT=( + tests/test_integration.py::TestExtensionErrors::test_extension_setup_errors[dotnetexample-override_conf2-AutoAPI +) + +distutils_enable_tests pytest +distutils_enable_sphinx docs dev-python/sphinx-rtd-theme + +python_test() { + # https://github.com/readthedocs/sphinx-autoapi/issues/368 + if has_version "