diff options
| author | Liguros - Gitlab CI/CD [develop] <gitlab@liguros.net> | 2023-02-08 17:47:56 +0000 |
|---|---|---|
| committer | Liguros - Gitlab CI/CD [develop] <gitlab@liguros.net> | 2023-02-08 17:47:56 +0000 |
| commit | 2851aea51560dfd7fce738d21bb7083613b85aa9 (patch) | |
| tree | 94493e480e8981533fef3ade8da449ef3d66ba6e /dev-python | |
| parent | 08bca2c7eeefe1e4d57611313e4ef98ee1887efd (diff) | |
| download | baldeagleos-repo-2851aea51560dfd7fce738d21bb7083613b85aa9.tar.gz baldeagleos-repo-2851aea51560dfd7fce738d21bb7083613b85aa9.tar.xz baldeagleos-repo-2851aea51560dfd7fce738d21bb7083613b85aa9.zip | |
Adding metadata
Diffstat (limited to 'dev-python')
75 files changed, 2425 insertions, 231 deletions
diff --git a/dev-python/Faker/Faker-16.7.0.ebuild b/dev-python/Faker/Faker-16.7.0.ebuild new file mode 100644 index 000000000000..a1f375d5c26e --- /dev/null +++ b/dev-python/Faker/Faker-16.7.0.ebuild @@ -0,0 +1,33 @@ +# 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 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 4190f072b6f9..31b2feb98f4a 100644 --- a/dev-python/Faker/Manifest +++ b/dev-python/Faker/Manifest @@ -4,3 +4,4 @@ DIST Faker-16.3.0.tar.gz 1624029 BLAKE2B c17eafa1ba85d3839545ec57811541edf9006c8 DIST Faker-16.4.0.tar.gz 1624299 BLAKE2B 3f3fd6f1ca60c4c481817bcb6f822f2658430995739db4655070e6cd5498879aeb3634defc324adf12648ab056c2066b82f83cac6c81b2fe4157a924fcae1460 SHA512 07aec45c401e8992a71ca3b6402a51f15070b5a6dfb534813a843660f8d419aadb68a5ace9667beb1b317f5a5232ad7d94086e053cd6455d0a8d3df0c6d96a9e DIST Faker-16.6.0.tar.gz 1625783 BLAKE2B d5a1cd6d8a7161eabf9a36bade94ae0003c5bd4cef48c33b19f6e7a30289267962ec9820cdae85316cb53b16b1a3734d751160db1aa5803ee60c746baa1828c1 SHA512 32f4d8c19ff09c4e415936f458a1ab821be74c4e0e8a79e01d584a8f46ad641b7d873f3a5c2bb3990ffaedb16d0b84eb8a7c610dc6e17b00619045a2c70ed433 DIST Faker-16.6.1.tar.gz 1626043 BLAKE2B 2fc44018b76fffa1f0e249905d20fbc78bc1ab4ffcc3d2448067bfce8c1fd16caf64ce0e073b706a4d0461fd12f4758777a9f9df79b2682a74681dcbcbb7479e SHA512 d2a9add29c6511c452e1ac6749af6772ec5cf0713fe88d773f338f7d1173202bbbc55265e3bbd5cd8d84d9cd4bde153bf614b6840913b704d5c7eed30f4b5512 +DIST Faker-16.7.0.tar.gz 1626808 BLAKE2B e2a93903436ee113d76fe5b1403b6e239237c78a64b70b297eb5f5e348a388f7ea681c08f7b60b4ff3bbdcdbdf1a1b348359e690c0c959ec4948b10ec3cec69f SHA512 e3079651d1448dd6a5ff231a1676c00de00703857284c1b5a4261dad2414a84e3cc72891b038bcf52ef9da55075db3b3ee2c742b74832aeaba34bece5a0f8353 diff --git a/dev-python/aiosqlite/Manifest b/dev-python/aiosqlite/Manifest index fb7002456a70..cce382dbcf07 100644 --- a/dev-python/aiosqlite/Manifest +++ b/dev-python/aiosqlite/Manifest @@ -1 +1 @@ -DIST aiosqlite-0.17.0.tar.gz 25941 BLAKE2B 869d165bc8c791cb94159f6508f5113d915f5531117d0d79ac1f297de16cbb78574a7eaafc1bceccc9e4397f88f490b90d49becb4b7cc2c0d51e14f0afd7561b SHA512 50f9965ef7dafe91a2f41dc41489395e437080aa4b7853800d806d21f4f8042d92ff6cfd2aeadefa7ca5e4debd14f39d93ca28c89f3116b3b61b2e8829533e6e +DIST aiosqlite-0.18.0.tar.gz 27066 BLAKE2B 2743db7770b8377a1ab2b11b286684840b1ace9015180fb18590026e4607f78f72068765ea5ab69f9b2fd6ad96007dbbb517d371c2142930f2a587f0b13f81ea SHA512 dcab1bac1b32a86f31957a2f297969ba25cf43cd129afba5810812124964640744cdcbf9764c0037adb9b6cd917cd816a26823578ffb16d864be19f92373d59f diff --git a/dev-python/aiosqlite/aiosqlite-0.17.0-r2.ebuild b/dev-python/aiosqlite/aiosqlite-0.18.0.ebuild index 528db0316daa..3cf8b4df3479 100644 --- a/dev-python/aiosqlite/aiosqlite-0.17.0-r2.ebuild +++ b/dev-python/aiosqlite/aiosqlite-0.18.0.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2021 Gentoo Authors +# Copyright 1999-2023 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 @@ -18,12 +18,7 @@ SRC_URI="mirror://pypi/${P:0:1}/${PN}/${P}.tar.gz" LICENSE="MIT" SLOT="0" -KEYWORDS="~amd64 ~x86" - -RDEPEND="dev-python/typing-extensions[${PYTHON_USEDEP}]" -BDEPEND="test? ( - dev-python/aiounittest[${PYTHON_USEDEP}] -)" +KEYWORDS="~amd64" distutils_enable_tests unittest diff --git a/dev-python/aiosqlite/metadata.xml b/dev-python/aiosqlite/metadata.xml index 8741894fa361..ea8988e8af6a 100644 --- a/dev-python/aiosqlite/metadata.xml +++ b/dev-python/aiosqlite/metadata.xml @@ -1,14 +1,11 @@ <?xml version="1.0" encoding="UTF-8"?> <!DOCTYPE pkgmetadata SYSTEM "https://liguros.gitlab.io/dtd/metadata.dtd"> <pkgmetadata> - <maintainer type="person"> - <email>piotr.staroszczyk@get24.org</email> - <name>Piotr Staroszczyk</name> - </maintainer> - <maintainer type="person"> - <email>cyber+gentoo@sysrq.in</email> - <name>Anna</name> + <maintainer type="project"> + <email>python@gentoo.org</email> + <name>Python</name> </maintainer> - <origin>gentoo-guru-overlay</origin> + <origin>gentoo-staging</origin> + <stabilize-allarches/> </pkgmetadata>
\ No newline at end of file diff --git a/dev-python/alembic/Manifest b/dev-python/alembic/Manifest index b25d4a39eac5..2606774c8d7f 100644 --- a/dev-python/alembic/Manifest +++ b/dev-python/alembic/Manifest @@ -2,3 +2,4 @@ DIST alembic-1.8.1.tar.gz 1255927 BLAKE2B dbf40f9ca12171d99ad46bec6bf18417992268 DIST alembic-1.9.0.tar.gz 1278832 BLAKE2B 59131c5a53d051905c13e466c58ad5c1759e0e0f557bcb78bbe80e2ca8f3f7d791a1d8be017cd9227d6baf8b7416d0c6d89ec9e9e56f7440f6d1455577ed8676 SHA512 3c040ee07ce2f40af28a63f129dee886f7d8458b762a28cf2165ac10dd2f2f732b73da2ae2c9687b66e8872b75d85d95933847eb6a1190ad55e550e6bb120a04 DIST alembic-1.9.1.tar.gz 1280020 BLAKE2B 2355b265a7cb42091f51e2d291dd2e620134f9f7ef96c101db7161e1a8667b44ddb61b6d01f46a0db4227b44dcc1821c9bd6923f8510c4235e26f3d482e4298a SHA512 143a62bab08c654c5846ff7ba1021dfb96d3a4b0e699d9c4bd692fda250f47b0ee10cb3238b769e8117b09ac495bdd97a6dbd290b29659b5121754be9a161331 DIST alembic-1.9.2.tar.gz 1136929 BLAKE2B 26c4ad3185bc274aa4321a0860dc357566625abb51c951f2d0151bfd109f0e0bf7a37075d07ad2f0975127bdd327579f2d9a700f3cc130fbdd1c6458127b2e50 SHA512 d878d48d140be68facdaf0ec25f8582c9e10a369b23e9ee035ae63f8f2ad52d50464c5b8e9c666307edd1a797b6a2c495e56fa890f7dc8f46b3d75a726905ded +DIST alembic-1.9.3.tar.gz 1137492 BLAKE2B 17dbc5513b7e15daa51f623bfa90febf356caad8d13e215c6007fd0330e569ea4ffddd374c1ab9b7954e38a136c27d2e5d0ff5db026a6c2ad04d242b3cfdbe7f SHA512 dcbde51c26a81f88b102979aa000c17d0af065e96c51484c94c138fc08099e229deb06f5934d499058f25ef87eb5a5de765225fb890a76eb030d1ad6649e57a4 diff --git a/dev-python/alembic/alembic-1.9.3.ebuild b/dev-python/alembic/alembic-1.9.3.ebuild new file mode 100644 index 000000000000..d351e96e2e0f --- /dev/null +++ b/dev-python/alembic/alembic-1.9.3.ebuild @@ -0,0 +1,38 @@ +# 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 pypi + +DESCRIPTION="Database migrations tool, written by the author of SQLAlchemy" +HOMEPAGE=" + https://github.com/sqlalchemy/alembic/ + https://pypi.org/project/alembic/ +" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64 ~arm64 ~riscv ~x86" +IUSE="doc" + +RDEPEND=" + >=dev-python/sqlalchemy-1.1.0[${PYTHON_USEDEP}] + dev-python/mako[${PYTHON_USEDEP}] + >=dev-python/python-editor-0.3[${PYTHON_USEDEP}] + dev-python/python-dateutil[${PYTHON_USEDEP}] + $(python_gen_cond_dep ' + dev-python/importlib_metadata[${PYTHON_USEDEP}] + dev-python/importlib_resources[${PYTHON_USEDEP}] + ' pypy3 python3_8) +" + +distutils_enable_tests pytest + +python_install_all() { + use doc && local HTML_DOCS=( docs/. ) + distutils-r1_python_install_all +} diff --git a/dev-python/autobahn/Manifest b/dev-python/autobahn/Manifest index d655f719225a..346030cbc5cb 100644 --- a/dev-python/autobahn/Manifest +++ b/dev-python/autobahn/Manifest @@ -1,3 +1,4 @@ DIST autobahn-22.12.1.tar.gz 479515 BLAKE2B 37003c458b773b122716fd17e5245c3754e49e5c66601266870ce83fe4b7622553605d007902bd505897428231ce8347bf24548142dcb38631dc08f092be7eaf SHA512 10b3eec220a78b21aa393c9a721a9efb06b2623910ebb19dcf58c3966912cb9c5bbe5fc04d9f1072711a209a6a0168d7ba3a6147c1fc9a7db46bd528cc380dd0 DIST autobahn-22.7.1.tar.gz 476789 BLAKE2B 4860a6ec1a2631986dd5d8e94069134e75650eedb67dce18dd4c1e8ad45bd76ca183b4dcbca6ef4474c25f6feb4a1407c9fed4c74f0751e9c0c7fbca2b013406 SHA512 ea2c4d61d3f0f8ef35a31b599bc432781536dccaa316cda474a61003b10df0ef6346615d16228848cc5acb24a4e5f4c50be1fe759daf35b629f636da55688137 DIST autobahn-23.1.1.tar.gz 479905 BLAKE2B 598f3fde0efb7016423962b10937503414a96cce1813fb7b11133d1ee2b4fa4661c379df19e725f49b29731650e6696de4d2b5f6781b2076298641471f16ff9b SHA512 f74ec3b2647689613e48446b7604b754f43fead2e8c77370c3f6e22553d9bccedd584b41940b572463977bdd1078c29c346af972dd04583feb217f708c771843 +DIST autobahn-23.1.2.tar.gz 480717 BLAKE2B cc92dc114ef0931be72fa9bf06cfb5646d8dac7a8da3ed3b8d28c4dad67c47465ba3fb03008b70b81ad36210ee014a148f69e5f13b74ef4993b344f9e6887374 SHA512 cd69d901ad7ec8c5f995ca15d803d1de1985294b48707bc0edabfc37733295c3bf9fd7965f930e8b4fa1c7c12c6e02dcbf2ff169edf464eadc774ae6f9185175 diff --git a/dev-python/autobahn/autobahn-23.1.2.ebuild b/dev-python/autobahn/autobahn-23.1.2.ebuild new file mode 100644 index 000000000000..b6a6d1fbd809 --- /dev/null +++ b/dev-python/autobahn/autobahn-23.1.2.ebuild @@ -0,0 +1,115 @@ +# 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 optfeature pypi + +DESCRIPTION="WebSocket and WAMP for Twisted and Asyncio" +HOMEPAGE=" + https://crossbar.io/autobahn/ + https://github.com/crossbario/autobahn-python/ + https://pypi.org/project/autobahn/ +" + +SLOT="0" +LICENSE="MIT" +KEYWORDS="~amd64 ~arm ~arm64 ~riscv ~x86" +IUSE="test xbr" +RESTRICT="!test? ( test )" + +# The order of deps is based on their appearance in setup.py +# All extra deps should be included in test and in optfeature +RDEPEND=" + >=dev-python/zope-interface-5.2.0[${PYTHON_USEDEP}] + >=dev-python/twisted-20.3.0[${PYTHON_USEDEP}] + >=dev-python/attrs-20.3.0[${PYTHON_USEDEP}] + >=dev-python/txaio-21.2.1[${PYTHON_USEDEP}] + dev-python/cryptography[${PYTHON_USEDEP}] + >=dev-python/hyperlink-21.0.0[${PYTHON_USEDEP}] + dev-python/setuptools[${PYTHON_USEDEP}] +" +BDEPEND=" + test? ( + ${RDEPEND} + >=dev-python/wsaccel-0.6.3[${PYTHON_USEDEP}] + >=dev-python/python-snappy-0.6.0[${PYTHON_USEDEP}] + >=dev-python/msgpack-1.0.2[${PYTHON_USEDEP}] + >=dev-python/ujson-4.0.2[${PYTHON_USEDEP}] + >=dev-python/cbor2-5.2.0[${PYTHON_USEDEP}] + >=dev-python/py-ubjson-0.16.1[${PYTHON_USEDEP}] + >=dev-python/flatbuffers-22.12.06[${PYTHON_USEDEP}] + >=dev-python/pyopenssl-20.0.1[${PYTHON_USEDEP}] + >=dev-python/service_identity-18.1.0[${PYTHON_USEDEP}] + >=dev-python/pynacl-1.4.0[${PYTHON_USEDEP}] + >=dev-python/pytrie-0.4[${PYTHON_USEDEP}] + >=dev-python/cffi-1.14.5[${PYTHON_USEDEP}] + >=dev-python/argon2-cffi-20.1.0[${PYTHON_USEDEP}] + >=dev-python/passlib-1.7.4[${PYTHON_USEDEP}] + + dev-python/pytest[${PYTHON_USEDEP}] + dev-python/pytest-asyncio[${PYTHON_USEDEP}] + dev-python/pytest-aiohttp[${PYTHON_USEDEP}] + ) +" + +python_prepare_all() { + if use xbr ; then + eerror "***************" + eerror "Required xbr dependencies are incomplete in Gentoo." + eerror "So this functionality will not yet work" + eerror "Please file a bug if this feature is needed" + eerror "***************" + else + # remove xbr components + export AUTOBAHN_STRIP_XBR="True" + fi + + # avoid useless rust dependency + sed -i -e '/cryptography/s:>=3.4.6::' setup.py || die + + # remove twisted plugin cache regen in setup.py + # to fix tinderbox sandbox issue + sed -e '/import/s:reactor:__importmustfail__:' \ + -i setup.py || die + + distutils-r1_python_prepare_all +} + +python_test() { + rm -rf autobahn || die + + einfo "Testing all, cryptosign using twisted" + local -x USE_TWISTED=true + "${EPYTHON}" -m twisted.trial autobahn || die "Tests failed with ${EPYTHON}" + unset USE_TWISTED + + einfo "RE-testing cryptosign and component_aio using asyncio" + local -x USE_ASYNCIO=true + epytest --pyargs autobahn.wamp.test.test_wamp_{cryptosign,component_aio} + unset USE_ASYNCIO + + rm -f twisted/plugins/dropin.cache || die +} + +pkg_postinst() { + optfeature "C-based WebSocket acceleration" "dev-python/wsaccel" + optfeature "non-standard WebSocket compression support" \ + "dev-python/python-snappy" + optfeature "accelerated WAMP serialization support" \ + "dev-python/msgpack dev-python/ujson dev-python/cbor2 dev-python/flatbuffers dev-python/py-ubjson" + optfeature "TLS transport encryption" \ + "dev-python/pyopenssl dev-python/pynacl dev-python/pytrie dev-python/qrcode dev-python/service_identity" + optfeature "WAMP-SCRAM authentication" \ + "dev-python/cffi dev-python/argon2-cffi dev-python/passlib" + optfeature "native SIMD acceleration" "dev-python/cffi" + + python_foreach_impl twisted-regen-cache +} + +pkg_postrm() { + python_foreach_impl twisted-regen-cache +} diff --git a/dev-python/boto3/Manifest b/dev-python/boto3/Manifest index 467f430cd1d7..7daf39b76d8c 100644 --- a/dev-python/boto3/Manifest +++ b/dev-python/boto3/Manifest @@ -3,3 +3,4 @@ DIST boto3-1.26.59.gh.tar.gz 594565 BLAKE2B 90c5fe950da7fabc46a4c34e0a77997cfc64 DIST boto3-1.26.63.gh.tar.gz 597618 BLAKE2B f48de0f51694efa0a4fa6afa25ad7475fb7e304cf9291d6dcd275d4dd64ee3f29665afd1fb64f5883513c4224e03240a8e225e41765409822d33e95078e1a9ac SHA512 5f781ce615202fa84e321982699877376b2cb3692cf52f2b157eea6800d160ccf6da38b3c545d62cbce029b59f492d5ef67a31d06dc33b6f6bffd1e1b40c5d85 DIST boto3-1.26.64.gh.tar.gz 597913 BLAKE2B f3dc63388cf4055c58610eaf980c10ff4d297c6f00f89fe0b46e6b764fba502b7fd85b71421a9d21f1930b668f95aaf2fa174389e5067901d749babf582a8033 SHA512 17ed0e655706f29ed34e1d60a9913d74ab0098ba8085ea76bafb5fcd1bfde91c2efd95d2f3f3e6bcd1b6ef7bed85f9001ba484c01a0251219ea879543a8f2b47 DIST boto3-1.26.65.gh.tar.gz 598836 BLAKE2B f6e5c14f120bdaa2e797cbd2f62eb0420a28ee5d677705fff8724d22b730ed28090a106ae69cc5b948e8cb5d50dc2d237c2f769d50f1d33634919fd1f116e897 SHA512 575718f82fc0bcf59b724233aca55ca265add7c45b84f8dd63c475a2c6c6ad821dedf4846aa61bc7a8d875fa5bcf438b50d09112bfddaf72373dfdde4f1f7882 +DIST boto3-1.26.66.gh.tar.gz 598939 BLAKE2B c3c8c4bebdb4432beea858226dbb5eb3bfb33d51c776bd619d08b67789a9851963066c50f2e1bd41dccf0c7b35169824b2d8a0a0a9abf98f087890654251f996 SHA512 bd74f1a0264f67532a54f055c7269d53c12298d265a136e431586448eaf2cac23b0fbc133c69a19954cb3b3c52fd4604ac0e0e1a7d04a3ddded67b5a90d7096c diff --git a/dev-python/boto3/boto3-1.26.66.ebuild b/dev-python/boto3/boto3-1.26.66.ebuild new file mode 100644 index 000000000000..9523f65d5fb9 --- /dev/null +++ b/dev-python/boto3/boto3-1.26.66.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 9a85127c945c..3ed7956ba535 100644 --- a/dev-python/botocore/Manifest +++ b/dev-python/botocore/Manifest @@ -3,3 +3,4 @@ DIST botocore-1.29.59.gh.tar.gz 11131182 BLAKE2B fa85e1f8dc3c366f7a7fb3e9b06dd29 DIST botocore-1.29.63.gh.tar.gz 11139461 BLAKE2B b05f6d52f55df9e456e80e9b701e2498c5fcdd2c65720719095e2c44b87acf854712a6cbc19e20a53b58b8075c8f20952605f60ed58cb1f99a6a771c61dac4d1 SHA512 7005db01c04d0eb2d94760ff1b7b89d28d956b310736dc5601b9e0bfd4b7ffeac6042a596f4f731b600e669a3fc74a7eededbe2bc0ef70d7d3a68f1d14149f9c DIST botocore-1.29.64.gh.tar.gz 11141125 BLAKE2B 955c7ac0630bd8df8004a0a3d0ec64a7491aee7d68e63a65c62c9fe7a4362aed7bd74ca967cd8550ead458e42a858a428f0db8922a337c83cd680fcd1d1b62c3 SHA512 bb8e177f335e600389123f26788711f4a94c4943a4d80c6195db03bb3cf9489b2a8b0e42d429635c6c8c501df6c27b4177e9ef71e748b0c63874e6682bf2e8e9 DIST botocore-1.29.65.gh.tar.gz 11138878 BLAKE2B 6757ec86d6c3428a345217cf4903c8a74de4389f52528779ba3cf575098730c61bd228e7d9476665f4fd141bc5a3fc42c30edfcfcf4f2dc85c9ee5421c3bfc7a SHA512 e4472d44014502f468ec5009bd11015f44913fb7d1a42a51190ec70e74972613513c98cc0f7bc6b3646b7156831e1421c4a225d6fb350edd83006891313795c2 +DIST botocore-1.29.66.gh.tar.gz 11139268 BLAKE2B c95ac52a4b0cf4cb407b0ed7452d1454f78ec48a9a4903b18f77fec223fde18dfa0507bfdd89a45428efdfd1cda19f48e881cb0fcae0e1afa9d05f33a2e43434 SHA512 27b0253ea7bd094adb7978207c82cc11460fecd301642ab831c9c7f7d960642bebedec8ac7f88af911b804ec3d085dffff01cccfedc0165f19be8e2154e7b7e4 diff --git a/dev-python/botocore/botocore-1.29.66.ebuild b/dev-python/botocore/botocore-1.29.66.ebuild new file mode 100644 index 000000000000..0f4daaa48e81 --- /dev/null +++ b/dev-python/botocore/botocore-1.29.66.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/django-tables2/Manifest b/dev-python/django-tables2/Manifest index 3896786d758c..5b5c8d167dbf 100644 --- a/dev-python/django-tables2/Manifest +++ b/dev-python/django-tables2/Manifest @@ -1 +1,2 @@ DIST django-tables2-2.5.1.gh.tar.gz 430778 BLAKE2B 7811880ec49a514b74252d32fbc59d800aaa34fb2bf4af5675d1c4555c7a52f9eb3ca67d8d940697146c07de1e42006c6d3880a53b31a386bd088aa6939b056f SHA512 baf955b255dcbcf09250cfdbb2dc1fb51f3f9142ad29bf4ca8888344d1bcbe9f23a59f1509cad7e847d82bb6d410a494ed9eae1d4d4ca633e7f0351e4a98839d +DIST django-tables2-2.5.2.gh.tar.gz 430733 BLAKE2B 70aa25ca949e4244a089894a26e384d5fbdd77cc5f7b939c9fd594c70114dafd0b8134d8327d247c1272159f278c54c980a5363ad86c75af95b4ffed489468cb SHA512 0a3522cd7500e09bfbe1dd4ee102542f9e6361163195928b2d8ea301133b39aa8d417bba29b93a6166b79b744fd58889af8ae8eb49bcc2251c21dd8b9b64827e diff --git a/dev-python/django-tables2/django-tables2-2.5.2.ebuild b/dev-python/django-tables2/django-tables2-2.5.2.ebuild new file mode 100644 index 000000000000..5564e75ca694 --- /dev/null +++ b/dev-python/django-tables2/django-tables2-2.5.2.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_{7,8,9,10,11} ) + +inherit distutils-r1 + +DESCRIPTION="Table/data-grid framework for Django" +HOMEPAGE=" + https://pypi.org/project/django-tables2/ + https://github.com/jieter/django-tables2/ +" +SRC_URI=" + https://github.com/jieter/django-tables2/archive/v${PV}.tar.gz + -> ${P}.gh.tar.gz +" + +SLOT="0" +LICENSE="BSD-2" +KEYWORDS="~amd64 ~x86" +IUSE="test" +RESTRICT="!test? ( test )" + +RDEPEND=" + >=dev-python/django-3.2[${PYTHON_USEDEP}] +" +BDEPEND=" + test? ( + ${RDEPEND} + dev-python/django-filter[${PYTHON_USEDEP}] + dev-python/lxml[${PYTHON_USEDEP}] + dev-python/mock[${PYTHON_USEDEP}] + dev-python/psycopg:2[${PYTHON_USEDEP}] + dev-python/pytz[${PYTHON_USEDEP}] + ) +" + +src_prepare() { + # these tests require tablib + rm tests/test_export.py tests/test_templatetags.py || die + # these tests require fudge + rm tests/test_config.py || die + + distutils-r1_src_prepare +} + +python_test() { + "${EPYTHON}" manage.py test -v 2 tests || die +} diff --git a/dev-python/docutils/docutils-0.19.ebuild b/dev-python/docutils/docutils-0.19.ebuild index 22472f25d94b..3c1990211609 100644 --- a/dev-python/docutils/docutils-0.19.ebuild +++ b/dev-python/docutils/docutils-0.19.ebuild @@ -26,6 +26,10 @@ BDEPEND=" ${RDEPEND} " +PATCHES=( + "${FILESDIR}"/${PN}-0.19-pygments-2.14.patch +) + python_compile_all() { # Generate html docs from reStructured text sources. diff --git a/dev-python/docutils/files/docutils-0.19-pygments-2.14.patch b/dev-python/docutils/files/docutils-0.19-pygments-2.14.patch new file mode 100644 index 000000000000..42324aa49c4d --- /dev/null +++ b/dev-python/docutils/files/docutils-0.19-pygments-2.14.patch @@ -0,0 +1,672 @@ +https://bugs.gentoo.org/892213 +https://sourceforge.net/p/docutils/patches/201/ +--- a/test/test_parsers/test_rst/test_directives/test_code.py ++++ b/test/test_parsers/test_rst/test_directives/test_code.py +@@ -10,14 +10,20 @@ Test the 'code' directive in parsers/rst + + if __name__ == '__main__': + import __init__ # noqa: F401 ++from packaging.version import Version + from test_parsers import DocutilsTestSupport +-from docutils.utils.code_analyzer import with_pygments ++from docutils.utils.code_analyzer import with_pygments, pygments_version + + + def suite(): + s = DocutilsTestSupport.ParserTestSuite() + if not with_pygments: + del(totest['code-parsing']) ++ del(totest['code-parsing-2-14']) ++ elif pygments_version >= Version('2.14.0'): ++ del(totest['code-parsing']) ++ else: ++ del(totest['code-parsing-2-14']) + s.generateTests(totest) + return s + +@@ -170,6 +176,165 @@ totest['code-parsing'] = [ + \n\ + <inline classes="name builtin"> + print ++ <inline classes="punctuation"> ++ ( ++ <inline classes="literal number integer"> ++ 8 ++ <inline classes="operator"> ++ / ++ <inline classes="literal number integer"> ++ 2 ++ <inline classes="punctuation"> ++ ) ++"""], ++["""\ ++.. code:: latex ++ :class: testclass ++ ++ hello \\emph{world} % emphasize ++""", ++"""\ ++<document source="test data"> ++ <literal_block classes="code latex testclass" xml:space="preserve"> ++ hello \n\ ++ <inline classes="keyword"> ++ \\emph ++ <inline classes="name builtin"> ++ { ++ world ++ <inline classes="name builtin"> ++ } ++ \n\ ++ <inline classes="comment"> ++ % emphasize"""], ++["""\ ++.. code:: rst ++ :number-lines: ++ ++ This is a code block with text. ++""", ++"""\ ++<document source="test data"> ++ <literal_block classes="code rst" xml:space="preserve"> ++ <inline classes="ln"> ++ 1 \n\ ++ This is a code block with text. ++"""], ++["""\ ++Code not parsed but warning silenced in ParserTestCase. ++ ++.. code:: s-lang ++ ++ % abc.sl ++ autoload("abc_mode", "abc"); ++""", ++"""\ ++<document source="test data"> ++ <paragraph> ++ Code not parsed but warning silenced in ParserTestCase. ++ <literal_block classes="code s-lang" xml:space="preserve"> ++ % abc.sl ++ autoload("abc_mode", "abc"); ++"""], ++["""\ ++Place the language name in a class argument to avoid the no-lexer warning: ++ ++.. code:: ++ :class: s-lang ++ ++ % abc.sl ++ autoload("abc_mode", "abc"); ++""", ++"""\ ++<document source="test data"> ++ <paragraph> ++ Place the language name in a class argument to avoid the no-lexer warning: ++ <literal_block classes="code s-lang" xml:space="preserve"> ++ % abc.sl ++ autoload("abc_mode", "abc"); ++"""], ++] ++ ++totest['code-parsing-2-14'] = [ ++["""\ ++.. code:: python3 ++ :class: testclass ++ ++ print('hello world') # to stdout ++""", ++"""\ ++<document source="test data"> ++ <literal_block classes="code python3 testclass" xml:space="preserve"> ++ \n\ ++ <inline classes="name builtin"> ++ print ++ <inline classes="punctuation"> ++ ( ++ <inline classes="literal string single"> ++ 'hello world' ++ <inline classes="punctuation"> ++ ) ++ \n\ ++ <inline classes="comment single"> ++ # to stdout ++"""], ++["""\ ++.. code:: python3 ++ :class: testclass ++ :name: my_function ++ :number-lines: 7 ++ ++ def my_function(): ++ '''Test the lexer. ++ ''' ++ ++ # and now for something completely different ++ print(8/2) ++""", ++"""\ ++<document source="test data"> ++ <literal_block classes="code python3 testclass" ids="my-function" names="my_function" xml:space="preserve"> ++ <inline classes="ln"> ++ 7 \n\ ++ <inline classes="keyword"> ++ def ++ \n\ ++ <inline classes="name function"> ++ my_function ++ <inline classes="punctuation"> ++ (): ++ <inline classes="whitespace"> ++ \n\ ++ <inline classes="ln"> ++ 8 \n\ ++ <inline classes="whitespace"> ++ \n\ ++ <inline classes="literal string doc"> ++ \'\'\'Test the lexer. ++ <inline classes="ln"> ++ 9 \n\ ++ <inline classes="literal string doc"> ++ \'\'\' ++ <inline classes="whitespace"> ++ \n\ ++ <inline classes="ln"> ++ 10 \n\ ++ <inline classes="whitespace"> ++ \n\ ++ <inline classes="ln"> ++ 11 \n\ ++ <inline classes="whitespace"> ++ \n\ ++ <inline classes="comment single"> ++ # and now for something completely different ++ <inline classes="whitespace"> ++ \n\ ++ <inline classes="ln"> ++ 12 \n\ ++ <inline classes="whitespace"> ++ \n\ ++ <inline classes="name builtin"> ++ print + <inline classes="punctuation"> + ( + <inline classes="literal number integer"> +--- a/test/test_parsers/test_rst/test_directives/test_code_long.py ++++ b/test/test_parsers/test_rst/test_directives/test_code_long.py +@@ -10,15 +10,22 @@ Test the 'code' directive in body.py wit + + if __name__ == '__main__': + import __init__ # noqa: F401 ++from packaging.version import Version + from test_parsers import DocutilsTestSupport +-from docutils.utils.code_analyzer import with_pygments ++from docutils.utils.code_analyzer import with_pygments, pygments_version + + + def suite(): + settings = {'syntax_highlight': 'long'} + s = DocutilsTestSupport.ParserTestSuite(suite_settings=settings) + if with_pygments: ++ if pygments_version >= Version('2.14.0'): ++ del(totest['code-parsing-long']) ++ else: ++ del(totest['code-parsing-long-2-14']) ++ + s.generateTests(totest) ++ + return s + + +@@ -73,6 +80,94 @@ totest['code-parsing-long'] = [ + \n\ + <inline classes="name builtin"> + print ++ <inline classes="punctuation"> ++ ( ++ <inline classes="literal number integer"> ++ 8 ++ <inline classes="operator"> ++ / ++ <inline classes="literal number integer"> ++ 2 ++ <inline classes="punctuation"> ++ ) ++"""], ++["""\ ++.. code:: latex ++ ++ hello \\emph{world} % emphasize ++""", ++"""\ ++<document source="test data"> ++ <literal_block classes="code latex" xml:space="preserve"> ++ hello \n\ ++ <inline classes="keyword"> ++ \\emph ++ <inline classes="name builtin"> ++ { ++ world ++ <inline classes="name builtin"> ++ } ++ \n\ ++ <inline classes="comment"> ++ % emphasize"""], ++] ++ ++totest['code-parsing-long-2-14'] = [ ++["""\ ++.. code:: python3 ++ :number-lines: 7 ++ ++ def my_function(): ++ '''Test the lexer. ++ ''' ++ ++ # and now for something completely different ++ print(8/2) ++""", ++"""\ ++<document source="test data"> ++ <literal_block classes="code python3" xml:space="preserve"> ++ <inline classes="ln"> ++ 7 \n\ ++ <inline classes="keyword"> ++ def ++ \n\ ++ <inline classes="name function"> ++ my_function ++ <inline classes="punctuation"> ++ (): ++ <inline classes="whitespace"> ++ \n\ ++ <inline classes="ln"> ++ 8 \n\ ++ <inline classes="whitespace"> ++ \n\ ++ <inline classes="literal string doc"> ++ \'\'\'Test the lexer. ++ <inline classes="ln"> ++ 9 \n\ ++ <inline classes="literal string doc"> ++ \'\'\' ++ <inline classes="whitespace"> ++ \n\ ++ <inline classes="ln"> ++ 10 \n\ ++ <inline classes="whitespace"> ++ \n\ ++ <inline classes="ln"> ++ 11 \n\ ++ <inline classes="whitespace"> ++ \n\ ++ <inline classes="comment single"> ++ # and now for something completely different ++ <inline classes="whitespace"> ++ \n\ ++ <inline classes="ln"> ++ 12 \n\ ++ <inline classes="whitespace"> ++ \n\ ++ <inline classes="name builtin"> ++ print + <inline classes="punctuation"> + ( + <inline classes="literal number integer"> +--- a/test/test_parsers/test_rst/test_directives/test_include.py ++++ b/test/test_parsers/test_rst/test_directives/test_include.py +@@ -10,9 +10,10 @@ Tests for misc.py "include" directive. + import os.path + if __name__ == '__main__': + import __init__ # noqa: F401 ++from packaging.version import Version + from test_parsers import DocutilsTestSupport + from docutils import parsers +-from docutils.utils.code_analyzer import with_pygments ++from docutils.utils.code_analyzer import with_pygments, pygments_version + + # optional 3rd-party markdown parser + md_parser_name = 'recommonmark' +@@ -27,6 +28,11 @@ def suite(): + # eventually skip optional parts: + if not with_pygments: + del(totest['include-code']) ++ del(totest['include-code-2-14']) ++ elif pygments_version >= Version('2.14.0'): ++ del(totest['include-code']) ++ else: ++ del(totest['include-code-2-14']) + if not md_parser_class: + del(totest['include-markdown']) + s.generateTests(totest) +@@ -1191,6 +1197,313 @@ Including includes/include14.txt + <inline classes="punctuation"> + .. + \n\ ++ <inline classes="operator word"> ++ include ++ <inline classes="punctuation"> ++ :: ++ ../sibling/include7.txt ++""" % reldir(include6)], ++["""\ ++Circular inclusion ++ ++.. include:: %s ++""" % include15, ++"""\ ++<document source="test data"> ++ <paragraph> ++ Circular inclusion ++ <paragraph> ++ File "include15.txt": example of rekursive inclusion. ++ <paragraph> ++ File "include16.txt": example of rekursive inclusion. ++ <system_message level="2" line="3" source="%s" type="WARNING"> ++ <paragraph> ++ circular inclusion in "include" directive: ++ %s ++ > %s ++ > %s ++ > test data ++ <literal_block xml:space="preserve"> ++ .. include:: include15.txt ++ <paragraph> ++ No loop when clipping before the "include" directive: ++ <paragraph> ++ File "include15.txt": example of rekursive inclusion. ++""" % (reldir(include16), reldir(include15), ++ reldir(include16), reldir(include15))], ++["""\ ++Circular inclusion with clipping. ++ ++.. include:: %s ++ :start-line: 2 ++""" % include16, ++"""\ ++<document source="test data"> ++ <paragraph> ++ Circular inclusion with clipping. ++ <paragraph> ++ File "include15.txt": example of rekursive inclusion. ++ <paragraph> ++ File "include16.txt": example of rekursive inclusion. ++ <system_message level="2" line="3" source="%s" type="WARNING"> ++ <paragraph> ++ circular inclusion in "include" directive: ++ %s ++ > %s ++ > %s ++ > %s ++ > test data ++ <literal_block xml:space="preserve"> ++ .. include:: include15.txt ++ <paragraph> ++ No loop when clipping before the "include" directive: ++ <paragraph> ++ File "include15.txt": example of rekursive inclusion. ++ <paragraph> ++ No loop when clipping before the "include" directive: ++ <paragraph> ++ File "include15.txt": example of rekursive inclusion. ++""" % (reldir(include16), reldir(include15), reldir(include16), ++ reldir(include15), reldir(include16))], ++["""\ ++Circular inclusion with specified parser. ++ ++.. include:: %s ++ :parser: rst ++""" % include15, ++"""\ ++<document source="test data"> ++ <paragraph> ++ Circular inclusion with specified parser. ++ <paragraph> ++ File "include15.txt": example of rekursive inclusion. ++ <paragraph> ++ File "include16.txt": example of rekursive inclusion. ++ <system_message level="2" line="3" source="%s" type="WARNING"> ++ <paragraph> ++ circular inclusion in "include" directive: ++ %s ++ > %s ++ > %s ++ > test data ++ <literal_block xml:space="preserve"> ++ .. include:: include15.txt ++ <paragraph> ++ No loop when clipping before the "include" directive: ++ <paragraph> ++ File "include15.txt": example of rekursive inclusion. ++""" % (reldir(include16), reldir(include15), ++ reldir(include16), reldir(include15))], ++["""\ ++No circular inclusion. ++ ++============================= ============================= ++.. include:: data/include.txt .. include:: data/include.txt ++============================= ============================= ++""", ++"""\ ++<document source="test data"> ++ <paragraph> ++ No circular inclusion. ++ <table> ++ <tgroup cols="2"> ++ <colspec colwidth="29"> ++ <colspec colwidth="29"> ++ <tbody> ++ <row> ++ <entry> ++ <paragraph> ++ Some include text. ++ <entry> ++ <paragraph> ++ Some include text."""], ++] ++ ++totest['include-code-2-14'] = [ ++["""\ ++Included code ++ ++.. include:: %s ++ :code: rst ++""" % include1, ++"""\ ++<document source="test data"> ++ <paragraph> ++ Included code ++ <literal_block classes="code rst" source="%s" xml:space="preserve"> ++ <inline classes="generic heading"> ++ Inclusion 1 ++ \n\ ++ <inline classes="generic heading"> ++ ----------- ++ \n\ ++ <inline classes="whitespace"> ++ \n\ ++ This file is used by \n\ ++ <inline classes="literal string"> ++ ``test_include.py`` ++ . ++""" % reldir(include1)], ++["""\ ++Included code ++ ++.. include:: %s ++ :code: rst ++ :number-lines: ++""" % include1, ++"""\ ++<document source="test data"> ++ <paragraph> ++ Included code ++ <literal_block classes="code rst" source="%s" xml:space="preserve"> ++ <inline classes="ln"> ++ 1 \n\ ++ <inline classes="generic heading"> ++ Inclusion 1 ++ \n\ ++ <inline classes="ln"> ++ 2 \n\ ++ <inline classes="generic heading"> ++ ----------- ++ \n\ ++ <inline classes="ln"> ++ 3 \n\ ++ <inline classes="whitespace"> ++ \n\ ++ <inline classes="ln"> ++ 4 \n\ ++ <inline classes="whitespace"> ++ This file is used by \n\ ++ <inline classes="literal string"> ++ ``test_include.py`` ++ . ++""" % reldir(include1)], ++["""\ ++TAB expansion with included code: ++ ++.. include:: %s ++ :code: rst ++""" % include_literal, ++"""\ ++<document source="test data"> ++ <paragraph> ++ TAB expansion with included code: ++ <literal_block classes="code rst" source="%s" xml:space="preserve"> ++ Literal included this should \n\ ++ <inline classes="generic strong"> ++ **not** ++ be \n\ ++ <inline classes="generic emph"> ++ *marked* ++ \n\ ++ <inline classes="name variable"> ++ `up` ++ . ++ <inline classes="whitespace"> ++ \n\ ++ <- leading raw tab. ++ <inline classes="whitespace"> ++ \n\ ++ \n\ ++ Newlines ++ <inline classes="whitespace"> ++ \n\ ++ are ++ <inline classes="whitespace"> ++ \n\ ++ normalized. ++""" % include_literal], ++["""\ ++Custom TAB expansion with included code: ++ ++.. include:: %s ++ :code: rst ++ :tab-width: 2 ++""" % include_literal, ++"""\ ++<document source="test data"> ++ <paragraph> ++ Custom TAB expansion with included code: ++ <literal_block classes="code rst" source="%s" xml:space="preserve"> ++ Literal included this should \n\ ++ <inline classes="generic strong"> ++ **not** ++ be \n\ ++ <inline classes="generic emph"> ++ *marked* ++ \n\ ++ <inline classes="name variable"> ++ `up` ++ . ++ <inline classes="whitespace"> ++ \n\ ++ <- leading raw tab. ++ <inline classes="whitespace"> ++ \n\ ++ \n\ ++ Newlines ++ <inline classes="whitespace"> ++ \n\ ++ are ++ <inline classes="whitespace"> ++ \n\ ++ normalized. ++""" % include_literal], ++["""\ ++Custom TAB expansion with included code: ++ ++.. include:: %s ++ :code: rst ++ :tab-width: -1 ++""" % include_literal, ++"""\ ++<document source="test data"> ++ <paragraph> ++ Custom TAB expansion with included code: ++ <literal_block classes="code rst" source="%s" xml:space="preserve"> ++ Literal included this should \n\ ++ <inline classes="generic strong"> ++ **not** ++ be \n\ ++ <inline classes="generic emph"> ++ *marked* ++ \n\ ++ <inline classes="name variable"> ++ `up` ++ . ++ <inline classes="whitespace"> ++ \n\ ++ \t<- leading raw tab. ++ <inline classes="whitespace"> ++ \n\ ++ \n\ ++ Newlines ++ <inline classes="whitespace"> ++ \n\ ++ are ++ <inline classes="whitespace"> ++ \n\ ++ normalized. ++""" % include_literal], ++["""\ ++Including includes/include14.txt ++ ++.. include:: %s ++""" % include14, ++"""\ ++<document source="test data"> ++ <paragraph> ++ Including includes/include14.txt ++ <paragraph> ++ Including more/include6.txt as rst-code from includes/include14.txt: ++ <literal_block classes="code rst" source="%s" xml:space="preserve"> ++ In includes/more/include6.txt ++ <inline classes="whitespace"> ++ \n\ ++ \n\ ++ <inline classes="punctuation"> ++ .. ++ \n\ + <inline classes="operator word"> + include + <inline classes="punctuation"> +--- a/docutils/utils/code_analyzer.py ++++ b/docutils/utils/code_analyzer.py +@@ -9,11 +9,14 @@ + from docutils import ApplicationError + try: + import pygments ++ from packaging.version import Version + from pygments.lexers import get_lexer_by_name + from pygments.formatters.html import _get_ttype_class + with_pygments = True ++ pygments_version = Version(pygments.__version__) + except ImportError: + with_pygments = False ++ pygments_version = '0' + + # Filter the following token types from the list of class arguments: + unstyled_tokens = ['token', # Token (base token type) + + diff --git a/dev-python/filebytes/Manifest b/dev-python/filebytes/Manifest index d2bf3d9b8638..4c0c9d138e15 100644 --- a/dev-python/filebytes/Manifest +++ b/dev-python/filebytes/Manifest @@ -1 +1 @@ -DIST filebytes-0.10.2.tar.gz 1958114 BLAKE2B 6b7fb865d01cc9ea0f14b32f6e0326da21fa2fa2a36549b99ca88e9bf015162d3b0f82e350be1cca805294fd56ef47e2db4394db5ffb3061773f146eda1ba666 SHA512 12317d6b5063e710b4410e4dcc61b45c0ac1cbc80655212dacb0929a19e100849df39ba84a05cb96699abe7ec16758e0b9656b3d3ce044f3d122b8636106e564 +DIST filebytes-0.10.2.gh.tar.gz 1958114 BLAKE2B 6b7fb865d01cc9ea0f14b32f6e0326da21fa2fa2a36549b99ca88e9bf015162d3b0f82e350be1cca805294fd56ef47e2db4394db5ffb3061773f146eda1ba666 SHA512 12317d6b5063e710b4410e4dcc61b45c0ac1cbc80655212dacb0929a19e100849df39ba84a05cb96699abe7ec16758e0b9656b3d3ce044f3d122b8636106e564 diff --git a/dev-python/filebytes/filebytes-0.10.2.ebuild b/dev-python/filebytes/filebytes-0.10.2.ebuild index 690bbb7e109b..5f699bc159fc 100644 --- a/dev-python/filebytes/filebytes-0.10.2.ebuild +++ b/dev-python/filebytes/filebytes-0.10.2.ebuild @@ -15,7 +15,7 @@ if [[ ${PV} == *9999 ]]; then inherit git-r3 EGIT_REPO_URI="https://github.com/sashs/filebytes" else - SRC_URI="https://github.com/sashs/filebytes/archive/v${PV}.tar.gz -> ${P}.tar.gz" + SRC_URI="https://github.com/sashs/filebytes/archive/v${PV}.tar.gz -> ${P}.gh.tar.gz" KEYWORDS="amd64 ~ppc x86" fi diff --git a/dev-python/google-api-python-client/Manifest b/dev-python/google-api-python-client/Manifest index 58a701076837..993b8073f214 100644 --- a/dev-python/google-api-python-client/Manifest +++ b/dev-python/google-api-python-client/Manifest @@ -1,5 +1,3 @@ -DIST google-api-python-client-2.72.0.gh.tar.gz 37897701 BLAKE2B fff35a2103f7d3a58e790cb6b385a881c572c2272bc078531912f69d26ac16433513d97ac724f70e47b250dbaac95a78e1df04c2ea7a030325f6ead9de42646d SHA512 1bb625fc6d9aeacebf0b03a77709367d9b29e33f171b5c708a90141e697d29fcf8689d3d6a71f21a50e976feaef5fc2aec9451525a2aa00867639fdfc401c262 -DIST google-api-python-client-2.73.0.gh.tar.gz 37984359 BLAKE2B e82fe357010c06601a58cac4e0e2c72c8f1d9e7ae5663248b5fa5ab4d0d3cbebc597fcce560cd157e363fd1edf9a1fed76570a43f5cf64ef45a7fb84902a5918 SHA512 6af39b7ce526d91de2c7d01c660ca951a6775453478ea8fe50e3a8def30114fdb90fa5b7490fb9b02c1ba4d38bde55e4b4c05ad61ba3713f9c7341cdfdbaf619 DIST google-api-python-client-2.74.0.gh.tar.gz 38189426 BLAKE2B 927345937faf574263df8a8c64949824bf371b5b881958b9d0e055ad8ee9bf5c758e173afa47274c6c1d10ebdd0c168f7d7763c8d66f664dc80bf253a391fb26 SHA512 831159d4a3c46b716ff1be64c13cbf37eebb96a75e3573bd8b1200930d465935569ceeb4caaa35bc24105087db06fa62306ef03ed4fb04c87b5d24826680b949 -DIST google-api-python-client-2.75.0.gh.tar.gz 38252215 BLAKE2B 7718ba579eb78debbc9a441bd08ba63d84db055e9ed67b24811444369ac4bff06b78a0dc145835c632234106bfe011fdde9ccc93344027a641a946663d1fc0dd SHA512 ff4b9766eacb656445182e3ce5c9425a2b7cbea565308abc98ef07193a581ae9ebae719323f9e4de94a94fc9c8b324d8c72dc58bdc3f4df4ac8be2d50fbb2156 DIST google-api-python-client-2.76.0.gh.tar.gz 38245213 BLAKE2B 28d7ea8fb169b08cfc689b2957de84e1f860fb2857f4cf85e40bcdbe8c728e6179194d5dfe65103d1ed17a604d880011b2a82b4e555dc6ed6e9e73737fc5e8bc SHA512 01f1245b8a64cf5adae42b941b88eb05db4a21db4e16b35f98a077c223e795538b654f348f4b0a7bfde8e8928c3c57cd841dca41755a57ee0a6965b89f58cdf9 +DIST google-api-python-client-2.77.0.gh.tar.gz 38300787 BLAKE2B c7d147b9ae78fff5aa70b2ba219888296d414c1f7b498c93bb424d06c437a50d5a1a2284062e58defb29ba3aa89b225e4218d9acd303a0e17f3ec4ab0380a2f6 SHA512 24aa2b3d709de83b76be2d8030a419d0e3f8f447852d7f95c6cf735134270a7af94edd86bcc3d82cd25af2497f30ac6c365ac88494c227b19faecb8e3706c261 diff --git a/dev-python/google-api-python-client/google-api-python-client-2.72.0.ebuild b/dev-python/google-api-python-client/google-api-python-client-2.72.0.ebuild deleted file mode 100644 index 5fbf68d9557e..000000000000 --- a/dev-python/google-api-python-client/google-api-python-client-2.72.0.ebuild +++ /dev/null @@ -1,52 +0,0 @@ -# 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="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/google-api-python-client/google-api-python-client-2.74.0.ebuild b/dev-python/google-api-python-client/google-api-python-client-2.74.0.ebuild index e603f5560fbc..5fbf68d9557e 100644 --- a/dev-python/google-api-python-client/google-api-python-client-2.74.0.ebuild +++ b/dev-python/google-api-python-client/google-api-python-client-2.74.0.ebuild @@ -20,7 +20,7 @@ SRC_URI=" LICENSE="Apache-2.0" SLOT="0" -KEYWORDS="~amd64 ~arm ~arm64 ~x86" +KEYWORDS="amd64 ~arm ~arm64 x86" RDEPEND=" >=dev-python/httplib2-0.15[${PYTHON_USEDEP}] diff --git a/dev-python/google-api-python-client/google-api-python-client-2.75.0.ebuild b/dev-python/google-api-python-client/google-api-python-client-2.75.0.ebuild deleted file mode 100644 index e603f5560fbc..000000000000 --- a/dev-python/google-api-python-client/google-api-python-client-2.75.0.ebuild +++ /dev/null @@ -1,52 +0,0 @@ -# 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="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/google-api-python-client/google-api-python-client-2.73.0.ebuild b/dev-python/google-api-python-client/google-api-python-client-2.77.0.ebuild index e603f5560fbc..e603f5560fbc 100644 --- a/dev-python/google-api-python-client/google-api-python-client-2.73.0.ebuild +++ b/dev-python/google-api-python-client/google-api-python-client-2.77.0.ebuild diff --git a/dev-python/google-auth-oauthlib/Manifest b/dev-python/google-auth-oauthlib/Manifest index 83a335f48185..5d86b149dee9 100644 --- a/dev-python/google-auth-oauthlib/Manifest +++ b/dev-python/google-auth-oauthlib/Manifest @@ -1 +1,2 @@ DIST google-auth-library-python-oauthlib-0.8.0.gh.tar.gz 71774 BLAKE2B 100aa01586f5df18453713610f3ed954a196e3d0c8d4dc15b8a67335951cbc2eaa15e3fa4bf7c7ba161418550bb7cfc68630fca0efe697a9c65ccbd7e0ce05d9 SHA512 3090d9b3ad25df6e8151e49a0cd96e7226aac2cecbbf289ccbc8cf4704ec86d882c11546b26f3a2ba9b047c19408f0cb939b9caf489aa935f49f8990ab7bfa55 +DIST google-auth-library-python-oauthlib-1.0.0.gh.tar.gz 71294 BLAKE2B f0f085ffbec620106f5e7ead56085cee4642932a0fea1bfeec01d1f3b77a8d97aa4e6cdbc29c303abebb30e1994de86cfbb6a950bb34fc243dd312b251afc5da SHA512 74eef43e4ce8de55170c7362eaddcd796c683b3d361d52ff02db1f74b301f12e57f0acb2b52fcc5a6e661b47e3066a780915955b8d933314646483b43c8c5b68 diff --git a/dev-python/google-auth-oauthlib/google-auth-oauthlib-1.0.0.ebuild b/dev-python/google-auth-oauthlib/google-auth-oauthlib-1.0.0.ebuild new file mode 100644 index 000000000000..428011855aa4 --- /dev/null +++ b/dev-python/google-auth-oauthlib/google-auth-oauthlib-1.0.0.ebuild @@ -0,0 +1,39 @@ +# 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 + +MY_P=google-auth-library-python-oauthlib-${PV} +DESCRIPTION="Google Authentication Library" +HOMEPAGE=" + https://github.com/googleapis/google-auth-library-python-oauthlib/ + https://pypi.org/project/google-auth-oauthlib/ +" +SRC_URI=" + https://github.com/googleapis/google-auth-library-python-oauthlib/archive/v${PV}.tar.gz + -> ${MY_P}.gh.tar.gz +" +S=${WORKDIR}/${MY_P} + +LICENSE="Apache-2.0" +SLOT="0" +KEYWORDS="~amd64 ~x86" + +RDEPEND=" + >=dev-python/click-6.0.0[${PYTHON_USEDEP}] + >=dev-python/google-auth-2.15.0[${PYTHON_USEDEP}] + >=dev-python/requests-oauthlib-0.7.0[${PYTHON_USEDEP}] +" + +BDEPEND=" + test? ( + dev-python/mock[${PYTHON_USEDEP}] + ) +" + +distutils_enable_tests pytest diff --git a/dev-python/ipykernel/Manifest b/dev-python/ipykernel/Manifest index 1866901c2fc5..04087d3d8554 100644 --- a/dev-python/ipykernel/Manifest +++ b/dev-python/ipykernel/Manifest @@ -1,3 +1,4 @@ DIST ipykernel-6.19.4.tar.gz 144072 BLAKE2B 25e2031a9198079488ef43b9c65e656be720ec8ac6648cb3eb65705be5c117d32c783776c0d8f5da466e745979ccb64573720146c0b41835ecb646bf25e7d4f8 SHA512 623a8cac7abfce0147a08fe55bf88772bfaf317431a608a99ae3e7058ebb120464d751a8b95633ccde5201b4cc2c1bde32dd823add96e5f2bb1ef20da19652dd DIST ipykernel-6.20.1.tar.gz 149147 BLAKE2B 9d05f1f43aa1a77dd63fac60fdd44d56dd03cc8b5025a99b29e04e30ca90ec5e6d541ab86c9fa1490b97b198e829058d14273823ad55321b1f8fe1b028d1bc62 SHA512 7a9b2ac79255e3049ee5847f5b424d2dff0a325e9f294b416d905907753c98751c70ff69ba496831eb98430532f438e5bd7edcb2c12b8b5c56f5b5c79b30c3d1 DIST ipykernel-6.20.2.tar.gz 149263 BLAKE2B 38b3afdbe237ec2facb3af42311315a060f1dba845cb3f7ce10a3d5f68679804640b0dbda869395817a8612af2033f5936ff7f6f3b3b822f47ed512a3b8c0c4d SHA512 9c79c7fa175cd81a920e6b1f2159dda30ba9068437cb1d24b09d864ded36b439045e58f240daee1a46ae375f1990cf318cd8b2e2c02aa6d6e2004d90aff5225a +DIST ipykernel-6.21.1.tar.gz 150412 BLAKE2B e77567230deb4b7a7af986e1465daa91d827ad1dafe38e8d71e7ed03edcab62b2dda81ee14f52bf29481e87a15e3346d6423b2e39b15bcdf26d3109022e7d252 SHA512 78e401f12f864364b73b4a12bf9adc0b0d7720b5b9f51f4af2d69b45535f34c81f099bdbe82865fc91ffafb19c97ac4a3831929528e821aa3db0fba9b3581fa4 diff --git a/dev-python/ipykernel/ipykernel-6.21.1.ebuild b/dev-python/ipykernel/ipykernel-6.21.1.ebuild new file mode 100644 index 000000000000..d7924d15c42d --- /dev/null +++ b/dev-python/ipykernel/ipykernel-6.21.1.ebuild @@ -0,0 +1,78 @@ +# Copyright 1999-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=hatchling +PYTHON_COMPAT=( python3_{7,8,9,10,11} ) +PYTHON_REQ_USE="threads(+)" + +inherit distutils-r1 virtualx + +DESCRIPTION="IPython Kernel for Jupyter" +HOMEPAGE=" + https://github.com/ipython/ipykernel/ + https://pypi.org/project/ipykernel/ +" +SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" + +LICENSE="BSD" +SLOT="0" +KEYWORDS="~amd64 ~arm64 ~ia64 ~loong ~ppc ~ppc64 ~riscv ~x86" + +RDEPEND=" + >=dev-python/comm-0.1.1[${PYTHON_USEDEP}] + >=dev-python/debugpy-1.6.5[${PYTHON_USEDEP}] + >=dev-python/ipython-7.23.1[${PYTHON_USEDEP}] + >=dev-python/jupyter_client-8[${PYTHON_USEDEP}] + >=dev-python/jupyter_core-4.12[${PYTHON_USEDEP}] + >=dev-python/matplotlib-inline-0.1[${PYTHON_USEDEP}] + dev-python/nest_asyncio[${PYTHON_USEDEP}] + dev-python/packaging[${PYTHON_USEDEP}] + dev-python/psutil[${PYTHON_USEDEP}] + >=dev-python/pyzmq-17[${PYTHON_USEDEP}] + >=dev-python/tornado-6.1[${PYTHON_USEDEP}] + >=dev-python/traitlets-5.4.0[${PYTHON_USEDEP}] +" +# RDEPEND seems specifically needed in BDEPEND, at least jupyter +# bug #816486 +BDEPEND=" + ${RDEPEND} + test? ( + dev-python/flaky[${PYTHON_USEDEP}] + dev-python/pytest-asyncio[${PYTHON_USEDEP}] + dev-python/pytest-timeout[${PYTHON_USEDEP}] + dev-python/ipyparallel[${PYTHON_USEDEP}] + ) +" + +distutils_enable_tests pytest + +src_prepare() { + sed -i -e 's:^TIMEOUT = .*:TIMEOUT = 120:' ipykernel/tests/*.py || die + distutils-r1_src_prepare +} + +python_compile() { + distutils-r1_python_compile + # Use python3 in kernel.json configuration, bug #784764 + sed -i -e '/python3.[0-9]\+/s//python3/' \ + "${BUILD_DIR}/install${EPREFIX}/usr/share/jupyter/kernels/python3/kernel.json" || die +} + +src_test() { + local EPYTEST_DESELECT=( + # TODO + ipykernel/tests/test_debugger.py::test_attach_debug + ipykernel/tests/test_debugger.py::test_breakpoint_in_cell_with_leading_empty_lines + ipykernel/tests/test_debugger.py::test_rich_inspect_at_breakpoint + ipykernel/tests/test_debugger.py::test_rich_inspect_not_at_breakpoint + ipykernel/tests/test_debugger.py::test_set_breakpoints + ipykernel/tests/test_debugger.py::test_stop_on_breakpoint + ipykernel/tests/test_debugger.py::test_copy_to_globals + # hangs? + ipykernel/tests/test_eventloop.py::test_tk_loop + ) + + virtx distutils-r1_src_test +} diff --git a/dev-python/jupyter_server_fileid/Manifest b/dev-python/jupyter_server_fileid/Manifest new file mode 100644 index 000000000000..cab6a7264a17 --- /dev/null +++ b/dev-python/jupyter_server_fileid/Manifest @@ -0,0 +1 @@ +DIST jupyter_server_fileid-0.6.0.tar.gz 50006 BLAKE2B d7fb42e6640354b58c488cdcc0310051fec3bb7d9318a230c6fc1f75ce4ab4c1d545b3d685e76529156861915457f3025d30aedc575d811f7850db1ed8a978d3 SHA512 96bfc5b7c3d60ca32d7956363aaef5905ae8ac5f8c5a2a520aa86bf5a9b0e89817e89f7587cedfc00ba4a1b97cb63191ed9f62fe9a91a2f3c989f0f3f6dd9f9a diff --git a/dev-python/jupyter_server_fileid/jupyter_server_fileid-0.6.0.ebuild b/dev-python/jupyter_server_fileid/jupyter_server_fileid-0.6.0.ebuild new file mode 100644 index 000000000000..de18ed1efb7a --- /dev/null +++ b/dev-python/jupyter_server_fileid/jupyter_server_fileid-0.6.0.ebuild @@ -0,0 +1,39 @@ +# Copyright 1999-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=hatchling +PYTHON_COMPAT=( python3_{7,8,9,10,11} ) + +inherit distutils-r1 + +DESCRIPTION="An extension that maintains file IDs for documents in a running Jupyter Server" +HOMEPAGE=" + https://jupyter.org/ + https://github.com/jupyter-server/jupyter_server_fileid/ + https://pypi.org/project/jupyter-server-fileid/ +" +SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" + +LICENSE="BSD" +SLOT="0" +KEYWORDS="~amd64" + +RDEPEND=" + dev-python/jupyter_server[${PYTHON_USEDEP}] + dev-python/jupyter_events[${PYTHON_USEDEP}] +" + +BDEPEND=" + test? ( + dev-python/pytest_jupyter[${PYTHON_USEDEP}] + ) +" + +distutils_enable_tests pytest + +python_install_all() { + distutils-r1_python_install_all + mv "${ED}/usr/etc" "${ED}/etc" || die +} diff --git a/dev-python/jupyter_server_fileid/metadata.xml b/dev-python/jupyter_server_fileid/metadata.xml new file mode 100644 index 000000000000..edbf614f1086 --- /dev/null +++ b/dev-python/jupyter_server_fileid/metadata.xml @@ -0,0 +1,11 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "https://liguros.gitlab.io/dtd/metadata.dtd"> +<pkgmetadata> + <maintainer type="project"> + <email>sci@gentoo.org</email> + <name>Gentoo Science Project</name> + </maintainer> + + <origin>gentoo-staging</origin> + <stabilize-allarches/> +</pkgmetadata>
\ No newline at end of file diff --git a/dev-python/jupyter_server_ydoc/Manifest b/dev-python/jupyter_server_ydoc/Manifest new file mode 100644 index 000000000000..b688652bb52f --- /dev/null +++ b/dev-python/jupyter_server_ydoc/Manifest @@ -0,0 +1 @@ +DIST jupyter_server_ydoc-0.7.0.tar.gz 25422 BLAKE2B d67a59c5ce17a1af4f88bdef07ae95b876d4c34dad0528d6b7aead3650f7178d42d4fd64956df89157242077fa87063f585ae8539688978b836a62000179eebd SHA512 38d3397533a00e1f5f414bb3567dd660bf7b732d8d6fb0beaa6ccec85c4ed0cf8022c4ba3fdb68a38482ee13f0c9f0f8d193a8317f8e3e1cea685601aa210cc9 diff --git a/dev-python/jupyter_server_ydoc/jupyter_server_ydoc-0.7.0.ebuild b/dev-python/jupyter_server_ydoc/jupyter_server_ydoc-0.7.0.ebuild new file mode 100644 index 000000000000..11b53519ec55 --- /dev/null +++ b/dev-python/jupyter_server_ydoc/jupyter_server_ydoc-0.7.0.ebuild @@ -0,0 +1,42 @@ +# Copyright 1999-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=hatchling +PYTHON_COMPAT=( python3_{7,8,9,10,11} ) + +inherit distutils-r1 + +DESCRIPTION="A Jupyter Server Extension Providing Y Documents" +HOMEPAGE=" + https://jupyter.org/ + https://github.com/jupyter-server/jupyter_server_ydoc/ + https://pypi.org/project/jupyter-server-ydoc/ +" +SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" + +LICENSE="BSD" +SLOT="0" +KEYWORDS="~amd64" + +RDEPEND=" + dev-python/jupyter_ydoc[${PYTHON_USEDEP}] + dev-python/ypy-websocket[${PYTHON_USEDEP}] + dev-python/jupyter_server_fileid[${PYTHON_USEDEP}] + +" +BDEPEND=" + test? ( + dev-python/pytest_jupyter[${PYTHON_USEDEP}] + dev-python/pytest-tornasync[${PYTHON_USEDEP}] + dev-python/pytest-timeout[${PYTHON_USEDEP}] + ) +" + +distutils_enable_tests pytest + +python_install_all() { + distutils-r1_python_install_all + mv "${ED}/usr/etc" "${ED}/etc" || die +} diff --git a/dev-python/jupyter_server_ydoc/metadata.xml b/dev-python/jupyter_server_ydoc/metadata.xml new file mode 100644 index 000000000000..edbf614f1086 --- /dev/null +++ b/dev-python/jupyter_server_ydoc/metadata.xml @@ -0,0 +1,11 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "https://liguros.gitlab.io/dtd/metadata.dtd"> +<pkgmetadata> + <maintainer type="project"> + <email>sci@gentoo.org</email> + <name>Gentoo Science Project</name> + </maintainer> + + <origin>gentoo-staging</origin> + <stabilize-allarches/> +</pkgmetadata>
\ No newline at end of file diff --git a/dev-python/jupyter_ydoc/Manifest b/dev-python/jupyter_ydoc/Manifest new file mode 100644 index 000000000000..2323314b3f9f --- /dev/null +++ b/dev-python/jupyter_ydoc/Manifest @@ -0,0 +1 @@ +DIST jupyter_ydoc-0.3.1.gh.tar.gz 170182 BLAKE2B 6a3b000b47bb00ddb8f6ddecb1091a150dbb33dadcb8ecfe8d55a03050663ee9dacbe1b8063174f54cca5472a6245951ba8ce3137afedea17735d1c5679690fc SHA512 897779f39cf2ffb0e59db31745063d2482d165ee76ca4cedb131b8daed341a63826af150a6da013226febc99d1bd0376fc003ff179744e81ec619993c04ffdd0 diff --git a/dev-python/jupyter_ydoc/files/jupyter_ydoc-0.3.1-no-node-for-version.patch b/dev-python/jupyter_ydoc/files/jupyter_ydoc-0.3.1-no-node-for-version.patch new file mode 100644 index 000000000000..0c337ec90d7d --- /dev/null +++ b/dev-python/jupyter_ydoc/files/jupyter_ydoc-0.3.1-no-node-for-version.patch @@ -0,0 +1,30 @@ +diff --git a/pyproject.toml b/pyproject.toml +index 6e0a069..42f76c1 100644 +--- a/pyproject.toml ++++ b/pyproject.toml +@@ -2,12 +2,12 @@ + # Distributed under the terms of the Modified BSD License. + + [build-system] +-requires = ["hatchling>=1.10.0", "hatch-nodejs-version"] ++requires = ["hatchling>=1.10.0"] + build-backend = "hatchling.build" + + [project] + name = "jupyter-ydoc" +-dynamic = ["version"] ++version = "0.3.1" + description = "Document structures for collaborative editing using Ypy" + requires-python = ">=3.7" + keywords = ["jupyter", "ypy"] +@@ -56,10 +56,6 @@ text = "BSD 3-Clause License" + Homepage = "https://jupyter.org" + Source = "https://github.com/jupyter-server/jupyter_ydoc" + +-[tool.hatch.version] +-source = "nodejs" +-path = "javascript/package.json" +- + [tool.hatch.build] + exclude = ["javascript", "!javascript/package.json"] + diff --git a/dev-python/jupyter_ydoc/jupyter_ydoc-0.3.1.ebuild b/dev-python/jupyter_ydoc/jupyter_ydoc-0.3.1.ebuild new file mode 100644 index 000000000000..9c399c67285e --- /dev/null +++ b/dev-python/jupyter_ydoc/jupyter_ydoc-0.3.1.ebuild @@ -0,0 +1,46 @@ +# Copyright 1999-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=hatchling +PYTHON_COMPAT=( python3_{7,8,9,10,11} ) + +inherit distutils-r1 + +DESCRIPTION="Document structures for collaborative editing using Ypy" +HOMEPAGE=" + https://jupyter.org/ + https://github.com/jupyter-server/jupyter_ydoc/ + https://pypi.org/project/jupyter-ydoc/ +" +SRC_URI="https://github.com/jupyter-server/${PN}/archive/refs/tags/v${PV}.tar.gz -> ${P}.gh.tar.gz" + +LICENSE="BSD" +SLOT="0" +KEYWORDS="~amd64" + +# Requires node +RESTRICT="test" + +RDEPEND=" + dev-python/y-py[${PYTHON_USEDEP}] + $(python_gen_cond_dep ' + >=dev-python/importlib_metadata-4.8.3[${PYTHON_USEDEP}] + ' 3.8 3.9) +" +BDEPEND=" + test? ( + dev-python/pytest-asyncio[${PYTHON_USEDEP}] + dev-python/websockets[${PYTHON_USEDEP}] + dev-python/ypy-websocket[${PYTHON_USEDEP}] + ) +" + +PATCHES=( + "${FILESDIR}/${P}-no-node-for-version.patch" +) + +distutils_enable_tests pytest +# Hangs for some reason +#distutils_enable_sphinx docs/source dev-python/myst_parser dev-python/pydata-sphinx-theme diff --git a/dev-python/jupyter_ydoc/metadata.xml b/dev-python/jupyter_ydoc/metadata.xml new file mode 100644 index 000000000000..edbf614f1086 --- /dev/null +++ b/dev-python/jupyter_ydoc/metadata.xml @@ -0,0 +1,11 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "https://liguros.gitlab.io/dtd/metadata.dtd"> +<pkgmetadata> + <maintainer type="project"> + <email>sci@gentoo.org</email> + <name>Gentoo Science Project</name> + </maintainer> + + <origin>gentoo-staging</origin> + <stabilize-allarches/> +</pkgmetadata>
\ No newline at end of file diff --git a/dev-python/jupyterlab/Manifest b/dev-python/jupyterlab/Manifest index 61ed55c0ddd2..d4444e661d80 100644 --- a/dev-python/jupyterlab/Manifest +++ b/dev-python/jupyterlab/Manifest @@ -1 +1,2 @@ DIST jupyterlab-3.5.3.tar.gz 17114007 BLAKE2B 70d32721a2579331dd4e3481f7241f5e2c5aad6dac851f213de0ac1fc3b76667bea496bca5ea13ee562e9678d51ac45df91c5901d8d3b7dc839977d3d842e67d SHA512 fdacd34ab629da2b5c2eb23f11ba4d44d5b27872e1736850319bcabbe635d31cfa2891c1c5991b152a5c1d94221e3766a20fc91033f556d8e508374bc46d5fe2 +DIST jupyterlab-3.6.1.tar.gz 16845937 BLAKE2B 41c50a9ddefc0ec97c70843e15107d3e3cebfadea2ec148e4536407b0f1b202c2aeace794b02c7cb666c316434da614c1bfebab5e5fc7e654f62677bac6e1eb3 SHA512 9dc63162955c13721c97d620a60116cd75bf10eca9c8eab08ae35749bf2dfec84c55759a361ca1abab34c44d63eded95748cfea589aff98907045b483d778413 diff --git a/dev-python/jupyterlab/jupyterlab-3.6.1.ebuild b/dev-python/jupyterlab/jupyterlab-3.6.1.ebuild new file mode 100644 index 000000000000..c26e68674059 --- /dev/null +++ b/dev-python/jupyterlab/jupyterlab-3.6.1.ebuild @@ -0,0 +1,82 @@ +# Copyright 1999-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +PYTHON_COMPAT=( python3_{7,8,9,10,11} ) +DISTUTILS_USE_PEP517=jupyter + +inherit distutils-r1 + +DESCRIPTION="JupyterLab computational environment" +HOMEPAGE=" + https://jupyter.org/ + 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" +KEYWORDS="~amd64" + +RDEPEND=" + dev-python/ipython[${PYTHON_USEDEP}] + dev-python/packaging[${PYTHON_USEDEP}] + dev-python/jupyter_core[${PYTHON_USEDEP}] + >=dev-python/jupyterlab_server-2.19[${PYTHON_USEDEP}] + >=dev-python/jupyter_server-1.16[${PYTHON_USEDEP}] + >=dev-python/jupyter_ydoc-0.2.2[${PYTHON_USEDEP}] + >=dev-python/jupyter_server_ydoc-0.6.0[${PYTHON_USEDEP}] + >=dev-python/nbclassic-0.2[${PYTHON_USEDEP}] + <dev-python/notebook-7[${PYTHON_USEDEP}] + >=dev-python/jinja-2.1[${PYTHON_USEDEP}] + >=dev-python/tornado-6.2[${PYTHON_USEDEP}] + dev-python/tomli[${PYTHON_USEDEP}] + net-libs/nodejs +" + +BDEPEND=" + test? ( + dev-python/check-manifest[${PYTHON_USEDEP}] + dev-python/ipykernel[${PYTHON_USEDEP}] + dev-python/jupyterlab_server[${PYTHON_USEDEP}] + dev-python/openapi-core[${PYTHON_USEDEP}] + dev-python/openapi-spec-validator[${PYTHON_USEDEP}] + dev-python/pytest-console-scripts[${PYTHON_USEDEP}] + dev-python/pytest_jupyter[${PYTHON_USEDEP}] + dev-python/pytest-tornasync[${PYTHON_USEDEP}] + dev-python/pytest-timeout[${PYTHON_USEDEP}] + dev-python/requests[${PYTHON_USEDEP}] + dev-python/ruamel-yaml[${PYTHON_USEDEP}] + dev-python/requests-cache[${PYTHON_USEDEP}] + dev-python/strict-rfc3339[${PYTHON_USEDEP}] + dev-python/virtualenv[${PYTHON_USEDEP}] + ) +" + +EPYTEST_DESELECT=( + # These tests call npm and want internet + jupyterlab/tests/test_jupyterlab.py::TestExtension::test_uninstall_core_extension + jupyterlab/tests/test_jupyterlab.py::TestExtension::test_install_and_uninstall_pinned_folder + jupyterlab/tests/test_jupyterlab.py::TestExtension::test_install_and_uninstall_pinned + jupyterlab/tests/test_jupyterlab.py::TestExtension::test_build_custom_minimal_core_config + jupyterlab/tests/test_jupyterlab.py::TestExtension::test_build_custom + jupyterlab/tests/test_jupyterlab.py::TestExtension::test_build_check + jupyterlab/tests/test_jupyterlab.py::TestExtension::test_build + jupyterlab/tests/test_build_api.py::TestBuildAPI::test_clear + jupyterlab/tests/test_build_api.py::TestBuildAPI::test_build +) + +EPYTEST_IGNORE=( + jupyterlab/tests/test_announcements.py +) + +distutils_enable_tests pytest +# TODO: package sphinx_copybutton +#distutils_enable_sphinx docs/source dev-python/sphinx_rtd_theme dev-python/myst_parser + +python_install_all() { + distutils-r1_python_install_all + mv "${ED}/usr/etc" "${ED}/etc" || die +} diff --git a/dev-python/jupyterlab_server/Manifest b/dev-python/jupyterlab_server/Manifest index 3bc058a8cf61..89871ff93cfe 100644 --- a/dev-python/jupyterlab_server/Manifest +++ b/dev-python/jupyterlab_server/Manifest @@ -1 +1,2 @@ DIST jupyterlab_server-2.16.5.tar.gz 67949 BLAKE2B 0e2e1ad3ca9163d34762893b3af2e675a8474fdb129e8735e567f111549ecaf1c23693064b757d68aeec63469f071428d827e361b253bcf241474f5386934bba SHA512 b125c3283d42ea813b12f891144665ec5c4a5827cbb01e9f80cd7826ba2647016344f939807c7095021293eb01e5ec3e151ce206272d0dca3eba3d7423fc4a6b +DIST jupyterlab_server-2.19.0.tar.gz 69979 BLAKE2B f44eea3aa2a19c0f2e548b33e1677a8daf4b6098bfb682f3ebae816d38c6cd24769aea35053f2a9e656e5b2bba2a032d4bd75ba976d30238fa4d27c9a1a69867 SHA512 058a1663ca1d6663be9de1243b178637a61e2ff156ca00163d9f30301d8527ca26235f1d3183bc2b48b6b4b82dbea595a4c7f0a989736b603851f5d78f8da078 diff --git a/dev-python/jupyterlab_server/jupyterlab_server-2.19.0.ebuild b/dev-python/jupyterlab_server/jupyterlab_server-2.19.0.ebuild new file mode 100644 index 000000000000..90dd9dd93e5c --- /dev/null +++ b/dev-python/jupyterlab_server/jupyterlab_server-2.19.0.ebuild @@ -0,0 +1,68 @@ +# Copyright 1999-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +PYTHON_COMPAT=( python3_{7,8,9,10,11} ) +DISTUTILS_USE_PEP517=hatchling + +inherit distutils-r1 + +DESCRIPTION="Server components for JupyterLab and JupyterLab like applications" +HOMEPAGE=" + https://jupyter.org/ + 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" +KEYWORDS="~amd64 ~x86" + +RDEPEND=" + >=dev-python/Babel-2.10[${PYTHON_USEDEP}] + >=dev-python/jinja-3.0.3[${PYTHON_USEDEP}] + >=dev-python/json5-0.9.0[${PYTHON_USEDEP}] + >=dev-python/jsonschema-3.0.1[${PYTHON_USEDEP}] + >=dev-python/packaging-21.3[${PYTHON_USEDEP}] + >=dev-python/requests-2.28[${PYTHON_USEDEP}] + >=dev-python/jupyter_server-1.21[${PYTHON_USEDEP}] + <dev-python/jupyter_server-3[${PYTHON_USEDEP}] + $(python_gen_cond_dep ' + >=dev-python/importlib_metadata-4.8.3[${PYTHON_USEDEP}] + ' 3.8 3.9) +" + +BDEPEND=" + test? ( + dev-python/ipykernel[${PYTHON_USEDEP}] + dev-python/jupyter_server[${PYTHON_USEDEP}] + >=dev-python/openapi-core-0.16.1[${PYTHON_USEDEP}] + >=dev-python/openapi-spec-validator-0.5.1[${PYTHON_USEDEP}] + dev-python/pytest_jupyter[${PYTHON_USEDEP}] + dev-python/pytest-tornasync[${PYTHON_USEDEP}] + dev-python/pytest-timeout[${PYTHON_USEDEP}] + dev-python/ruamel-yaml[${PYTHON_USEDEP}] + dev-python/strict-rfc3339[${PYTHON_USEDEP}] + dev-python/requests-mock[${PYTHON_USEDEP}] + ) +" + +distutils_enable_tests pytest +# TODO: package autodoc_traits +#distutils_enable_sphinx docs/source dev-python/pydata-sphinx-theme dev-python/myst_parser + +python_test() { + local EPYTEST_IGNORE=( + tests/test_translation_api.py + ) + + EPYTEST_DESELECT=( + # Fails if terminal not available + tests/test_labapp.py::test_page_config + ) + + local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1 + epytest -p pytest_tornasync.plugin +} diff --git a/dev-python/mautrix/mautrix-0.19.2.ebuild b/dev-python/mautrix/mautrix-0.19.2.ebuild index 85aa19a91393..a4cd48b79170 100644 --- a/dev-python/mautrix/mautrix-0.19.2.ebuild +++ b/dev-python/mautrix/mautrix-0.19.2.ebuild @@ -6,7 +6,7 @@ EAPI=8 DISTUTILS_USE_PEP517=setuptools PYTHON_COMPAT=( python3_{7,8,9,10,11} ) -inherit distutils-r1 +inherit distutils-r1 optfeature DESCRIPTION="A Python 3 asyncio Matrix framework" HOMEPAGE="https://github.com/mautrix/python/" @@ -29,9 +29,13 @@ RDEPEND=" test? ( dev-python/aiosqlite[${PYTHON_USEDEP}] dev-python/asyncpg[${PYTHON_USEDEP}] - dev-python/sqlalchemy[${PYTHON_USEDEP}] + <dev-python/sqlalchemy-2[${PYTHON_USEDEP}] ) " DEPEND="${RDEPEND}" distutils_enable_tests pytest + +pkg_postinst() { + optfeature "media transcoding" media-video/ffmpeg +} diff --git a/dev-python/oauth2client/Manifest b/dev-python/oauth2client/Manifest index 4ad1dc297cab..d913489a234e 100644 --- a/dev-python/oauth2client/Manifest +++ b/dev-python/oauth2client/Manifest @@ -1 +1,2 @@ +DIST oauth2client-4.1.3-fixes-20230207.patch 21827 BLAKE2B c04886be0efad92fff75f0d78c5597bbc386939001f1fc5d094f96899bcc25bbd80c4e620cdf401a45c7ed48a8c83515adc98a190cecbbd345f55b78ca4a0257 SHA512 4d648aff20e56628c6fa916627851d7bb50f927c1cb1a056e115130e0aec128e7e2a5571b4a35a167bbcf01762669c22008cffd5530e0006846250d32b3f8093 DIST oauth2client-4.1.3.tar.gz 185589 BLAKE2B 6cd61448e0d55cef7f2ba640c8cbb50ac83e76d0993391eb0acb3e156f937fcdee80576c9d45d505235a9f266495069664ccbfafd649a4e2d7a0990517ee8cb6 SHA512 80f49e09a6dd6767307a2c278544926fbf20b4f55e4cf83563ac7a7c1043622bd3c8c7fcf6de62896b623ca8c7947b309a5e6bf2b7cb0fccff3ff7634386b287 diff --git a/dev-python/oauth2client/oauth2client-4.1.3-r3.ebuild b/dev-python/oauth2client/oauth2client-4.1.3-r3.ebuild new file mode 100644 index 000000000000..ec572870113e --- /dev/null +++ b/dev-python/oauth2client/oauth2client-4.1.3-r3.ebuild @@ -0,0 +1,85 @@ +# 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="Library for accessing resources protected by OAuth 2.0" +HOMEPAGE="https://github.com/googleapis/oauth2client" +SRC_URI=" + https://github.com/googleapis/oauth2client/archive/v${PV/_p/-post}.tar.gz -> ${P}.tar.gz + https://dev.gentoo.org/~robbat2/distfiles/oauth2client-4.1.3-fixes-20230207.patch + " +S="${WORKDIR}"/${P/_p/-post} + +LICENSE="Apache-2.0" +SLOT="0" +KEYWORDS="~amd64 ~arm ~arm64 ~x86 ~amd64-linux ~x86-linux" + +# This package supports 3 different crypto options, but tests ALL of them +CRYPTO_A=">=dev-python/pycryptodome-2.6[${PYTHON_USEDEP}]" +CRYPTO_B="dev-python/pyopenssl[${PYTHON_USEDEP}]" +CRYPTO_C="( + >=dev-python/pyasn1-0.1.7[${PYTHON_USEDEP}] + >=dev-python/pyasn1-modules-0.0.5[${PYTHON_USEDEP}] + >=dev-python/rsa-3.1.4[${PYTHON_USEDEP}] + )" + +RDEPEND=" + >=dev-python/httplib2-0.9.1[${PYTHON_USEDEP}] + >=dev-python/six-1.6.1[${PYTHON_USEDEP}] + || ( ${CRYPTO_A} ${CRYPTO_B} ${CRYPTO_C} ) + dev-python/keyring[${PYTHON_USEDEP}] + !<=dev-python/google-api-python-client-1.1[${PYTHON_USEDEP}] +" + +# Not well-tested upstream, and broken: +# django dev-python/django[${PYTHON_USEDEP}] +# flask dev-python/flask[${PYTHON_USEDEP}] +BDEPEND=" + test? ( + dev-python/mock[${PYTHON_USEDEP}] + dev-python/sqlalchemy[${PYTHON_USEDEP}] + dev-python/fasteners[${PYTHON_USEDEP}] + ${CRYPTO_A} + ${CRYPTO_B} + ${CRYPTO_C} + ) +" + +distutils_enable_tests pytest + +PATCHES=( + "${DISTDIR}/oauth2client-4.1.3-fixes-20230207.patch" +) + +src_prepare() { + default + # These contrib modules are broken upstream: + REMOVE=( + # django + "${S}"/oauth2client/contrib/django_util/ + "${S}"/samples/django/ + "${S}"/tests/contrib/django_util/ + "${S}"/docs/source/oauth2client.contrib.django* + # flask + "${S}"/docs/source/oauth2client.contrib.flask_util.rst + "${S}"/oauth2client/contrib/flask_util.py + "${S}"/tests/contrib/test_flask_util.py + ) + rm -rf "${REMOVE[@]}" +} + +python_test() { + TEST_ARGS=( + # appengine - requires appengine + # django_util - requires django, contrib module broken upstream + # flash - requires flask, contrib module broken upstream + --ignore-glob='*appengine*' + ) + epytest "${TEST_ARGS[@]}" || die "tests fail with ${EPYTHON}" +} diff --git a/dev-python/patiencediff/Manifest b/dev-python/patiencediff/Manifest index 054d06521ce4..a9310c0ca28a 100644 --- a/dev-python/patiencediff/Manifest +++ b/dev-python/patiencediff/Manifest @@ -1 +1,2 @@ DIST patiencediff-0.2.12.tar.gz 26936 BLAKE2B 674d1a0397c7d8d75be647e22ee002593d2b175a4fa607f1343fa0eba3cb0a6810178cea9cf26c41bd2f592913a72f4910ae1d1a9402f3558e93d26c1a139885 SHA512 23ff933623f0445dc3cb91e0825e00c465255edf777c2b9b2f9fec907c1fa74e60790d8f23c9de91d0950a7ef6aacd8756ded3e219d32771fb18e1fcb5c85565 +DIST patiencediff-0.2.13.tar.gz 26972 BLAKE2B f38fcc8292a99082794498cd60f59b5ae44453f12387f125e7f16e355844bc391baae789adc9847efd71b9124ff6efb7bb0a7fbba5e371233d3a54314c2f2b95 SHA512 1607a6c4bee529ee787fe705b70f00e5f5c1c266e7854ea4463d57ca4a807e645c6fb83024d79113e6aef746f32ed3bc28227d87add7e86d886246580dd05485 diff --git a/dev-python/patiencediff/patiencediff-0.2.13.ebuild b/dev-python/patiencediff/patiencediff-0.2.13.ebuild new file mode 100644 index 000000000000..3ee4e19474ff --- /dev/null +++ b/dev-python/patiencediff/patiencediff-0.2.13.ebuild @@ -0,0 +1,26 @@ +# 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_{7,8,9,10,11} pypy3 ) + +inherit distutils-r1 pypi + +DESCRIPTION="Python implementation of the patiencediff algorithm" +HOMEPAGE=" + https://github.com/breezy-team/patiencediff/ + https://pypi.org/project/patiencediff/ +" + +LICENSE="GPL-2+" +SLOT="0" +KEYWORDS="~amd64 ~x86" + +distutils_enable_tests unittest + +python_test() { + cd "${BUILD_DIR}/install$(python_get_sitedir)" || die + eunittest +} diff --git a/dev-python/pdm-pep517/Manifest b/dev-python/pdm-pep517/Manifest index 2cdd1a386949..7d9c88cf1261 100644 --- a/dev-python/pdm-pep517/Manifest +++ b/dev-python/pdm-pep517/Manifest @@ -1,2 +1,3 @@ DIST pdm-pep517-1.0.6.gh.tar.gz 315755 BLAKE2B 7b221d9ddc9683521e901177cafd2ffd2908af4acbe083b4a7d6525a81ece64d3768331135451d45ffc5c40c67c8c72802d75d52fdf85fa89a13f30110436a13 SHA512 5aeef3179d508d2acaedf4b99df41e64b26537120e586a01870651d2b379e2e5a1bf42934ee28a4b285cb83fe10ead073408b6b7d022ca1f55653533d12a2da1 DIST pdm-pep517-1.1.1.gh.tar.gz 234424 BLAKE2B 7bf64c741c6e0e135d8d2358c7eee0777af792a32a825813e1d8dddbfeeeacfb232861dec063ba18a8f8f3587748bb63706a225114eaa60dcc02b40ce8a9ae5c SHA512 5ea8beb0275a2faae9b13c0f13da0f6d3ed8f3bf8f46572b9805daec6174fbfadc093158608b7b6ede4b682240d39edf904d2ad412c1fbdf4054ecb0b6d01283 +DIST pdm-pep517-1.1.2.gh.tar.gz 231983 BLAKE2B b2225da24f52d4d2c1a903db57f000a1fb2ba8435083d956ff740d272ee2fa8f00cf001673e32800fc0437ae2d1016cac661fda24f8b5f34c83a342fd3e8c353 SHA512 8f6140492ef8323044f01887895e6664019092f964e1fae3a829bcefb3d5d9c9223ef163183899681270f95b4a3a517951b7e44629ec3f37598c04ccbb221cac diff --git a/dev-python/pdm-pep517/pdm-pep517-1.1.2.ebuild b/dev-python/pdm-pep517/pdm-pep517-1.1.2.ebuild new file mode 100644 index 000000000000..e2e2f7b655b3 --- /dev/null +++ b/dev-python/pdm-pep517/pdm-pep517-1.1.2.ebuild @@ -0,0 +1,63 @@ +# Copyright 2022-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=standalone +PYTHON_COMPAT=( python3_{7,8,9,10,11} pypy3 ) + +inherit distutils-r1 + +# upstream has renamed the repo but the legacy branch is still published +# as pdm-pep517, sigh +MY_P=pdm-backend-${PV} +DESCRIPTION="A PEP 517 backend for PDM that supports PEP 621 metadata" +HOMEPAGE=" + https://pypi.org/project/pdm-pep517/ + https://github.com/pdm-project/pdm-backend/ +" +SRC_URI=" + https://github.com/pdm-project/pdm-backend/archive/${PV}.tar.gz + -> ${P}.gh.tar.gz +" +S=${WORKDIR}/${MY_P} + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64 ~arm ~arm64 ~ppc64 ~riscv ~x86" + +RDEPEND=" + >=dev-python/cerberus-1.3.4[${PYTHON_USEDEP}] + dev-python/license-expression[${PYTHON_USEDEP}] + >=dev-python/packaging-23[${PYTHON_USEDEP}] + >=dev-python/tomli-2[${PYTHON_USEDEP}] + dev-python/tomli-w[${PYTHON_USEDEP}] +" +BDEPEND=" + ${RDEPEND} + test? ( + dev-python/setuptools[${PYTHON_USEDEP}] + dev-vcs/git + ) +" +# setuptools are used to build C extensions +RDEPEND+=" + dev-python/setuptools[${PYTHON_USEDEP}] +" + +distutils_enable_tests pytest + +src_prepare() { + rm -r pdm/pep517/_vendor || die + find -name '*.py' -exec sed \ + -e 's:from pdm\.pep517\._vendor\.:from :' \ + -e 's:from pdm\.pep517\._vendor ::' \ + -i {} + || die + distutils-r1_src_prepare +} + +src_test() { + git config --global user.email "test@example.com" || die + git config --global user.name "Test User" || die + distutils-r1_src_test +} diff --git a/dev-python/pefile/Manifest b/dev-python/pefile/Manifest index fe7458f1a06d..ee377dabf555 100644 --- a/dev-python/pefile/Manifest +++ b/dev-python/pefile/Manifest @@ -1 +1,2 @@ DIST pefile-2022.5.30.tar.gz 72899 BLAKE2B 11752fe849c91749c5272ee9157513db0690fa47a51e274d24093f47c21096e877b364e1dba9cf08d9369abb7e9133743fe98d524079559b9aa9159ece76af74 SHA512 b584472387f7f0161449d2dc0035867da8983eb2c89b488952f38a3e836d23241d46f49a1c9cde13dde4253ef3f212971df48747ea2fec6b91c4db2b7618956d +DIST pefile-2023.2.7.gh.tar.gz 74852 BLAKE2B ddca4b8ef37af829bb1757eb4c4ba9f46c3914e05e6c13e13a8e5a3c88a608aba486deec9338400fddae4591867c0c7dcf7325cee14d42b1bb724751a3a2a7f0 SHA512 241d9846954f094ed39e61d80e7d8c1612829ec909650175e75657f9cf69c9bef9e2a115d4106bb14757125c0ffaa3e93abfb2f078e80326e78ac5818c7c2fd3 diff --git a/dev-python/pefile/pefile-2023.2.7.ebuild b/dev-python/pefile/pefile-2023.2.7.ebuild new file mode 100644 index 000000000000..3262814ade2e --- /dev/null +++ b/dev-python/pefile/pefile-2023.2.7.ebuild @@ -0,0 +1,26 @@ +# 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="Module to read and work with Portable Executable (PE) files" +HOMEPAGE="https://github.com/erocarrera/pefile" + +if [[ ${PV} == 9999 ]] ; then + EGIT_REPO_URI="https://github.com/erocarrera/pefile.git" + inherit git-r3 +else + SRC_URI="https://github.com/erocarrera/pefile/releases/download/v${PV}/${P}.tar.gz -> ${P}.gh.tar.gz" + KEYWORDS="~amd64 ~x86" +fi + +LICENSE="MIT" +SLOT="0" + +# Unfortunately there is nothing we can test here. Upstream doesn't ship a test +# suite inside the release files. The test fixtures in the source repo is +# encrypted so that only their CI pipeline is able to run the tests. diff --git a/dev-python/pefile/pefile-9999.ebuild b/dev-python/pefile/pefile-9999.ebuild index 7327ff75ac67..3262814ade2e 100644 --- a/dev-python/pefile/pefile-9999.ebuild +++ b/dev-python/pefile/pefile-9999.ebuild @@ -14,7 +14,7 @@ if [[ ${PV} == 9999 ]] ; then EGIT_REPO_URI="https://github.com/erocarrera/pefile.git" inherit git-r3 else - SRC_URI="https://github.com/erocarrera/pefile/releases/download/v${PV}/${P}.tar.gz" + SRC_URI="https://github.com/erocarrera/pefile/releases/download/v${PV}/${P}.tar.gz -> ${P}.gh.tar.gz" KEYWORDS="~amd64 ~x86" fi diff --git a/dev-python/pyproject-fmt/Manifest b/dev-python/pyproject-fmt/Manifest index 4e2d30119754..9e385287b765 100644 --- a/dev-python/pyproject-fmt/Manifest +++ b/dev-python/pyproject-fmt/Manifest @@ -1,3 +1,4 @@ DIST pyproject-fmt-0.4.1.gh.tar.gz 14853 BLAKE2B e06e3602290fdc4df00fb48dfe9d6d516a623ef29eaa535ab3b11754a577385611313172f207966b121f072a5b453774afcbf5e8699a0b7fd4426f5332e48e5a SHA512 f00999470e66e7f11e9299a902b686342fbad27a07634206011ff7712c7c422f9962d8a4eeffae6a6263712620b787bbdcd78c2129cb4b164631b56a45910363 DIST pyproject-fmt-0.5.0.gh.tar.gz 14906 BLAKE2B f75482988c8e10fbfcffaa518e6004f0e96b922e8bf929e43c7be26cf16149b3fa97a3070fabfbb90641ee3d953ab17bd854ba2e107b776f65f6bc802980bd54 SHA512 58ec7975f7c69990b1d2a0ee8a29681731d7143e59754343dc64e52e135cc5d280adf3c31b6818f042982697a7221a36aa0842ffba1ede28b57cefad77bf065c DIST pyproject-fmt-0.6.0.gh.tar.gz 15082 BLAKE2B 9ec7126530c98b984c5346bfd65fa817967dc7def60d16eb93e63ff690eaad53209d49483e19b5e87caf7b879f6661862a68606a0adb3b4513ff119262ff99a6 SHA512 50c9dcb468213de62e86edd500ae001815a83d8374ac1d36467fd7c560a5774862b001414f687d588fc0622ba5896c83338d6833ac4c248d2b4aa111fefe33ce +DIST pyproject-fmt-0.7.0.gh.tar.gz 15249 BLAKE2B ad3b86af31ed860efb5eefbdd62629c3f3dfdb79a01b1e9904bf5a808699e410d870ca688fc82e28307b07841502f57870754cd694c10998ab1e1e0eef177669 SHA512 361a7bbb4a96659d3902ddb317c2f9b49999010aca4b91f8663d810971d6d1bb0362e26cc63ee7b16b0e1e1518af429b57d06de71bcfc56efad462dfc2c04abe diff --git a/dev-python/pyproject-fmt/pyproject-fmt-0.7.0.ebuild b/dev-python/pyproject-fmt/pyproject-fmt-0.7.0.ebuild new file mode 100644 index 000000000000..a04ffadcd0e5 --- /dev/null +++ b/dev-python/pyproject-fmt/pyproject-fmt-0.7.0.ebuild @@ -0,0 +1,38 @@ +# Copyright 2022-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=hatchling +PYTHON_COMPAT=( python3_{7,8,9,10,11} pypy3 ) + +inherit distutils-r1 + +DESCRIPTION="Format your pyproject.toml file" +HOMEPAGE=" + https://github.com/tox-dev/pyproject-fmt/ + https://pypi.org/project/pyproject-fmt/ +" +SRC_URI=" + https://github.com/tox-dev/pyproject-fmt/archive/${PV}.tar.gz + -> ${P}.gh.tar.gz +" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86" + +RDEPEND=" + >=dev-python/packaging-23[${PYTHON_USEDEP}] + >=dev-python/tomlkit-0.11.6[${PYTHON_USEDEP}] +" +BDEPEND=" + dev-python/hatch-vcs[${PYTHON_USEDEP}] + test? ( + >=dev-python/pytest-mock-3.10[${PYTHON_USEDEP}] + ) +" + +distutils_enable_tests pytest + +export SETUPTOOLS_SCM_PRETEND_VERSION=${PV} diff --git a/dev-python/pytest-xdist/Manifest b/dev-python/pytest-xdist/Manifest index 0cd0e5299708..b1692268aebf 100644 --- a/dev-python/pytest-xdist/Manifest +++ b/dev-python/pytest-xdist/Manifest @@ -1 +1,2 @@ DIST pytest-xdist-3.1.0.tar.gz 71977 BLAKE2B c29622377743aec0a90f0e92af866a63106b9c37abee379222fd2b5c40f0607c33010bb5d2cb5212fc90a438d787ecb435f07c31e0db7a10599696c33b309a32 SHA512 884cdd85754b36338666cbdd71575ef18465730cfc4ab7333b93aa46823c1dc33e8055117241f4c87e1b8c82492881cc0f91ef1bb2ddc164aa00bfa1e5e2d245 +DIST pytest-xdist-3.2.0.tar.gz 76199 BLAKE2B 462d6af54ba599f506a51ae2e91ab0c08fdb8a6b3e47ba4541c0fe2c19a9aa8a38dee0621e130d23a2daecdc9509b1020eb05d550a50d6de233e185a8108872c SHA512 dd22c2e525681ddabc1df75e8eadcf0d3c52936cefafb7308771e37cfe9023cb4ecbbaf4e437668666f5319e379e7b6c5c7665912b59c5d10890c32da7546433 diff --git a/dev-python/pytest-xdist/pytest-xdist-3.2.0.ebuild b/dev-python/pytest-xdist/pytest-xdist-3.2.0.ebuild new file mode 100644 index 000000000000..af21f68d9112 --- /dev/null +++ b/dev-python/pytest-xdist/pytest-xdist-3.2.0.ebuild @@ -0,0 +1,44 @@ +# 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 pypi + +DESCRIPTION="Distributed testing and loop-on-failing modes" +HOMEPAGE=" + https://pypi.org/project/pytest-xdist/ + https://github.com/pytest-dev/pytest-xdist/ +" + +SLOT="0" +LICENSE="MIT" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~m68k ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~x64-macos" + +RDEPEND=" + dev-python/execnet[${PYTHON_USEDEP}] + dev-python/psutil[${PYTHON_USEDEP}] + >=dev-python/pytest-6.2.0[${PYTHON_USEDEP}] + dev-python/pytest-forked[${PYTHON_USEDEP}] +" + +BDEPEND=" + dev-python/setuptools_scm[${PYTHON_USEDEP}] + test? ( + dev-python/filelock[${PYTHON_USEDEP}] + ) +" + +distutils_enable_tests pytest + +python_test() { + # disable autoloading plugins in nested pytest calls + local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1 + # since we disabled autoloading, force loading necessary plugins + local -x PYTEST_PLUGINS=xdist.plugin,xdist.looponfail,pytest_forked + + epytest +} diff --git a/dev-python/redis-py/Manifest b/dev-python/redis-py/Manifest index 0177b85b54b4..edc14738891f 100644 --- a/dev-python/redis-py/Manifest +++ b/dev-python/redis-py/Manifest @@ -1,3 +1,4 @@ DIST redis-py-4.4.0.gh.tar.gz 4637656 BLAKE2B 40b0909c27cefb399353cc2d1d82d7ad3d64e4b3e5ae001ffef9c198d0e65d906f5772a0ac33b599c7fb6ffc5dfad461bb4b9042c5c4fb23dfbfceb0a7facbc0 SHA512 8992f160de7817c48893f3a8588d5c0398dcfb91830a61b4218206adc88185acb102b072507d3064b4a7aade5c957267e5d0e6912510bb106eea834cf9250fab DIST redis-py-4.4.1.gh.tar.gz 4733306 BLAKE2B b04a5925f87d8c1dbb06b30382f739d6bc39456b6b49be34701afcc1fecfca4783e60a451ddccdaff31f28c38b626e19607a57ebd600f7e28c63a4b62894f397 SHA512 0cec4b518bb56acee6a24ca62e7fdce054b4be764fcfaa860257d8de9f306d9d0f15a662354d7414a4a552475e2b49d97d97de05059310eead068a6269bc3038 DIST redis-py-4.4.2.gh.tar.gz 4734100 BLAKE2B 8e23c9b81a19cbbead7d6dab682fc4efc75f0c29adb4df6b9bf17f6842b2823249036c67c133039a850504870a0f884275eb65f4e517f84211b51767d7a2ae15 SHA512 3303e87ccc9d4ea3afbb93bcc5e4dcc5bbb3a406878b07c5b8755f28f87cb7a0f9a0db989ec294c2cf42c4ec62f546b5d919a3cb3f11b4ba030e41d13ed2cfc8 +DIST redis-py-4.5.0.gh.tar.gz 4737555 BLAKE2B 27631f43b0952c00105b4ad18b5aeadb133e3642f258b6342bbfb926dee016430f67ca6ae03c59408203e3fd86ea40f3059ecd1604259b4280b56e2c39b9b0eb SHA512 c0c190cd56d2910c69e755f1fb921f05681f922cd937bc047c644eecef7f85f841aa9577a84c59549b91613ab8f2e9960a870d7f45ac1b6eafdfaa9879ed1599 diff --git a/dev-python/redis-py/redis-py-4.5.0.ebuild b/dev-python/redis-py/redis-py-4.5.0.ebuild new file mode 100644 index 000000000000..0471f7571158 --- /dev/null +++ b/dev-python/redis-py/redis-py-4.5.0.ebuild @@ -0,0 +1,79 @@ +# 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="Python client for Redis key-value store" +HOMEPAGE=" + https://github.com/redis/redis-py/ + https://pypi.org/project/redis/ +" +SRC_URI=" + https://github.com/redis/redis-py/archive/v${PV}.tar.gz + -> ${P}.gh.tar.gz +" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ppc ~ppc64 ~riscv ~sparc ~x86" + +RDEPEND=" + >=dev-python/async-timeout-4.0.2[${PYTHON_USEDEP}] +" +BDEPEND=" + test? ( + dev-db/redis + dev-python/pytest-asyncio[${PYTHON_USEDEP}] + dev-python/pytest-timeout[${PYTHON_USEDEP}] + ) +" + +distutils_enable_tests pytest + +python_test() { + local EPYTEST_DESELECT=( + # Flaky test + tests/test_pubsub.py::TestPubSubDeadlock::test_pubsub_deadlock + # TODO + tests/test_commands.py::TestRedisCommands::test_acl_list + # redis-7 different return + tests/test_commands.py::TestRedisCommands::test_xautoclaim + ) + + # TODO: try to run more servers? + epytest -m "not redismod and not onlycluster and not replica and not ssl" +} + +src_test() { + local redis_pid="${T}"/redis.pid + local redis_port=6379 + + if has_version ">=dev-db/redis-7"; then + local extra_conf=" + enable-debug-command yes + enable-module-command yes + " + fi + + # Spawn Redis itself for testing purposes + einfo "Spawning Redis" + einfo "NOTE: Port ${redis_port} must be free" + "${EPREFIX}"/usr/sbin/redis-server - <<- EOF || die "Unable to start redis server" + daemonize yes + pidfile ${redis_pid} + port ${redis_port} + bind 127.0.0.1 ::1 + ${extra_conf} + EOF + + # Run the tests + distutils-r1_src_test + + # Clean up afterwards + kill "$(<"${redis_pid}")" || die +} diff --git a/dev-python/sentry-sdk/Manifest b/dev-python/sentry-sdk/Manifest index 0272564c92ab..ab2df83815c2 100644 --- a/dev-python/sentry-sdk/Manifest +++ b/dev-python/sentry-sdk/Manifest @@ -1,3 +1,4 @@ DIST sentry-sdk-1.12.1.gh.tar.gz 306457 BLAKE2B e0c4e92fcf8f0213f27ccf6f03cfbdc66999469357cfdf82e4b923f34d79c44e0824a50caf437dded4404e77cd1cbdede240b1e98bd8408d467b754b3586d598 SHA512 c4fb0d13c1e40e0220ef56c29c2c5235aba0c7be598a545e08af783da0732266455d6b9aa73f2aaa068bf63105369517a12e8abbc7a31410ef3c4bea1a0b3018 DIST sentry-sdk-1.13.0.gh.tar.gz 309851 BLAKE2B e1827bf8aa09a7d28a75f46afbbf3d59d92569e870fec3ad5c960fd566398bacdbd22e3f1c1bdd16f9905d430ddd4c348fb44b8fd2d20b8601bea4b61af1b57e SHA512 6e18fafafe37150958c3a474a7b9e783403fb0dff3747647e438bcfb490f1ba6a9584c9f5a35889c1c8f4e2502d83a2f851d037d11dfc58dd22f04479d3f6ce7 DIST sentry-sdk-1.14.0.gh.tar.gz 312667 BLAKE2B 02772c3313a6cdb5f872df93274b291cdbae35db8387eab3816261b446bb438afd41610580cc642299877d8f03732a1d7bae4e6ad9824a92f4126677a4a3ca1a SHA512 cd0c4ca10d61825919721335fe0413f1050bd8d1f41a2f3f4a25b843c4bf83d35610382f55dc14fe86f70cca962e30a8d9d0708a07b10730783ae09b22f20e04 +DIST sentry-sdk-1.15.0.gh.tar.gz 317804 BLAKE2B 65a45f0da5327057827f4533418d846d8d4dc4bdd2723fddd754e5391e12c50946bb2f3f7914c5ee03cfdac324d565e68158aaca8e6686dc4502a02813cd6442 SHA512 9ae477c3ddc90c4189f4cbcca8756d7b0bd2df0358afa553467b431a2a131f32c9a9df9ce0ca3cca4d98b5a14746222f21476c164bf6da09bc06d94ce7ed0afe diff --git a/dev-python/sentry-sdk/sentry-sdk-1.15.0.ebuild b/dev-python/sentry-sdk/sentry-sdk-1.15.0.ebuild new file mode 100644 index 000000000000..547ebfaefeaf --- /dev/null +++ b/dev-python/sentry-sdk/sentry-sdk-1.15.0.ebuild @@ -0,0 +1,104 @@ +# 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="Python client for Sentry" +HOMEPAGE=" + https://sentry.io/ + https://github.com/getsentry/sentry-python/ + https://pypi.org/project/sentry-sdk/ +" +SRC_URI=" + https://github.com/getsentry/sentry-python/archive/${PV}.tar.gz + -> ${P}.gh.tar.gz +" +S="${WORKDIR}/sentry-python-${PV}" + +LICENSE="PSF-2" +SLOT="0" +KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~ppc64 ~riscv ~sparc ~x86" + +RDEPEND=" + dev-python/urllib3[${PYTHON_USEDEP}] + dev-python/certifi[${PYTHON_USEDEP}] +" +BDEPEND=" + test? ( + dev-python/asttokens[${PYTHON_USEDEP}] + dev-python/django[${PYTHON_USEDEP}] + dev-python/executing[${PYTHON_USEDEP}] + dev-python/fakeredis[${PYTHON_USEDEP}] + dev-python/flask-login[${PYTHON_USEDEP}] + dev-python/jsonschema[${PYTHON_USEDEP}] + dev-python/pyrsistent[${PYTHON_USEDEP}] + dev-python/pytest-aiohttp[${PYTHON_USEDEP}] + dev-python/pytest-django[${PYTHON_USEDEP}] + dev-python/pytest-forked[${PYTHON_USEDEP}] + dev-python/pytest-localserver[${PYTHON_USEDEP}] + dev-python/werkzeug[${PYTHON_USEDEP}] + dev-python/zope-event[${PYTHON_USEDEP}] + ) +" + +distutils_enable_tests pytest + +EPYTEST_IGNORE=( + # tests require Internet access + tests/integrations/httpx/test_httpx.py + tests/integrations/requests/test_requests.py + tests/integrations/stdlib/test_httplib.py + tests/integrations/flask/test_flask.py + tests/integrations/django/test_basic.py + # wtf is it supposed to do?! + tests/integrations/gcp/test_gcp.py + # broken by rq-1.10.1 (optional dep) + tests/integrations/rq/test_rq.py + # fastapi is not packaged + tests/integrations/asgi/test_fastapi.py + # TODO + tests/integrations/bottle + # TODO: causes breakage in other tests + tests/integrations/starlette + # TODO + tests/integrations/tornado + # requires mockupdb + tests/integrations/pymongo +) + +EPYTEST_DESELECT=( + # hangs + 'tests/test_transport.py::test_transport_works' + # TODO + 'tests/test_basics.py::test_auto_enabling_integrations_catches_import_error' + tests/test_client.py::test_databag_depth_stripping + tests/test_client.py::test_databag_string_stripping + tests/test_client.py::test_databag_breadth_stripping + tests/integrations/asgi/test_asgi.py::test_auto_session_tracking_with_aggregates + tests/integrations/asgi/test_asgi.py::test_websocket + tests/integrations/aiohttp/test_aiohttp.py::test_transaction_style + tests/integrations/aiohttp/test_aiohttp.py::test_traces_sampler_gets_request_object_in_sampling_context + # incompatible version? + tests/integrations/falcon/test_falcon.py + tests/integrations/sqlalchemy/test_sqlalchemy.py::test_too_large_event_truncated + # test_circular_references: apparently fragile + 'tests/integrations/threading/test_threading.py::test_circular_references' + # test for new feature, fails with IndexError + tests/integrations/wsgi/test_wsgi.py::test_session_mode_defaults_to_request_mode_in_wsgi_handler + # TODO + tests/integrations/wsgi/test_wsgi.py::test_auto_session_tracking_with_aggregates + tests/integrations/wsgi/test_wsgi.py::test_profile_sent_when_profiling_enabled + tests/test_profiler.py::test_sample_buffer + tests/test_profiler.py::test_thread_scheduler_takes_first_samples + tests/test_profiler.py::test_thread_scheduler_takes_more_samples + tests/test_profiler.py::test_thread_scheduler_single_background_thread + # broken with py3.11, *shrug* + tests/test_profiler.py::test_extract_stack_with_max_depth + # TODO + tests/integrations/sqlalchemy/test_sqlalchemy.py::test_long_sql_query_preserved +) diff --git a/dev-python/tenacity/Manifest b/dev-python/tenacity/Manifest index 0e1ffa2920c8..a301e8d9f6f1 100644 --- a/dev-python/tenacity/Manifest +++ b/dev-python/tenacity/Manifest @@ -1 +1,2 @@ DIST tenacity-8.1.0.tar.gz 37658 BLAKE2B 4f9e2ea44ac0f0ed8b694b0f60e938fadbcf65bd989e9d641f7a40750f499aa9635a70d80e406aa2ebf436ebd37cde0d88e8ecb6cb3436ba755c2d921541c8e8 SHA512 194312e80233d6edcdf30496a355b272a4de4809bbe187948a7ce9c1382958845d12401498569f2b8d4251ede2857317820779f13a65bb2e69dcb97dde9bb501 +DIST tenacity-8.2.0.tar.gz 39842 BLAKE2B 4c7b58654eff79e2b5e7412f5a920dd09df44a7699d6959dd6e1c5ee87a1e74a0c60df28239be6976368859ebabc4ab35e318a71a7ad5861d92da76a516bd721 SHA512 7bb962257200a450a5599309977c895b9e2918a195a2b60c942dad934145e85e64cf1c043e81fe1a4eb5a4a7d4eaeca626a21388297cf0983bdcea22d56553d3 diff --git a/dev-python/tenacity/tenacity-8.2.0.ebuild b/dev-python/tenacity/tenacity-8.2.0.ebuild new file mode 100644 index 000000000000..3b5917e532c9 --- /dev/null +++ b/dev-python/tenacity/tenacity-8.2.0.ebuild @@ -0,0 +1,40 @@ +# 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 pypi + +DESCRIPTION="General-purpose retrying library" +HOMEPAGE=" + https://github.com/jd/tenacity/ + https://pypi.org/project/tenacity/ +" + +LICENSE="Apache-2.0" +SLOT="0" +KEYWORDS="~amd64 ~arm64 ~riscv ~x86" + +BDEPEND=" + dev-python/setuptools_scm[${PYTHON_USEDEP}] + test? ( + dev-python/tornado[${PYTHON_USEDEP}] + ) +" + +distutils_enable_tests pytest + +python_test() { + local EPYTEST_DESELECT=() + + if ! has_version "dev-python/typeguard[${PYTHON_USEDEP}]"; then + EPYTEST_DESELECT+=( + tests/test_tenacity.py::TestRetryTyping::test_retry_type_annotations + ) + fi + + epytest +} diff --git a/dev-python/tox/Manifest b/dev-python/tox/Manifest index 644a4bd4395e..47f623b591e6 100644 --- a/dev-python/tox/Manifest +++ b/dev-python/tox/Manifest @@ -1,4 +1,3 @@ DIST tox-3.28.0.gh.tar.gz 309472 BLAKE2B 9896411426f6aebb3efa468c01696ecc5f17ec3e67825672d0efc74c1b1468bc8b8d9c14b6177c181750ba4b9a5e77d616068dd83e21f5641acfc8e2a271cc1f SHA512 64816754e6800661bb564c5c7d21c4139522d540a04fafe3c4591d596072d48d1cbe0ee2abee9c8faf3d5007774f5371431b5a7a8f49912bc879c7b168aab2ca -DIST tox-4.4.2.gh.tar.gz 303341 BLAKE2B 812394e15996b04138e2a8167b3d332b48217c5ecfb807d8ed77ff106d8ad31cfc6b43e07737dec39e1deba7165aa7778471894823b0dbe795b1ccddd2396602 SHA512 1e5b8f025c93bea5b9071d5cfcb4e4e68f1925e7b70c4c838b9f4ba70f8f077ed752176c2a7349b96d125842312c4fa8ccbd23d79665ba46667f4b408bf58f78 -DIST tox-4.4.3.gh.tar.gz 303758 BLAKE2B 2182ee88ea3fcc1792304c3a0e064f5f6c790f1305c195084b942e8181986c68faa48ad7a85eb52097de5e822351ee0f0e0f076adfa57276e822405927a0d0f1 SHA512 438ce96a6751363f37bfe7ffc42ab3a2349d6b22fa4259642f3a7cbadd4183d7bc065b6b93298b85dd174700a222cde149657e9203f70cbe747e8a84d9adf35a DIST tox-4.4.4.gh.tar.gz 303823 BLAKE2B 3386f00343035dd1d3fe58cb15cd666a55e7d77b84d93c87b5e3add24753255657591d0019a7a2349c081796e1bf096fc29b6451f0d5286e3b5b3ef18e5539c5 SHA512 d37fe82c685db238ab36929d5bfd1dece73ec36b533e027700c35cfe7c3bdff21639212dcb504c499739a17bc9cd600effe4e911a3572375912c4912bf4c5f45 +DIST tox-4.4.5.gh.tar.gz 303977 BLAKE2B 4861add250b2fbd5736aed9183544f048194042ffbf059e38c551f96be2e0de043ec2877fac6dd51355d1553830f8b0d18c2d1f599c3cf9716882d78883f1c70 SHA512 38637caa136a54172d122aa2725787affdfef755f1dae4fcee9dfb390191ef5932c3955fdd8283710a052e5632f393c39f3c69a12f95468dfb8870590a285c59 diff --git a/dev-python/tox/tox-4.4.2.ebuild b/dev-python/tox/tox-4.4.2.ebuild deleted file mode 100644 index 549abf66f6cd..000000000000 --- a/dev-python/tox/tox-4.4.2.ebuild +++ /dev/null @@ -1,95 +0,0 @@ -# Copyright 1999-2023 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -DISTUTILS_USE_PEP517=hatchling -PYTHON_COMPAT=( python3_{7,8,9,10,11} pypy3 ) - -inherit distutils-r1 - -MY_P=${P/_} -DESCRIPTION="virtualenv-based automation of test activities" -HOMEPAGE=" - https://tox.readthedocs.io/ - https://github.com/tox-dev/tox/ - https://pypi.org/project/tox/ -" -SRC_URI=" - https://github.com/tox-dev/tox/archive/${PV/_}.tar.gz - -> ${MY_P}.gh.tar.gz -" -S=${WORKDIR}/${MY_P} - -LICENSE="MIT" -SLOT="0" -KEYWORDS="~amd64 ~ppc ~ppc64 ~riscv" - -RDEPEND=" - >=dev-python/cachetools-5.2.1[${PYTHON_USEDEP}] - >=dev-python/chardet-5.1[${PYTHON_USEDEP}] - >=dev-python/colorama-0.4.6[${PYTHON_USEDEP}] - >=dev-python/filelock-3.8.2[${PYTHON_USEDEP}] - >=dev-python/packaging-21.3[${PYTHON_USEDEP}] - >=dev-python/platformdirs-2.6[${PYTHON_USEDEP}] - >=dev-python/pluggy-1[${PYTHON_USEDEP}] - >=dev-python/pyproject-api-1.5[${PYTHON_USEDEP}] - $(python_gen_cond_dep ' - >=dev-python/tomli-2.0.1[${PYTHON_USEDEP}] - ' 3.8 3.9 3.10) - >=dev-python/virtualenv-20.17.1[${PYTHON_USEDEP}] -" -BDEPEND=" - >=dev-python/hatch-vcs-0.3[${PYTHON_USEDEP}] - test? ( - dev-python/build[${PYTHON_USEDEP}] - >=dev-python/distlib-0.3.6[${PYTHON_USEDEP}] - >=dev-python/flaky-3.7[${PYTHON_USEDEP}] - >=dev-python/psutil-5.9.4[${PYTHON_USEDEP}] - dev-python/pytest-mock[${PYTHON_USEDEP}] - >=dev-python/pytest-xdist-3.1[${PYTHON_USEDEP}] - >=dev-python/re-assert-1.1[${PYTHON_USEDEP}] - $(python_gen_cond_dep ' - >=dev-python/time-machine-2.8.2[${PYTHON_USEDEP}] - ' 'python*') - ) -" - -distutils_enable_tests pytest - -export SETUPTOOLS_SCM_PRETEND_VERSION=${PV} - -src_prepare() { - # the minimal bounds in tox are entirely meaningless and new packaging - # breaks setuptools - sed -i -e '/packaging/s:>=[0-9]\+::' pyproject.toml || die - distutils-r1_src_prepare -} - -python_test() { - # devpi_process is not packaged, and has lots of dependencies - cat > "${T}"/devpi_process.py <<-EOF || die - def IndexServer(*args, **kwargs): raise NotImplementedError() - EOF - - local -x PYTHONPATH=${T}:${PYTHONPATH} - local EPYTEST_DESELECT=( - # Internet - tests/tox_env/python/virtual_env/package/test_package_cmd_builder.py::test_build_wheel_external - ) - local EPYTEST_IGNORE=( - # requires devpi* - tests/test_provision.py - ) - - [[ ${EPYTHON} == pypy3 ]] && EPYTEST_DESELECT+=( - 'tests/tox_env/python/pip/test_pip_install.py::test_constrain_package_deps[explicit-True-True]' - 'tests/tox_env/python/pip/test_pip_install.py::test_constrain_package_deps[requirements-True-True]' - 'tests/tox_env/python/pip/test_pip_install.py::test_constrain_package_deps[constraints-True-True]' - 'tests/tox_env/python/pip/test_pip_install.py::test_constrain_package_deps[explicit+requirements-True-True]' - 'tests/tox_env/python/pip/test_pip_install.py::test_constrain_package_deps[requirements_indirect-True-True]' - 'tests/tox_env/python/pip/test_pip_install.py::test_constrain_package_deps[requirements_constraints_indirect-True-True]' - ) - - epytest -} diff --git a/dev-python/tox/tox-4.4.3.ebuild b/dev-python/tox/tox-4.4.5.ebuild index 549abf66f6cd..1633a36e5ee3 100644 --- a/dev-python/tox/tox-4.4.3.ebuild +++ b/dev-python/tox/tox-4.4.5.ebuild @@ -23,13 +23,13 @@ S=${WORKDIR}/${MY_P} LICENSE="MIT" SLOT="0" -KEYWORDS="~amd64 ~ppc ~ppc64 ~riscv" +KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ia64 ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86" RDEPEND=" - >=dev-python/cachetools-5.2.1[${PYTHON_USEDEP}] + >=dev-python/cachetools-5.3[${PYTHON_USEDEP}] >=dev-python/chardet-5.1[${PYTHON_USEDEP}] >=dev-python/colorama-0.4.6[${PYTHON_USEDEP}] - >=dev-python/filelock-3.8.2[${PYTHON_USEDEP}] + >=dev-python/filelock-3.9[${PYTHON_USEDEP}] >=dev-python/packaging-21.3[${PYTHON_USEDEP}] >=dev-python/platformdirs-2.6[${PYTHON_USEDEP}] >=dev-python/pluggy-1[${PYTHON_USEDEP}] @@ -42,7 +42,7 @@ RDEPEND=" BDEPEND=" >=dev-python/hatch-vcs-0.3[${PYTHON_USEDEP}] test? ( - dev-python/build[${PYTHON_USEDEP}] + >=dev-python/build-0.10[${PYTHON_USEDEP}] >=dev-python/distlib-0.3.6[${PYTHON_USEDEP}] >=dev-python/flaky-3.7[${PYTHON_USEDEP}] >=dev-python/psutil-5.9.4[${PYTHON_USEDEP}] @@ -50,7 +50,7 @@ BDEPEND=" >=dev-python/pytest-xdist-3.1[${PYTHON_USEDEP}] >=dev-python/re-assert-1.1[${PYTHON_USEDEP}] $(python_gen_cond_dep ' - >=dev-python/time-machine-2.8.2[${PYTHON_USEDEP}] + >=dev-python/time-machine-2.9[${PYTHON_USEDEP}] ' 'python*') ) " diff --git a/dev-python/virtualenv/Manifest b/dev-python/virtualenv/Manifest index 81b2223b6ca3..60d94bc4806b 100644 --- a/dev-python/virtualenv/Manifest +++ b/dev-python/virtualenv/Manifest @@ -1,2 +1,3 @@ DIST virtualenv-20.17.1.tar.gz 12269737 BLAKE2B 5caa223d549ecb69de3a17dec84a608f34f01c5abd39ab478c27438f71e36e6878a719f9002464dbf0f335bc90a2f4552e201d59e0e757fabef6f3caaaf857fb SHA512 6b32145f431f6b1f4c2a2ed888e8b9e5cb941e04ea1e68830053dceac80ee8bbf2286c1f353951d50d4b8417b8d81ee4b30dae597c94f2a3baf50f174f7ef4d4 DIST virtualenv-20.18.0.tar.gz 12063086 BLAKE2B 272957077dd0a5868e8979c7c34bda1ae28af857d1d5bbafeef6955bcf44a7c5d38f4f131b57a2593180ffdc5a034b18998ba3e4307b7191ebafccc80ef46278 SHA512 b02533878b8d8859f10b51dbdb9fecddf9b49aa2cf1437ddc10cadba82e5361fdeb8b8c94efcc3c8268ddecef31651c28c213e87588aa917479e8d0e2e823493 +DIST virtualenv-20.19.0.tar.gz 12063084 BLAKE2B 6a6d94c7099aa841523909173b04821697c7fc8b284325dbf191f6b2184bce19802924e0a001267448a785c35f8bbd7cee74f7514a375e4e47a9d3275404f756 SHA512 75c63fea11ad070985cb2ba17adfcb7e1739e8798b80919cc17a527d7180f68a04197436b44146cd07423d8d2e4982d1716b0e18159add5ce6a748b31f6b2776 diff --git a/dev-python/virtualenv/virtualenv-20.19.0.ebuild b/dev-python/virtualenv/virtualenv-20.19.0.ebuild new file mode 100644 index 000000000000..6d141d51ac73 --- /dev/null +++ b/dev-python/virtualenv/virtualenv-20.19.0.ebuild @@ -0,0 +1,108 @@ +# Copyright 1999-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=hatchling +PYTHON_COMPAT=( python3_{7,8,9,10,11} pypy3 ) + +inherit distutils-r1 pypi + +DESCRIPTION="Virtual Python Environment builder" +HOMEPAGE=" + https://virtualenv.pypa.io/en/stable/ + https://pypi.org/project/virtualenv/ + https://github.com/pypa/virtualenv/ +" + +LICENSE="MIT" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86" +SLOT="0" + +RDEPEND=" + <dev-python/distlib-1[${PYTHON_USEDEP}] + >=dev-python/distlib-0.3.6[${PYTHON_USEDEP}] + <dev-python/filelock-4[${PYTHON_USEDEP}] + >=dev-python/filelock-3.4.1[${PYTHON_USEDEP}] + <dev-python/platformdirs-4[${PYTHON_USEDEP}] + >=dev-python/platformdirs-2.4[${PYTHON_USEDEP}] +" +# coverage is used somehow magically in virtualenv, maybe it actually +# tests something useful +BDEPEND=" + dev-python/hatch-vcs[${PYTHON_USEDEP}] + test? ( + dev-python/coverage[${PYTHON_USEDEP}] + dev-python/flaky[${PYTHON_USEDEP}] + >=dev-python/pip-22.2.1[${PYTHON_USEDEP}] + >=dev-python/pytest-freezegun-0.4.2[${PYTHON_USEDEP}] + >=dev-python/pytest-mock-3.6.1[${PYTHON_USEDEP}] + >=dev-python/pytest-timeout-2.1[${PYTHON_USEDEP}] + >=dev-python/six-1.9.0[${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 + # tests failing without python2 installed + "tests/unit/create/test_creator.py::test_py_pyc_missing[True-False]" + "tests/unit/create/test_creator.py::test_py_pyc_missing[False-False]" + ) + [[ ${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-]' + ) + [[ ${EPYTHON} == python3.11 ]] && EPYTEST_DESELECT+=( + # TODO + tests/unit/discovery/py_info/test_py_info.py::test_py_info_setuptools + tests/unit/discovery/py_info/test_py_info.py::test_custom_venv_install_scheme_is_prefered + tests/unit/discovery/py_info/test_py_info.py::test_fallback_existent_system_executable + ) + + 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/xarray/Manifest b/dev-python/xarray/Manifest index 1e4a6f898308..9b3f9a21b4ca 100644 --- a/dev-python/xarray/Manifest +++ b/dev-python/xarray/Manifest @@ -1,3 +1,4 @@ DIST xarray-2022.11.0.tar.gz 3053924 BLAKE2B 5e747aeda92ecb5a3ee2ce7a180cd8f3c2735b32d219f567fd254c733f98c62305829be166ddd76a3d2cd884f78aa3e6ceb2cf5aaac8539290c5863d5dea038d SHA512 6dc98746e3bea17a224926e7e1cf6a5f5ef01e8a848c63f5acd43f9da63b81093a7bdbebecb2afc06c9473d1b8fe735c67a847d05f25edd0a32bc0a5a2eda753 DIST xarray-2022.12.0.tar.gz 3060755 BLAKE2B 449d21234436983b478a022cf5585236738014c6f783039442c3d51870b62a62c61eaada6eb9df5305ada3fd5cdc87bf0201ffae1c835ec7a731c06badb718a7 SHA512 9c5c692392b15711d57254006ebc92cdda08b92b663a577701f50c52253d736d78e2ad027777ad588ffa23d523394576f0cf226986b05b22816d3cec1ea8abb7 DIST xarray-2023.1.0.tar.gz 3065563 BLAKE2B f2f95b5d8506d8348c8409cc528fc3270a3262ad528031530b2c1ad71697d147df27140ad4ec0b6222368785ceebb8a8fd83c891b8478d2b168a7766f3acb276 SHA512 baddac6ed08816eb06b8153bc3443cc4ae77fc1d17d2cf242f543ce75b37e390f5c7e8c59cc292d1a586a78245cac614cf656a202f8d5ca81c176c4834533c4b +DIST xarray-2023.2.0.tar.gz 3070514 BLAKE2B 00b08bb75878eed1aa82ac18ae5bc468d87812c90991f95b238048d53535dd884a943a068aec4114ba83c8e3cf1a37570b86ce5557fb33dc43f088a51916b92d SHA512 46b1e29e98a7c1bbe3275bc2fd39b0e5561319b4b9c6bf468c434880c9013c1dd9560b7281bd1b148ba8557cafe91ddf0ac56e5c038f1e995067ff1774162ab2 diff --git a/dev-python/xarray/xarray-2023.2.0.ebuild b/dev-python/xarray/xarray-2023.2.0.ebuild new file mode 100644 index 000000000000..1058d085a97c --- /dev/null +++ b/dev-python/xarray/xarray-2023.2.0.ebuild @@ -0,0 +1,44 @@ +# 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 pypi + +DESCRIPTION="N-D labeled arrays and datasets in Python" +HOMEPAGE=" + https://xarray.pydata.org/ + https://github.com/pydata/xarray/ + https://pypi.org/project/xarray/ +" + +LICENSE="Apache-2.0" +SLOT="0" +KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ia64 ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux" + +RDEPEND=" + >=dev-python/numpy-1.22[${PYTHON_USEDEP}] + >=dev-python/pandas-1.4[${PYTHON_USEDEP}] + >=dev-python/packaging-21.3[${PYTHON_USEDEP}] +" +# note: most of the test dependencies are optional +BDEPEND=" + dev-python/setuptools_scm[${PYTHON_USEDEP}] + test? ( + dev-python/bottleneck[${PYTHON_USEDEP}] + dev-python/hypothesis[${PYTHON_USEDEP}] + dev-python/matplotlib[${PYTHON_USEDEP}] + dev-python/toolz[${PYTHON_USEDEP}] + !hppa? ( >=dev-python/scipy-1.4[${PYTHON_USEDEP}] ) + ) +" + +distutils_enable_tests pytest + +EPYTEST_DESELECT=( + # warning-targeted tests are fragile and not important to end users + xarray/tests/test_backends.py::test_no_warning_from_dask_effective_get +) diff --git a/dev-python/y-py/Manifest b/dev-python/y-py/Manifest new file mode 100644 index 000000000000..6dc284986d28 --- /dev/null +++ b/dev-python/y-py/Manifest @@ -0,0 +1,52 @@ +DIST autocfg-1.1.0.crate 13272 BLAKE2B 7724055c337d562103f191f4e36cab469e578f0c51cc24d33624dea155d108a07578703766341fd6a4cc1ef52acda406e7dba1650d59115f18261281e5b40203 SHA512 df972c09abbdc0b6cb6bb55b1e29c7fed706ece38a62613d9e275bac46a19574a7f96f0152cccb0239efea04ee90083a146b58b15307696c4c81878cd12de28f +DIST bitflags-1.3.2.crate 23021 BLAKE2B eb990bb27b2bdeb66fd7212ce582cb36e1c616debbac85df642d0c82b25439e6bf9b1e811fac76b59e58ea3c1bbea6170d03a61e8f9a395e4334a0e2e2987eda SHA512 3c698f757b5cc62f815f9a1cce365c3d2dd88e4db71f331dff8bba86c2865f755b81cb4c9bfc59bd86b7643b0943f9e09a7c4f8ad75eb2ab0e714803d0129f62 +DIST bumpalo-3.11.1.crate 81207 BLAKE2B ba76008fb5a975aca12b6f893779e18dd353a22a42cbbeecd5870622a7cbc0cd7e37036af600c570b8a55f26ea8d07f44a9aa1a8373d977b6f75bd4276730292 SHA512 70e90bee1fa4e783ff5a3b18f192b9347bafab7daaa907e74913a415a66c29acfb073fcfb46150801aa7649ab0d2ec8a610de239551565dd167bac72ab13a9bc +DIST cfg-if-1.0.0.crate 7934 BLAKE2B e99a5589c11d79d77a4537b34ce0a45d37b981c123b79b807cea836c89fc3926d693458893baca2882448d3d44e3f64e06141f6d916b748daa10b8cc1ae16d1b SHA512 0fb16a8882fd30e86b62c5143b1cb18ab564e84e75bd1f28fd12f24ffdc4a42e0d2e012a99abb606c12efe3c11061ff5bf8e24ab053e550ae083f7d90f6576ff +DIST getrandom-0.1.16.crate 25077 BLAKE2B 0cbe96c27e78100c181a064e5fe524efa9a7a267fe60f8336d2ae0125883acd5d575ff17d1d56607255d9b2c30cb9d962026fdea1a5c3c29a5e0760d27c3136a SHA512 c5450c522c07c7a38b326f9a9062bac7d089630219d577ea4b55abad4e0c31d17b7cde385fc43912dfa100b42334e7a52422c55fda8b738caae428c6f9addb53 +DIST indoc-1.0.7.crate 13716 BLAKE2B fe515fcf534a552feba188aea5d5da0febc123db24485eb887a3431592780fd468f6409167457c68a7ef6368fcad71c14fcd7922bf2de29794a341d7d4cbbf0b SHA512 b60e534953d600bc2de3d6951f9da67ca3ab3c78fdce3e9c5f91e544ca848aef0c22c35a26fe7a39c07bd916a79fdf496269fecfa5491a58e178f37b2965b348 +DIST js-sys-0.3.60.crate 79257 BLAKE2B 714facdab00d567d074de4a25b69487400c23194d0f58ca784159483f9e02289acadce084b1514d8816cc9e0597800de82a5298b071b7df19a24df93541f23c1 SHA512 543dfd444539fad27bafcbbf112366f53d4ccf4bc63f8bb17820d818c3e1804656697ed6268a793f383ddf6b6227f7e9b3a11fb6fbb24e10732fdbd971801665 +DIST lib0-0.12.2.crate 19829 BLAKE2B 55df45984371f1a3ffb678f88297212832e88dede8d5f6af8bacad75045d83c5a724b020898fcbe937888e6763d0ed18262427eeac5a3b42cbb1dbb910cc216a SHA512 8632540e8760b41aebb6b43f7d29e2dbea9d5cf6c2beb66ecebbd56107378309db1d5550d6801420031eff6a7fd2fbfe7f98298bb6efe84d9242771a70ff4691 +DIST libc-0.2.138.crate 609081 BLAKE2B 210aa9a7ba99d69533946fb06c2ac6ca0714b3d4c0c5a80096e188f849319dc5509b3b41ec56aff7d1ee899378be2197fe9f8dc921500b11ea6cdc8b3b15df45 SHA512 986ccf0fcd18dd124fa6d3d89c3c7cfeca1046270a6a1b5c4addcdbc7f7f36216cb74094836ce8e97a9e331b97ed893d57daf39e919d24b001c4789a022f7761 +DIST lock_api-0.4.9.crate 25685 BLAKE2B 8adf5c3cccebdf6aff6ec977f230cd2a208b0b188ef57deacbbc6019431f0ede1a760b2384ba3cb49c96b8a589dc56c0f46a6359b3e62277e7ae1a1c3f586fa3 SHA512 9215381d9bb6b80d217c73a900db43df043b3e939b5bd7a292a02e9ab911cf0eacd8f883d35bdf72b3a0e78df8f1bc3e843ca4c775294c7a7a03091dc1a74990 +DIST log-0.4.17.crate 38028 BLAKE2B b46be3719fc0a53e50b1f342762e188587e9f1ceb692c72473ce2663edfb8253742d30024e68c1444780ab7fc0e2d5b0601b8ea7228dc3405a9342a57548e605 SHA512 2477d88db42b1d92c30708d88823212e236f613b3465e85eb425f83f8d16fadfaf0352f06c2999a1852102edd2f6ffb10ecb539d8a3b6c48f552a25622ccffa2 +DIST once_cell-1.16.0.crate 32120 BLAKE2B 59bfc8a44f1fec72442e3d34bf4be3a5af073f854f07b3618b2857c759dca4a0fa6ba358514ae28c25d745b01bb7b390ffe9ed6e296d163fd3dd67e49092b87a SHA512 bc199570ee43bde9245a2c4637ae738e370ce9988635c8342349ceb6fb158f376247b69f9ec4ea0e6d76b934decdc77a524299ebde96c0a2c2d29d9501b9a568 +DIST parking_lot-0.12.1.crate 40967 BLAKE2B 940a112a066e3cbd15e2f6df89bfff37e4ece2194118618a96fa14871813c91798f93181ab0f768d3e1f3d60805508f216724013afb7e3da95678d0d951a42d4 SHA512 07327d3b737a913508dffb66023766348ce7f9d555c224a099cabb05baefd16a28e15fec638e3a148a5169dbd980c4541b0f8820ae9d06dfe0704482838fbd5c +DIST parking_lot_core-0.9.5.crate 32396 BLAKE2B f793c855ed49476510c200d20895cd7f62e93dcb4fcadeff5528a8564f43e5e8d45f3857bac355b765d09753b554cb9af308a9a95add518d3325434ac67a6ca7 SHA512 1c430ffabfd33e8396178615829f6f623edc34d30393658b4cfaa263f4ae6e4101a9850333d3b54af058dc499bc66240a18041f31e920d5bc866d6bf66809378 +DIST ppv-lite86-0.2.17.crate 22242 BLAKE2B 48c4a31a3b555fa37072c4de083580bb769747c7668748541af472778b5b58c3e7ab2b5e178760f542f973774f09910bdd4058ae5fb9d6b10c103eb76cfd0d3d SHA512 539d916e7e5869d832045c1aa88aec519bd000227f9b01d4dd0bfc9ffb640d5f5eb21b05eba718174773c97192a655ad3cb31b53ceb914dd19179a6699b3583a +DIST proc-macro2-1.0.47.crate 41955 BLAKE2B dbfc20b61443225130d08b05deeba56e63e76921e56359c9b0531798b18778d6ddcb56c3372fb6ccc68586a6c1dc725054f0e83f93e8623cb5ff6a7a2ed3dc83 SHA512 60c5d0dcbdee7ddab40664882d3cf5a868f7ea5b49ebab3b4419c3f325582b816625e73e0d1737bbd46bd7d765ece6c81c2ff4be894555d4b255f5cb9255e931 +DIST pyo3-0.16.6.crate 364587 BLAKE2B 935b3347770e1fba76f6aee6b4ddc41cf9cb13be77e76d2668985012776a119906403a8fe95ccd0e33b4630bd38936693d2fd1b7b3d11d84a4e53fca021a2f36 SHA512 fe297e4d171ecb5a965ce9f3a0527a086766ac5607ba7b59b2a3a8f6cc66da3959d93f1d6aa688d67ceebde41ac4adefce18c0d52c1b77d0cd95cf1178f52325 +DIST pyo3-build-config-0.16.6.crate 28891 BLAKE2B 26667482bf9f5b140daab9728f58965a8417e879bfeaf27d9c61f75502150557f3d5952bf52b1d16360ade2f58ed44f99e10a5781a6d241844e9202735c6625e SHA512 a015bb4c328f0d1e643d64831e029bbd66cbf635ab616533f35aefce59abf1c5d596099feaccb81bff02e863867c14f975ce6fc55bc05d99ea47b5f6fdc2da5d +DIST pyo3-ffi-0.16.6.crate 60756 BLAKE2B 148e67de195577a1676c80be1a5538d80cf25b0d9eac9facfdcd223dc40484a9c3c7c84377f727e83e50118fa803591acc1d800b93adf29c91e6a15154c2856c SHA512 97c69900e2b355a002d10e48883cc8d4d9245d07f956087fb9c3b0ecfb9039c84c3f3a23f17caf28c637c4522f0fe252fbbb16b543825e4f724ee19232a34d22 +DIST pyo3-macros-0.16.6.crate 8453 BLAKE2B 518809b1236149f14b264d48f642e873aea2b22edb655cf4cf4d6307d2eeb7544228b80ca7559397d3483c837ae2ea9f772a26563d01a95613dad0a1a704c1e9 SHA512 95b6898da9974ef232b04197e47ea4e7d60de9f817da9a9995f07b05ca74965df2b2e8e8267d616b665b04ab810b93ca17255b20df89ac9c71014e5c9fd3a9f1 +DIST pyo3-macros-backend-0.16.6.crate 49252 BLAKE2B 9fc531507d4f9d0e7ed183987fbabd043f7c31afe6488c53c6100d98e75e5296e9ee7cc4eb14798967ac62e7d8c31d602eac5166699058def384e4f029a3cf0b SHA512 49d82cff8762eeb27d8220aa98b2be43f614445f156212d45abef052e347ba2f4a7930e7c5c8a9843ea895ac5c223afc6527d036a9cad00efff9bda18907b019 +DIST quote-1.0.21.crate 28030 BLAKE2B 547344ba9272874f5fbb4bd27a69ef5be99823e10e1318afe71971b18f37e9c73d54168f16efb82c53a332e4874c80a82ea951fb2c85fad50cdfe783622b79fc SHA512 0728eb4df7e1f7c4d32ab08c901c2c969db8eb46b03bcec3e4956a4f6b360939d32abc6b6ebd7a31058e8e9b69c3d995a24cb484f93656f05b4ee963be1c74fc +DIST rand-0.7.3.crate 112246 BLAKE2B ecc7c1bd70ac874c03bd8b7faa3016bb2d5ee5c19603280a12a45a81598f706e445971ee081e6ca410ab6f0f5f7a06d9315848cd556a2d8522a82024f6ff91e4 SHA512 f9b68ef9446f1ca2c8092c50990f15c1b4cb5529eeeac4df8d69755e0b7253c663c587775e7cb0a7298c31edb444975dda34926759306541f6d43d0d3cf57b7e +DIST rand_chacha-0.2.2.crate 13267 BLAKE2B 7908867ceac98243ade22e1b38f1903fe0249324484d91c948a5058a1e099e5213f325c5ba3400898c8319158ed69f4ed064164f235470856a8191bd990d5a10 SHA512 1e2117442e4ffdd834dcbf0ea1829e73202c0ff9041d5969d81a59330242145f2753f2a56de2fdbff65f26cf0d227c7d08b2094ab2f946b764aef88106a6ac84 +DIST rand_core-0.5.1.crate 21116 BLAKE2B e74791f941a79971f2741172d489d546373c9abcb0dfbffcb7b97b858ec800b2e0c97df4ac636f3aa1b8dd6c14685edf317336d577f31b5c6cb7d89a157e547a SHA512 4f7500b35e165e6c817fdd67a50745d5497d24e554bb554705097e37258751e8755c4d6b8a69fcb5e1977708ba78620bc35d640e4e018fcd4e88d9dbdbebdcbf +DIST rand_hc-0.2.0.crate 11670 BLAKE2B 55fd048f2524cecd4f0e17927a81111e3070a8cc6a5b0234a46445400ad5527194edf8c91fb5ad6538f4958d53044ab02424f61a38adb2931e2cb7568c458ee8 SHA512 bca185612bed5cee4da76fb68fe854105da276f5bf2da464e596d586b925df798cc692ed881e276ab77c36b4b0551930966c93656be122ad05899d87853533b0 +DIST redox_syscall-0.2.16.crate 24012 BLAKE2B 9497a52044458b1435ea16e86ee072e379b6b11ee31602ea72d6b6072a4a99426f409c2e58108a4e9c36dc193fa49c83951e71f4fd4e158eafff18c594dc01ad SHA512 63b5d876baaf99f5cf737679bc6ac7a9e3d8a41aa93f5c59416ce7e3841e2513bff678773553cfe62fb452707f82acc384ea63aec932a31bf94679cd1caddd27 +DIST scopeguard-1.1.0.crate 11470 BLAKE2B f774eb90b7d3ffb2efba47518e9d1dead4017ab4b38a4bd74914daa84a5af4bf9eb63da0496e3924499d79cd0439c37447aeda4a21226f95645bddcd6becfabe SHA512 368fa5726df8f42b599993681579a9ffd0196480ee3cd0f9f671e8493f3bedd1e1779bdf2beb329e77e0005fa09b816e3385f309490c0f2781568db275d4d17d +DIST smallstr-0.2.0.crate 7521 BLAKE2B de85addbf6f23141a5797b7eb448fac2349f96801fc2f7faea66b21356723406d83e0c46d26198e0bfbd1df9bc4673f611d72f2a3ef222358a3d57fde1f7183e SHA512 88f835ccf1eb7a618d931f2234cab47eed32de67da31fde3dcd64495aeabf17daad83b9c6ef87c42267027e649eb6f5a880fdc7a1716addd3bbbd37315d39563 +DIST smallvec-1.10.0.crate 31564 BLAKE2B e3e46a0781d3a7892a739b001592d462d0704f010363984c439e3fe4f75aecb9720648aa1e9bcc56bb3be848dd40cee578212439f78f07a807c9441c3c3e0147 SHA512 a09110184582dcc01d7a0d3fa8f74c17bf726935126d3654667b8e9c4bc43ad16ccfd8fa94feae7d9b31913aa7ee030fe5936e4b44a36302b6ce5fe37372a7ae +DIST syn-1.0.105.crate 237549 BLAKE2B 14e3187e9e1300c3c62d47504d61f154d4f3f22284fd1a44a5149764eb5b8937d74783e42d48380e1a31920a9319e8e7af8a86e8e9e8bb46bee839964bc4029e SHA512 4e2475853587ec669d43890c88074c00c0fd45a84631f8a0b513f8eeeb78cacc297976121af9488419d2979b33579c5d2b782e18e3fd32dcee35227e767cae0d +DIST target-lexicon-0.12.5.crate 23224 BLAKE2B b1d31ec4ca5a529882b76a6a6bc8bbf978cfe8d7c9da0227879898ce1f2180e4d43225360bb4b4a7e9f3229ad1f4297b57c77d285c471c9c724759b0e987f6f0 SHA512 6df675ab1ebab2ff2844c3dfdaf58de3c340868ad9cd7b8c0d63d4fc9fa25e78027643d34c19b4634913c5294de7b330fb5a100984df58e4c943b3ab21ebfaca +DIST thiserror-1.0.37.crate 18752 BLAKE2B b8d792715cfdffccba72af132e414a6ef28f8e4dfc0608bea49bda1bde5b6acb13da24feaabf4467b8aeace9b6d90a97e2202f7d24bfb753cc4019c2243bda25 SHA512 07f0cf9da1bf1029d70c1b6f0c54bc41ed759214683f35cf6b321ec2d69173e3da0abf80a692115a1e4630400b1fbf462878053853fdc6026edb40f7e13be72e +DIST thiserror-impl-1.0.37.crate 15428 BLAKE2B d91e9f058e1a2b722f604d9a399c0f291c5309299c4bc103427f8927ba41c9937c7e7cd4c0f394dfb9d96799be8a3d5b33f8e869045f58228a43354dead5117b SHA512 37d90875118fe45b51afa89dd0acfbe4d9852b899ad391b419b5181a92bda115cf5569ffef57caf6020964d5d847c2b1f191c99e2c0caf7d4166f531bd19f952 +DIST unicode-ident-1.0.5.crate 35455 BLAKE2B 7e14ce97ac53a88ccec015dea690918a673dc5b49e44de7fdcb5421871da35c4f514c6db9a363d6f4bfcf2e9a61a50a593d345d0b6f388ea882b17a00cd0335d SHA512 d355370daac356d900cd4c0a792d6c0eff114524c4bffce4d7e74469fe2117883ee00bf0e27d950b72e88739473f2045d5f83440a0aedfede97b4d9163b64a6c +DIST unindent-0.1.10.crate 7703 BLAKE2B 75458d7f21ded1eca4bb3f7f55b2fa73bf92b2309316eca1b2ffaa0c9f8d7cd8c7851b96688f6597f4af6973f70e9053c2708c1228fa6a9784e41c778488c4b7 SHA512 46ff1a2c042972af2fe5958677b2fa5adf3b9edbb168bd66cc93baf9d1b128f583d9502b83f174b35866343b57a57c8a91a465eab267dddae919af24095bf6bd +DIST wasi-0.9.0+wasi-snapshot-preview1.crate 31521 BLAKE2B 716bdd2ec46d0bc9911c5e5e29fc783840559931b2563d8619675fc11da9527ddbe653a0f1ce0b782ee0c5f7a3131aba2b0867d415f003aa9c2389357569e7dc SHA512 dbe641f796ee3a5daafcaafc911ecc6dff170340f477c2df7a61fb4858a85aefc2637c9e61973ecce66a987aa8e08a736273a4aad3ef47eaf61ed4268dbf9c47 +DIST wasm-bindgen-0.2.83.crate 169618 BLAKE2B f6158596c80a0385bee0a05bd9cf0b3beee83a7958efb40244956b4fec2c83baa1a1b4605eb604f313db3508a7911c78f645acbb19f6fc93eef27e9f7f0ac109 SHA512 ec93d1334417d0329e113d5f2da7f16c0f1209d71e5cbd21a2dc9278d877e70ca2327ff7863b40505504883ed51d6bf20dda98c22ef44011a47c604a7b44e82d +DIST wasm-bindgen-backend-0.2.83.crate 25620 BLAKE2B 3cbba20a2f5344c0ed2791de7b04ee294746606289ba83a9c139b53b56edf31eab8d3b3802cec309d5395e2404bbd75b7fab5d748a9961b36906fabeb0e66493 SHA512 dd1b65733e4d0a198d61a5287bb75db3e03ef738d2c2dcd3ce3e873c27d41c90cfcbb775ad40b2a546190db8d7213e5866f8e3f9913c28fe4b43a49054bfea44 +DIST wasm-bindgen-macro-0.2.83.crate 12075 BLAKE2B 3b358ba7c2a3563840f54f11170cde78044a8f087659daa7c784fa252f5dd4b7f6200eba425d95b568e50fd43c04c32a509994ddaf5248120feaa67586402150 SHA512 eb83e06f998e858cf25494c1d171984269e72db798147d4d1d8aeeb25ea7a35c5986b882011e131968621742ceecff976430856b4e8b7d7fd7f1237767cf01b4 +DIST wasm-bindgen-macro-support-0.2.83.crate 18530 BLAKE2B f305c9fc1f7bba5bee65a1c76fc2216c98aa306a072286e1ced048ab191f49e7e4436bf2f67d4c1fff558f59b2cef5e9b40e9e940268128ab1ebeb3c64696107 SHA512 804014c75ae5f8c1c7f0fad3f3209887fa346d74029e5f6e1830e44f7318719e65c4a643c71d87cf388f131fd370af40d536bbc15fc11c25b91cb785f56a908b +DIST wasm-bindgen-shared-0.2.83.crate 7194 BLAKE2B 4dd1cffea1edc98dcd4993bf6fdde8100fe00d1e97322ce8bc0bdefd0c659047c8c726e5da27b59fd7a6621c1e5385c18204e834c6c6fd1fb9de52f95b40e40d SHA512 2bfc1a068fa41a9ecacce7bda494fc0485c57ccb102c1d76c87a42e00ad30b944b0cb788642e8339d050a0e831ce8306844a77292ab9f79ed765b65cdb4765e7 +DIST windows-sys-0.42.0.crate 3006791 BLAKE2B 7a0962364ecc416cf0ae7e49cce1298a12d819003e488f6e77aff1a52710f00378638b6a05db5557a031e1b75659587657971ddc63eaab35495133762f99a7b2 SHA512 b07b119688f3e3ad234d36979947f34e8e19988fb62101afbe18ec8afc9c8a4261128939df8bbb849d5c5982422cb4c50dbcba70f2bf401fbb7c605df1b2b354 +DIST windows_aarch64_gnullvm-0.42.0.crate 357917 BLAKE2B 58da715a46692ed786fa554338d446eaaa50c63ec1d4090cf0690a9211c0221034479e9066cad1c98234410519833826ae3163bf6724c3b06097d5b84d7b9fcf SHA512 8bd60142e8982ddb14dde4e93b9753f9ac34830c05c2a1dd4568377f9a928651bf9f026a0080e5bc7dfa62a45942376736954e3ac800855d00eef0c72929f338 +DIST windows_aarch64_msvc-0.42.0.crate 659424 BLAKE2B a8c9a288767756f2086bd0706774cdcce5c8639431ad76ed122d4b6d13c936ca8fb1a463d34835b3a2728f4444e2f4b91ee772f00c54f348094da69c05ce6b93 SHA512 20c0840adec84dde03b143e5b82bb0003fee675310487f0071a81ed7f40ee647c4018ccb9ebdbc4aeada717ec8600a30dfb15510c6b336f07becdb7167668fd0 +DIST windows_i686_gnu-0.42.0.crate 728570 BLAKE2B b72079610b5c4fc798a79fa757b19f8c8baceaf7f4ce824193a65fadaac988ebdff1719a74d676b7dd017e11ceb029402bbac4e55c35206172e15a9bef422f78 SHA512 a24dd1ba5eb7d5231853bebadfde0575ae9071a565868d2f3d1bc6ec0a87380c569a621f0cba2552af7a1e46ac62f09f87cfbce3f674be06be1a7c1d3f421474 +DIST windows_i686_msvc-0.42.0.crate 717477 BLAKE2B a37e068f45590f0c31349acbdb56848106d6de0e1f8030e6bd5e1e174bd9a46737db54fbd61de99054e5e8c5263eaef0508c440f43c39dca82baa77792ff2743 SHA512 740400e2b11c1d177f7f37f844cd2a0f84b97a5adb03a7656661deb026b593a799ace8da1f9013ba9f74446fc43260d01dff7d4be607129ec7d602f341b2b4d1 +DIST windows_x86_64_gnu-0.42.0.crate 692493 BLAKE2B e00eae443cfed3004809244654268ee1bec17975166ca876dd393dcfe8a2ef0ca65d81b04c8f513f95a0fae9405ba796c085951bc2c597d252a3122f7dbf6425 SHA512 7df7ee0c345f0a2c37d7f9ec3a2824116b4d7a943bf245787509e67809a4f31ebb1862e212efb2d943d82ccef77a716437cdc61004396ca86e95e688368c6dae +DIST windows_x86_64_gnullvm-0.42.0.crate 357906 BLAKE2B 02e08e696f18105f0c131fcf5db046ec945cb21ede76d2da477589e15d062ca6f04906dac80fdd2ef9fcda9244490aad86b401d0156eb6b65ba3599098e8cfe7 SHA512 242e11b4a0d50a0ffe8d0e26e971de30ef4d29260ae6749403d39cb4278297a240c1ec4112bb38151cbb11a6f3c8a743e84cd75b6a76adfeaee8e623649c9ecf +DIST windows_x86_64_msvc-0.42.0.crate 659377 BLAKE2B f01dbfcb86dcb7301790a1a704661864378021cbb92b147fdfcee978b7011bb770441c481b439985c298816c524c6a11f21a7bd81115e65882fa000a28566bcd SHA512 94d6554ae293785d2fc9dc9d53480c98bc08ab2b78bd8684a0606e7e0ec156a454c1a653d214c21de382bc7ab5d898e45000ed73e6110f679da513ffabbf3cb9 +DIST y_py-0.5.5.tar.gz 50300 BLAKE2B e1719216577fa0baad2bc30e6d7840d66d78df9efeebe5ecac81aa0d51935aed62750394c1fe7eebdd9d9049ffa2e77dfddbda73b40e1c77dc23e53029a01f8f SHA512 af6ac11600cbded4324f50668a2f9db090714bc13aec34b1ad99bbda8f604e0d99b0bedc549971eede5fe2b7011cdd87cf3bfb7fdb3f4c0176441c67c32c5d8a +DIST yrs-0.12.2.crate 7745097 BLAKE2B 756587548acf4cb7e6e7540dc7ecdcde47eeadda810409b7bdfd7665b118a47c6e0efd7186fb016f10700b74810a3cb22d6cd51f6c765b7692915306099ed144 SHA512 362a1e69e9c53ca544eda8432e94e7d10f67c6fec1b774f6ffbd76ad6523bc22f15502f468f7681c27cb4f45beb1839dd6d0e835e0e55313fbe076b793c7e253 diff --git a/dev-python/y-py/metadata.xml b/dev-python/y-py/metadata.xml new file mode 100644 index 000000000000..853174b8f2ab --- /dev/null +++ b/dev-python/y-py/metadata.xml @@ -0,0 +1,10 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "https://liguros.gitlab.io/dtd/metadata.dtd"> +<pkgmetadata> + <maintainer type="project"> + <email>python@gentoo.org</email> + <name>Python</name> + </maintainer> + + <origin>gentoo-staging</origin> +</pkgmetadata>
\ No newline at end of file diff --git a/dev-python/y-py/y-py-0.5.5.ebuild b/dev-python/y-py/y-py-0.5.5.ebuild new file mode 100644 index 000000000000..896aa8ee20ba --- /dev/null +++ b/dev-python/y-py/y-py-0.5.5.ebuild @@ -0,0 +1,91 @@ +# Copyright 1999-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +CARGO_OPTIONAL=1 +DISTUTILS_USE_PEP517=maturin +PYTHON_COMPAT=( python3_{7,8,9,10,11} ) + +CRATES=" + autocfg-1.1.0 + bitflags-1.3.2 + bumpalo-3.11.1 + cfg-if-1.0.0 + getrandom-0.1.16 + indoc-1.0.7 + js-sys-0.3.60 + lib0-0.12.2 + libc-0.2.138 + lock_api-0.4.9 + log-0.4.17 + once_cell-1.16.0 + parking_lot-0.12.1 + parking_lot_core-0.9.5 + ppv-lite86-0.2.17 + proc-macro2-1.0.47 + pyo3-0.16.6 + pyo3-build-config-0.16.6 + pyo3-ffi-0.16.6 + pyo3-macros-0.16.6 + pyo3-macros-backend-0.16.6 + quote-1.0.21 + rand-0.7.3 + rand_chacha-0.2.2 + rand_core-0.5.1 + rand_hc-0.2.0 + redox_syscall-0.2.16 + scopeguard-1.1.0 + smallstr-0.2.0 + smallvec-1.10.0 + syn-1.0.105 + target-lexicon-0.12.5 + thiserror-1.0.37 + thiserror-impl-1.0.37 + unicode-ident-1.0.5 + unindent-0.1.10 + wasi-0.9.0+wasi-snapshot-preview1 + wasm-bindgen-0.2.83 + wasm-bindgen-backend-0.2.83 + wasm-bindgen-macro-0.2.83 + wasm-bindgen-macro-support-0.2.83 + wasm-bindgen-shared-0.2.83 + windows-sys-0.42.0 + windows_aarch64_gnullvm-0.42.0 + windows_aarch64_msvc-0.42.0 + windows_i686_gnu-0.42.0 + windows_i686_msvc-0.42.0 + windows_x86_64_gnu-0.42.0 + windows_x86_64_gnullvm-0.42.0 + windows_x86_64_msvc-0.42.0 + yrs-0.12.2 +" + +inherit cargo distutils-r1 + +DESCRIPTION="Python bindings to y-crdt " +HOMEPAGE=" + https://pypi.org/project/y-py/ + https://github.com/y-crdt/ypy +" +SRC_URI=" + mirror://pypi/${PN::1}/${PN}/y_py-${PV}.tar.gz + $(cargo_crate_uris ${CRATES}) +" +S="${WORKDIR}/y_py-${PV}" + +LICENSE="Apache-2.0 Apache-2.0-with-LLVM-exceptions MIT Unicode-DFS-2016 MIT" +SLOT="0" +KEYWORDS="~amd64" + +DEPEND="virtual/rust" +RDEPEND="${DEPEND}" + +QA_FLAGS_IGNORED=".*/y_py.cpython.*.so" + +distutils_enable_tests pytest +distutils_enable_sphinx docs dev-python/furo dev-python/sphinx-autoapi + +src_unpack() { + cargo_src_unpack +} diff --git a/dev-python/ypy-websocket/Manifest b/dev-python/ypy-websocket/Manifest new file mode 100644 index 000000000000..f7f00009576a --- /dev/null +++ b/dev-python/ypy-websocket/Manifest @@ -0,0 +1 @@ +DIST ypy-websocket-0.8.2.gh.tar.gz 13045 BLAKE2B 44cd1538247b68b54d161800f76f467f67d77d81726b4af01cbeeb045b77aeb7ec8fde7c126c5d54a0792be11bc97d41a624c99a80c2ea8178a358d045e59389 SHA512 6774d646a04afe4dcf72b6ec44bad5092ff40d8647c6650697340ebf6f2a548ba870ac2924de84626f10e88b6603a01c842e5a5d0ef71d3a75fc67a080ca22f6 diff --git a/dev-python/ypy-websocket/metadata.xml b/dev-python/ypy-websocket/metadata.xml new file mode 100644 index 000000000000..ea8988e8af6a --- /dev/null +++ b/dev-python/ypy-websocket/metadata.xml @@ -0,0 +1,11 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "https://liguros.gitlab.io/dtd/metadata.dtd"> +<pkgmetadata> + <maintainer type="project"> + <email>python@gentoo.org</email> + <name>Python</name> + </maintainer> + + <origin>gentoo-staging</origin> + <stabilize-allarches/> +</pkgmetadata>
\ No newline at end of file diff --git a/dev-python/ypy-websocket/ypy-websocket-0.8.2.ebuild b/dev-python/ypy-websocket/ypy-websocket-0.8.2.ebuild new file mode 100644 index 000000000000..a6fd4aa70979 --- /dev/null +++ b/dev-python/ypy-websocket/ypy-websocket-0.8.2.ebuild @@ -0,0 +1,41 @@ +# Copyright 1999-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=hatchling +PYTHON_COMPAT=( python3_{7,8,9,10,11} ) + +inherit distutils-r1 + +DESCRIPTION="Python bindings to y-crdt " +HOMEPAGE=" + https://pypi.org/project/ypy-websocket/ + https://github.com/y-crdt/ypy-websocket +" +SRC_URI="https://github.com/y-crdt/${PN}/archive/refs/tags/v${PV}.tar.gz -> ${P}.gh.tar.gz" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64" + +DEPEND=" + dev-python/aiofiles[${PYTHON_USEDEP}] + dev-python/aiosqlite[${PYTHON_USEDEP}] + dev-python/y-py[${PYTHON_USEDEP}] +" +RDEPEND="${DEPEND}" + +BDEPEND=" + test? ( + dev-python/pytest-asyncio[${PYTHON_USEDEP}] + dev-python/websockets[${PYTHON_USEDEP}] + ) +" + +EPYTEST_IGNORE=( + # Requires internet and nodejs + tests/test_ypy_yjs.py +) + +distutils_enable_tests pytest |
