diff options
| author | Liguros - Gitlab CI/CD [develop] <gitlab@liguros.net> | 2023-03-02 09:35:39 +0000 |
|---|---|---|
| committer | Liguros - Gitlab CI/CD [develop] <gitlab@liguros.net> | 2023-03-02 09:35:39 +0000 |
| commit | 0272d79517902a1fb7d3486e48993ede1dc0ed68 (patch) | |
| tree | 3233ebf027cd693a2c0df0bf0d96aa837ac64d3d /dev-python | |
| parent | cf5981e450d801a9c7b2fcaf0cc34f8dae69e5f5 (diff) | |
| download | baldeagleos-repo-0272d79517902a1fb7d3486e48993ede1dc0ed68.tar.gz baldeagleos-repo-0272d79517902a1fb7d3486e48993ede1dc0ed68.tar.xz baldeagleos-repo-0272d79517902a1fb7d3486e48993ede1dc0ed68.zip | |
Adding metadata
Diffstat (limited to 'dev-python')
47 files changed, 599 insertions, 35 deletions
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.6.ebuild index 2fbff33684c8..2fbff33684c8 100644 --- a/dev-python/bareos/bareos-21.1.5.ebuild +++ b/dev-python/bareos/bareos-21.1.6.ebuild 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/jmespath-2[${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}] + ) +" + +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/httplib2-1[${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}] + <dev-python/uritemplate-5[${PYTHON_USEDEP}] +" +BDEPEND=" + test? ( + dev-python/mock[${PYTHON_USEDEP}] + dev-python/pandas[${PYTHON_USEDEP}] + dev-python/parameterized[${PYTHON_USEDEP}] + ) +" + +distutils_enable_tests pytest + +python_test() { + local EPYTEST_DESELECT=( + # require Internet access (and credentials) + tests/test_discovery.py::DiscoveryErrors::test_credentials_and_credentials_file_mutually_exclusive + tests/test_discovery.py::DiscoveryFromDocument::test_api_endpoint_override_from_client_options_mapping_object + ) + + epytest tests +} diff --git a/dev-python/jupyter_core/jupyter_core-5.1.5.ebuild b/dev-python/jupyter_core/jupyter_core-5.1.5.ebuild index 4ba5f0071cca..b15def6a2827 100644 --- a/dev-python/jupyter_core/jupyter_core-5.1.5.ebuild +++ b/dev-python/jupyter_core/jupyter_core-5.1.5.ebuild @@ -31,7 +31,7 @@ BDEPEND=" " distutils_enable_sphinx docs \ - dev-python/myst_parser \ + dev-python/myst-parser \ dev-python/sphinx-autodoc-typehints \ dev-python/sphinxcontrib-github-alt \ dev-python/sphinxcontrib-spelling \ diff --git a/dev-python/jupyter_core/jupyter_core-5.2.0.ebuild b/dev-python/jupyter_core/jupyter_core-5.2.0.ebuild index 92a376bfa022..c2dbe090375d 100644 --- a/dev-python/jupyter_core/jupyter_core-5.2.0.ebuild +++ b/dev-python/jupyter_core/jupyter_core-5.2.0.ebuild @@ -6,7 +6,7 @@ EAPI=8 DISTUTILS_USE_PEP517=hatchling PYTHON_COMPAT=( python3_{7,8,9,10,11} ) -inherit distutils-r1 +inherit distutils-r1 pypi DESCRIPTION="Core common functionality of Jupyter projects" HOMEPAGE=" @@ -14,7 +14,6 @@ HOMEPAGE=" https://github.com/jupyter/jupyter_core/ https://pypi.org/project/jupyter-core/ " -SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" LICENSE="BSD" SLOT="0" @@ -31,7 +30,7 @@ BDEPEND=" " distutils_enable_sphinx docs \ - dev-python/myst_parser \ + dev-python/myst-parser \ dev-python/sphinx-autodoc-typehints \ dev-python/sphinxcontrib-github-alt \ dev-python/sphinxcontrib-spelling \ diff --git a/dev-python/jupyter_server/jupyter_server-1.19.1.ebuild b/dev-python/jupyter_server/jupyter_server-1.19.1.ebuild index a154e7e7e1f6..32ee4702069e 100644 --- a/dev-python/jupyter_server/jupyter_server-1.19.1.ebuild +++ b/dev-python/jupyter_server/jupyter_server-1.19.1.ebuild @@ -46,7 +46,7 @@ BDEPEND=" distutils_enable_sphinx docs/source \ dev-python/pydata-sphinx-theme \ - dev-python/myst_parser \ + dev-python/myst-parser \ dev-python/ipython \ dev-python/sphinxemoji \ dev-python/sphinxcontrib-github-alt \ diff --git a/dev-python/jupyter_ydoc/jupyter_ydoc-0.2.2.ebuild b/dev-python/jupyter_ydoc/jupyter_ydoc-0.2.2.ebuild index 28eade054797..bbdf33598c12 100644 --- a/dev-python/jupyter_ydoc/jupyter_ydoc-0.2.2.ebuild +++ b/dev-python/jupyter_ydoc/jupyter_ydoc-0.2.2.ebuild @@ -39,4 +39,4 @@ BDEPEND=" distutils_enable_tests pytest # Hangs for some reason -#distutils_enable_sphinx docs/source dev-python/myst_parser dev-python/pydata-sphinx-theme +#distutils_enable_sphinx docs/source dev-python/myst-parser dev-python/pydata-sphinx-theme diff --git a/dev-python/jupyter_ydoc/jupyter_ydoc-0.3.1.ebuild b/dev-python/jupyter_ydoc/jupyter_ydoc-0.3.1.ebuild index 9c399c67285e..5462ea8b3791 100644 --- a/dev-python/jupyter_ydoc/jupyter_ydoc-0.3.1.ebuild +++ b/dev-python/jupyter_ydoc/jupyter_ydoc-0.3.1.ebuild @@ -43,4 +43,4 @@ PATCHES=( distutils_enable_tests pytest # Hangs for some reason -#distutils_enable_sphinx docs/source dev-python/myst_parser dev-python/pydata-sphinx-theme +#distutils_enable_sphinx docs/source dev-python/myst-parser dev-python/pydata-sphinx-theme diff --git a/dev-python/jupyterlab/jupyterlab-3.5.3.ebuild b/dev-python/jupyterlab/jupyterlab-3.5.3.ebuild index 9d714422ed7f..30f782a93c72 100644 --- a/dev-python/jupyterlab/jupyterlab-3.5.3.ebuild +++ b/dev-python/jupyterlab/jupyterlab-3.5.3.ebuild @@ -68,7 +68,7 @@ EPYTEST_DESELECT=( distutils_enable_tests pytest # TODO: package sphinx_copybutton -#distutils_enable_sphinx docs/source dev-python/sphinx-rtd-theme dev-python/myst_parser +#distutils_enable_sphinx docs/source dev-python/sphinx-rtd-theme dev-python/myst-parser python_install_all() { distutils-r1_python_install_all diff --git a/dev-python/jupyterlab/jupyterlab-3.6.1-r1.ebuild b/dev-python/jupyterlab/jupyterlab-3.6.1-r1.ebuild index 90bdec86ff93..9ad2df1aaae2 100644 --- a/dev-python/jupyterlab/jupyterlab-3.6.1-r1.ebuild +++ b/dev-python/jupyterlab/jupyterlab-3.6.1-r1.ebuild @@ -6,7 +6,7 @@ EAPI=8 PYTHON_COMPAT=( python3_{7,8,9,10,11} ) DISTUTILS_USE_PEP517=jupyter -inherit distutils-r1 +inherit distutils-r1 pypi DESCRIPTION="JupyterLab computational environment" HOMEPAGE=" @@ -14,7 +14,6 @@ HOMEPAGE=" https://github.com/jupyterlab/jupyterlab/ https://pypi.org/project/jupyterlab/ " -SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" LICENSE="BSD MIT GPL-3 Apache-2.0" SLOT="0" @@ -75,7 +74,7 @@ EPYTEST_IGNORE=( distutils_enable_tests pytest # TODO: package sphinx_copybutton -#distutils_enable_sphinx docs/source dev-python/sphinx-rtd-theme dev-python/myst_parser +#distutils_enable_sphinx docs/source dev-python/sphinx-rtd-theme dev-python/myst-parser python_install_all() { distutils-r1_python_install_all diff --git a/dev-python/jupyterlab_server/jupyterlab_server-2.19.0.ebuild b/dev-python/jupyterlab_server/jupyterlab_server-2.19.0.ebuild index 90dd9dd93e5c..7e493b80810c 100644 --- a/dev-python/jupyterlab_server/jupyterlab_server-2.19.0.ebuild +++ b/dev-python/jupyterlab_server/jupyterlab_server-2.19.0.ebuild @@ -6,7 +6,7 @@ EAPI=8 PYTHON_COMPAT=( python3_{7,8,9,10,11} ) DISTUTILS_USE_PEP517=hatchling -inherit distutils-r1 +inherit distutils-r1 pypi DESCRIPTION="Server components for JupyterLab and JupyterLab like applications" HOMEPAGE=" @@ -14,7 +14,6 @@ HOMEPAGE=" https://github.com/jupyterlab/jupyterlab_server/ https://pypi.org/project/jupyterlab-server/ " -SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" LICENSE="BSD" SLOT="0" @@ -51,7 +50,7 @@ BDEPEND=" distutils_enable_tests pytest # TODO: package autodoc_traits -#distutils_enable_sphinx docs/source dev-python/pydata-sphinx-theme dev-python/myst_parser +#distutils_enable_sphinx docs/source dev-python/pydata-sphinx-theme dev-python/myst-parser python_test() { local EPYTEST_IGNORE=( diff --git a/dev-python/myst_parser/Manifest b/dev-python/myst-parser/Manifest index 3bf1830ac4c5..1a6c205ba923 100644 --- a/dev-python/myst_parser/Manifest +++ b/dev-python/myst-parser/Manifest @@ -1 +1,2 @@ DIST MyST-Parser-0.18.1.gh.tar.gz 769288 BLAKE2B 77f21ae4277ef4ed9020caad86ef3ea92a1efca35f7ab61203fe2125e4fab31a74a740db7a1f1d6ea0a576c24706b0997beea296d782eb5a07ba4e91a0a9e52d SHA512 4bc3a89480f175779da4f093aaa99a1516f76ab4107dcf8747b6614f347e91739f8596693f95529d76aedbb0c84b4efde4262517bc445aa7027d51e05e8b48bc +DIST MyST-Parser-0.19.0.gh.tar.gz 812180 BLAKE2B 44dd773dfcbd8c01b3089303e81b103ce3eba2432b1891b4fb35b8bbd9c0088b3245e6afe14c6378a262cdd4e7930da16ddc7ab6abb3a06779d4d0bd9e9ebd53 SHA512 3b646b78032914b42ab655d5f653f38fb58e4c51814fca0f987c8207f6fb97db6f3ba6b9951b3ecdf98430800b2a198cc2b26f17162b5b57309bfe74de3f4450 diff --git a/dev-python/myst_parser/metadata.xml b/dev-python/myst-parser/metadata.xml index ea8988e8af6a..ea8988e8af6a 100644 --- a/dev-python/myst_parser/metadata.xml +++ b/dev-python/myst-parser/metadata.xml 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 index 0e3f5ad10e17..0e3f5ad10e17 100644 --- a/dev-python/myst_parser/myst_parser-0.18.1-r1.ebuild +++ b/dev-python/myst-parser/myst-parser-0.18.1-r1.ebuild diff --git a/dev-python/myst-parser/myst-parser-0.19.0.ebuild b/dev-python/myst-parser/myst-parser-0.19.0.ebuild new file mode 100644 index 000000000000..f727166a577c --- /dev/null +++ b/dev-python/myst-parser/myst-parser-0.19.0.ebuild @@ -0,0 +1,60 @@ +# 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/docutils-0.20[${PYTHON_USEDEP}] + dev-python/jinja[${PYTHON_USEDEP}] + dev-python/markdown-it-py[${PYTHON_USEDEP}] + >=dev-python/mdit-py-plugins-0.3.4[${PYTHON_USEDEP}] + dev-python/pyyaml[${PYTHON_USEDEP}] + <dev-python/sphinx-7[${PYTHON_USEDEP}] + >=dev-python/sphinx-5[${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-pytest[${PYTHON_USEDEP}] + ) +" + +distutils_enable_tests pytest + +python_test() { + local EPYTEST_DESELECT=( + # Unimportant tests needing a new dep linkify + tests/test_renderers/test_myst_config.py::test_cmdline + tests/test_sphinx/test_sphinx_builds.py::test_extended_syntaxes + ) + + [[ ${EPYTHON} == pypy3 ]] && EPYTEST_DESELECT+=( + # bad test relying on exact exception messages + "tests/test_renderers/test_include_directive.py::test_errors[9-Non-existent path:]" + ) + + epytest +} diff --git a/dev-python/nbclassic/nbclassic-0.5.1.ebuild b/dev-python/nbclassic/nbclassic-0.5.1.ebuild index 3b8157f5c83f..316914884b6d 100644 --- a/dev-python/nbclassic/nbclassic-0.5.1.ebuild +++ b/dev-python/nbclassic/nbclassic-0.5.1.ebuild @@ -60,7 +60,7 @@ distutils_enable_sphinx docs/source \ dev-python/sphinx-rtd-theme \ dev-python/nbsphinx \ dev-python/sphinxcontrib-github-alt \ - dev-python/myst_parser \ + dev-python/myst-parser \ dev-python/ipython_genutils EPYTEST_DESELECT=( diff --git a/dev-python/nbclassic/nbclassic-0.5.2.ebuild b/dev-python/nbclassic/nbclassic-0.5.2.ebuild index 74a7d870c73a..e53c6f92d5c8 100644 --- a/dev-python/nbclassic/nbclassic-0.5.2.ebuild +++ b/dev-python/nbclassic/nbclassic-0.5.2.ebuild @@ -59,7 +59,7 @@ distutils_enable_sphinx docs/source \ dev-python/sphinx-rtd-theme \ dev-python/nbsphinx \ dev-python/sphinxcontrib-github-alt \ - dev-python/myst_parser \ + dev-python/myst-parser \ dev-python/ipython_genutils python_test() { diff --git a/dev-python/nbformat/nbformat-5.7.3.ebuild b/dev-python/nbformat/nbformat-5.7.3.ebuild index 1335aa5923b7..934dffa2ba18 100644 --- a/dev-python/nbformat/nbformat-5.7.3.ebuild +++ b/dev-python/nbformat/nbformat-5.7.3.ebuild @@ -7,7 +7,7 @@ DISTUTILS_USE_PEP517=hatchling PYTHON_COMPAT=( python3_{7,8,9,10,11} ) PYTHON_REQ_USE='sqlite' -inherit distutils-r1 +inherit distutils-r1 pypi DESCRIPTION="Reference implementation of the Jupyter Notebook format" HOMEPAGE=" @@ -15,7 +15,6 @@ HOMEPAGE=" https://github.com/jupyter/nbformat/ https://pypi.org/project/nbformat/ " -SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" LICENSE="BSD" SLOT="0" @@ -35,7 +34,7 @@ BDEPEND=" distutils_enable_sphinx docs \ dev-python/numpydoc \ - dev-python/myst_parser \ + dev-python/myst-parser \ dev-python/pydata-sphinx-theme distutils_enable_tests pytest diff --git a/dev-python/pyrate-limiter/pyrate-limiter-2.10.0.ebuild b/dev-python/pyrate-limiter/pyrate-limiter-2.10.0.ebuild index a71b3d8b8ccc..3595381d5be2 100644 --- a/dev-python/pyrate-limiter/pyrate-limiter-2.10.0.ebuild +++ b/dev-python/pyrate-limiter/pyrate-limiter-2.10.0.ebuild @@ -51,7 +51,7 @@ EPYTEST_DESELECT=( # distutils_enable_sphinx docs \ # dev-python/sphinx-autodoc-typehints \ # dev-python/furo \ -# dev-python/myst_parser \ +# dev-python/myst-parser \ # dev-python/sphinxcontrib-apidoc distutils_enable_tests pytest diff --git a/dev-python/pyrate-limiter/pyrate-limiter-2.8.2.ebuild b/dev-python/pyrate-limiter/pyrate-limiter-2.8.2.ebuild index a71b3d8b8ccc..3595381d5be2 100644 --- a/dev-python/pyrate-limiter/pyrate-limiter-2.8.2.ebuild +++ b/dev-python/pyrate-limiter/pyrate-limiter-2.8.2.ebuild @@ -51,7 +51,7 @@ EPYTEST_DESELECT=( # distutils_enable_sphinx docs \ # dev-python/sphinx-autodoc-typehints \ # dev-python/furo \ -# dev-python/myst_parser \ +# dev-python/myst-parser \ # dev-python/sphinxcontrib-apidoc distutils_enable_tests pytest diff --git a/dev-python/pyrate-limiter/pyrate-limiter-2.9.1.ebuild b/dev-python/pyrate-limiter/pyrate-limiter-2.9.1.ebuild index a71b3d8b8ccc..3595381d5be2 100644 --- a/dev-python/pyrate-limiter/pyrate-limiter-2.9.1.ebuild +++ b/dev-python/pyrate-limiter/pyrate-limiter-2.9.1.ebuild @@ -51,7 +51,7 @@ EPYTEST_DESELECT=( # distutils_enable_sphinx docs \ # dev-python/sphinx-autodoc-typehints \ # dev-python/furo \ -# dev-python/myst_parser \ +# dev-python/myst-parser \ # dev-python/sphinxcontrib-apidoc distutils_enable_tests pytest diff --git a/dev-python/pyzmq/pyzmq-25.0.0.ebuild b/dev-python/pyzmq/pyzmq-25.0.0.ebuild index 17cbc19e9610..b2590bc6dd33 100644 --- a/dev-python/pyzmq/pyzmq-25.0.0.ebuild +++ b/dev-python/pyzmq/pyzmq-25.0.0.ebuild @@ -76,7 +76,7 @@ distutils_enable_tests pytest # distutils_enable_sphinx docs/source \ # dev-python/numpydoc \ # dev-python/sphinx-rtd-theme \ -# dev-python/myst_parser +# dev-python/myst-parser python_prepare_all() { export ZMQ_DRAFT_API=$(usex drafts '1' '0') diff --git a/dev-python/requests-cache/Manifest b/dev-python/requests-cache/Manifest index 146f525a7f5f..c2b4ab0b6a2e 100644 --- a/dev-python/requests-cache/Manifest +++ b/dev-python/requests-cache/Manifest @@ -1 +1,2 @@ DIST requests-cache-0.9.8.gh.tar.gz 1540296 BLAKE2B 8b2ab1227b28c3822cd9111375c8759f5d7099f2724680a6560e4e14cd16558a1dcb8dd98d043fdf2f9a3861d76dd0d2c2f84df059338e9fa28c1257e74e87b9 SHA512 f428a7b498d2ef2b6c23d3715bac2274c320b6f9d6f56017e69ab5fa6b8830242a2f335ed6c3758a741a51f108c6dacae1a447ff8f05ca5686303caf48a1dc59 +DIST requests-cache-1.0.0.gh.tar.gz 2914633 BLAKE2B 5402d3b6bc99bb0b72a484854b83450d8f57fd0aff39661d6f2452c69cc0ca9b140fd2ac7b02110e47bcc0bf2497c58912330d7472b9f1701b8d4e2a54f7cef7 SHA512 92d6e1b9afb158f824a4b20d83c7b30a5988476b741213b0663df6095df1753da2dcd6516372ba383864e19d346850a356e9370b2ae27554effcc3f0b6a078c8 diff --git a/dev-python/requests-cache/requests-cache-1.0.0.ebuild b/dev-python/requests-cache/requests-cache-1.0.0.ebuild new file mode 100644 index 000000000000..0633a8905d2f --- /dev/null +++ b/dev-python/requests-cache/requests-cache-1.0.0.ebuild @@ -0,0 +1,71 @@ +# Copyright 1999-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=poetry +PYTHON_COMPAT=( python3_{7,8,9,10,11} ) +PYTHON_REQ_USE="sqlite" + +inherit distutils-r1 optfeature + +HOMEPAGE=" + https://pypi.org/project/requests-cache/ + https://github.com/requests-cache/requests-cache/ +" +DESCRIPTION="Persistent cache for requests library" +SRC_URI=" + https://github.com/requests-cache/requests-cache/archive/v${PV}.tar.gz + -> ${P}.gh.tar.gz +" + +LICENSE="BSD" +SLOT="0" +KEYWORDS="~amd64 ~x86" + +RDEPEND=" + dev-python/attrs[${PYTHON_USEDEP}] + >=dev-python/cattrs-22.2[${PYTHON_USEDEP}] + >=dev-python/platformdirs-2.5[${PYTHON_USEDEP}] + >=dev-python/requests-2.0.0[${PYTHON_USEDEP}] + dev-python/urllib3[${PYTHON_USEDEP}] + >=dev-python/url-normalize-1.4[${PYTHON_USEDEP}] +" +BDEPEND=" + test? ( + dev-python/itsdangerous[${PYTHON_USEDEP}] + dev-python/pytest-httpbin[${PYTHON_USEDEP}] + dev-python/requests-mock[${PYTHON_USEDEP}] + dev-python/responses[${PYTHON_USEDEP}] + dev-python/timeout-decorator[${PYTHON_USEDEP}] + >=dev-python/ujson-5.4[${PYTHON_USEDEP}] + ) +" + +distutils_enable_tests pytest + +python_test() { + local EPYTEST_IGNORE=( + # These require extra servers running + tests/integration/test_dynamodb.py + tests/integration/test_gridfs.py + tests/integration/test_mongodb.py + tests/integration/test_redis.py + ) + local EPYTEST_DESELECT=( + # Requires Internet access + tests/integration/test_upgrade.py::test_version_upgrade + ) + + local -x USE_PYTEST_HTTPBIN=true + epytest +} + +pkg_postinst() { + optfeature "redis backend" "dev-python/redis" + optfeature "MongoDB backend" "dev-python/pymongo" + + optfeature "JSON serialization" "dev-python/ujson" + optfeature "YAML serialization" "dev-python/pyyaml" + optfeature "signing serialized data" "dev-python/itsdangerous" +} diff --git a/dev-python/sphinx-autoapi/Manifest b/dev-python/sphinx-autoapi/Manifest index 3a6c361530a4..0cc29cfc77b9 100644 --- a/dev-python/sphinx-autoapi/Manifest +++ b/dev-python/sphinx-autoapi/Manifest @@ -1 +1,2 @@ DIST sphinx-autoapi-2.0.0.gh.tar.gz 86051 BLAKE2B af6c2f997e7e018304c5f19d978fc87fa853d876781930c1220e8e823a078c80c86851a141ed01d7ab94fd76d747e8dfd7462dd5ccab84127f1c95d225324a92 SHA512 7188ed167de808028b2ac603abb6a136584698a1df4882755b80609f4760dab818cec5f4684bf5d16afc2ae1be112ecb96c7f02f989fcb67937c19c045f45b81 +DIST sphinx-autoapi-2.0.1.gh.tar.gz 85974 BLAKE2B 5beea907901603a665367c244188f847fcc59f889df5da4e27dba39f36c9714347dab1e867d3bbed0fb44139eb1f77863178a0c831e06a6d373211892e8ce6ab SHA512 b7301a86fa6ebde80fd6289e92e2e9149323044f6db34e39305541ccb4bcb136a777c8e38c152f7536435290c86a0543d51c14290fbdfeb7b13805f711e00a80 diff --git a/dev-python/sphinx-autoapi/sphinx-autoapi-2.0.0.ebuild b/dev-python/sphinx-autoapi/sphinx-autoapi-2.0.0.ebuild index 6aa507b59312..aa7a04993b48 100644 --- a/dev-python/sphinx-autoapi/sphinx-autoapi-2.0.0.ebuild +++ b/dev-python/sphinx-autoapi/sphinx-autoapi-2.0.0.ebuild @@ -38,4 +38,15 @@ EPYTEST_DESELECT=( ) distutils_enable_tests pytest -distutils_enable_sphinx docs --no-autodoc +distutils_enable_sphinx docs dev-python/sphinx-rtd-theme + +python_test() { + # https://github.com/readthedocs/sphinx-autoapi/issues/368 + if has_version ">=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 "<dev-python/sphinx-6.0"; then + EPYTEST_DESELECT+=( + tests/python/test_pyintegration.py::TestPositionalOnlyArgumentsModule::test_integration + tests/python/test_pyintegration.py::TestPy3Module::test_annotations + tests/python/test_pyintegration.py::TestAnnotationCommentsModule::test_integration + ) + fi + + distutils-r1_python_test +} diff --git a/dev-python/sphinx-basic-ng/sphinx-basic-ng-0.0.1_alpha12.ebuild b/dev-python/sphinx-basic-ng/sphinx-basic-ng-0.0.1_alpha12.ebuild index 79241dd59724..b8306d268975 100644 --- a/dev-python/sphinx-basic-ng/sphinx-basic-ng-0.0.1_alpha12.ebuild +++ b/dev-python/sphinx-basic-ng/sphinx-basic-ng-0.0.1_alpha12.ebuild @@ -33,7 +33,7 @@ RDEPEND=" BDEPEND=" test? ( ${RDEPEND} - dev-python/myst_parser[${PYTHON_USEDEP}] + dev-python/myst-parser[${PYTHON_USEDEP}] ) " diff --git a/dev-python/sphinx-basic-ng/sphinx-basic-ng-1.0.0_beta1.ebuild b/dev-python/sphinx-basic-ng/sphinx-basic-ng-1.0.0_beta1.ebuild index eb2cf3b515ed..9da4fd02674b 100644 --- a/dev-python/sphinx-basic-ng/sphinx-basic-ng-1.0.0_beta1.ebuild +++ b/dev-python/sphinx-basic-ng/sphinx-basic-ng-1.0.0_beta1.ebuild @@ -32,7 +32,7 @@ RDEPEND=" BDEPEND=" test? ( ${RDEPEND} - dev-python/myst_parser[${PYTHON_USEDEP}] + dev-python/myst-parser[${PYTHON_USEDEP}] ) " diff --git a/dev-python/sybil/sybil-4.0.0.ebuild b/dev-python/sybil/sybil-4.0.0.ebuild index 59d9aea46c41..dc17c1253755 100644 --- a/dev-python/sybil/sybil-4.0.0.ebuild +++ b/dev-python/sybil/sybil-4.0.0.ebuild @@ -24,7 +24,7 @@ KEYWORDS="amd64 ~arm arm64 ~riscv x86" BDEPEND=" test? ( - dev-python/myst_parser[${PYTHON_USEDEP}] + dev-python/myst-parser[${PYTHON_USEDEP}] dev-python/seedir[${PYTHON_USEDEP}] dev-python/testfixtures[${PYTHON_USEDEP}] ) diff --git a/dev-python/sybil/sybil-4.0.1.ebuild b/dev-python/sybil/sybil-4.0.1.ebuild index d6b74e43c4ba..ad88d86117a3 100644 --- a/dev-python/sybil/sybil-4.0.1.ebuild +++ b/dev-python/sybil/sybil-4.0.1.ebuild @@ -24,7 +24,7 @@ KEYWORDS="~amd64 ~arm ~arm64 ~riscv ~x86" BDEPEND=" test? ( - dev-python/myst_parser[${PYTHON_USEDEP}] + dev-python/myst-parser[${PYTHON_USEDEP}] dev-python/seedir[${PYTHON_USEDEP}] dev-python/testfixtures[${PYTHON_USEDEP}] ) diff --git a/dev-python/tifffile/Manifest b/dev-python/tifffile/Manifest index bfc44b8c4c52..5a5486fe9bf0 100644 --- a/dev-python/tifffile/Manifest +++ b/dev-python/tifffile/Manifest @@ -1,2 +1,3 @@ DIST tifffile-2023.2.27.gh.tar.gz 326444 BLAKE2B 8c5081b7434329181d5f6df416b739c43d24ff9a9c3dc2ac4b3d6d6dd5ba165290d224648e5e6b4f46bd611c85204114f8b563cb110b7b50ba73aefd0e427f2e SHA512 97ba6b6ac469e4ab92822fd51dc45ebc00776834e5b171679abed24448d5be479a06e5e401bd055a21029641668f63912246b93f15424a3b268733729515452e +DIST tifffile-2023.2.28.gh.tar.gz 326769 BLAKE2B e7495832d4fbcfa524a5e1aa4f34663378aa3a7d05743e0a564e008a052b8eb1f9ad5a26fbf89064947957ae6029ab6a51ea8669eb785a188443fffa1947ff98 SHA512 b9e2e58c03937aa839f83ac7b3126fe4d4f0eab4fa6d09dc88380e2f894497ab65d9bb7ca9947170ccd9026531e23e99252db4fb9c61b44c891297c2df197751 DIST tifffile-2023.2.3.gh.tar.gz 324906 BLAKE2B b9417ea561de7a185f1a57a6f36a6efde12caa85cd15fd787ae1ca50e73d328f83ec6cd196042d3a11a62706ac27bfad8ecc42e0a235201ee208fdb95d942c16 SHA512 f73dd77c149afa976ac468f0fac37a1bafe35ae4bcb377a91e7922573237805cdc6e00cbcd7bb78f3213a9da4878ec020a058567523b9a4c5958e013f9bdc94b diff --git a/dev-python/tifffile/tifffile-2023.2.28.ebuild b/dev-python/tifffile/tifffile-2023.2.28.ebuild new file mode 100644 index 000000000000..66babf481615 --- /dev/null +++ b/dev-python/tifffile/tifffile-2023.2.28.ebuild @@ -0,0 +1,60 @@ +# Copyright 2021-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="Read and write TIFF files" +HOMEPAGE=" + https://pypi.org/project/tifffile/ + https://github.com/cgohlke/tifffile/ + https://www.cgohlke.com/ +" +SRC_URI=" + https://github.com/cgohlke/tifffile/archive/v${PV}.tar.gz + -> ${P}.gh.tar.gz +" + +LICENSE="BSD" +SLOT="0" +KEYWORDS="~amd64 ~x86" + +RDEPEND=" + >=dev-python/numpy-1.19.2[${PYTHON_USEDEP}] +" +BDEPEND=" + test? ( + dev-python/dask[${PYTHON_USEDEP}] + dev-python/defusedxml[${PYTHON_USEDEP}] + >=dev-python/fsspec-2021.5.0[${PYTHON_USEDEP}] + dev-python/lxml[${PYTHON_USEDEP}] + dev-python/xarray[${PYTHON_USEDEP}] + ) +" + +distutils_enable_tests pytest + +EPYTEST_DESELECT=( + # Internet + tests/test_tifffile.py::test_class_omexml + tests/test_tifffile.py::test_class_omexml_fail + tests/test_tifffile.py::test_class_omexml_modulo + tests/test_tifffile.py::test_class_omexml_attributes + tests/test_tifffile.py::test_class_omexml_multiimage + tests/test_tifffile.py::test_write_ome + tests/test_tifffile.py::test_write_ome_manual + # requires tons of free space + tests/test_tifffile.py::test_write_3gb + tests/test_tifffile.py::test_write_5GB_bigtiff + tests/test_tifffile.py::test_write_5GB_fails + tests/test_tifffile.py::test_write_6gb + tests/test_tifffile.py::test_write_bigtiff + 'tests/test_tifffile.py::test_write_imagej_raw' + # TODO + tests/test_tifffile.py::test_issue_imagej_hyperstack_arg + tests/test_tifffile.py::test_issue_description_overwrite +) diff --git a/dev-python/traitlets/traitlets-5.9.0.ebuild b/dev-python/traitlets/traitlets-5.9.0.ebuild index 7c4f48b0f007..0cc2f01f6a91 100644 --- a/dev-python/traitlets/traitlets-5.9.0.ebuild +++ b/dev-python/traitlets/traitlets-5.9.0.ebuild @@ -6,14 +6,13 @@ EAPI=8 DISTUTILS_USE_PEP517=hatchling PYTHON_COMPAT=( python3_{7,8,9,10,11} ) -inherit distutils-r1 +inherit distutils-r1 pypi DESCRIPTION="A configuration system for Python applications" HOMEPAGE=" https://github.com/ipython/traitlets/ https://pypi.org/project/traitlets/ " -SRC_URI="mirror://pypi/${PN::1}/${PN}/${P}.tar.gz" LICENSE="BSD" SLOT="0" @@ -27,7 +26,7 @@ BDEPEND=" " distutils_enable_sphinx docs/source \ - dev-python/myst_parser \ + dev-python/myst-parser \ dev-python/pydata-sphinx-theme distutils_enable_tests pytest |
