diff options
Diffstat (limited to 'dev-python')
23 files changed, 465 insertions, 152 deletions
diff --git a/dev-python/Faker/Faker-16.6.1.ebuild b/dev-python/Faker/Faker-16.6.1.ebuild deleted file mode 100644 index d3d0d7cfdc9a..000000000000 --- a/dev-python/Faker/Faker-16.6.1.ebuild +++ /dev/null @@ -1,34 +0,0 @@ -# Copyright 2022-2023 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -DISTUTILS_USE_PEP517=setuptools -PYPI_NO_NORMALIZE=1 -PYTHON_COMPAT=( python3_{9..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 f9a414060be0..170925d7e84a 100644 --- a/dev-python/Faker/Manifest +++ b/dev-python/Faker/Manifest @@ -1,11 +1,9 @@ -DIST Faker-16.6.1.tar.gz 1626043 BLAKE2B 2fc44018b76fffa1f0e249905d20fbc78bc1ab4ffcc3d2448067bfce8c1fd16caf64ce0e073b706a4d0461fd12f4758777a9f9df79b2682a74681dcbcbb7479e SHA512 d2a9add29c6511c452e1ac6749af6772ec5cf0713fe88d773f338f7d1173202bbbc55265e3bbd5cd8d84d9cd4bde153bf614b6840913b704d5c7eed30f4b5512 DIST Faker-16.8.1.tar.gz 1649844 BLAKE2B 3ec9b7566342e569580fa8db4df20708ef9b1b6ab0ccdb31b9a33dbe0c7ff3c77ff1b7698e1cf478254d3625d9c516b2b84bcda9bb1d1bdff2161b6d5fcb1056 SHA512 9ea00ec96af0de6a939b9ab3812c75627f2a76514ac6236614d7455b123e4909f9ffe12e9e84f161e0b0b0f2b0f0ddc4ff6661dce788653dd4b8c12098a871fa DIST Faker-17.0.0.tar.gz 1650338 BLAKE2B 4e3e9723d9016481e7b7d3e9a27060881833ab1e8309f93fffcade696679da64345bcc6fce12ce6bcb2a237b317ea697a5ff4344d929e66c2b6778ec39fdb282 SHA512 9fcd79a6e8a3db592edaa83c30d89d86a0018181d4c778c3c3566cb6d95181b033639eaf92a332539b4436138cc868192d5a21f1c12c9ba180da0dacd8bee493 DIST Faker-17.3.0.tar.gz 1651539 BLAKE2B 5695edf10d246bd776f63f0a2d26d0e3b36f7c20a0553333359d91f013522256c93bfe967655003b61832132d38dcc5d1909468d391b2a017605df32c31f0d41 SHA512 685dedd1d73210d58008f8898c0a95a6616c16852c59e7993e33fbb187a63ba8db72ef2a6fc37f0cb8c0da2b4e1521f6f4b82a8674bbf843219b0ee25d88d950 DIST Faker-17.4.0.tar.gz 1651645 BLAKE2B f4cde3f203e3d8abe0762f9b68785c495bc85080177d85610f023648b88b13c903a42e39eb0b1d86c120752aa683f6a399ea8377c492eb938742e883710d7f51 SHA512 58821d9fae04363508ffe1be58f8df9830772b6531958842633e9a6d3f88928d0927beaf978288ce96c269f66df61dc137efd3977f6746f0d374017b6f4c5b05 DIST Faker-17.5.0.tar.gz 1653260 BLAKE2B 05a1abb8b99537758dfafbaab366f51c74ce5722af4f52a54374c0ff3ddf9abd0058bbc891843ef2b24e72505e5dad5e019453617ea70cf75c905ae8c817bfe4 SHA512 58bb42146dc4edc2512aa68b5fb1e2e0324159947935c157e8bb44782d70e14b2c23cbed9e2e6e86332da0f70acd7ab03a302a1826e44354077c6266ecf86df2 DIST Faker-17.6.0.tar.gz 1654373 BLAKE2B 69a1d3bcd12188f7d9c0af61d57c62489434fc2fb6a4fea3c45a98d7395c3df83926d260672790d3b88f4b6bcf780e5b842e10b7efb500d503159869505bf4b2 SHA512 a879fb7e0c82693d4d3062b32382eb6d1f3c556c7d2e4c28168cba43c560bf17ebb84b94692ba7db738871251990feca8ccbf271c6e08c61847b76b84deb9680 -EBUILD Faker-16.6.1.ebuild 682 BLAKE2B 6e4f513383d927ae62995083ce32a75635a14844754fcaaa52313a7aaa98118e82f018a82c381a5347a2df0ddf9e7bc68f78438fbd4336b8cd51562bf335b9d8 SHA512 83e54f767935b0a45f0f50b4df871213cf7cd968fd73c9c1502895fe4fe1d0f533fb249c478aa89b78414f8198b6b2d123931c0096e1582fa5e8a76bf3767069 EBUILD Faker-16.8.1.ebuild 682 BLAKE2B 6e4f513383d927ae62995083ce32a75635a14844754fcaaa52313a7aaa98118e82f018a82c381a5347a2df0ddf9e7bc68f78438fbd4336b8cd51562bf335b9d8 SHA512 83e54f767935b0a45f0f50b4df871213cf7cd968fd73c9c1502895fe4fe1d0f533fb249c478aa89b78414f8198b6b2d123931c0096e1582fa5e8a76bf3767069 EBUILD Faker-17.0.0.ebuild 683 BLAKE2B ed6805e59f23a4bc570266b7f6e806d8861a1caedd84cf7eaffff58932fe5347469a303402748e82fcc02734d78356d076dfe1b054bc0b33c6e546e295382b18 SHA512 4ea11d603431b14a105c5b67b56ab168bb6fae6ea40760bbeb53076fdbd8e98452c7f8e53e3657911423f33af76b910c5c4bb10fbf365e9c68a3b5e571f5aa44 EBUILD Faker-17.3.0.ebuild 683 BLAKE2B ed6805e59f23a4bc570266b7f6e806d8861a1caedd84cf7eaffff58932fe5347469a303402748e82fcc02734d78356d076dfe1b054bc0b33c6e546e295382b18 SHA512 4ea11d603431b14a105c5b67b56ab168bb6fae6ea40760bbeb53076fdbd8e98452c7f8e53e3657911423f33af76b910c5c4bb10fbf365e9c68a3b5e571f5aa44 diff --git a/dev-python/Manifest.gz b/dev-python/Manifest.gz Binary files differindex b9f6fe6e61e4..c8e111cb21ed 100644 --- a/dev-python/Manifest.gz +++ b/dev-python/Manifest.gz diff --git a/dev-python/cfn-lint/Manifest b/dev-python/cfn-lint/Manifest index bff2ae030cb1..b55866e3f443 100644 --- a/dev-python/cfn-lint/Manifest +++ b/dev-python/cfn-lint/Manifest @@ -1,7 +1,9 @@ DIST cfn-lint-0.73.2.gh.tar.gz 3343513 BLAKE2B 48ec085ec1d4c6fcee57d44915b65760481cd753805de3817c63aa093480aef15c81583cfa5f61f62407002c0d82cb9f36f146afffcc6f30dc0043f4f6fa991b SHA512 f85909cefb0882d4b36c26542c9ec65af520797e25b849bdbeb2e7e18b4f1675f0ede1b7cb19c529d8d393345ed48d98cc67e7e5d752790c3d9829bd6d69c052 DIST cfn-lint-0.74.0.gh.tar.gz 3633749 BLAKE2B 68ba32c66a6cc4ddf1260523679565e7074e159c1d63b8e408a40426e0c3e7ec60159075b8dc91bb40d2fbdb8fb5a5fd55c0f70d02c165900a64a0d032285492 SHA512 635621995b74068ec2be9fcda0b710ab975e8aea428317d254fd6e93b2602071b985a6d80c12321b8245c2569b84b6c7c46e4cacfd59f0d0e21926ad6782e2f0 DIST cfn-lint-0.74.1.gh.tar.gz 3465800 BLAKE2B eb142f07f8a49fe52d7263ecbd359f6c31d89b8895ce97a816dfe2fd14fec4f82a8da708e0ed43734ae8c5184ba718da32dd517dae3068aac7ee8deeff230fbb SHA512 5b792919553292f40018d968bdb5049e07d95f7ee9e40dded439ed6ef3ab778b64d3b964d075e60c7b513f221e0e5b49fa0daa3a20135b765cdbfe3c495d2fc2 +DIST cfn-lint-0.74.2.gh.tar.gz 3455745 BLAKE2B 0ca6f9d6e13264180ae2948858acdc3deab0135bfa7ddd16711b49cf7cce651257c7ba26ae155bec091d69aecc33903bd4098f23207aec5d7d414b5b826c7ccf SHA512 9aa918232214f5f0e165bcf8b4e3e7c5aaad1703825befc5347000f7ad143630220fdf9369015d449be4abf593380510b405d04dfe27d6615602c4a725b06681 EBUILD cfn-lint-0.73.2.ebuild 1520 BLAKE2B 9b7d54274c25c75cc8bbf5aca09082480268ff4e7d38c03218114bb60ad22c171687621a384c7cad5b39ede4e5d08b68528bdc0fbb96693216d2e4e057e9aaf2 SHA512 c68e1715af5dd9a6593e27a18787b75bb2ba3b10a55699d534a9d62b14d1169aa255714aee731d8ffe7f14f01c06e3fa80557138f1c9a408bd25f1f5c7fa128f EBUILD cfn-lint-0.74.0.ebuild 1522 BLAKE2B 02db0ae567e725776e140495637c85e783550923d1176cd5b80b18ca1f047c299a9818f688f3b14b9ca6962b27a3d82078788b81d18e439017ba12e56894ac32 SHA512 46c65084c8bfcb823aa738406d1008a9acf4a07f28169febe41e0a8b618f2720c59a26cd7ae9bc6d6e648cbb2acf89ce21c5d961ee8ebb628840b55575c7b271 EBUILD cfn-lint-0.74.1.ebuild 1522 BLAKE2B 9b527ac1f8d5c063dfa69b7b886e4def7b7b6ac1821a1a6f1e1c4803f923d3cad9ef899f01dbeae42d411837387d371b35c37f2d1c8a2d876dd5ce54b3033418 SHA512 420770562e8694d3b5ec7a82a35e36daf585493e9a58b731e682921dd519035dbbc1c807054690f341463972a8edcd07b5ebde5271b4abfb516129d74af71e35 +EBUILD cfn-lint-0.74.2.ebuild 1522 BLAKE2B 9b527ac1f8d5c063dfa69b7b886e4def7b7b6ac1821a1a6f1e1c4803f923d3cad9ef899f01dbeae42d411837387d371b35c37f2d1c8a2d876dd5ce54b3033418 SHA512 420770562e8694d3b5ec7a82a35e36daf585493e9a58b731e682921dd519035dbbc1c807054690f341463972a8edcd07b5ebde5271b4abfb516129d74af71e35 MISC metadata.xml 583 BLAKE2B 9f73e2b92e5cfa2ad59f5c8e5d91bdd3aa9eba3fa722b93b388cffea42020db7e7441bab5749432812934a4514d3e9104e6d897e1d115afa5ed237757bd48c03 SHA512 1866a349855ae4e248498b7aabd6ce4c4e10ea58731df4bfa13500f61dc041da6dbd7420e7d6a78fad46d5cf00bd7ef2d0c4c7d6819a21b3a5031b0d49588a19 diff --git a/dev-python/cfn-lint/cfn-lint-0.74.2.ebuild b/dev-python/cfn-lint/cfn-lint-0.74.2.ebuild new file mode 100644 index 000000000000..926923d7f09f --- /dev/null +++ b/dev-python/cfn-lint/cfn-lint-0.74.2.ebuild @@ -0,0 +1,53 @@ +# Copyright 1999-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=setuptools +PYTHON_COMPAT=( python3_{10..11} ) + +inherit distutils-r1 + +DESCRIPTION="CloudFormation Linter" +HOMEPAGE=" + https://github.com/aws-cloudformation/cfn-lint/ + https://pypi.org/project/cfn-lint/ +" +SRC_URI=" + https://github.com/aws-cloudformation/cfn-lint/archive/v${PV}.tar.gz + -> ${P}.gh.tar.gz +" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64 ~arm ~arm64 ~ppc64 ~riscv ~x86" + +RDEPEND=" + >=dev-python/aws-sam-translator-1.60.1[${PYTHON_USEDEP}] + dev-python/jsonpatch[${PYTHON_USEDEP}] + >=dev-python/jschema_to_python-1.2.3[${PYTHON_USEDEP}] + >=dev-python/jsonschema-3.0[${PYTHON_USEDEP}] + dev-python/junit-xml[${PYTHON_USEDEP}] + <dev-python/networkx-4[${PYTHON_USEDEP}] + >dev-python/pyyaml-5.4[${PYTHON_USEDEP}] + >=dev-python/requests-2.15.0[${PYTHON_USEDEP}] + >=dev-python/sarif_om-1.0.4[${PYTHON_USEDEP}] +" + +distutils_enable_tests pytest + +EPYTEST_DESELECT=( + # TODO + test/unit/module/test_template.py::TestTemplate::test_build_graph + # requires git repo + test/unit/module/maintenance/test_update_documentation.py::TestUpdateDocumentation::test_update_docs + # Internet + test/unit/module/formatters/test_formatters.py::TestFormatters::test_sarif_formatter + test/unit/module/maintenance/test_update_resource_specs.py::TestUpdateResourceSpecs::test_update_resource_specs_python_3 +) + +src_prepare() { + # unpin the deps + sed -e 's:~=[0-9.]*::' -i setup.py || die + distutils-r1_src_prepare +} diff --git a/dev-python/google-api-python-client/Manifest b/dev-python/google-api-python-client/Manifest index bd83b63898bf..c8d5ba7dfb5f 100644 --- a/dev-python/google-api-python-client/Manifest +++ b/dev-python/google-api-python-client/Manifest @@ -2,8 +2,10 @@ DIST google-api-python-client-2.77.0.gh.tar.gz 38300787 BLAKE2B c7d147b9ae78fff5 DIST google-api-python-client-2.78.0.gh.tar.gz 38327369 BLAKE2B 291941a44a6fc9da7df2cbb108ba90babac33916f9c36aeae6e8b1575e9851f7c93aaea09340d36acd8f80dbe5ebe63820d60edc0aec14ee4859a47dcf66e344 SHA512 fff05aa981106aaccb689aeeace62734df77fefe7132481a11bc81b249a7793c1743c7c7c21116b3f5d4d59230ec7adac090d478969f8847bc201a2a23dd072d DIST google-api-python-client-2.79.0.gh.tar.gz 38537790 BLAKE2B 968a33a92bff0b7bc6e01e69df3b405b189df1560e1100de6bfb987ba5d87f1da9dafa184966f55f1d64b41912790f94a98d5160dd042661a2d5acc02c6d10e3 SHA512 c16e32306eb8660facbaa078fc76ad49692948f26d81d753977d1cfa49f76b4eacf2a5613c4bdb8f463ebd65c955d5edda415355d143ce1dd59ec7443eeb0a13 DIST google-api-python-client-2.80.0.gh.tar.gz 38885627 BLAKE2B f81943e8c4179130bbd7f3d89cdd3c7c5c828c78b9cbed6a5c011c3a0751a19a223b6e52a5fe8f739a8170b6e0e186b5e6b56b4ac08c88a1bf167cb5652d0e18 SHA512 cabd955f730a2b9bf8e8e3579b28935cbbc16b0ac4534d4b841317ff86cec420dd2a5a7b5b319a6a765cce02258fb43cafd6165ae49a7b99e0e891d9ba86e198 +DIST google-api-python-client-2.81.0.gh.tar.gz 39081445 BLAKE2B 779b22f07b12834d649982a52491b567472af7fd83f49e6b9d4a20a991dd57e5bd11e32fdba05f004449733bf5cb2fd2a5ec4a3f012a558989563c88256c3199 SHA512 72e357d68314cda2cbb6d679ad22ecedf3a1ede87b94067bbaca886bd9a17ef3f881ca6060fc23c3c8848fba96668ff0b7ba9f4b44da625f3f34bed5f537e762 EBUILD google-api-python-client-2.77.0.ebuild 1393 BLAKE2B d59f5c92683f668f82e760c1f1221cd87bdc836f3cf69ad70a2f38376b551f66c0fab981f3eabaf29db0695a3b7d3567af1fd996ee0c52a06efc710c3d5a00b9 SHA512 c90bbd23296a5a2127f55d79b7130770d91cd1d3fd69cfedbe92531bcde7b7a98364c3268aadcde813828802fc86c317bf00661382a94d5a57cf0a9ec5686b4b EBUILD google-api-python-client-2.78.0.ebuild 1401 BLAKE2B 69835c2562dc0f53faeb4a88a2f4a398734ad747db6676817fe23f952bf0d556433e8e456a3db1479c0da6671c654285a72dbca97b22659a727e0a5b595ad825 SHA512 032c90063955331493b55b4746bfbdbc26bb9de11dbd0aa51585bcadf9b5b656c9569976f03b3f3e2e5765a1f860a6d654aa6f8486ab52b1318c219e6bb791af EBUILD google-api-python-client-2.79.0.ebuild 1401 BLAKE2B 69835c2562dc0f53faeb4a88a2f4a398734ad747db6676817fe23f952bf0d556433e8e456a3db1479c0da6671c654285a72dbca97b22659a727e0a5b595ad825 SHA512 032c90063955331493b55b4746bfbdbc26bb9de11dbd0aa51585bcadf9b5b656c9569976f03b3f3e2e5765a1f860a6d654aa6f8486ab52b1318c219e6bb791af EBUILD google-api-python-client-2.80.0.ebuild 1401 BLAKE2B 69835c2562dc0f53faeb4a88a2f4a398734ad747db6676817fe23f952bf0d556433e8e456a3db1479c0da6671c654285a72dbca97b22659a727e0a5b595ad825 SHA512 032c90063955331493b55b4746bfbdbc26bb9de11dbd0aa51585bcadf9b5b656c9569976f03b3f3e2e5765a1f860a6d654aa6f8486ab52b1318c219e6bb791af +EBUILD google-api-python-client-2.81.0.ebuild 1401 BLAKE2B 69835c2562dc0f53faeb4a88a2f4a398734ad747db6676817fe23f952bf0d556433e8e456a3db1479c0da6671c654285a72dbca97b22659a727e0a5b595ad825 SHA512 032c90063955331493b55b4746bfbdbc26bb9de11dbd0aa51585bcadf9b5b656c9569976f03b3f3e2e5765a1f860a6d654aa6f8486ab52b1318c219e6bb791af MISC metadata.xml 538 BLAKE2B bf0b8ab3a89ce9ab1d2159f4c0ebfe3f2646aced20bd2006485510c12d22e83cc130fac979f699ae6431a610c8d2acf86c04b39bc262abaf167c20571a860810 SHA512 30d004d944055660165954f8475e57ba45cef56423c80a324118836d78e5376261409955155a40c9bd988f230f3e2fc44c6aeb6fae3028c78c55a382ccd83bff diff --git a/dev-python/google-api-python-client/google-api-python-client-2.81.0.ebuild b/dev-python/google-api-python-client/google-api-python-client-2.81.0.ebuild new file mode 100644 index 000000000000..65893f1d07cd --- /dev/null +++ b/dev-python/google-api-python-client/google-api-python-client-2.81.0.ebuild @@ -0,0 +1,52 @@ +# Copyright 1999-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=setuptools +PYTHON_COMPAT=( python3_{10..11} ) + +inherit distutils-r1 + +DESCRIPTION="Google API Client for Python" +HOMEPAGE=" + https://github.com/googleapis/google-api-python-client/ + https://pypi.org/project/google-api-python-client/ +" +SRC_URI=" + https://github.com/googleapis/google-api-python-client/archive/v${PV}.tar.gz + -> ${P}.gh.tar.gz +" + +LICENSE="Apache-2.0" +SLOT="0" +KEYWORDS="~amd64 ~arm ~arm64 ~x86" + +RDEPEND=" + >=dev-python/httplib2-0.15[${PYTHON_USEDEP}] + <dev-python/httplib2-1[${PYTHON_USEDEP}] + >=dev-python/google-api-core-2.3.1[${PYTHON_USEDEP}] + >=dev-python/google-auth-1.35.0[${PYTHON_USEDEP}] + >=dev-python/google-auth-httplib2-0.1.0[${PYTHON_USEDEP}] + >=dev-python/uritemplate-3.0.0[${PYTHON_USEDEP}] + <dev-python/uritemplate-5[${PYTHON_USEDEP}] +" +BDEPEND=" + test? ( + dev-python/mock[${PYTHON_USEDEP}] + dev-python/pandas[${PYTHON_USEDEP}] + dev-python/parameterized[${PYTHON_USEDEP}] + ) +" + +distutils_enable_tests pytest + +python_test() { + local EPYTEST_DESELECT=( + # require Internet access (and credentials) + tests/test_discovery.py::DiscoveryErrors::test_credentials_and_credentials_file_mutually_exclusive + tests/test_discovery.py::DiscoveryFromDocument::test_api_endpoint_override_from_client_options_mapping_object + ) + + epytest tests +} diff --git a/dev-python/hypothesis/Manifest b/dev-python/hypothesis/Manifest index 83e7ff3e9a2c..6b829623becf 100644 --- a/dev-python/hypothesis/Manifest +++ b/dev-python/hypothesis/Manifest @@ -1,8 +1,6 @@ -DIST hypothesis-6.65.2.gh.tar.gz 9349189 BLAKE2B 4a36cde376a56c9eee7645c76606777e8c40144f0495a1a6f2d2d840262be26f52e077f932e90790214decfbc3fbb9b3f64add1830e451bb8e56b8c9c5ba5f34 SHA512 0955e95d9d97f44170dfc937c3ea6b43f6c4ac74dbb48e16a4998e735310f72448083382f6628b4bb9620ac0d21d6c749a5464c6a7caee24cdb7af8cd0c01dcb DIST hypothesis-6.68.0.gh.tar.gz 9350032 BLAKE2B c122455b7f941eaba8b37b7c4bd4760b2ea0d7c5cf3e973544b80edfa17ea13870c9c5121a121178850154f0058e55c4051ff0ea98d35d3c312468202108a04d SHA512 7ca3e79c1c5e091ae829244e1f6b3563c61add0a5bbe7a7b254df85191778a4b05a21f82ca3f50ba6e77a5ec5c9ec06d7dd15c6cf423c1a2eb524a2aeb3f2c91 DIST hypothesis-6.68.1.gh.tar.gz 9350091 BLAKE2B 5d6d6912b20d3badca440b668838f456239653c393d8f148ba5dd16227e078586167f0d7ff0adbdca0efe2a81ff27e0307d97b63492658dc28c9abd7c7691551 SHA512 6dbaefa411f7945081158b7d730dc1893dfe02ec4b45f7bdd645f6f2198d39b3f4313d1e18dbe9a82d13e36df5bc541f1b31539128f9de5480b82b916bd74c0c DIST hypothesis-6.68.2.gh.tar.gz 9350253 BLAKE2B 5f98aac845a2f4e1dd9f54809d3e7e1b201bdecdec1c5c9cff10a37851af7d8d9e8cb643c1a9b0545672862b3639a17aed5f4197653d48d3114edd0105668307 SHA512 c3507f99376af924e375c51e0d56d4e444204d2ebe147d813a3f33a69594f83493c499714567b127556ea620df7bde58f4a1ba662bb182907e5e0d14cf13ee81 -EBUILD hypothesis-6.65.2.ebuild 2132 BLAKE2B be04a23a6cc71d17c7585c98d1df3e8bf9a32c84897a5328fba61561c756d8bbcbfdcf778debfa99d3555f430f697720a1bcf083e3422d55116f5649e901ae44 SHA512 61d1b1390b920c328bbafd1b80c7f1c934f5483972bfaba692ed95cd5478bbaa62bc65438665037b6bc10b0050477c02597f2fdc9536963d6769f23cdcd5f721 EBUILD hypothesis-6.68.0.ebuild 2132 BLAKE2B be04a23a6cc71d17c7585c98d1df3e8bf9a32c84897a5328fba61561c756d8bbcbfdcf778debfa99d3555f430f697720a1bcf083e3422d55116f5649e901ae44 SHA512 61d1b1390b920c328bbafd1b80c7f1c934f5483972bfaba692ed95cd5478bbaa62bc65438665037b6bc10b0050477c02597f2fdc9536963d6769f23cdcd5f721 EBUILD hypothesis-6.68.1.ebuild 2140 BLAKE2B 2f30425aa0adf1a75d387919c79d317184887d591f26317945b877349a9ae6e3b6305dc4fbb6734954125e704c2709859e3ea558b21326ac715947df8bc989e1 SHA512 84b885785fd94b11d69783af8a4b119bc434adbae1612687841cac5c627954c0e83480d66ec4b5e129350310a807db73f43e914b6412e4ead6808c22c40fd990 EBUILD hypothesis-6.68.2.ebuild 2140 BLAKE2B 2f30425aa0adf1a75d387919c79d317184887d591f26317945b877349a9ae6e3b6305dc4fbb6734954125e704c2709859e3ea558b21326ac715947df8bc989e1 SHA512 84b885785fd94b11d69783af8a4b119bc434adbae1612687841cac5c627954c0e83480d66ec4b5e129350310a807db73f43e914b6412e4ead6808c22c40fd990 diff --git a/dev-python/hypothesis/hypothesis-6.65.2.ebuild b/dev-python/hypothesis/hypothesis-6.65.2.ebuild deleted file mode 100644 index 53e3bebd8313..000000000000 --- a/dev-python/hypothesis/hypothesis-6.65.2.ebuild +++ /dev/null @@ -1,77 +0,0 @@ -# Copyright 1999-2023 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -DISTUTILS_USE_PEP517=setuptools -CLI_COMPAT=( python3_{9..10} ) -PYTHON_COMPAT=( "${CLI_COMPAT[@]}" python3_11 pypy3 ) -PYTHON_REQ_USE="threads(+),sqlite" - -inherit distutils-r1 multiprocessing optfeature - -TAG=hypothesis-python-${PV} -MY_P=hypothesis-${TAG} -DESCRIPTION="A library for property based testing" -HOMEPAGE=" - https://github.com/HypothesisWorks/hypothesis/ - https://pypi.org/project/hypothesis/ -" -SRC_URI=" - https://github.com/HypothesisWorks/hypothesis/archive/${TAG}.tar.gz - -> ${P}.gh.tar.gz -" -S="${WORKDIR}/${MY_P}/hypothesis-python" - -LICENSE="MPL-2.0" -SLOT="0" -KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~loong ~m68k ~mips ppc ppc64 ~riscv ~s390 sparc x86" -IUSE="cli" - -RDEPEND=" - >=dev-python/attrs-19.2.0[${PYTHON_USEDEP}] - >=dev-python/sortedcontainers-2.1.0[${PYTHON_USEDEP}] - $(python_gen_cond_dep ' - >=dev-python/exceptiongroup-1.0.0_rc8[${PYTHON_USEDEP}] - ' 3.8 3.9 3.10) - cli? ( - $(python_gen_cond_dep ' - dev-python/black[${PYTHON_USEDEP}] - dev-python/click[${PYTHON_USEDEP}] - ' "${CLI_COMPAT[@]}") - ) -" -BDEPEND=" - test? ( - dev-python/mock[${PYTHON_USEDEP}] - dev-python/pexpect[${PYTHON_USEDEP}] - dev-python/pytest-xdist[${PYTHON_USEDEP}] - !!<dev-python/requests-toolbelt-0.10.1 - ) -" - -distutils_enable_tests pytest - -python_test() { - # subtests are broken by warnings from random plugins - local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1 - local -x PYTEST_PLUGINS=xdist.plugin,pytest_forked,_hypothesis_pytestplugin - - epytest tests/cover tests/pytest tests/quality -n "$(makeopts_jobs)" -} - -python_install() { - distutils-r1_python_install - if ! use cli || ! has "${EPYTHON}" "${CLI_COMPAT[@]/_/.}"; then - rm -r "${ED}/usr/bin" "${D}$(python_get_scriptdir)" || die - fi -} - -pkg_postinst() { - optfeature "datetime support" dev-python/pytz - optfeature "dateutil support" dev-python/python-dateutil - optfeature "numpy support" dev-python/numpy - optfeature "django support" dev-python/django dev-python/pytz - optfeature "pandas support" dev-python/pandas - optfeature "pytest support" dev-python/pytest -} diff --git a/dev-python/pyroute2/Manifest b/dev-python/pyroute2/Manifest index e36013c09bab..35b6cbb91204 100644 --- a/dev-python/pyroute2/Manifest +++ b/dev-python/pyroute2/Manifest @@ -1,5 +1,3 @@ -DIST pyroute2-0.7.3.gh.tar.gz 484152 BLAKE2B 4f0cd0fc000c7bd3baffaa2ed25468bc28806fef2f9bc96e39606afe46e616d85865f497df6d1e3e4b2e5e3956b5fca22af273140bbb38954c6f0c0f86c386a6 SHA512 c8aeddaeaa014bcf8c4b831cb5b4080db5c99b582f3999fdbdd840b9448e032fbbf64ce5707ebc0795765138d8e89cde830efb2469c827ed8d4e63dd1beafe62 DIST pyroute2-0.7.4.gh.tar.gz 493191 BLAKE2B 3587b391658e7ebf48637a0f03afa36213530d93954f6118ebf5a19fffebc9c22eb2ab9a5db90903dba3e502d91f3f2f7854575c515f314236bf2fe563295314 SHA512 1223bff64625915b11f5fabfe467a469ee33ad63c2daaaaaceaa9f4bf1acb812a93f2b6ff4c6e4d596cefafb1b309a0fed5b5853b44bff62a06cf806b1a681b6 -EBUILD pyroute2-0.7.3.ebuild 691 BLAKE2B f44438f4c2a22a8834bece4e927a1190857a84a1456165f3c6915256e2b1ab449fe5eb9b27f84aff45f75bb41eca4d40731c8553306d3692e641d551fe498966 SHA512 bf710806b4d1e846ffab3e1069fd66deb7dd71a5421002033d1832e134fca230928dabd1ff2349569781aad8b10a3c306340a90288ec35588cb474abc04ad80a EBUILD pyroute2-0.7.4.ebuild 691 BLAKE2B f44438f4c2a22a8834bece4e927a1190857a84a1456165f3c6915256e2b1ab449fe5eb9b27f84aff45f75bb41eca4d40731c8553306d3692e641d551fe498966 SHA512 bf710806b4d1e846ffab3e1069fd66deb7dd71a5421002033d1832e134fca230928dabd1ff2349569781aad8b10a3c306340a90288ec35588cb474abc04ad80a MISC metadata.xml 547 BLAKE2B 1d256c8d9bb8cc039853ff12c15d7c2747822ff95e3ae7f3e7c1600498c7b886a341a03327992e3a7933592eba0094eec6fba519b0d9f2b2f0ece57eb515ea4a SHA512 e845b3e319e9d60b1dcbf9ab66681b886b0c517a5a72288aaf9ccb97d5018dc3b01b8d921b8a9fcd3538cec96e9a7e1c452a704c8c422ef6e6fa6069a7ae56ef diff --git a/dev-python/pyroute2/pyroute2-0.7.3.ebuild b/dev-python/pyroute2/pyroute2-0.7.3.ebuild deleted file mode 100644 index 708b164558cd..000000000000 --- a/dev-python/pyroute2/pyroute2-0.7.3.ebuild +++ /dev/null @@ -1,33 +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_{9..11} pypy3 ) -PYTHON_REQ_USE="sqlite" - -inherit distutils-r1 - -DESCRIPTION="A pure Python netlink and Linux network configuration library" -HOMEPAGE="https://github.com/svinota/pyroute2" - -SRC_URI=" - https://github.com/svinota/${PN}/archive/${PV}.tar.gz - -> ${P}.gh.tar.gz -" - -LICENSE="Apache-2.0" -SLOT="0" -KEYWORDS="amd64 ~arm64 x86" - -RDEPEND=" - dev-python/setuptools[${PYTHON_USEDEP}] -" -BDEPEND=" - dev-python/setuptools-scm[${PYTHON_USEDEP}] - dev-python/wheel[${PYTHON_USEDEP}] -" - -# tests need root access -RESTRICT="test" diff --git a/dev-python/python-dotenv/Manifest b/dev-python/python-dotenv/Manifest index 1ec748714c69..0600bc0d443c 100644 --- a/dev-python/python-dotenv/Manifest +++ b/dev-python/python-dotenv/Manifest @@ -2,5 +2,5 @@ DIST python-dotenv-0.21.1.tar.gz 35930 BLAKE2B e89b88754406464c7d9493d8824147c1b DIST python-dotenv-1.0.0.tar.gz 37399 BLAKE2B cc5a4b810fae2a79e091a9523738be37ba030c29a373f375f2d413396f56d0606b77febddfba82085f94abc151e86b3a8d4719899e4e80e9956bea3989569dbd SHA512 8fc14eb07d8fb5e4cb4a83338aac1009aaa0715b3e7438b4ac8ee7da0ad5f7cf6b05121a685d05af7f03828ab39df61382cfbc5e95c6708246d1f400fe10d250 EBUILD python-dotenv-0.21.1-r1.ebuild 1070 BLAKE2B f2ba5353fe5596d0e405fbe7af0f1ced29e919f9713fd73f8bedc0a469e9e0d8bf21b4cc3ec2a1af2cdb38475bf0cec2816629fbe1180fdbb9c195b8cd2782e9 SHA512 0ecfb08c51b83c0b1e956f63996119940389ece8ded445e7b5fb1e213267299a6a7bd57d06b4b22b53aa8a01d915fe4febd77fce35f535af122ac6e4fbe2ffc5 EBUILD python-dotenv-0.21.1.ebuild 908 BLAKE2B 5b9619fe65dd1e5642239ee84dd561bd6e3784eb2aa72e1e0452f859c0b3ec0760788912c9cd8d99ec2118856ac7c0c5b625958c7f10c271d86feedd73e8834c SHA512 d3ecb18c78f594e89301910f92c5e1ce1ee1bf02c6027ad22f5ac8953d10d66e7d0d2280c474f8b7422f2108356df09d9fa6bc04db8eb7336d04ce41a5641305 -EBUILD python-dotenv-1.0.0.ebuild 957 BLAKE2B 9eb03eea7b41cf6c00470fc9209245d72d2783d399e951bf4e731b5c41fca1cd72adccbddb3a93241d7dac74aa43565b21bb3720bb833cf5cd1430723fa7e16e SHA512 d381a501e49e653d9f73689f28f37d056f4ae78365fb0eef2041116ba7b5fef2b5b9ee3872a6a991b77342e3b2b0c30b26cf7fd862100582d3ac57d22c34b362 +EBUILD python-dotenv-1.0.0.ebuild 949 BLAKE2B 3298f37a325e20a86aa08cdc3cb990112f34be9f42ee9dc0b98f7f7e04819d5d0d59e2be514fd1129e3bd0816d6e6e2defbff800d2c03eb43c26f205d521d3f9 SHA512 27c19b1c65c781d0fa44e7b55bd8545ef9c442a6dd362a70967f051e46e15b73a2958bb123b924e0bd7d1b9ab183b1500301abf904815cf1dede24b9438bec40 MISC metadata.xml 529 BLAKE2B 1dd381879887df2d49a80084ffd386891cffa2547fedf00bb1dbee3c3abe79759620b606a916d71cab518bb3869ecee4775c735db22aac17e785bdda5c4905a5 SHA512 ad2129cb6c691f9f4622de92701f9825cbbfe61e9c2552f91bae53c90e19abe9b4f7cd2e379c516254d8b9a5989d4861f5ec05ec7949c5b533c9b7fc6416056a diff --git a/dev-python/python-dotenv/python-dotenv-1.0.0.ebuild b/dev-python/python-dotenv/python-dotenv-1.0.0.ebuild index ee33ca2f35f0..e01febbbeece 100644 --- a/dev-python/python-dotenv/python-dotenv-1.0.0.ebuild +++ b/dev-python/python-dotenv/python-dotenv-1.0.0.ebuild @@ -14,7 +14,7 @@ HOMEPAGE="https://github.com/theskumar/python-dotenv" LICENSE="BSD" SLOT="0" -KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86" +KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~loong ~m68k ~mips ppc ppc64 ~riscv ~s390 sparc x86" BDEPEND=" test? ( diff --git a/dev-python/python-socks/Manifest b/dev-python/python-socks/Manifest index d23dbe9e68bb..a575a109df7c 100644 --- a/dev-python/python-socks/Manifest +++ b/dev-python/python-socks/Manifest @@ -1,7 +1,9 @@ DIST python-socks-2.0.3.gh.tar.gz 40697 BLAKE2B c1e6f72763d1bd767af78ea1188e411814a6d41f703488dd67165d5a9b9ce1e2f9070b35a46cd72859b65c10519cdb02c91d1702a97c2d82cb5891b46187d02a SHA512 9d51e61d03b4a46e94a66fc037ac759715db2e2c5d631aaf6088a0363ad13140c00da44a513088a40c0f149b9d4ee2bb4165f59f76c3956f0aede8104772fc5d DIST python-socks-2.1.0.gh.tar.gz 31251 BLAKE2B b32b35c746066c10fa1e52677e42058e6196eb1c19cfc120a670e86daf8f920a4d6be3d1d92f984b68d635496da992b33f196277a1b22b254fe045988a15d2f1 SHA512 66da2da1d8103570e44d0a2ace03c24695b7319c562d7f96242c713b9d03ea693a2ece3cf6869cea686c330a9fb05aa35a443bad5a638d843b4fc7b24a8e6a82 DIST python-socks-2.1.1.gh.tar.gz 31306 BLAKE2B f42f88089b0438722b076bcbbbe194b6ed621dec34f850861d791418ff453e6f97aa4e2f2ccf69024c5c562f7d1c8e1110e9930360252556bc77dd44b9a20fc0 SHA512 d68c5d0b0975283a8a86f701db5a8037beb9368edef591876abba2524593114fdcc933fa3dc5eca8123afcc6fc0eb3eacfbbf40e54acb87e973fc7b49ed3c8dc +DIST python-socks-2.2.0.gh.tar.gz 32483 BLAKE2B 44dba93f29b3466515591bced694b1f17a76d7a9410829f8d4cfe0c4da18b00dddb9a84b37a9ce74dd20517a3567c06f4b96e4cc4724e88244dd11b097b3da9e SHA512 7189a249fcbc80c13f6070cd82d785ca4be48cbaf0a0e37da486b8517f551b9a22678a0c4d65f98adb30c719b5f47a3e9cd0133633a429283b04cdae089ed6a6 EBUILD python-socks-2.0.3.ebuild 1177 BLAKE2B 710337b75cb519dfe23742eed7c32195bc796cd9fd559e868db50c7c44a69502921ba6a210ae62df6e5baf5c2c263ace5732c183cda5c2c64bb07989d1cd3976 SHA512 923eba73e3797c5599680e0b2ee5808f10dd2cfb56e2c91bac9bdaab16ebb7d20be88db952ba915303938ecaf81445459c4c52b4db770d9dee6bf241ce34283a EBUILD python-socks-2.1.0.ebuild 1187 BLAKE2B e4eebd72d33a48a68b2a0efe11000b8c0cde2e934acdefe7e66c9f45eb01f30ad21e4c37036f2f9aea6724865ad6958d2c85d6a1e4965a73af0f08a9463abff3 SHA512 abc7716ff5ba9aa15b713c9de903fd0e8fd495935faa87e59c401f85f3d95725a2bd671f6283a3b0349200718cfc73d2c7baa0cabd9c774e6321cc30a60fa489 EBUILD python-socks-2.1.1.ebuild 1233 BLAKE2B 60d31a62d5dfdb942b06ae994664565d45a9406243e676ef546211af3f8077356673a3aac009e72769735a1e09326cf5a9144a33441e4689782103a19062092e SHA512 005eb2a745c0c31ad432b5ea11c5a13969250a9dcf74b54a60691ed81ee3d80205b0c76bd31022f4160a8b4851bba59603bda37a309ef7de1a1dc4512e97d83f +EBUILD python-socks-2.2.0.ebuild 1238 BLAKE2B 811100a5b7d30d2a4d3f3fd8bfc9f0cbe4ba1d6bc223cc3a6d2886d2910c78a74b0aa95e2892a7f60cf4f8836c1677210884cec5249b67f79b7f2e965da5e49d SHA512 d74762f5ed702f1881030a04e1edb30226b72e55384292e3d60d1704f74adff573af24616cf2ad3ff22644fbda961b042e215a16d3b2f8aef1830a7605a075ee MISC metadata.xml 380 BLAKE2B 2209abdbafd26baae585840e774843c37e0c6103fa93d75e8c1ddbc8dd1b96f269a3e76f14c39a55294d4d642d7fbe9f87c6b1a0b64152c671590a9e0a6ef959 SHA512 ccbb1a5c9fd05ae1da346f4f92efe156921f7adf9f5544635a407ba4a8154c896bda2e445e05e70a8e46c2829b8d4a38d3bf5d73804a3641c811acd2be62099a diff --git a/dev-python/python-socks/python-socks-2.2.0.ebuild b/dev-python/python-socks/python-socks-2.2.0.ebuild new file mode 100644 index 000000000000..255c91fccda5 --- /dev/null +++ b/dev-python/python-socks/python-socks-2.2.0.ebuild @@ -0,0 +1,45 @@ +# Copyright 2020-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=setuptools +PYTHON_COMPAT=( python3_{9..11} pypy3 ) + +inherit distutils-r1 + +DESCRIPTION="SOCKS4, SOCKS5, HTTP tunneling functionality for Python" +HOMEPAGE=" + https://github.com/romis2012/python-socks/ + https://pypi.org/project/python-socks/ +" +SRC_URI=" + https://github.com/romis2012/python-socks/archive/v${PV}.tar.gz + -> ${P}.gh.tar.gz +" + +LICENSE="Apache-2.0" +SLOT="0" +KEYWORDS="~amd64 ~arm ~arm64 ~ia64 ~loong ~ppc ~ppc64 ~riscv ~sparc ~x86" + +# curio is not packaged +# asyncio is the only backend we have, so dep on its deps unconditionally +# TODO: revisit +RDEPEND=" + dev-python/async-timeout[${PYTHON_USEDEP}] +" +BDEPEND=" + test? ( + >=dev-python/anyio-3.4.0[${PYTHON_USEDEP}] + >=dev-python/async-timeout-3.0.1[${PYTHON_USEDEP}] + >=dev-python/flask-1.1.2[${PYTHON_USEDEP}] + >=dev-python/pytest-asyncio-0.18.3[${PYTHON_USEDEP}] + >=dev-python/pytest-trio-0.7.0[${PYTHON_USEDEP}] + >=dev-python/tiny-proxy-0.1.1[${PYTHON_USEDEP}] + >=dev-python/trio-0.16.0[${PYTHON_USEDEP}] + >=dev-python/trustme-0.9.0[${PYTHON_USEDEP}] + >=dev-python/yarl-1.4.2[${PYTHON_USEDEP}] + ) +" + +distutils_enable_tests pytest diff --git a/dev-python/pyzmq/Manifest b/dev-python/pyzmq/Manifest index 47cae92fc427..b81398e387ca 100644 --- a/dev-python/pyzmq/Manifest +++ b/dev-python/pyzmq/Manifest @@ -1,6 +1,8 @@ AUX pyzmq-23.2.0-libdir.patch 510 BLAKE2B cb7884416d3e15f735412d69a7ae0decbbf8eca14ae909b23e68231a65b3ad36d021b5c6f5315a3cb982cd571913ce021cc5df60509d90b28d4353dd7bd316e8 SHA512 f268d03de45971d50a89210366b4aef0e79e652a45d650fc3e4a6711558ee186ee558a2808b7c9f5c5a64ce8b9282adf024ab21a782ba614900a4813e8b6d6ca DIST pyzmq-24.0.1.gh.tar.gz 404000 BLAKE2B 01928ba3c64a5afce8e7a97821658da2067a5f6c36c0173ab2f818e83a729939f346ef67bb9a39251abf365f5772abdf7e9e62afb4cc434b5603f474485a7427 SHA512 d4b6346e780f356941a624321f1619771fb2f0ef9f65a3c0a03e837ef081ece7ed59c03f57e8647ab1cd38cfc7404d597dd294768f9e9b890115b9eebc085484 DIST pyzmq-25.0.0.gh.tar.gz 387190 BLAKE2B aba258637fa698e3e2241c36b561d76971a82d20137573ed75bacf429cd21e2f2cbf6c15c76e7c6a9f2e3d7acd7cb03e5091f71bb41d6365c93d670a2cc81392 SHA512 9a4f25f6a9f6a9e636c7d50af69ee9d4629503fd707f6cd17772430f71bd386a573e5eed19eca0419ce0a3ca1f811601c785b5b6b9749b5cf03654a97c2afaf6 +DIST pyzmq-25.0.1.gh.tar.gz 397477 BLAKE2B ee546f43a309005f256c5531e694340ff888a70e8c2bde51da62eb601eab715c2d58d155ea00b7006398e842ae96b3532ce52111be912de9bb85e6e161a192fc SHA512 b8125c7ed74685d501e3726213fb0437ce37ec62a6493a8c46018a9e0c71409fe9066b03a026a071681f76df466e46ef26963cad5f748a1fd064363159ac48d4 EBUILD pyzmq-24.0.1.ebuild 1948 BLAKE2B f0051c2fb48dffe371d7284f94b66cecc8195a02c8ab2b97adf134f240c8deecf3bba5f8ad77f747c5131681ffd2ad90686df873d5a57968c92d4ff30f21e3df SHA512 1ca085f6f74c43868b43a06ee6f23d188305b316913e30e81cf1cca431eb596d6f33f081bd2539ccfe78afa83c562c89db9596cd4adec0e10c6469d00f478337 EBUILD pyzmq-25.0.0.ebuild 2220 BLAKE2B a45cbeab261c89a64df212ca04d7aebeae037ef1e8d1f97f4406f5b7edf28c1180b12d158cc72dda1be79ac733d09a829a761eef16a6443aeaf56bccffcf2868 SHA512 83c3cd55c091408de7b3f3ec92dc13b6193547a561e64ec884510ec5d0e9b13a351a77175425165bc844b60bc1274b711f8e9d8ee8190947907e4cd0bedd728d +EBUILD pyzmq-25.0.1.ebuild 2220 BLAKE2B a45cbeab261c89a64df212ca04d7aebeae037ef1e8d1f97f4406f5b7edf28c1180b12d158cc72dda1be79ac733d09a829a761eef16a6443aeaf56bccffcf2868 SHA512 83c3cd55c091408de7b3f3ec92dc13b6193547a561e64ec884510ec5d0e9b13a351a77175425165bc844b60bc1274b711f8e9d8ee8190947907e4cd0bedd728d MISC metadata.xml 602 BLAKE2B 2dcde66f620e979bf1c13ffb8becbb933e39d9737ab88e53f5534ab5474820ad28d8ee71a42685fe0ebe11499095276c6cbf0f2cda003e23c00b899934b19e36 SHA512 67bb10383483c87f479ef57af47a46b211d1036184819c3f43bc9f8d1e6310f168a6cc8853984e5a77e81a05d93858da9b246fc92d42cb5a4d08bca46085ac3c diff --git a/dev-python/pyzmq/pyzmq-25.0.1.ebuild b/dev-python/pyzmq/pyzmq-25.0.1.ebuild new file mode 100644 index 000000000000..e6e91f08cfa8 --- /dev/null +++ b/dev-python/pyzmq/pyzmq-25.0.1.ebuild @@ -0,0 +1,90 @@ +# Copyright 1999-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +PYTHON_COMPAT=( python3_{9..11} ) +# TODO: Find out exactly where this error comes from +# error: '<' not supported between instances of 'str' and 'int' +#DISTUTILS_USE_PEP517=setuptools +PYTHON_REQ_USE="threads(+)" + +inherit distutils-r1 + +DESCRIPTION="Lightweight and super-fast messaging library built on top of the ZeroMQ library" +HOMEPAGE=" + https://zeromq.org/languages/python/ + https://pypi.org/project/pyzmq/ + https://github.com/zeromq/pyzmq/" +SRC_URI=" + https://github.com/zeromq/pyzmq/archive/v${PV}.tar.gz + -> ${P}.gh.tar.gz" + +LICENSE="LGPL-3" +SLOT="0" +KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux" +IUSE="drafts" + +# There are additional test failures if zeromq has the draft api enabled, but pyzmq has it disabled. +DEPEND=" + >=net-libs/zeromq-4.2.2-r2:=[drafts=] +" +# It uses cffi backend for pypy, cython backend for cpython +RDEPEND="${DEPEND} + $(python_gen_cond_dep ' + dev-python/py[${PYTHON_USEDEP}] + dev-python/cffi:=[${PYTHON_USEDEP}] + ' pypy3) +" +BDEPEND=" + $(python_gen_cond_dep ' + dev-python/cython[${PYTHON_USEDEP}] + ' 'python*') + test? ( + dev-python/pytest-asyncio[${PYTHON_USEDEP}] + dev-python/pytest-rerunfailures[${PYTHON_USEDEP}] + >=dev-python/tornado-5.0.2[${PYTHON_USEDEP}] + ) +" + +PATCHES=( + "${FILESDIR}"/${PN}-23.2.0-libdir.patch +) + +EPYTEST_DESELECT=( + # TODO + zmq/tests/test_constants.py::TestConstants::test_draft + zmq/tests/test_cython.py::test_cython + + # Hangs often + zmq/tests/test_log.py::TestPubLog::test_blank_root_topic +) + +EPYTEST_IGNORE=( + # Avoid dependency on mypy + zmq/tests/test_mypy.py + + # Broken upstream + zmq/tests/test_auth.py + + # pytest-asyncio incompatibility? + zmq/tests/test_zmqstream.py +) + +distutils_enable_tests pytest +# TODO: Package enum_tools +# distutils_enable_sphinx docs/source \ +# dev-python/numpydoc \ +# dev-python/sphinx-rtd-theme \ +# dev-python/myst-parser + +python_prepare_all() { + export ZMQ_DRAFT_API=$(usex drafts '1' '0') + export ZMQ_PREFIX="${EPREFIX}/usr" + distutils-r1_python_prepare_all +} + +python_test() { + cd "${BUILD_DIR}/lib" || die + epytest -p no:flaky +} diff --git a/dev-python/sqlalchemy/Manifest b/dev-python/sqlalchemy/Manifest index 0e446480650d..6d04e6de3871 100644 --- a/dev-python/sqlalchemy/Manifest +++ b/dev-python/sqlalchemy/Manifest @@ -2,8 +2,10 @@ DIST SQLAlchemy-1.4.46.tar.gz 8544238 BLAKE2B 8ef4aae61bee3c9c54b953a9ba34074d8c DIST SQLAlchemy-2.0.3.tar.gz 9229747 BLAKE2B b70116a8f9f24ed2b41aa7ebbe8a004371f3aa2e81487bce307157eec8032f134313091455245fe631818a1e6373e3144671f314991408f14b0f0f5f87335290 SHA512 8bf0fa6d95f26fd137690f75e335cf741b8fd19a5a30424e22bb85b79893cbbdc15e206d3f069f202200eb54254df868c4a6d3e74adc1a19e8ce8f92cc407098 DIST SQLAlchemy-2.0.4.tar.gz 9250723 BLAKE2B c3cec648a527e7beb349b2bbb6924a4e794a1fe4d1563ba7573afdc28ed24fce149c5b3c08fa419e85713b68080b2a805e1999e312f59ed7fae55f9aee6a966e SHA512 098004c594ff00a47a66850b0661f673e4d7a6f168fce72ca37a65ecfe04b3d291b9a6fb9393f7671c9a7c5c128ab6ba2035d18cef28736df1207e689cd8c412 DIST SQLAlchemy-2.0.5.tar.gz 9285821 BLAKE2B e0af62e05801a30d915ff4a852dc30ab61b8d5ddc632cddef549bb2d548f5a2c4056519c9ddcf690587736d415973bde9042b6cd022f874e1dc3c143ef0a6add SHA512 642f6665ca8a3aa2c30bc9e14f8e65f9baa0a678f88637e784ee8606cece92d876f8d2e639dfd462261f0c790c2f0851e3490b4c84dbaa21028df93f354b68a4 +DIST SQLAlchemy-2.0.6.tar.gz 9294603 BLAKE2B ea8c7f23199c62898764656e82673f6b9c5ac8108feba49c2b74a4c3b278b2ac7ed5f9e5f2ad1b59c70b451440c9376dde19bd283c4c585029957386d56589a9 SHA512 2742f2dd7424118f34a70d3b17157d16976f422459c698ab042c08a5099c275cc8bebdb1f811fd783bd1b024e9f27925e1a72cac818dd16c807e1553a766f25c EBUILD sqlalchemy-1.4.46.ebuild 2860 BLAKE2B 8fc052f4930f2369bbbbd336fbfdbf6b2a19b12d51e16f1876262ef1aa344f5d5db75597148a9d46f4144495c2f41a7e735c099bc059c27991f5c4c0c9d73495 SHA512 f043f2491f60baeb6db0055dc2cbe5d0d073e843a9784b8859baebdd37f0300be9b93a83c3910fc0f08e1cd3931b7d35f8a833f8c97f9737f9481dbee6f86087 EBUILD sqlalchemy-2.0.3.ebuild 3773 BLAKE2B 8d2552845792067296728706ecfe99e1ed2b7982fb8fc7ace0a09fdb560bf844c3805425a56cfd5031b4d5518022ce1f065322374a5449217a79235b02cd972d SHA512 6388de896538b9b1de7594fa8696b6a4921465b3b48447e5aec5fd0ed08980886f0be40c5f6d3caa6d2a40aa0fce84c26c75b685ff73793579d907bea6f27569 EBUILD sqlalchemy-2.0.4.ebuild 3769 BLAKE2B 08e8460f85d6bcada03a604ccafd26bb41d20fda9a0ab241b570137efc380641008d6fdd4b60f014aeb55ece56dcf7d49d106f2cca7b19cb7562e6ff49d7ffe8 SHA512 08da9ab066c84077bf72d60c7cdc8f3386a65996213287f184c38bbd934467ec0f3cd679ce8184d2bf1a42876d8cbee6fadfb53e4fd600d8000de3b310fe3c4c EBUILD sqlalchemy-2.0.5.ebuild 4253 BLAKE2B a6f14ccb44fafadf73fce9f21828bf0280e7b64f9ce04c0c0728b9d384dfd05646a66bedb285e5cd8963428e235164413fdd8b05f6d4045503c5acfd04c44d14 SHA512 3f7324a41a8814850db8cc7fd2cc5d183b480cf541738e14ea51fbb269f8937e338d58498a9ef56ce6fcb1143b2b5da23f10479dee8ee68de3b5e6d96cff182d +EBUILD sqlalchemy-2.0.6.ebuild 4253 BLAKE2B a6f14ccb44fafadf73fce9f21828bf0280e7b64f9ce04c0c0728b9d384dfd05646a66bedb285e5cd8963428e235164413fdd8b05f6d4045503c5acfd04c44d14 SHA512 3f7324a41a8814850db8cc7fd2cc5d183b480cf541738e14ea51fbb269f8937e338d58498a9ef56ce6fcb1143b2b5da23f10479dee8ee68de3b5e6d96cff182d MISC metadata.xml 444 BLAKE2B 5fbfcf8f16e52ab5bb691b0b33a8491d94e42a80409114cd9b306af7d4b0eb8b6660fabc663adee53080c635217961301b78df536995b91afe9288d255f73d62 SHA512 b432b65ed3033d34ac0784d007909eb838b309b6a4785eebb1a3f808e43dfc41c786cd55e4dd048776c65127aac170bdd9fb9e5a8ae63accb5f65e300bca9676 diff --git a/dev-python/sqlalchemy/sqlalchemy-2.0.6.ebuild b/dev-python/sqlalchemy/sqlalchemy-2.0.6.ebuild new file mode 100644 index 000000000000..3eb291b7b107 --- /dev/null +++ b/dev-python/sqlalchemy/sqlalchemy-2.0.6.ebuild @@ -0,0 +1,116 @@ +# Copyright 1999-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=setuptools +PYTHON_COMPAT=( pypy3 python3_{9..11} ) +PYTHON_REQ_USE="sqlite?" + +inherit distutils-r1 optfeature pypi + +MY_PN="SQLAlchemy" +DESCRIPTION="Python SQL toolkit and Object Relational Mapper" +HOMEPAGE=" + https://www.sqlalchemy.org/ + https://pypi.org/project/SQLAlchemy/ + https://github.com/sqlalchemy/sqlalchemy/ +" +SRC_URI="$(pypi_sdist_url --no-normalize "${MY_PN}")" +S="${WORKDIR}/${MY_PN}-${PV}" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x64-solaris" +IUSE="examples +sqlite test" + +RDEPEND=" + >=dev-python/typing-extensions-4.2.0[${PYTHON_USEDEP}] +" +BDEPEND=" + test? ( + $(python_gen_impl_dep sqlite) + ) +" + +distutils_enable_tests pytest + +EPYTEST_IGNORE=( + # hardcode call counts specific to Python versions + test/aaa_profiling +) + +src_prepare() { + sed -i -e '/greenlet/d' setup.cfg || die + distutils-r1_src_prepare +} + +python_test() { + local EPYTEST_IGNORE=( + test/ext/mypy/test_mypy_plugin_py3k.py + + ) + local EPYTEST_DESELECT=( + # warning tests are unreliable + test/base/test_warnings.py + # TODO + test/orm/test_versioning.py::ServerVersioningTest_sqlite+pysqlite_3_40_1::test_sql_expr_w_mods_bump + test/sql/test_resultset.py::CursorResultTest_sqlite+pysqlite_3_41_0::test_pickle_rows_other_process + ) + [[ ${EPYTHON} == pypy3 ]] && EPYTEST_DESELECT+=( + test/ext/test_associationproxy.py::ProxyHybridTest::test_msg_fails_on_cls_access + test/ext/test_associationproxy.py::DictOfTupleUpdateTest::test_update_multi_elem_varg + test/ext/test_associationproxy.py::DictOfTupleUpdateTest::test_update_one_elem_varg + test/engine/test_processors.py::PyDateProcessorTest::test_date_invalid_string + test/engine/test_processors.py::PyDateProcessorTest::test_datetime_invalid_string + test/engine/test_processors.py::PyDateProcessorTest::test_time_invalid_string + test/dialect/test_sqlite.py::TestTypes_sqlite+pysqlite_3_40_1::test_cant_parse_datetime_message + test/dialect/test_sqlite.py::TestTypes_sqlite+pysqlite_3_41_0::test_cant_parse_datetime_message + test/dialect/test_suite.py::ReturningGuardsTest_sqlite+pysqlite_3_40_1::test_delete_single + test/dialect/test_suite.py::ReturningGuardsTest_sqlite+pysqlite_3_40_1::test_insert_single + test/dialect/test_suite.py::ReturningGuardsTest_sqlite+pysqlite_3_40_1::test_update_single + test/dialect/test_suite.py::ReturningGuardsTest_sqlite+pysqlite_3_41_0::test_delete_single + test/dialect/test_suite.py::ReturningGuardsTest_sqlite+pysqlite_3_41_0::test_insert_single + test/dialect/test_suite.py::ReturningGuardsTest_sqlite+pysqlite_3_41_0::test_update_single + test/base/test_utils.py::ImmutableDictTest::test_pep584 + ) + if ! has_version "dev-python/greenlet[${PYTHON_USEDEP}]"; then + EPYTEST_DESELECT+=( + test/ext/asyncio/test_engine_py3k.py::TextSyncDBAPI::test_sync_driver_execution + test/ext/asyncio/test_engine_py3k.py::TextSyncDBAPI::test_sync_driver_run_sync + "test/engine/test_pool.py::PoolEventsTest::test_checkin_event_gc[False-True]" + "test/engine/test_pool.py::PoolEventsTest::test_checkin_event_gc[True-True]" + "test/engine/test_pool.py::QueuePoolTest::test_userspace_disconnectionerror_weakref_finalizer[True-_exclusions0]" + ) + fi + + # upstream's test suite is horribly hacky; it relies on disabling + # the warnings plugin and turning warnings into errors; this also + # means that any DeprecationWarnings from third-party plugins cause + # everything to explode + local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1 + local -x PYTEST_PLUGINS= + # upstream automagically depends on xdist when it is importable + if has_version "dev-python/pytest-xdist[${PYTHON_USEDEP}]"; then + PYTEST_PLUGINS+=xdist.plugin + fi + epytest +} + +python_install_all() { + if use examples; then + docompress -x "/usr/share/doc/${PF}/examples" + dodoc -r examples + fi + + distutils-r1_python_install_all +} + +pkg_postinst() { + optfeature "asyncio support" dev-python/greenlet + optfeature "MySQL support" \ + dev-python/mysqlclient \ + dev-python/pymysql \ + dev-python/mysql-connector-python + optfeature "postgresql support" dev-python/psycopg:2 +} diff --git a/dev-python/starlette/Manifest b/dev-python/starlette/Manifest index 249af9b050d5..b15b57c9da68 100644 --- a/dev-python/starlette/Manifest +++ b/dev-python/starlette/Manifest @@ -1,7 +1,9 @@ DIST starlette-0.21.0.gh.tar.gz 2830353 BLAKE2B 7ff818d4687757ec8699dcd0e2582af78211787b7a0f2110da045eb4f7a8760262cf144b0af7dc9f72140b5dae1e65f7a4207ee3b165db4091c5139ce0bfcc85 SHA512 c246862604ba807141313857321d898d996eaa771ccb197546d0928a75cbb69f0e485fe90d2c817e70323146077c487436516384e1401d815c59c0ac75845e2b DIST starlette-0.25.0.gh.tar.gz 2835696 BLAKE2B 82ed915a2ff7824a99e0f15f16a0723b8799ef43ab5b25dbbf7ee7bff7a3a1fc555e802a82950b11eb752a39e23fdf0870090a99bed568bfa82e3ecbcf42f5f3 SHA512 ecff4905c093ffd21a4b102d4ca1dba22ceebd8e73f53f984fbe58daa7a0bf9c3de9a41b1672837602142a4e14787f3b59291d05b9cb6a0dd034d58ddacd9eb1 DIST starlette-0.26.0.post1.gh.tar.gz 2837411 BLAKE2B b5db12f5c9fa8a8e9b78ec61ce26d2caff7f4160ad2e1446d6c161c223b3efc797e6cae65171e03aa14deb33172ceadb20d78ee02bd5754bc66e0406e4bbca89 SHA512 e8f1e98b922b2b067b1d7c581e5c9a6af887f204546ce04206abaea21b0c6e16de182022a5f70153a4f0833847f510f2ccae7f685c92a7f344a581d1d3d6ca0a +DIST starlette-0.26.1.gh.tar.gz 2837634 BLAKE2B bfaef7cf0826cbb4ec133e47ae918a1021fd2fe1e7048651f72f6fdcba49a80ec53bff1d63cfa56cf9e075ea58f62db0a5fab4ccfd80463a69f79e26eabc8c03 SHA512 2974b778481f6a701e8697a7a48dad33cbb8569acc5e3bf123769c3f6380d6aa5730aff3e1ba4978eee025d2479e11c731b669e58e08e16f6870225ed813d42b EBUILD starlette-0.21.0-r1.ebuild 1076 BLAKE2B 6f6d698251b05f596260ad9c88d2f893e98647b817f275e305b1875f0f52dfc2e7abe92473ea16d7133aaf8458a6bbde024f1be5adc56dbc6774634691c37b62 SHA512 fe86cad02a7416a249a60279cbfed1e48f01d3a19550181faeb9d828addaa069fe991d86586d7cfc8e315c88fc46435a5be80c64e68053f3c6eb69ac4dd9f4c2 EBUILD starlette-0.25.0.ebuild 1128 BLAKE2B 48e92a02a892572f04f8d0b5c7f76b963f1c2e602ab0fed68e0a06f1dd5e8b27d6ccbd06c2fdea1b4c61d68bf346a6e0b078e220bf522561d301c933c78dfcaf SHA512 c5140292443bd9c0479e3a81346b47fbfa4408e42a5d8bdafb0c8ae3387dfc64ead76e12a69db7c3c2e0e41f1d4a326aa022e70548f2aa021d7743b3db0e52c9 EBUILD starlette-0.26.0_p1.ebuild 1185 BLAKE2B 24a50f971a223d5fe2be6e670c9eed120f77807d56c3e2bd971fc69840e14b0f3a24a8c7333329ff64c0541d988d4781eef58b14a48310e327b070584420de01 SHA512 5ec883b6d54a2640e3fbe23a019b117edbcac599ba390edde14e28a682b3e623a0122ef419c00e2a9c8b27096c2a2b243e9c756006cfa20b33e921ce8f634f6a +EBUILD starlette-0.26.1.ebuild 1185 BLAKE2B 24a50f971a223d5fe2be6e670c9eed120f77807d56c3e2bd971fc69840e14b0f3a24a8c7333329ff64c0541d988d4781eef58b14a48310e327b070584420de01 SHA512 5ec883b6d54a2640e3fbe23a019b117edbcac599ba390edde14e28a682b3e623a0122ef419c00e2a9c8b27096c2a2b243e9c756006cfa20b33e921ce8f634f6a MISC metadata.xml 371 BLAKE2B 0ccaa4659e63162b565359a1cae05764bea66d708a5f4af1a4716ba9ba23faa39ab4f5a806c0a9783f3f42282ee9b98e22a92f2b308b8dfe97bbf9c770a8add1 SHA512 0fc326941861260becd4129c8a351e89ba0f98f9a3ce9b5d50812f0eaf667743ab0d403889aa1b0a2d9fcedbe0212ba879d165ec8edd115686d4768e6b1326ca diff --git a/dev-python/starlette/starlette-0.26.1.ebuild b/dev-python/starlette/starlette-0.26.1.ebuild new file mode 100644 index 000000000000..68330224a007 --- /dev/null +++ b/dev-python/starlette/starlette-0.26.1.ebuild @@ -0,0 +1,51 @@ +# Copyright 1999-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=hatchling +PYTHON_COMPAT=( pypy3 python3_{9..11} ) + +inherit distutils-r1 + +MY_P=${P/_p/.post} +DESCRIPTION="The little ASGI framework that shines" +HOMEPAGE=" + https://www.starlette.io/ + https://github.com/encode/starlette/ + https://pypi.org/project/starlette/ +" +SRC_URI=" + https://github.com/encode/starlette/archive/${PV/_p/.post}.tar.gz + -> ${MY_P}.gh.tar.gz +" +S=${WORKDIR}/${MY_P} + +LICENSE="BSD" +SLOT="0" +KEYWORDS="~amd64 ~arm ~arm64 ~ia64 ~loong ~ppc ~ppc64 ~riscv ~sparc ~x86" + +RDEPEND=" + <dev-python/anyio-5[${PYTHON_USEDEP}] + >=dev-python/anyio-3.4.0[${PYTHON_USEDEP}] + >=dev-python/httpx-0.22.0[${PYTHON_USEDEP}] + dev-python/itsdangerous[${PYTHON_USEDEP}] + dev-python/jinja[${PYTHON_USEDEP}] + dev-python/python-multipart[${PYTHON_USEDEP}] + dev-python/pyyaml[${PYTHON_USEDEP}] + $(python_gen_cond_dep ' + >=dev-python/typing-extensions-3.10.0[${PYTHON_USEDEP}] + ' 3.8 3.9) +" +BDEPEND=" + test? ( + dev-python/trio[${PYTHON_USEDEP}] + ) +" + +EPYTEST_IGNORE=( + # Unpackaged 'databases' dependency + tests/test_database.py +) + +distutils_enable_tests pytest diff --git a/dev-python/trio-websocket/Manifest b/dev-python/trio-websocket/Manifest index 2c36c5f481df..b09f2b3f9d00 100644 --- a/dev-python/trio-websocket/Manifest +++ b/dev-python/trio-websocket/Manifest @@ -1,4 +1,6 @@ AUX trio-websocket-0.9.2-async-gen.patch 2466 BLAKE2B f86007cd76395954fb7691a94814509d2871ef7a637b93b40f5b8b275f42ddf496d8012f35756693ed88de38ab29d06690e2a9a8e6f99e00acf2c156734c7a53 SHA512 b3d20d131b4c036b12b725ad732bf87d3aafade16cefe6e55083267afc916a026d15f3976bb7da56124d6995541c27a0d87283d1154aee029ce32914aee5fc20 +DIST trio-websocket-0.10.0.gh.tar.gz 43808 BLAKE2B fd89ab74c3844a14940ce07a0abc07a0392607b492fa4b6e1d81ba3aa2c37338706975cb800332751c9ea70e934c4169fdcd29dd047019096726164a2130daa9 SHA512 04d775a7c1a232b470a7f415b57debce4bd1c3732934a94d65e3c9f3bb45c5ffea7464557100e2e9f68a2aa6a7812bd686220de046f399a0d0242309d2d9be59 DIST trio-websocket-0.9.2.gh.tar.gz 43146 BLAKE2B f5463d20253c3686a0d0fe4cb38ffec235c4378c14ed2952b3518486602b06bb961291d098542a52dee7e25506713df382e303cd2dc7fa579041124d66c8ecb8 SHA512 0f25a7d234a6d9f7c0c0bdbbd2836e6baee02b4ff2daab8354f8fd483a10de65fe357a273675a172227b1b0e9f7cf6cf27ddfdf9426d1b330122a8b2ef957435 +EBUILD trio-websocket-0.10.0.ebuild 916 BLAKE2B be70dc19a783ace1115dc1454559b8fa52d209e322a2f77c94d811d46586ba9aabc8ff048990983cee263b7f5d7431a956229dc674666596706f96bc02849a41 SHA512 f195846a849d9041fa32e67dda0f073aa32efac97a28855e9dd9ff2dbc7b965ce20800694db2a457246a19dadad28f0d2683c518348937907ca0b3926d79a96e EBUILD trio-websocket-0.9.2.ebuild 1047 BLAKE2B f9d90d01e706a91b75a24a3c525a288c756cfca0c0a171d4f734fccf15ae0bfe3145db5bf6438ecfd02ce243badee2679639f3d1708ddd86c5e0c92675d42ffc SHA512 d12d934b5f2a1faef4e0cd5f7ac18a07dc8698ed9733eb9d49b126c4b6d0ae6318a442f746aa780b9503262260d2330dd393207e8c87323668b2472a8a21be88 MISC metadata.xml 409 BLAKE2B 68c9d1ab2984909315d2ec3f91f2703cc0941911fb049c35614c2cdc935e55f0f2440f6624aab4838f0d7d07e3e5717d19c7138660e82f8a3cb237e610a974e1 SHA512 c9d5e6f956b40d03d0a062ded846c507e783c55404a76b75141004df7d43e6a8bf5810480b4286a6bdf2d48c30aad51261e48581abb8799c107b924cd8131170 diff --git a/dev-python/trio-websocket/trio-websocket-0.10.0.ebuild b/dev-python/trio-websocket/trio-websocket-0.10.0.ebuild new file mode 100644 index 000000000000..b95a0f2797fc --- /dev/null +++ b/dev-python/trio-websocket/trio-websocket-0.10.0.ebuild @@ -0,0 +1,42 @@ +# Copyright 2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=setuptools +PYTHON_COMPAT=( pypy3 python3_{9..11} ) + +inherit distutils-r1 + +DESCRIPTION="WebSocket client and server implementation for Python Trio" +HOMEPAGE=" + https://github.com/HyperionGray/trio-websocket/ + https://pypi.org/project/trio-websocket/ +" +SRC_URI=" + https://github.com/HyperionGray/trio-websocket/archive/${PV}.tar.gz + -> ${P}.gh.tar.gz +" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64 ~ppc ~riscv ~sparc ~x86" + +RDEPEND=" + dev-python/exceptiongroup[${PYTHON_USEDEP}] + >=dev-python/trio-0.11[${PYTHON_USEDEP}] + >=dev-python/wsproto-0.14[${PYTHON_USEDEP}] +" +BDEPEND=" + test? ( + >=dev-python/pytest-trio-0.5.0[${PYTHON_USEDEP}] + dev-python/trustme[${PYTHON_USEDEP}] + ) +" + +distutils_enable_tests pytest + +python_test() { + local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1 + epytest -p trio +} |