diff options
author | V3n3RiX <venerix@koprulu.sector> | 2023-07-30 22:42:58 +0100 |
---|---|---|
committer | V3n3RiX <venerix@koprulu.sector> | 2023-07-30 22:42:58 +0100 |
commit | 3b4199328e240d392ef1f03900219cb88bdafcff (patch) | |
tree | 06007a008d485a5e0a169f2807b68f456e9df1b3 /dev-python | |
parent | aca0af8133e724b7edf0b5c6efe12c39077a3dc9 (diff) |
gentoo auto-resync : 30:07:2023 - 22:42:58
Diffstat (limited to 'dev-python')
43 files changed, 663 insertions, 24 deletions
diff --git a/dev-python/Manifest.gz b/dev-python/Manifest.gz Binary files differindex bd29c81f83bc..67f787d62b55 100644 --- a/dev-python/Manifest.gz +++ b/dev-python/Manifest.gz diff --git a/dev-python/botocore/Manifest b/dev-python/botocore/Manifest index 6587838ef463..3d84c14abb83 100644 --- a/dev-python/botocore/Manifest +++ b/dev-python/botocore/Manifest @@ -9,7 +9,7 @@ EBUILD botocore-1.31.10.ebuild 2485 BLAKE2B f7c931df1cf3c88ac69706626687c7c96d98 EBUILD botocore-1.31.11.ebuild 2485 BLAKE2B f7c931df1cf3c88ac69706626687c7c96d98c055d54969a36872f91a44028567f2a405a8cb6ce729b78a2f99655a6989db07c57a5e0333b897996e98c401e275 SHA512 9d6f15f5b7035cfc63eeb8e86710eaecb765c20c47b018f834d806212d3ec7506562f7b162886bdcc9cd4e15d8ffd776b1f51c890dbbfadacefec5e787d13b44 EBUILD botocore-1.31.12.ebuild 2485 BLAKE2B f7c931df1cf3c88ac69706626687c7c96d98c055d54969a36872f91a44028567f2a405a8cb6ce729b78a2f99655a6989db07c57a5e0333b897996e98c401e275 SHA512 9d6f15f5b7035cfc63eeb8e86710eaecb765c20c47b018f834d806212d3ec7506562f7b162886bdcc9cd4e15d8ffd776b1f51c890dbbfadacefec5e787d13b44 EBUILD botocore-1.31.14.ebuild 2485 BLAKE2B f7c931df1cf3c88ac69706626687c7c96d98c055d54969a36872f91a44028567f2a405a8cb6ce729b78a2f99655a6989db07c57a5e0333b897996e98c401e275 SHA512 9d6f15f5b7035cfc63eeb8e86710eaecb765c20c47b018f834d806212d3ec7506562f7b162886bdcc9cd4e15d8ffd776b1f51c890dbbfadacefec5e787d13b44 -EBUILD botocore-1.31.15.ebuild 2485 BLAKE2B f7c931df1cf3c88ac69706626687c7c96d98c055d54969a36872f91a44028567f2a405a8cb6ce729b78a2f99655a6989db07c57a5e0333b897996e98c401e275 SHA512 9d6f15f5b7035cfc63eeb8e86710eaecb765c20c47b018f834d806212d3ec7506562f7b162886bdcc9cd4e15d8ffd776b1f51c890dbbfadacefec5e787d13b44 +EBUILD botocore-1.31.15.ebuild 1834 BLAKE2B 50305f707e533627ed4b906b3c5845a931f825049d40d8e9d9eedf1323d130634b578f68adb046db30e3e9a4168361da69d99471a7b744407dc103130a114994 SHA512 45952178574e99269d9767374818d867bfcc47ebf0f4c37dbab6cf50089577badb69967bd06b0b2d10b15dcd1c3e8b82adac88404d7c3b7d7784292b4005e797 EBUILD botocore-1.31.3.ebuild 2478 BLAKE2B 12b452c39c98b793a4f15b9a8e8b082ba77dcf677a7c529d2d4b8b81d729403597e071da7d2c98e5e4ed65778e19ea881c6993cf3405e7f80ad20a078fa18a63 SHA512 5118842311b8971e9d2b9f03a45f496caef3b95cfa79334f77097430d569cab7ac1261dcab3fe13236ecad3907936ae49eea87620a12304ae6cf6798639deb47 EBUILD botocore-1.31.9.ebuild 2485 BLAKE2B f7c931df1cf3c88ac69706626687c7c96d98c055d54969a36872f91a44028567f2a405a8cb6ce729b78a2f99655a6989db07c57a5e0333b897996e98c401e275 SHA512 9d6f15f5b7035cfc63eeb8e86710eaecb765c20c47b018f834d806212d3ec7506562f7b162886bdcc9cd4e15d8ffd776b1f51c890dbbfadacefec5e787d13b44 EBUILD botocore-9999.ebuild 1736 BLAKE2B 6ca7ea14855f5f8db2d166ba1f29835d4c994a0a8fa38f3852406289a4465c091909562ac678f1c0bf7e640a594731b0d4319efc0f34f6bc640fbae06746c4bc SHA512 f891bf0eded88d9af3b87fc7c9ee4c6a129d263e672821f3b9654d43bb3bcac41305b834192088d15b50f3f9d36ea95374180cf13e1cb67149595ec63e4cc155 diff --git a/dev-python/botocore/botocore-1.31.15.ebuild b/dev-python/botocore/botocore-1.31.15.ebuild index 3ced99abe4ff..491b6bbc21f2 100644 --- a/dev-python/botocore/botocore-1.31.15.ebuild +++ b/dev-python/botocore/botocore-1.31.15.ebuild @@ -66,13 +66,6 @@ python_test() { tests/unit/test_client.py::TestClientErrors::test_BOTO_DISABLE_COMMONNAME # TODO tests/functional/test_credentials.py::SSOSessionTest::test_token_chosen_from_provider - # urllib3-2 compatibility, mock relies on implementation details - tests/unit/test_awsrequest.py::TestAWSHTTPConnection::test_expect_100_continue_no_response_from_server - tests/unit/test_awsrequest.py::TestAWSHTTPConnection::test_expect_100_continue_returned - tests/unit/test_awsrequest.py::TestAWSHTTPConnection::test_expect_100_continue_sends_307 - tests/unit/test_awsrequest.py::TestAWSHTTPConnection::test_expect_100_sends_connection_header - tests/unit/test_awsrequest.py::TestAWSHTTPConnection::test_handles_expect_100_with_different_reason_phrase - tests/unit/test_awsrequest.py::TestAWSHTTPConnection::test_state_reset_on_connection_close ) epytest tests/{functional,unit} -n "$(makeopts_jobs)" diff --git a/dev-python/cattrs/Manifest b/dev-python/cattrs/Manifest index aefef4dff3eb..f89701e3f20b 100644 --- a/dev-python/cattrs/Manifest +++ b/dev-python/cattrs/Manifest @@ -3,5 +3,5 @@ DIST cattrs-23.1.1.gh.tar.gz 602294 BLAKE2B c0be7dc8979919c4d29f9bd51203d219b9d6 DIST cattrs-23.1.2.gh.tar.gz 602336 BLAKE2B f39ff3c1525ea14789edd137d82343a9447de0a41f65a71ee85754a15f8fdc929137125043b23c6cd088c8b2d2e9da18577c3b6dbbb6e9a33bdf6789f117bc46 SHA512 d05c8a5d4c5dc0b69ccdf33164d44c35a37a871199a35d1c2c25f9fbd8ee53d48da8e9d9bec49cde2baf901b524d5e8ff1ade175928908ea81f94e8398224488 EBUILD cattrs-22.2.0.ebuild 1265 BLAKE2B 611c0e7707d709e4b7f68e5c5d13c225efb555e69013879ff2414c0a74ac78c76678fd3e8ebf32c980a220eefeb38dddc715a2135d32c2413ba3c32827238a79 SHA512 804d75159dfce03ab9484a8bcf44c7cc1cacce112d0c697f0513c6af4d278f74da209a8fc6ab853d425dc18f07b41bc26ff01d08ccb6d75c55067197ece86b65 EBUILD cattrs-23.1.1.ebuild 1272 BLAKE2B 3d866fd0ef5bc3f2e1ef2a399a794354be9aa3d0c055c7355cca4f00098ce87bf8dd969f6bed436ec61c6c58206163ccf32af4c6fe05e8997147fe202ae3d457 SHA512 bd327c2521f6770d79d975dab8da6a1973474215a1325b5cb440c5d2ee0e2d9f059cb9289532cd9911f7b5b3115fa6ac3d748a7fe1d2e8b6159fd6690408462e -EBUILD cattrs-23.1.2.ebuild 1784 BLAKE2B 07f813ae103dad6f006e19441faedf2c8103af1f70fc4330845caf241598b979b9008b655d9c7320f7cc67e667e07447255d4265d33091ab2d5ab34ff3d1070f SHA512 77cbce62a0247323288eae090c9af61f9430b93568a23e5eb839e826f5422901ccb3e79f5fd8e5cb6903a6c5b85fef5a0a70083fbc8e00ff0cdf255846967539 +EBUILD cattrs-23.1.2.ebuild 1791 BLAKE2B e41225638dcd2b1806c89b94f258be4054b6570bd72e26d6858a018b7b4c9253d283d0f154cd5b89ec22bb9592c93fd2e23b48996290fc51545e2f74f937e2dc SHA512 3ebe799278d9c5d1876a36e117a5406ea3de181734718b6eb75873eb2143fd0ee913fa707d34d547dc5dd808e76fdfb19140a3fbf8b9036a31c51238e7653d19 MISC metadata.xml 347 BLAKE2B 94165f2a8e62f3dc7e195f872944300ffff5ba23b9a7e6c30c18d61bc469ea8ff9b70e516f854bfc52d55a0fd27daff0df58145e34bfe26dbcde8070b8a22630 SHA512 5bb37b39b9574256358a623cff942a95162f5f9dcb32ddf28bd167504c7619be54488fae10044a5c765291f8fa28a5aa346973365dcca867be0eef4e232a4999 diff --git a/dev-python/cattrs/cattrs-23.1.2.ebuild b/dev-python/cattrs/cattrs-23.1.2.ebuild index 097477200e4c..73ac1770e24c 100644 --- a/dev-python/cattrs/cattrs-23.1.2.ebuild +++ b/dev-python/cattrs/cattrs-23.1.2.ebuild @@ -20,7 +20,7 @@ SRC_URI=" LICENSE="MIT" SLOT="0" -KEYWORDS="~amd64" +KEYWORDS="~amd64 ~arm64" IUSE="test-rust" RDEPEND=" diff --git a/dev-python/cli_helpers/Manifest b/dev-python/cli_helpers/Manifest index e080a09173ae..f35ba8189464 100644 --- a/dev-python/cli_helpers/Manifest +++ b/dev-python/cli_helpers/Manifest @@ -1,4 +1,4 @@ DIST cli_helpers-2.3.0.gh.tar.gz 34374 BLAKE2B 83978ee17aec8a02173460cf5d5c42751d4745c63a1f83c8fafdd55fcfb31e04d02a61f90db4a4fe8ba2049167306b06e1389db15230558a646589e3834745de SHA512 ee5f2adbca54c62c2f40be4c7b418760d12f331737a65bafdb8209989fc866f35d6c2ea1b9b0a12add6ed3fa576a84a2c8f62a2f3babf58706660f7d7eb8eb57 -EBUILD cli_helpers-2.3.0.ebuild 734 BLAKE2B c6ecd714dd8bb793f56d89b850c6c9bbbe5b866f64be05626922c934d322d1384d3bf86ffe1fc41fd6f906d1f64022c8887d326ccb3ab5e2976a22f51a751b0b SHA512 b1f0629bbe5dea6fa151ec6ce7005a3c91c1bf23b44772801b148e5f0d1014ecd17356683e3c4707854a88fdc4b713897634401b9e9e8afd674ffc9aeb59608c +EBUILD cli_helpers-2.3.0.ebuild 741 BLAKE2B 7346ba4ee75c4dc04d0521f049f2c500b40935d2ce7160b46880d65bb10e7957578f464d3bec9c2bfb484095bd34cae7fdc95a7354203efc3e363bb3bbea56fa SHA512 8e05cdc67e712e6f5e5a6f402de0b190d851956bdfe9377470d2ba88d0c5796c028ec99649fa17ccf93ad3e28558ec10e19b7690309813d72f1bd31fd5b8890c EBUILD cli_helpers-9999.ebuild 691 BLAKE2B 9b4d14427bb7cd59fbf46485a3ad43b4d8fe691bf8cf52be7dc78d4556f457539f2d855c964b687c22690b8698935db0af291751328a9d6b6ce5487f73e4cdfd SHA512 8a3b880ca229f21fda3630093ba6f9ab60e87e75dd434f8adfde2c7a401a9fd5e0e4a900b33eb876bfd6dfe8d7d480fbcfec9408a8e4af29afe70dae26d99433 MISC metadata.xml 350 BLAKE2B 681abe13f14b7e5b34b554229c628944ccf13dd7334b4619be25539bde19117471556fc9262034bc7a2e9b028fbecdd368bef312e35900988d916900ea51ea23 SHA512 6171ed56fee7c66a344241d804eea3847052131c222a89265223f23671682022c80374e6fda55b4ba545550d73dc3201fc0bdcd9e8b9d88505aa982a00eef9a0 diff --git a/dev-python/cli_helpers/cli_helpers-2.3.0.ebuild b/dev-python/cli_helpers/cli_helpers-2.3.0.ebuild index 73bbfd5a2e0f..adb61452afbf 100644 --- a/dev-python/cli_helpers/cli_helpers-2.3.0.ebuild +++ b/dev-python/cli_helpers/cli_helpers-2.3.0.ebuild @@ -21,7 +21,7 @@ SRC_URI=" LICENSE="BSD" SLOT="0" -KEYWORDS="amd64 x86" +KEYWORDS="amd64 ~arm64 x86" RDEPEND=" >=dev-python/configobj-5.0.5[${PYTHON_USEDEP}] diff --git a/dev-python/flake8/Manifest b/dev-python/flake8/Manifest index 7d4b15ed86cd..ea6d779e2131 100644 --- a/dev-python/flake8/Manifest +++ b/dev-python/flake8/Manifest @@ -1,3 +1,5 @@ DIST flake8-6.0.0.gh.tar.gz 139138 BLAKE2B 87590594a95f48a9e532ca545d4ae17a098cba81a7708066d63180b27e1cd0e0b648a2362d16b3818ef1b91cbe9ecf51810d45136fb42f188fc09083e9b31921 SHA512 27de4632332ee72bb5deedfcb7ea59e31a3e7fbfd6c165adf019b06cccaba51b776f4310219d8b27cf4894ed2597330fe9c0e381187353d4dc239f102eedd26a +DIST flake8-6.1.0.gh.tar.gz 139267 BLAKE2B 69210f4ebe5dd4b56425fca9289349820cc5dcee515f75cb855b095dc1a0a6ba380448f14fca19423940d853383576ddc665c5a7bd27f8aa96940ac410d8742b SHA512 a44d245b023acbb89e64071f6cb76f5543e538472a8815fa329a3b3671133cc6f96f246d83877a2a9ac91c32ecdf65858f8edf996efba77906af74b1632b74c8 EBUILD flake8-6.0.0.ebuild 1182 BLAKE2B a53b807da6ca89b1c292b39d655a8ae73951a98102126b9268dd9d4164ecd4148bbb3f9cd0202dea264ca2d4b8df0db896c314ce2219828ba0421c8e25e86427 SHA512 c6cb4689ee6fd1fa28aebe0894d4343360cf168692d27a8a7976945782f713047cfa3c04cccf8dc8a46ee873d04d8980a7fa7547dd5c1976d49ad4c77df4d9d6 +EBUILD flake8-6.1.0.ebuild 1631 BLAKE2B 525c1305ccc6421b6ef19327a37a5bced8a15b56e13620eb3cb73c86804042d7a6f435c11078d874d6cbcdeb609efd903aeec2f22c6901369f441b21635d7301 SHA512 ec819a329766c97c348874bf3eabc85878946ea0c713baa308038b39c72c0ab8fd700222d6b541b2b5f3f08dd622ba7f7e6d0d0eb99e86af278c6eebf8dfbe7d MISC metadata.xml 399 BLAKE2B 01ae165c898af67195582e1aaf867b9f9fc937e56b87f09a812d21c9d1175131c25561524ba76857c1630a117a21bc43eeef907c2a34ab9e9b38866dc2f9430e SHA512 8f149a017f4fef8f8fe0fef037e589694e0c3b3689990f97f38ed23fb9b5c5170985fc1fd7814ef70b8200db66cb9367dcfc9bf6453f8742092335a1c3c8fae6 diff --git a/dev-python/flake8/flake8-6.1.0.ebuild b/dev-python/flake8/flake8-6.1.0.ebuild new file mode 100644 index 000000000000..bba7b6815ba8 --- /dev/null +++ b/dev-python/flake8/flake8-6.1.0.ebuild @@ -0,0 +1,63 @@ +# 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_{10..12} ) + +inherit distutils-r1 + +DESCRIPTION="A wrapper around PyFlakes, pep8 & mccabe" +HOMEPAGE=" + https://github.com/PyCQA/flake8/ + https://pypi.org/project/flake8/ +" +SRC_URI=" + https://github.com/PyCQA/flake8/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 ~x64-macos" + +RDEPEND=" + <dev-python/pyflakes-3.2.0[${PYTHON_USEDEP}] + >=dev-python/pyflakes-3.1.0[${PYTHON_USEDEP}] + <dev-python/pycodestyle-2.12.0[${PYTHON_USEDEP}] + >=dev-python/pycodestyle-2.11.0[${PYTHON_USEDEP}] +" +PDEPEND=" + >=dev-python/mccabe-0.7.0[${PYTHON_USEDEP}] + <dev-python/mccabe-0.8.0[${PYTHON_USEDEP}] +" +BDEPEND=" + ${RDEPEND} + test? ( + ${PDEPEND} + ) +" + +distutils_enable_sphinx docs/source \ + dev-python/sphinx-prompt \ + dev-python/sphinx-rtd-theme +distutils_enable_tests pytest + +python_test() { + local EPYTEST_DESELECT=( + # fails if additional flake8 plugins are installed + tests/integration/test_plugins.py::test_local_plugin_can_add_option + ) + if [[ ${EPYTHON} == pypy3 ]]; then + EPYTEST_DESELECT+=( + # problem with pypy3.10 in dev-python/pyflakes + # https://github.com/PyCQA/pyflakes/issues/779 + tests/integration/test_main.py::test_malformed_per_file_ignores_error + tests/integration/test_main.py::test_tokenization_error_but_not_syntax_error + tests/integration/test_main.py::test_tokenization_error_is_a_syntax_error + ) + fi + + epytest +} diff --git a/dev-python/iminuit/Manifest b/dev-python/iminuit/Manifest index e3676fdb24fc..2a00d66e3e3c 100644 --- a/dev-python/iminuit/Manifest +++ b/dev-python/iminuit/Manifest @@ -1,6 +1,8 @@ AUX iminuit-2.21.3-gcc-13.patch 509 BLAKE2B 9c30f1f6eeb077c265e43e3de7137a9052ca1cdfd0aa788a4eef31986e57a2ff96f700295d11b544caa3a39a9843a208e53621a225f24c775ce0d82f6638b1ae SHA512 e4997feb9a981ce6980b7317a7ea8f8dd939b9fa2c06a1716251d9da96379a32cf9dce90f32b59d3956d7334de973a6ce8eba7cabef15b4fcbce1a90baa4903c DIST iminuit-2.21.3.tar.gz 437827 BLAKE2B 5196e896769f6312bb6ba9af8d6f03bea6023a9459ccbe8553e4c10ba5dc2ed90e4e4b57bdd104f7b72e7514a50c0d4c717c76adf206d7eaddcd3c4c54c4d210 SHA512 5e48d4451caf56688143fa4590528fb4ed0660e144dbb3d1c409b84f793593478979728b4af9748b7bbdb7063e2ef7e05476a2ecd52af089f351522aadfc9ba4 DIST iminuit-2.22.0.tar.gz 2324676 BLAKE2B e45952ee6a7f7b6ef3e1ac570abf167423c59ee82841b360278d43c4ab1e07667e143a439f7354e8257007a198c015388b9acf0a5e9aa487814d6619999eab2e SHA512 e9eda1bc7741c35bd9e9e650a626b45a2f5e4362a7c1dead57dcc461fa6e6cdbab8cfd4203c483017f8fa43e6cf1e75e074d40b92cbc3f271140d950ee4da158 +DIST iminuit-2.23.0.tar.gz 2325309 BLAKE2B 05e94a0604daded06419d41dc6fa61f3aeb621dec1a84fd69d93a2028a990a6cdae72c99c2b184514003695025c70bea22340138f45abb2092775042293d8e92 SHA512 ea0b69722a75e537159fbdbd111eaf48431e0f5c355ef1256f32763873f9dfd3a1a195c45647eb4ca4be2d0532955eb5aa1f6ff43482764d3e566dce4b401305 EBUILD iminuit-2.21.3.ebuild 980 BLAKE2B 2f95e35c5c19b7068b30aa5d5ee118f875fe7562d0d76243c46e51061ede83c6d254c048c652cb40ba48694e887e2353fd251be5090daf6ee3e0a58218f73d3f SHA512 3873a89561036f06478c92051d543345e6d6681d01a499754b3db8693adb2b277be83bcbe4eb38ef1e8fa61dd76add2bd1abba32f53e1a9a0b1d06bbc46f12b8 EBUILD iminuit-2.22.0.ebuild 1123 BLAKE2B 5b5708164e64e309daa2683944bd89a9cf9cec12545a1aa56e2fc93804fc3eb3b3d08f089ae631dd75c04c18ef43226826f9119a2cea31c47ffa2045f2905602 SHA512 b9ef92c660c6fd74cfa9fceacc77ae315a5cc1f443a7c27e3869486a953633931f320534cb37f51decb51dc9eb8b11a886e52b2608491a53a37fe0df2159dd60 +EBUILD iminuit-2.23.0.ebuild 1123 BLAKE2B 5b5708164e64e309daa2683944bd89a9cf9cec12545a1aa56e2fc93804fc3eb3b3d08f089ae631dd75c04c18ef43226826f9119a2cea31c47ffa2045f2905602 SHA512 b9ef92c660c6fd74cfa9fceacc77ae315a5cc1f443a7c27e3869486a953633931f320534cb37f51decb51dc9eb8b11a886e52b2608491a53a37fe0df2159dd60 MISC metadata.xml 494 BLAKE2B c97d7fad530773c29b5e723843f13c8305aa1f011e678ad4e9625181ca633c1dfaa3847cb7b3aa09433b6ce665cbf4eb39fde7f80ead402292bc75bb8442beba SHA512 04413a2cbdc7f6843f89560a519ccdb00bcfcf0c9254e9fff7a8901ed992cd7121ba052191399fd60f76f35e495f84c2297acd0a9a1898d4fbcadb7a60841d99 diff --git a/dev-python/iminuit/iminuit-2.23.0.ebuild b/dev-python/iminuit/iminuit-2.23.0.ebuild new file mode 100644 index 000000000000..b8a08320e0b8 --- /dev/null +++ b/dev-python/iminuit/iminuit-2.23.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_EXT=1 +DISTUTILS_USE_PEP517=scikit-build-core +PYTHON_COMPAT=( python3_{10..11} ) + +inherit cmake distutils-r1 virtualx pypi + +DESCRIPTION="Minuit numerical function minimization in Python" +HOMEPAGE=" + https://github.com/scikit-hep/iminuit/ + https://pypi.org/project/iminuit/ +" + +LICENSE="MIT LGPL-2.1" +SLOT="0" +KEYWORDS="~amd64" + +RDEPEND=" + dev-python/numpy[${PYTHON_USEDEP}] +" +BDEPEND=" + dev-python/cython[${PYTHON_USEDEP}] + test? ( + dev-python/ipython[${PYTHON_USEDEP}] + dev-python/ipywidgets[${PYTHON_USEDEP}] + dev-python/matplotlib[${PYTHON_USEDEP}] + dev-python/scipy[${PYTHON_USEDEP}] + ) +" + +distutils_enable_tests pytest + +src_test() { + virtx distutils-r1_src_test +} + +python_test() { + local EPYTEST_DESELECT=( + # warnings caught as exceptions, sigh + # https://github.com/scikit-hep/iminuit/pull/907 + tests/test_cost.py::test_UnbinnedNLL_visualize + + # precision error + tests/test_cost.py::test_Template_with_model_2D + ) + + epytest -p no:pytest-describe || die "Tests failed with ${EPYTHON}" +} diff --git a/dev-python/jedi/Manifest b/dev-python/jedi/Manifest index e9baf780d7af..494cdbb40b20 100644 --- a/dev-python/jedi/Manifest +++ b/dev-python/jedi/Manifest @@ -1,5 +1,7 @@ DIST django-stubs-fd057010f6cbf176f57d1099e82be46d39b99cb9.tar.gz 183312 BLAKE2B a68f6139903f5001db994ee0d881f40ab74932e81c3e2c3a0c22dc56e6be681d0fb42ce837603b21e4d0d448ccb25884ef0f69039305f309e82603267cee9f6a SHA512 506322c132f94e6a1e88cdbde6027a566387731fa6ad59934f95c3511f49d90eff2a3138363811be648b096407d418cd1f801df0bc35b1e464ef181e4076ada1 DIST jedi-0.18.2.gh.tar.gz 469286 BLAKE2B 6b65a231d092a6869b55c14a8254c4716695f46cdc9733f50607cf7bb8c864f319e2abfbe812bffc514c78cd92059fc29fa9cc0a38b1e14d6bc8bf3ad3596097 SHA512 1df24190c7d468f388e7175f4625670df81cd9a533c8bde12b1e0eaf982a173bdd001bbea6680144cc50ca263fa2b802da5d71de555f81717f4377c46826d0d1 +DIST jedi-0.19.0.gh.tar.gz 472334 BLAKE2B 04e8fda32c2d0b0476d197c5686011f811d5c269cdb61b15d0bafa9e3aabed05deb44f98d2e3a25faf7bd130b3a9289d058ed06199fc760357d34c551ecc5ad0 SHA512 0db8c7859e55057afc0367455c2f3817d8f05a19b6fbdc163a74f07854562c9c29307c7f8ac92e0ce9349353ac148f728a25b3be4cc62dc35f3060bdb79b02c8 DIST typeshed-ae9d4f4b21bb5e1239816c301da7b1ea904b44c3.tar.gz 602044 BLAKE2B 53298918a7e9a1163e76d4c70ad2a2117ee90b49329aa82d82b2aaaeaf000c971872f83ed283af6dc4be068b813876760c8b1b4acb4131865572a4aed3ea9230 SHA512 b3b9da66b6c6e03e0b262b3262df31215a5e080468ca9ebf4332ed53d715cd3956db7067fad3ec267042ff704f81ac665c703ef2fd0c5b445d440bd8e52bf1aa EBUILD jedi-0.18.2.ebuild 2211 BLAKE2B 6a8dbaf79e22c5253f571fabc273a85d53d0ce5ba0c7b30f26d4817ae3f835f9210ae24a360538fce9fcc676ce3221bd6fc805a2adbe5a1e59e53121413aba44 SHA512 d307c4f5dde81f6269634d1583fd195d0823fc71d75a8e726e4ce7976b6c85f7ec305919b23a6e8c1aad158eb456a5708608771c1e9c64217ea11db2ce8c141f +EBUILD jedi-0.19.0.ebuild 1991 BLAKE2B 8ce299f129c4465902443a6641d4b66b7f132797bcc7f87b1ddfdead518ddd97067e2a9b1fa9e08009bc8b96f83fce5b6517b97b56088375fcf3ab9acf15bac4 SHA512 cbe96850e3ebd32f2726393d536c42ab0b2e492247a5e93ecdaa40e236e77e5044887c29e145b929ed82e167416904b4868a0a81226c38a693ad22d4b5a838cb MISC metadata.xml 401 BLAKE2B c540d55ee88ab5a7be9ec902059a766a754da42ba5c1836c990d0d64edfec91fa33e8a745b9a15ce4a97831259150e0298fe2a5ed4c21993be73d9fd7af3d865 SHA512 6af98463225428333ec509b334014bd307569ce852f640a1f1c1e18f7551185d8db9b7c80822012c14f3c6ca1cf79ff24f289df3cd42803759d012a1a73ac07c diff --git a/dev-python/jedi/jedi-0.19.0.ebuild b/dev-python/jedi/jedi-0.19.0.ebuild new file mode 100644 index 000000000000..62299e208df7 --- /dev/null +++ b/dev-python/jedi/jedi-0.19.0.ebuild @@ -0,0 +1,72 @@ +# 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 + +TYPESHED_P="typeshed-ae9d4f4b21bb5e1239816c301da7b1ea904b44c3" +DJANGO_STUBS_P="django-stubs-fd057010f6cbf176f57d1099e82be46d39b99cb9" + +DESCRIPTION="Autocompletion library for Python" +HOMEPAGE=" + https://github.com/davidhalter/jedi/ + https://pypi.org/project/jedi/ +" +SRC_URI=" + https://github.com/davidhalter/jedi/archive/v${PV}.tar.gz + -> ${P}.gh.tar.gz + https://github.com/davidhalter/typeshed/archive/${TYPESHED_P#typeshed-}.tar.gz + -> ${TYPESHED_P}.tar.gz + https://github.com/davidhalter/django-stubs/archive/${DJANGO_STUBS_P#django-stubs-}.tar.gz + -> ${DJANGO_STUBS_P/v/}.tar.gz +" + +LICENSE=" + MIT + test? ( Apache-2.0 ) +" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86" + +RDEPEND=" + <dev-python/parso-0.9[${PYTHON_USEDEP}] + >=dev-python/parso-0.8.3[${PYTHON_USEDEP}] +" + +# RDEPEND needed because of an import jedi inside conf.py +distutils_enable_sphinx docs \ + dev-python/parso \ + dev-python/sphinx-rtd-theme +distutils_enable_tests pytest + +python_prepare_all() { + # upstream includes these as submodules ... + rmdir "${S}"/jedi/third_party/{django-stubs,typeshed} || die + mv "${WORKDIR}/${DJANGO_STUBS_P/v/}" \ + "${S}/jedi/third_party/django-stubs" || die + mv "${WORKDIR}/${TYPESHED_P}" \ + "${S}/jedi/third_party/typeshed" || die + + # test_complete_expanduser relies on $HOME not being empty + > "${HOME}"/somefile || die + + distutils-r1_python_prepare_all +} + +python_test() { + local EPYTEST_DESELECT=( + # fragile + test/test_speed.py + # assumes pristine virtualenv + test/test_inference/test_imports.py::test_os_issues + ) + + # some plugin breaks case-insensitivity on completions + local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1 + # django and pytest tests are very version dependent + epytest -o addopts= -k "not django and not pytest" +} diff --git a/dev-python/mccabe/Manifest b/dev-python/mccabe/Manifest index de93b73abcf7..e252183b3dbe 100644 --- a/dev-python/mccabe/Manifest +++ b/dev-python/mccabe/Manifest @@ -1,4 +1,4 @@ AUX mccabe-0.7.0-fix-tests-without-hypothesmith.patch 3585 BLAKE2B 928877eb6422450e410ff7a6721fc7dd0282c9d8ae4ba2be3542bf0b4c6e398f63b238fdacec979d55c86d440c463ddafcc757465dfe632ba2ce975b076ffa76 SHA512 590e7918f758873d6f14345345a5c4d3c31d098edd08252ac281bdf1ec547925620095f94a5937983136d040b4e6965207b05bd6ce7a069e6c67ace1f07493ef DIST mccabe-0.7.0.tar.gz 9658 BLAKE2B b4664a00d4760e2f662681875b548b67ad76d6b8a0ee46bf160e3232ad75172512ad7b4a99759dc13607cf06f3c772210b76a7051582d0bbd221091772543c07 SHA512 3e4141033c63434fad183f62dece872554302aeee8cb789586ac7d6d748d198799e2797df1d58458f4d431734f8899f11022d76666c848d43e6271304776346d -EBUILD mccabe-0.7.0.ebuild 794 BLAKE2B acca4813c8d7ee2f835c5c27425163ee786c0e3a5de86be2d3793ea4cd8875a5bc2269735cb16446ba4449b78c6380bd93aba4c683b7b708c0e2bd98f834751d SHA512 4103d6c21fba9401e842f3fa6e5034934b77c233f2e8dbe961467449efcbd7f1e3f887da374c9203b820a594d6b4aae5650bd469173b1a4c972a535250e69f67 +EBUILD mccabe-0.7.0.ebuild 795 BLAKE2B f6a21c621d7c100ae12eedd17e382260228d75620b4d1ad0f53fb4c4f596f5d865c9885c4b79a61e57871eb83fad742e8f5b55a9f81aacb3799459cda759d6fa SHA512 54b4a6b3b43e1dd0d3ffc52b6eab3b23a343aacfb8875c7d66ee097010f708ba6adec56f50c53166ff6ac725d5448ee4a806e0a734b479397093e8630d61cee9 MISC metadata.xml 399 BLAKE2B 4abb33f734bea7c7f0e42b4840bf818ee190d83c264a623e4a3f45eb1578e4f49384976efd205234821d60d0982f5ab4abfa6885e958bc75bedc064a16d14f75 SHA512 52255fe16006844729a51af6ebd3501e1365cca9470e6cfa029c74ebd86252c4dcbf3f250876fdd0ea7b6380a51ec975370db464dfb42fbef8d4880cf5336322 diff --git a/dev-python/mccabe/mccabe-0.7.0.ebuild b/dev-python/mccabe/mccabe-0.7.0.ebuild index e494bad6bcb8..f226517744e6 100644 --- a/dev-python/mccabe/mccabe-0.7.0.ebuild +++ b/dev-python/mccabe/mccabe-0.7.0.ebuild @@ -3,7 +3,7 @@ EAPI=8 -PYTHON_COMPAT=( pypy3 python3_{9..11} ) +PYTHON_COMPAT=( pypy3 python3_{10..12} ) DISTUTILS_USE_PEP517=setuptools inherit distutils-r1 pypi diff --git a/dev-python/orjson/Manifest b/dev-python/orjson/Manifest index e93777ad4277..5f5bc6e18486 100644 --- a/dev-python/orjson/Manifest +++ b/dev-python/orjson/Manifest @@ -30,5 +30,5 @@ DIST smallvec-1.11.0.crate 34680 BLAKE2B e54d56f6bbffbfa7ce5fe5f04e325b2e5cf19d2 DIST static_assertions-1.1.0.crate 18480 BLAKE2B 358dd5ac413d06f62da0388e2016c5fcb8ec68fd7dceb0dbbcb97665c032b7509b7e083c20701648b6a9174485f117c02682ae4bde7ef037e80a85cdf6a0c86e SHA512 46d0e35f77941dee6f60f574c130472248063dc38494c1c4f84f7c048244cc2a58a86fe17c0990e3f0f01406b75ed385a13d00058612b27cf0e867c8d31c92ee DIST target-lexicon-0.12.8.crate 24518 BLAKE2B c76d50d34e5da9431982ee446cb2f586db61182f928a25d862021b6fc32afa9ef8eccf51624c3b63442b90a4c0d8042ceb30d00122cfcc142f69a91ffdea222a SHA512 613af05fb80fe8967eef7b640d6b1a33eac5e6f3e70e1b26043b0f5e5b1356b4509b4d4daf0474c8d24d019c5e1d4ef8f950e092bebc14174930ebb60c6e151a DIST version_check-0.9.4.crate 14895 BLAKE2B fa1fa4008af165bfc1fdbe560488afd9d232cfafee94104fbcc4cbc52f234849bff9ddfa88109a1ac682f6d9c1d86b0459893d223f64e65adc08966aaf93dc89 SHA512 b172dc9a3759a4a683ffc39b9a40b03b9974b626a088217de87090466cef695226557c226cf3e469b2b25ee7297b7eb0d7719878cab42457f80146a81943c0c8 -EBUILD orjson-3.9.2.ebuild 1476 BLAKE2B aa36e943575654a983b350cdbc10ac23ff8c35aa2d0b1a9b7f298ec2278660b184b67869e632f78c43b90b00c9afc3528bcc68e7d5c47fcacb4e31ae80fb82ad SHA512 4f32999b322a0b21cdbb5f9a2fbb46f53269e432d7bcf21ee87e22db8b229bb0c8c30859097e54c17687c7797996c63055a0d0a36b1fcf47017d9a016ddce23d +EBUILD orjson-3.9.2.ebuild 1483 BLAKE2B 20c690e8bfa932da2aa97d069d7eacaaa44cd5d76b210cf69713afcd64c18f3b5e42d6c4ea7d143144b5c5d8b92f353c245b9d4adab1f3383b6a4ae9b16c3ae9 SHA512 395f86c373b43bfc930b026acb4e52a03adbbd5078943dfa0ae765c0fed96caeac207811cefd5e96c7adc3367866c9e3190dd960b77abe3bfe6385a2dbb934d1 MISC metadata.xml 360 BLAKE2B b19f85a4e5055dc309e35bf1706b10ebcc1961c96884bec0c9efd7ee7bf58adf53c0f61d8c1d1094c38f0e0bf78fa00c5be1e7ee58c85939ac1c6fff40fcbd07 SHA512 e168db6bda3fbb7f801aeb7a91733fad54441e21913a16447e7b8fc694fdeb0fe3216c15de2864efbf92f2ca8e1a0743eb3d62e8c250648e91be68a465c21ae0 diff --git a/dev-python/orjson/orjson-3.9.2.ebuild b/dev-python/orjson/orjson-3.9.2.ebuild index ec0d4510e0c7..c26549955095 100644 --- a/dev-python/orjson/orjson-3.9.2.ebuild +++ b/dev-python/orjson/orjson-3.9.2.ebuild @@ -58,7 +58,7 @@ LICENSE="|| ( Apache-2.0 MIT )" # Dependent crate licenses LICENSE+=" Apache-2.0 Apache-2.0-with-LLVM-exceptions BSD MIT" SLOT="0" -KEYWORDS="~amd64" +KEYWORDS="~amd64 ~arm64" BDEPEND=" test? ( diff --git a/dev-python/pendulum/Manifest b/dev-python/pendulum/Manifest index 936e179f16d3..895bd6536ebf 100644 --- a/dev-python/pendulum/Manifest +++ b/dev-python/pendulum/Manifest @@ -1,3 +1,3 @@ DIST pendulum-2.1.2.gh.tar.gz 159885 BLAKE2B c95cd131fc95a0d19ef11f180cc42126cb8a6ea3aaf4b3bbedbc5ce4c1b37a6624f2a1be92f1a6fd6b1f14f5d20fa5f32e8230f896ab7a216f02f00e85b98738 SHA512 c367320ade0d10b7eb9c880286176161b925d7df052f7de85ddd169594bbe778776ea74df451f00186df98be3e32b7399c68ca4b40123e2c456206410e3a1ab2 -EBUILD pendulum-2.1.2-r2.ebuild 826 BLAKE2B 4ee642d4443fefa1ff590c8c1557fe784e121150283606db18c5b45b897d876e4bc4eb09940821a028024cdbd0a2728a2c5251e242eed1c2cc70ede3028c78fd SHA512 1267a850807e135606a01cee5046b5e6f449ddbc3b2988c2b8a54343d33e19c7494aa1a766fc51c1e24655dd0e30bd38c741efd47f0d59189bfbf1bdb3f36cf3 +EBUILD pendulum-2.1.2-r2.ebuild 833 BLAKE2B 0e1d488461a03653c8603d92c1aac327a721f2e8a5a9ca5f33c99b3a403d2bc4d9fc6b5c2fed82466a5de0d095ea8764666c7c9a01791ba59bb633bc6fb03de5 SHA512 c1bd51c3b279646bfa5900c5f3aca96ec7285c263cf4c8fd526d9ad29c52ea98819c5a5c8152b87523c1aceb0c93910b1a8486a2275ad7571320163ae31ea057 MISC metadata.xml 389 BLAKE2B 516d7400e97ab8c53ea341d642ac5d7098232b8bc5e622308a535ca3ae3f34f08893954b820232467bd66da7bed729e10205ac20e75190347ae5aa607b4bd88b SHA512 f5d036a5075eeaedfd073671a10bb2972912760549db758d126273abcb18e68ea057dbad0d3bc7915406ee0e519bf10e6ae1cb15c2f0ecd64303a456440987ca diff --git a/dev-python/pendulum/pendulum-2.1.2-r2.ebuild b/dev-python/pendulum/pendulum-2.1.2-r2.ebuild index ff1ae532839f..56909169fec5 100644 --- a/dev-python/pendulum/pendulum-2.1.2-r2.ebuild +++ b/dev-python/pendulum/pendulum-2.1.2-r2.ebuild @@ -22,7 +22,7 @@ SRC_URI=" LICENSE="MIT" SLOT="0" -KEYWORDS="amd64 ~x86" +KEYWORDS="amd64 ~arm64 ~x86" DEPEND=" dev-python/python-dateutil[${PYTHON_USEDEP}] diff --git a/dev-python/platformdirs/Manifest b/dev-python/platformdirs/Manifest index e661f61c4feb..57d54efce09f 100644 --- a/dev-python/platformdirs/Manifest +++ b/dev-python/platformdirs/Manifest @@ -1,6 +1,8 @@ +DIST platformdirs-3.10.0.tar.gz 19203 BLAKE2B 951568733e4c3324d5817b3d9451aa5cc1d08afcce690a574357551f4452192cc98d406c6fc5c7d65d0a1f1d6111cb39a0877994e52021652c8c054add54f258 SHA512 39c068dad3fe6ec85247a8957c0fcfb27207e78041686a0231d836eeb431bba82583e2fcb609903bb0f479cd04e4c7866b6126e52a708e7e71eed7631bd121b0 DIST platformdirs-3.8.0.tar.gz 18451 BLAKE2B cac717c3968fd20b7bdac464443cedcdc50b04b732ae8a212fcb946170ad1553ffae82cbdca05c2cf01ebbc4383216cd0f0afe84cddc2ce6107f10fd40213542 SHA512 64937f3e9e03a9ec8dc2068777dfe553ec09cef62ce53a753608bd9a73e0afaa4489c98046e7b4b3fdbded237cf2813bfd306a6d5ad5788031b6857d8d4fa430 DIST platformdirs-3.8.1.tar.gz 18533 BLAKE2B d1d669fe76e52637f59c32ddb93920988821a1f1720d6b91042f80abedafc1d6dbcd5f744f22f5502121dc0b12285001cbde63e923e8159f139342a9497459e2 SHA512 85d7781e4ef0755bf9a7a4d90b92ea06f497081ec4c5438780f12876a1006b2e591c1b182f6648cad19039d1bd7611cf0c2215015653bafbad2cc529f27d94e7 DIST platformdirs-3.9.1.tar.gz 18836 BLAKE2B d673573005e97895e4d665e1539805be7c4355d8de166481625f76fab250779e8efa81d86374fc388b24d8cc8d892f61b6dda113cdbb9419fff3357006c9b7e6 SHA512 c41d8be17c9336b5eba9dc15beb2d6db4b53d2ac06c51439542490019e25c091351c266f11fc4998b8eef00eb91399c464ac59b318bcd1ef14ebbd8350ae2c50 +EBUILD platformdirs-3.10.0.ebuild 1334 BLAKE2B 200f71291e7e4d5986d17b6cdb7f2357eba9560c3b3a827f70ecdd590170b12fcb7a5d349fb249e2dcddcd5be2b17fcbd852bfa637cbf0f94c16ee07d43408c5 SHA512 4e6095aabd727e20f53ee1e381af4782910c33d1806c311f6394740a9b2cdaf7fe5491fc8408a7e0bbb090b8d4da1163404149e6ce1238823eae14a0a02b6772 EBUILD platformdirs-3.8.0.ebuild 1326 BLAKE2B 02a40864be04dfe30c609d82652dac8ea264fdcf5e5fa7802cccd67aea42fef23fa674fac448cbe4af75e22a60e029fe00ab49a82529b45e02786d36fbbd6107 SHA512 97ac223f0e44101860803b0a109f3ba4d9f521b43f30d7f3ae79cd6745819bfba6ca46464323da9a0483c8a0f466dfe406d3928fe567323e6579e7adfd4d97ed EBUILD platformdirs-3.8.1.ebuild 1334 BLAKE2B 200f71291e7e4d5986d17b6cdb7f2357eba9560c3b3a827f70ecdd590170b12fcb7a5d349fb249e2dcddcd5be2b17fcbd852bfa637cbf0f94c16ee07d43408c5 SHA512 4e6095aabd727e20f53ee1e381af4782910c33d1806c311f6394740a9b2cdaf7fe5491fc8408a7e0bbb090b8d4da1163404149e6ce1238823eae14a0a02b6772 EBUILD platformdirs-3.9.1.ebuild 1334 BLAKE2B 200f71291e7e4d5986d17b6cdb7f2357eba9560c3b3a827f70ecdd590170b12fcb7a5d349fb249e2dcddcd5be2b17fcbd852bfa637cbf0f94c16ee07d43408c5 SHA512 4e6095aabd727e20f53ee1e381af4782910c33d1806c311f6394740a9b2cdaf7fe5491fc8408a7e0bbb090b8d4da1163404149e6ce1238823eae14a0a02b6772 diff --git a/dev-python/platformdirs/platformdirs-3.10.0.ebuild b/dev-python/platformdirs/platformdirs-3.10.0.ebuild new file mode 100644 index 000000000000..70e821d796fb --- /dev/null +++ b/dev-python/platformdirs/platformdirs-3.10.0.ebuild @@ -0,0 +1,49 @@ +# Copyright 2021-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=flit +PYTHON_COMPAT=( python3_{10..12} pypy3 ) + +inherit distutils-r1 pypi + +DESCRIPTION="A small Python module for determining appropriate platform-specific dirs" +HOMEPAGE=" + https://pypi.org/project/platformdirs/ + https://github.com/platformdirs/platformdirs/ +" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~arm64-macos ~x64-macos ~x64-solaris" + +BDEPEND=" + test? ( + dev-python/appdirs[${PYTHON_USEDEP}] + dev-python/pytest-mock[${PYTHON_USEDEP}] + ) +" + +distutils_enable_tests pytest + +src_configure() { + grep -q 'build-backend = "hatchling' pyproject.toml || + die "Upstream changed build-backend, recheck" + # write a custom pyproject.toml to ease setuptools bootstrap + cat > pyproject.toml <<-EOF || die + [build-system] + requires = ["flit_core >=3.2,<4"] + build-backend = "flit_core.buildapi" + + [project] + name = "${PN}" + version = "${PV}" + description = 'A small Python package for determining appropriate platform-specific dirs, e.g. a "user data dir".' + EOF + # sigh + cat > src/platformdirs/version.py <<-EOF || die + __version__ = version = '${PV}' + __version_tuple__ = version_tuple = (${PV//./, }) + EOF +} diff --git a/dev-python/pycodestyle/Manifest b/dev-python/pycodestyle/Manifest index aa03ab723ed8..6180751c6b6b 100644 --- a/dev-python/pycodestyle/Manifest +++ b/dev-python/pycodestyle/Manifest @@ -1,3 +1,5 @@ DIST pycodestyle-2.10.0.tar.gz 101916 BLAKE2B 1dbf4c2ea9b1c606740fe1e9804b29100056bad25935182b43dd07d694bf3d321d63b17d2e308dc1ffaca1f4e3e46a4e8df3998424adc4e4a1a33862e608e153 SHA512 b0c3ee7ac56942db1e8cb5f3a59c2bd2a44b7467e73b46ab7b6f932603beefbbd29f2760ee49907447af1a5987dc1961f00788b01456bdd0aed7690e2d54446b +DIST pycodestyle-2.11.0.gh.tar.gz 79772 BLAKE2B 5995cae91a9e1109b697fae840d1dccd4778096dded7357bdbca1a56b06a031fc524f638e91192564f127b2bc52e94c9e80b2437daac5a129db48f99ca701e48 SHA512 fd688544a7fb01a7e3f4f8cb411cf7bc5b6dfc357de616a2ef61944748ad670c239148766b8ea48a3c316396251ed8a8d8937446f400c28e631621a0d16d3cf5 EBUILD pycodestyle-2.10.0.ebuild 974 BLAKE2B 80a71f238f4b9835a7a54f6d7a837ab4d5ca50862a56bc58183decc4153206c463328ab0132161e0103a95bb4aabe0a15a8379410a4eb12c2352fbe50be8dc95 SHA512 45200bd20a0415c06119dbdf26ac561886d3b4dbc8c674c8cc2091d86a73e2e0a89b5aee3153d779fc8387d2cc868ab92f41fdc5ef6ab5ae80f7f00103619ec4 +EBUILD pycodestyle-2.11.0.ebuild 835 BLAKE2B 6f4b4d5a8275e554ec59079275b65d489cb88c6fbcb9fc8c960e6e014db66de2f87ca3de7acffef3d39a545188c8d44218e6e8b15fc53fdba10fdc91e1b865b8 SHA512 db32d903443cbf2ab4bfe0e77ee709821a7204acdba763afc4c3fa976ab049618d1a9e800bbeb0d60881e7cf825f3d58e4d18387e0faf465ced4e30b96b0f326 MISC metadata.xml 409 BLAKE2B 86d114cb53a68c8c24caebef1287bce1ae99cd652bca1fe2f19cce870c66490521329133a1fea47c79bd8c64d2bcd945022e31ac7db7885e9a4dea4d50f19a04 SHA512 e1de2014c44c8fdaf71ac26af406d27ab76cfd377dc20bb36e36bfbeab79f8e8981e8834e04b8e0bddd92d231b275e56e91d87570fee5ad426418a4abd00d4be diff --git a/dev-python/pycodestyle/pycodestyle-2.11.0.ebuild b/dev-python/pycodestyle/pycodestyle-2.11.0.ebuild new file mode 100644 index 000000000000..efb9462cf118 --- /dev/null +++ b/dev-python/pycodestyle/pycodestyle-2.11.0.ebuild @@ -0,0 +1,29 @@ +# 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_{10..12} ) + +inherit distutils-r1 + +DESCRIPTION="Python style guide checker (fka pep8)" +HOMEPAGE=" + https://pycodestyle.pycqa.org/en/latest/ + https://github.com/PyCQA/pycodestyle/ + https://pypi.org/project/pycodestyle/ +" +# 2.11.0 broke sdist +# https://github.com/PyCQA/pycodestyle/issues/1183 +SRC_URI=" + https://github.com/PyCQA/pycodestyle/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 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x64-solaris" +distutils_enable_sphinx docs \ + dev-python/sphinx-rtd-theme +distutils_enable_tests pytest diff --git a/dev-python/pyflakes/Manifest b/dev-python/pyflakes/Manifest index 2f77b6d71012..2b15633bffee 100644 --- a/dev-python/pyflakes/Manifest +++ b/dev-python/pyflakes/Manifest @@ -1,5 +1,7 @@ AUX pyflakes-3.0.1-python3.11.patch 1531 BLAKE2B c68512c3bf6c1d3eebbaead6bf47274731de46c73a830b8ad48655a7fbf1f5420ce3a9f2d5638c459979d94d2ede38b3f07d00cfd2c4b25ce9d44b78ded33fb7 SHA512 d1ff78e686be4c4222ace7cf0af950f9926a3d2185fdb46f7294fce4779c062016c5a0a20ac2d025c329c24dc4a55482a1298565e4331240b8baab9bbc6c529b DIST pyflakes-3.0.1.tar.gz 63554 BLAKE2B 992dc4c81204c9ae2fd44744452e76a11209552edaef930edb14b7ba4763720cd1c0c0cd148fa7edd474b33aa529d8ec28f7f35a2b02b707d58cf70243fc13a9 SHA512 10ffe2b92f3885d40578452423a93609f8546b2392997bdbc3f64ca0094516ce6b8449e5d3675bda5fdbc16190c89be23609559fc4cd4f1c97e6af032226d7b7 +DIST pyflakes-3.1.0.tar.gz 63636 BLAKE2B 89e5fae6bba9efc820e348ddac37fd8590478c64363a5f295cc620ebbc7b51d4d51e0cff30b6a54ee573612e5309d7fff9462bc31c9e89c34cf7cdbecffabd30 SHA512 6277eaa82a3d94f8052b3da865cfcc8e99846738b5869fca1be92bb5b9a4db0088859d811da565200e640ad0555d46e0ebcaf831cd422b84304514592270b02e EBUILD pyflakes-3.0.1-r1.ebuild 620 BLAKE2B b82e38a4db8a3c344d6d9b81577f572b5b2df518ec3a3d9d5b25bee74c6bfadb0793e79a0931085a5905142fdc9e4d14ae414c1e48d9e8c5d2fcffcd59dec690 SHA512 6531711e4c4df49f9bcff4898f166fbc6b76e13bdacad6c5b0632c1e10eb6f2c953cfb52641f6b114aaa853f4ac7bc322c0e0527fa993d7dd6c9ff6328fa77e4 EBUILD pyflakes-3.0.1.ebuild 561 BLAKE2B ee64e82d9a6bf6cb081e54290e49206fb08c608a144e1d4edebc11f60a15ff78939e05867bf7a9a134e4a3c716030224cde1938f5294b17d3e2a4b6711f6fa74 SHA512 d92be6b250b56ebeafc396eb18eaef2d4d065f3dda7a2d5d53f3c0125b52d6742232afe5f38bb3cc5ff67ebcd3b72c66eb200767085e5513dbd85297a0b25192 +EBUILD pyflakes-3.1.0.ebuild 965 BLAKE2B d07f74f2a27079bf3e0693ca607a05e39054231f28cd0487ffac0bead43cb4a698ed5a7ad6e27f1f0dc6244119a44a3d3b7c5b208894a23741c9d52485cad412 SHA512 de5902470c066c7183cfea09e53146b03e0b1f171f3e73cee6d6b0735c9d3c0a0d6443a9f1c7e62786e44ab530eaf1f0db60e250e7b1d81c72780eb4bc809c38 MISC metadata.xml 763 BLAKE2B e15bc4240e0cc54bd0d7ecca523bcc43c5ae6ebd4f195815f7b2c3494e0366f1cc6feadbc63fce82390ed414e8f52a7bdf15f5c56909ab39879814ff1b178558 SHA512 bb8e0b6f746c99e5185a8bca736f0af36068ae0de45d1bde9663f0e732770366ac20f2116ddd9d7a85239146cf5d7b8fbbfc5c225d7bca4650001f86468a0142 diff --git a/dev-python/pyflakes/pyflakes-3.1.0.ebuild b/dev-python/pyflakes/pyflakes-3.1.0.ebuild new file mode 100644 index 000000000000..9559d2f5c79f --- /dev/null +++ b/dev-python/pyflakes/pyflakes-3.1.0.ebuild @@ -0,0 +1,36 @@ +# 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..12} pypy3 ) + +inherit distutils-r1 pypi + +DESCRIPTION="Passive checker for Python programs" +HOMEPAGE=" + https://github.com/PyCQA/pyflakes/ + https://pypi.org/project/pyflakes/ +" + +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" + +distutils_enable_tests pytest + +python_test() { + local EPYTEST_DESELECT=() + if [[ ${EPYTHON} == pypy3 ]]; then + # regressions with pypy3.10 + # https://github.com/PyCQA/pyflakes/issues/779 + EPYTEST_DESELECT+=( + pyflakes/test/test_api.py::CheckTests::test_eofSyntaxError + pyflakes/test/test_api.py::CheckTests::test_misencodedFileUTF8 + pyflakes/test/test_api.py::CheckTests::test_multilineSyntaxError + ) + fi + + epytest +} diff --git a/dev-python/pyglet/Manifest b/dev-python/pyglet/Manifest index 593bf453e8f7..ce67aa3ab44c 100644 --- a/dev-python/pyglet/Manifest +++ b/dev-python/pyglet/Manifest @@ -1,3 +1,5 @@ DIST pyglet-2.0.8.gh.tar.gz 6197927 BLAKE2B 7b6f26b0c22fea5da3372ab0a3c71fdc55960452530ea565c2946b39de978fb67e5b4467097ed477ec8eff3a3b5ee5f30f84a31172879c9068821492b4d21bbc SHA512 f8fe20d8e43dcd852e96523e03d0e10fff9a18dd50131e0ddc46a49c981f33b3ea9055c769b87c421e4465c4a98fd5a991a862b37215e1d9eac44ff4d33f4bdf +DIST pyglet-2.0.9.gh.tar.gz 6201289 BLAKE2B 5d79171a1a01087a26a9d02737d6cc1c7bd30d0c7b4266caf211f73a035f26d40495c2aed2090cb4e72b8cd7964b7638c0bd924e0e6bf66db19aecfcac04f455 SHA512 dbaaaa4006b9b92b8d53b5936dc82769c4f2ea203b83fe96952dbfaaba14c1cb877e850c26fb6c1fd4da2580cfc661ff5ea10f30449365dbbfe0307734ba81bd EBUILD pyglet-2.0.8.ebuild 1932 BLAKE2B ae4f05e2a19dbd84b78ba5f9c251039c12d79bf90a150180bd39dc3d363dc412a3d45881b45486471eed4b5f98f5139e05e5e950d2046483424426bac13b80c4 SHA512 a3e99310d7dbe718fce3e28cb71632a596b3d1cb5db67120d032afa2b9c4f14cdfecbe4acd87bd1181c66d32db16760eba4b47b26bb7bc1c72aadc60b187ab67 +EBUILD pyglet-2.0.9.ebuild 1934 BLAKE2B aecf926abf38398ce2ab0a3f8e907121592ebfff2b37b687a1bab41077a662a965852dbfe70b660a2d96be12a40f59f98f672b0ff0b84b9a0c6d8423741bda53 SHA512 6c727ff72ff53dc552e83ec4765a3a72aa1dd21c228cc3a1895397f7d886206a574d0dd28c5857ec48227e0b0b4c6d97e49bc628144c852224c85c4e2727fe9e MISC metadata.xml 1092 BLAKE2B 51abba6b5545fb47d277edaca91fda755e885f08a9407f5cd3d468c8b0b86991b57d8d151e27d59755ea884ae894ed0e5c32d357b0d81e66eb9054ca6fc92055 SHA512 7e47cc4c39ebf827bf46423251df994a65c2af8ada9420b36810e36f245bbd810796bc8b02cbce182ff071bbd9dae0c9e5d9f5cb201349cd49fa311b3891dc2f diff --git a/dev-python/pyglet/pyglet-2.0.9.ebuild b/dev-python/pyglet/pyglet-2.0.9.ebuild new file mode 100644 index 000000000000..bf98a5931071 --- /dev/null +++ b/dev-python/pyglet/pyglet-2.0.9.ebuild @@ -0,0 +1,82 @@ +# 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 virtualx xdg-utils + +DESCRIPTION="Cross-platform windowing and multimedia library for Python" +HOMEPAGE=" + https://pyglet.org/ + https://github.com/pyglet/pyglet/ + https://pypi.org/project/pyglet/ +" +SRC_URI="https://github.com/pyglet/pyglet/archive/v${PV}.tar.gz -> ${P}.gh.tar.gz" + +LICENSE="BSD" +SLOT="0" +KEYWORDS="~amd64 ~arm ~arm64 ~loong ~riscv ~x86 ~amd64-linux ~x86-linux" +IUSE="examples image +sound" + +BDEPEND=" + test? ( + dev-python/pillow[${PYTHON_USEDEP}] + media-libs/fontconfig + ) +" +RDEPEND=" + virtual/glu + virtual/opengl + image? ( || ( + dev-python/pillow[${PYTHON_USEDEP}] + x11-libs/gtk+:2 + ) ) + sound? ( || ( + media-libs/libpulse + media-libs/openal + ) ) +" +# ffmpeg? ( media-libs/avbin-bin ) + +distutils_enable_tests pytest + +src_test() { + virtx distutils-r1_src_test +} + +python_test() { + xdg_environment_reset + + local EPYTEST_DESELECT=( + # lacking device/server permissions + tests/unit/media/test_listener.py::test_openal_listener + tests/unit/media/test_listener.py::test_pulse_listener + # fragile to system load + tests/unit/media/test_player.py::PlayerTestCase::test_pause_resume + tests/unit/test_clock_freq.py::test_elapsed_time_between_tick + ) + if [[ ${EPYTHON} == python3.11 ]]; then + EPYTEST_DESELECT+=( + # broken test + # https://github.com/pyglet/pyglet/issues/606 + tests/unit/test_events.py::test_push_handlers_instance + ) + fi + + # Specify path to avoid running interactive tests + # We could add in integration tests, but they're slow + local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1 + nonfatal epytest tests/unit || die "Tests failed with ${EPYTHON}" +} + +python_install_all() { + if use examples; then + dodoc -r examples + docompress -x /usr/share/doc/${PF}/examples + fi + + distutils-r1_python_install_all +} diff --git a/dev-python/pyparsing/Manifest b/dev-python/pyparsing/Manifest index 8f0b33df6382..aa5bf41da49d 100644 --- a/dev-python/pyparsing/Manifest +++ b/dev-python/pyparsing/Manifest @@ -1,5 +1,7 @@ DIST pyparsing-3.1.0.tar.gz 882565 BLAKE2B 8ed2e15e2422ded9a558b866a5cbbdc0fb6c7ce42962710e42cfd751aae7b48bacd3d6201084189a940d262fb7b142ea37b897bae23f97a175f6152c19adb5c9 SHA512 0ad2e8fff93708426b3675e2d41da12b3f09531bf272799db4095ee618bbaa0f4b90e527ff09dda2acbdb923d59117678fbb28b82a7cfd2b395d686f47b61850 +DIST pyparsing-3.1.1.tar.gz 884814 BLAKE2B d5a2b74181d2d93575e9be43285a7156c3b796d58993397c2ed8df10467d54ef193d1f82bbdac0cecd97fb20d1cb64d79f8502b02d8886511ca90c02ac3739bb SHA512 59ae01e13277e25cabd1a1ea41a27aac9235c09746f54c0eaac53d0aae488309fe2044b3b31e1105cb8207ad3326828ec32bdd5e904cceee8b0d032740679628 DIST pyparsing_3.0.9.gh.tar.gz 967771 BLAKE2B c13c74661b9e0d53b4886c9949b01951d220991f916362a13ce0c32c0ab05a6b1cab4d5e5a626acb7563c0ec1716348ede205cb67bf22c0710904f07404ad82a SHA512 1158f27e31f8eced540217b7234b09005eac416fad74faf59678fdae93fe2f76e0e3b5f4adfd3ceb42c8aef19150950293e989c9a5189741175073eb7a03cd6d EBUILD pyparsing-3.0.9.ebuild 1642 BLAKE2B 95b4ff0514e48edaf573339019df5c42ea04b88cf0fc99e12ed2a7cf631b71c22dd5bd8906b7f586487be29a3e512b94317d69f7c80157aa48f12d76cf225982 SHA512 8c6d90b8804c856dfe2e05d3b59399296098374f7c9289bcc0d1e784e8e79d8b698d1199b3fe786615bde17116b0ed3403f1e7577fc0e08c6f30e8d767f3933e EBUILD pyparsing-3.1.0.ebuild 1562 BLAKE2B 391e386242a03182db5d7f91ab92e7acbd551119c9c367fef87a0876fbad0d10368660b05210de86c0ef7b3e3ce8a2cbc7e285358bb52dc647796572919eed24 SHA512 716917d4b6d6ff59fc3287492cc872610ab127721d5435aaa0cd3f081efdbd8b2e34a866fd949273628aee46920b9bba5a1422a82cd4c5e8f8bb0f6317a228ff +EBUILD pyparsing-3.1.1.ebuild 1570 BLAKE2B 3de5123b9c263683514e49f91324fd40c8dddca3f68c0f9838fe9861162c46e3cb7f8609119df6076b51c6bf78a3c04bc4d9f2cc24bfe6eee97c45890e509fe5 SHA512 ecab3cb67d45b5599886e2a00fa7eb40ba16544c2c85e34130f137d1068efcc75c1aa8e7faa54ca2fd1fe5ed5ebd3d3852db9615359d0e662bc999f8da6cf8d4 MISC metadata.xml 797 BLAKE2B 9707adcde7106fb0726de82da965fc3aaf7a23b34f4b71cfea4e09bd03cb44c069ccd4d16e6a6f37eca4720ff8c52d0bc11c864bd7dd9e6995d0d25cb92c5cc2 SHA512 0f791598d2b4a37797e7f917be22093f01020cde34876d7d0db3d1b2bf5da8a18d5399d70f381d98ea569f8c3abf7f1cff8b3cc92fbab39bb00f329a58e96229 diff --git a/dev-python/pyparsing/pyparsing-3.1.1.ebuild b/dev-python/pyparsing/pyparsing-3.1.1.ebuild new file mode 100644 index 000000000000..5a9966efcc40 --- /dev/null +++ b/dev-python/pyparsing/pyparsing-3.1.1.ebuild @@ -0,0 +1,47 @@ +# Copyright 2004-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +# please keep this ebuild at EAPI 8 -- sys-apps/portage dep +EAPI=8 + +DISTUTILS_USE_PEP517=flit +PYTHON_COMPAT=( python3_{10..12} pypy3 ) + +inherit distutils-r1 pypi + +DESCRIPTION="Easy-to-use Python module for text parsing" +HOMEPAGE=" + https://github.com/pyparsing/pyparsing/ + https://pypi.org/project/pyparsing/ +" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux ~arm64-macos ~ppc-macos ~x64-macos ~x64-solaris" +IUSE="examples" + +distutils_enable_tests pytest + +EPYTEST_IGNORE=( + # railroad-diagrams not packaged (and not suitable for packaging yet) + tests/test_diagram.py +) + +EPYTEST_DESELECT=( + # also railroad-diagrams + tests/test_examples.py::TestExamples::test_range_check + tests/test_unit.py::Test02_WithoutPackrat::testEmptyExpressionsAreHandledProperly + tests/test_unit.py::Test04_WithPackrat::testEmptyExpressionsAreHandledProperly + tests/test_unit.py::Test06_WithBoundedPackrat::testEmptyExpressionsAreHandledProperly + tests/test_unit.py::Test08_WithUnboundedPackrat::testEmptyExpressionsAreHandledProperly + tests/test_unit.py::Test09_WithLeftRecursionParsing::testEmptyExpressionsAreHandledProperly + tests/test_unit.py::Test10_WithLeftRecursionParsingBoundedMemo::testEmptyExpressionsAreHandledProperly +) + +python_install_all() { + if use examples; then + docompress -x /usr/share/doc/${PF}/examples + dodoc -r examples + fi + distutils-r1_python_install_all +} diff --git a/dev-python/pypdf/Manifest b/dev-python/pypdf/Manifest index 1d55982d8d90..b7a67e93443b 100644 --- a/dev-python/pypdf/Manifest +++ b/dev-python/pypdf/Manifest @@ -1,7 +1,9 @@ DIST pypdf-3.12.2.gh.tar.gz 7560560 BLAKE2B f00047287619e49829d516f06020119f2ff19e0d4e67ccf4e45c05b1bff66ca3e69a03da99113accb818b8873ae5e637d23991925633ac01a20dcd35a15d1609 SHA512 b888c81cc3cb331f7b5709c4fa29c9f2f0790fc67679112de9e48f31cb20047b7622bcb8e555d5113e6dea96ec5d1c2759ac84696278123eb5a7faeea727b192 DIST pypdf-3.13.0.gh.tar.gz 7563894 BLAKE2B f2f34dccda87e719b326b4c48331e9813a36dbecd14d26f9268b44891939fb3dac3a2bf2e298efd927e8fe97869f43d39f2890008858d42255c31f6496e2003a SHA512 6259b242aaba8e0b63b988749850aa2138b802eaf52d146793635ff723956f19b1989c3c76278ed4240acbc88f8dd4b7e64fcf777508e98dee81093d794b2945 +DIST pypdf-3.14.0.gh.tar.gz 7572714 BLAKE2B 5a706eb9f9965de9ec3e3b03e243b629700b0c43b0549d49c33cc0a4d5ab570c75aa03695ccb8b08dac99032e9c4c170f2511c0dc644fed90d14da4a3fd18dbd SHA512 f7fc45a10249d3a86e60ed73f8e9a226a8bbb3fe181efdc8102128b7005a39f2479386801d18e8d6be56e8a12b5d3c8769a9c5504df27bec981ebe9cf22da205 DIST pypdf-sample-files-2cf1e75af7bcb9c097deae6fb112c715d4721744.gh.tar.gz 10226061 BLAKE2B a9b32d6cd3d22bbc0aee54ca3e914c4d2eb2a9a44a1a508e54e0a8fbcb5fad9ab05e72cf66553a1b5595131104ff22dea115d2804d2970200c4cf5f808532174 SHA512 f064f0468b07bf705a1d0f3a0fc6fe535c234a39408dca268f223e7c3548e66f599a4e67156e7848b70e9a3bd1bc2756395dd93b0c828ee08fe2bb8833f2b196 DIST pypdf-sample-files-5b5ee6b0e9bf4b683490351b1e15e01d6553da7b.gh.tar.gz 10226115 BLAKE2B 7488897284b840c7d4c26525425d326024936654cea42c47f260d1bc61a32a5c1da0a7eb8a9ad532857ea5c2db3446ce5850c509f44ccf6143b8cf4cb826e6c9 SHA512 70d4f0b6957160698afdc9b5bfb9d197f55f1651bc2ec2326621bb77bae5460fe0d4d8543ddbb7ed270c2bd36ad0ccae14deae6040d7f4a01db52374b820fd7e EBUILD pypdf-3.12.2.ebuild 1201 BLAKE2B 4f79e41299e7894eda7bda797e889ca7d703b87fc09a1e94c6eb216a4121de842da53b18104a6718d454fd1a73eeded2b6824dd451b8cbb2b94335856df63741 SHA512 be4b3d0ecfe234c5a5de55bb0c2593b654d6c3b2d2776bb94db6cfd44c24825af39482dd5d6c54bf6bcaef4ada0dcae998b80c8194cf2344c741f93b9a461af3 EBUILD pypdf-3.13.0.ebuild 1203 BLAKE2B 67079ff0886eef1417bbbc0a634de2caeaa4cbd4e159fa8d38049e27f2883d40b819a4e07815f4d55102626f33a33c238846a3bc72a49c9fd6da88e0457ee2dd SHA512 2d1e40a7eabed9f5ed20269dec74b3ab9400dd37ec84906bd82f83db4773cddcc05ea00d8024c8d2d52725697177d5ece16923515ac4509afe0f55487f597525 +EBUILD pypdf-3.14.0.ebuild 1211 BLAKE2B d17472b430069614a3c719dc5539797e5f3de92ade33c33650c0dfc0f4e280219f58ff6ab283dcf0542736e6da87fb2bab9d22b9b9d670e39683a98e5f7d5609 SHA512 2aeb08bdec6e17366e2e1f03d84ec959d2aa13b18ae091e7500ad32777d81a3b488dd79234c6fb3c10ef6914d354f74ab03dafdaa9e83b01d20584b5beefa5cb MISC metadata.xml 373 BLAKE2B a829b7048eb3a95caeb1be83b6172603df6a031d40995294f2687bf3c3cb70e66fafb9ba8339d9979fc85f5936b9552963a8fcd072a20661fa78f3aa3c4b89c0 SHA512 775ac2de487f11fba1ea8d283b42b9ef56e42cd95ea11f50a06b099420e69c0567f65c506b14891ac641da90ea05ca70da4f8a3e4a028cf41bdbc823021dccfe diff --git a/dev-python/pypdf/pypdf-3.14.0.ebuild b/dev-python/pypdf/pypdf-3.14.0.ebuild new file mode 100644 index 000000000000..a39c83ec38db --- /dev/null +++ b/dev-python/pypdf/pypdf-3.14.0.ebuild @@ -0,0 +1,56 @@ +# Copyright 1999-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=flit +PYTHON_COMPAT=( python3_{10..12} ) + +inherit distutils-r1 + +SAMPLE_COMMIT=5b5ee6b0e9bf4b683490351b1e15e01d6553da7b +DESCRIPTION="Python library to work with PDF files" +HOMEPAGE=" + https://pypi.org/project/pypdf/ + https://github.com/py-pdf/pypdf/ +" +SRC_URI=" + https://github.com/py-pdf/pypdf/archive/${PV}.tar.gz + -> ${P}.gh.tar.gz + test? ( + https://github.com/py-pdf/sample-files/archive/${SAMPLE_COMMIT}.tar.gz + -> ${PN}-sample-files-${SAMPLE_COMMIT}.gh.tar.gz + ) +" + +LICENSE="BSD-2" +SLOT="0" +KEYWORDS="~amd64 ~arm64 ~ppc64 ~x86" + +BDEPEND=" + test? ( + >=dev-python/pillow-8.0.0[jpeg,jpeg2k,tiff,${PYTHON_USEDEP}] + dev-python/pycryptodome[${PYTHON_USEDEP}] + ) +" + +distutils_enable_tests pytest + +EPYTEST_DESELECT=( + # rely on -Werror + tests/test_utils.py::test_deprecate_no_replacement + tests/test_workflows.py::test_orientations + # TODO: requires fpdf + tests/test_page.py::test_compression +) + +src_unpack() { + default + if use test; then + mv "sample-files-${SAMPLE_COMMIT}"/* "${S}"/sample-files/ || die + fi +} + +python_test() { + epytest -o addopts= -m "not enable_socket" +} diff --git a/dev-python/pytest-param-files/Manifest b/dev-python/pytest-param-files/Manifest index 9463a05c133e..996ceebdc68c 100644 --- a/dev-python/pytest-param-files/Manifest +++ b/dev-python/pytest-param-files/Manifest @@ -1,5 +1,7 @@ DIST pytest-param-files-0.3.5.gh.tar.gz 7245 BLAKE2B 2a67c5ee30d6efb6b7ca7e3272c19c05dda460167cb1709693560ffe06b0ae39ae1b93fc5d6375f4e9cda21e3e02051424789afee55d201cfe070be8a05642ec SHA512 e80eddba2934fe5a6b68645cae243afa936ea3362a29d0b8a8ae4e11229ffb877f1ace9f41ac96d182d5787740fa76af8b106069feb95a7cab1ecc6f8d1088f9 DIST pytest-param-files-0.5.0.gh.tar.gz 8563 BLAKE2B fa3907f3da7607caa3ab4933052ce70bc87bdf1b55983ef9660dbf0d6ae8a838d185be7f03f8ee5a1beb5771bb9f19f46fc012eea1eb7ca6331ba3c9626c72ca SHA512 cfff7ef20d453cf50a72e78d546a948d49c415c212ffba8e0ac4abe1da2decd9097930777b5aa182fb97c9c5c01e4b00bee25bd27f34c6f35a14ba7177d17a16 +DIST pytest-param-files-0.6.0.gh.tar.gz 8526 BLAKE2B be4f2f385d5dcbb1debde45a9fb48cb22c8e75e39daeaf891ca2b0321afbd27b4917b1f6058816e9fac2fb589076a06d6159bbbb0bac610bc3498ffcf71cf812 SHA512 712e4dfcccec3bc266f98a6339985b42171cf255552356107953dba691f4d6cfac125a8390349459cf67d8ca92ddc2a9dba8cfdd9b3a20a5ec6578df93cb006a EBUILD pytest-param-files-0.3.5.ebuild 681 BLAKE2B b6cd24aee6f107261b03304dc8395ce83dadc4a0dc5a0ce7819f99e616db05ad1e9cbe858a0724e80ec2aa3e1d0b641652557f0d7a1afc4ac889149970a6b52c SHA512 2851e45eb8a57649b5af953f9f5a054e687daeb491b82407f32de3f55cb3b20fed90061614bc6684d6ab756d653c7110beab28a23441c8dc42e0694b7f3e9f2c EBUILD pytest-param-files-0.5.0.ebuild 726 BLAKE2B 9c9cb4a4006440c5a07eeebbfd8d2f89f8a6eff94e2b394c6e96f4baafe460369f1439824efd60a5a9b30426cef916b0864358ccf2c8558d50f8f2cfbb86f491 SHA512 62b17f4d9653460034f4488f6af14e6163d437035a9a10ed993472c6511ff689ce6772538db474f4cd172244e8062c7ee3f240f46a265229bd103af79af432f1 +EBUILD pytest-param-files-0.6.0.ebuild 713 BLAKE2B 5eb6818067edebb400d5d0570928ad98be0aae73d8f229be961d7d3256e14d6e69fab16b9bccdebe689d5615ff78bbfe9a78cac6ff2709b82b31658554e9ef11 SHA512 dc7b310fdf49cb2c3cf96961ba52c7c8cdd4a19a68ce2f32e42064edac292632b01675bbfb418b97a014dae339b394a617662db3db3c6cb3cb140c67fbda1516 MISC metadata.xml 417 BLAKE2B 94bde89ae7cf0181aba1215f8a406889a4473736c37cc325c57635f590f72369402e54f8e54f0b528c9757229b4fdf8608b292a15cc6fa83a997aeb53a64b4ea SHA512 f5b341a0619f750edc6e3f22fc3cfb0c5204d2ce19a756df0f5b282f97fe133f8891105c48b532711bba826ef4cca935eeed4fbb0703da5213cbc3074b7229c2 diff --git a/dev-python/pytest-param-files/pytest-param-files-0.6.0.ebuild b/dev-python/pytest-param-files/pytest-param-files-0.6.0.ebuild new file mode 100644 index 000000000000..56a3121eaa66 --- /dev/null +++ b/dev-python/pytest-param-files/pytest-param-files-0.6.0.ebuild @@ -0,0 +1,30 @@ +# Copyright 2022-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=flit +PYTHON_COMPAT=( python3_{10..12} pypy3 ) + +inherit distutils-r1 + +DESCRIPTION="Pytest parametrize decorators from external files." +HOMEPAGE=" + https://github.com/chrisjsewell/pytest-param-files/ + https://pypi.org/project/pytest_param_files/ +" +SRC_URI=" + https://github.com/chrisjsewell/pytest-param-files/archive/v${PV}.tar.gz + -> ${P}.gh.tar.gz +" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ia64 ~ppc ~ppc64 ~riscv ~sparc ~x86" + +RDEPEND=" + dev-python/pytest[${PYTHON_USEDEP}] + >=dev-python/ruamel-yaml-0.15[${PYTHON_USEDEP}] +" + +distutils_enable_tests pytest diff --git a/dev-python/pytest-subprocess/Manifest b/dev-python/pytest-subprocess/Manifest index 7ead70355cc7..7f8951e5e9c0 100644 --- a/dev-python/pytest-subprocess/Manifest +++ b/dev-python/pytest-subprocess/Manifest @@ -1,3 +1,3 @@ DIST pytest-subprocess-1.5.0.gh.tar.gz 34771 BLAKE2B b76ab9234ff2ec437ef9679c2e8af6cdc545189c7fd9f832f68c5cad094c80250c5fe1fd6e0da54d7a8c09da30a66f7f097da66f03d169e149186b49e2b72b56 SHA512 8489993cc396d41d127927ab46a43120528dbcb9641e7be03777689af127df29fe618eee3a815e96a0353cc02117dc1af22800d748476c4fe2b76c2246229f08 -EBUILD pytest-subprocess-1.5.0.ebuild 897 BLAKE2B 90b0857855327a1e43c27530641ca93c75b44a21500b89559ce8ab6b4c3cb1f78c346f9dee561b4c51a70f2f56c6a456f9eea2b5638c40b50c405840d59bb142 SHA512 85121699db7cafc93a1dcc50272723e37744d4dff717fee3108b0005e5adc235967222512ffbf66314a8c7d921ec3f7dd8cc468059930bd8e8b7a684751cdeac +EBUILD pytest-subprocess-1.5.0.ebuild 904 BLAKE2B 46c696f8227855e6382ac452ffb1fe5d1dc7b6c02579b378d4e2927b3c78bd3abf26f4990da5cebbbb13dc44c00ba8380c493a7516584745fa1db5806936cc21 SHA512 b24c734af16e3c012b17f5e0bc9f338c8edb930e0792ce8c3def6a00990d33fc83bba062bc3d40841d0a7637cf9b46e4b45c1a0450851f37195559a5d302d6da MISC metadata.xml 390 BLAKE2B a3bc770c204c31105ed2d53ab7ff74679fa2738e4cb422a17157e88c7f1bdc061af21e238fb63fcf32982ba3b60fd7ea51678dd594ec03befc1d41db48663004 SHA512 664188e01242f89a25192355de77622ddf6d1448a65f665515a7294754f0bae30dfa63baa03104759d93e9c1800471fa579ee11b8fe4ce1229cce400fffe9f89 diff --git a/dev-python/pytest-subprocess/pytest-subprocess-1.5.0.ebuild b/dev-python/pytest-subprocess/pytest-subprocess-1.5.0.ebuild index bb2a21146b87..a10ab1b6ef8d 100644 --- a/dev-python/pytest-subprocess/pytest-subprocess-1.5.0.ebuild +++ b/dev-python/pytest-subprocess/pytest-subprocess-1.5.0.ebuild @@ -20,7 +20,7 @@ SRC_URI=" LICENSE="MIT" SLOT="0" -KEYWORDS="~amd64" +KEYWORDS="~amd64 ~arm64" RDEPEND=" >=dev-python/pytest-4.0.0[${PYTHON_USEDEP}] diff --git a/dev-python/rich/Manifest b/dev-python/rich/Manifest index a9b2fc726ef5..1c9d67df9426 100644 --- a/dev-python/rich/Manifest +++ b/dev-python/rich/Manifest @@ -1,3 +1,5 @@ DIST rich-13.4.2.gh.tar.gz 15063000 BLAKE2B f65079440bc7d89a3ff03be01fa71e076493ae50f22ae8781be2448a7ff2769c174d6654db3a835d34720c34cd8cbecfdd6b13e3064cf7fdcade71806563309d SHA512 17052a9fb0e1d89b31a00d8a719214719891d048fd805185b2d4258c8766130f44bf2280c9567bc162f3b34d9bf2eb7d747d6a37d910c81cd53d3003b51f70bd +DIST rich-13.5.0.gh.tar.gz 15064859 BLAKE2B 70122d319145ed8ba7ce9caa5bb79600b3b66adb897a6555c02d4d5f41ab7aa36298bbc890ce2a895a7968f0fd4c6b15b3f4772a2cf867a56cbd9755442ac0cd SHA512 0c7c62d99b15fecfc54b955e01e88eae6dc5fee7dc56749f8b9c9447425a5c32b89d19b1132c72a32204a1df0a14268e2b0797a3ba3e164dc94f72858f790a17 EBUILD rich-13.4.2.ebuild 1818 BLAKE2B 100be0b0f6d3f00a867be57b132e05bc831a283373ebb46b92afd2d6cfd6b636b82b2e91ff956787dd18d6d115293f1b65d8ba2f12e6206ebbd2376286942a71 SHA512 162391cb1f36d42388e95f51dea9c0a5f499cb0bba2659444c15aba84971dc8a4324aa4dafa3ca31c8eb4d92e223fd5a4c71b858933f536b99633608c32b3464 +EBUILD rich-13.5.0.ebuild 1826 BLAKE2B 3832659e8426cfcc314e2accb575ce6e1e461ac3c0c2f75ca9364f9e81cc126336abb76d189ee08b583b4281548a7fce81da1bac61a3f95b26930c125d1daf68 SHA512 41bacd4fc78f2e38bccc6e379840ea2a783e348f0fcb5cce8cf7e65afcc8c36796f164627db520a1d203b61ea7c1a8d268c6139daf514b5ee0cca32ba50d0ded MISC metadata.xml 387 BLAKE2B 049491e034ba233f33c76dc5e3f1b887ba5d2da9d65b09bda51a7cf4eb30a9c66f3ddf714f52407a73e51da78523084064bccd4fc687e0bc0fc2b32dbb4c513b SHA512 448ce879331748e3166f670981a27ee5c3ef20b51af442ccc684cb6514c0d6a0d4e433a8bc1ddb3bdf68c734bac013c1ba04d38adf90644b062231ab1c1d2c0b diff --git a/dev-python/rich/rich-13.5.0.ebuild b/dev-python/rich/rich-13.5.0.ebuild new file mode 100644 index 000000000000..53279bd88b2a --- /dev/null +++ b/dev-python/rich/rich-13.5.0.ebuild @@ -0,0 +1,65 @@ +# Copyright 2022-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=poetry +PYTHON_COMPAT=( python3_{10..12} pypy3 ) + +inherit distutils-r1 optfeature + +DESCRIPTION="Python library for rendering rich text, tables, etc. to the terminal" +HOMEPAGE=" + https://github.com/Textualize/rich/ + https://pypi.org/project/rich/ +" +SRC_URI=" + https://github.com/Textualize/rich/archive/v${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/colorama[${PYTHON_USEDEP}] + >=dev-python/markdown-it-py-2.2.0[${PYTHON_USEDEP}] + >=dev-python/pygments-2.13.0[${PYTHON_USEDEP}] +" + +distutils_enable_tests pytest + +python_test() { + local -x COLUMNS=80 + local EPYTEST_DESELECT=( + # TODO + tests/test_console.py::test_size_can_fall_back_to_std_descriptors + tests/test_inspect.py::test_inspect_integer_with_methods_python38_and_python39 + # pygments? + tests/test_syntax.py::test_python_render_simple_indent_guides + tests/test_syntax.py::test_python_render_line_range_indent_guides + ) + # version-specific output -- the usual deal + case ${EPYTHON} in + pypy3) + EPYTEST_DESELECT+=( + # pypy3.10, to be more precise + tests/test_inspect.py::test_inspect_integer_with_methods_python310only + ) + ;; + python3.12) + EPYTEST_DESELECT+=( + tests/test_inspect.py::test_inspect_builtin_function_except_python311 + tests/test_inspect.py::test_inspect_integer_with_methods_python310only + tests/test_inspect.py::test_inspect_integer_with_methods_python311_and_above + tests/test_pretty.py::test_attrs_broken + ) + ;; + esac + epytest -p no:pytest-qt +} + +pkg_postinst() { + optfeature "integration with HTML widgets for Jupyter" dev-python/ipywidgets +} diff --git a/dev-python/scikit-build-core/Manifest b/dev-python/scikit-build-core/Manifest index 7f7798b1bcb7..031cc340f178 100644 --- a/dev-python/scikit-build-core/Manifest +++ b/dev-python/scikit-build-core/Manifest @@ -2,5 +2,5 @@ AUX scikit-build-core-0.4.7-setuptools-hooks.patch 1289 BLAKE2B 628510dd9638190c DIST scikit_build_core-0.4.7.tar.gz 161024 BLAKE2B a06136ca6144305290dcebacd33690556ce30c28793572adfd7b42b043d4bb7f2e6e8000fcb543608d33a130f7094683a31870aa40067fb24fbb453fed884ccf SHA512 39f99facc920e3a46a3592d15ce9f3ceb90cf92dca8a010546a9cc15d50ea7737951286b6474f2f3f68f206f4fa7d157931fcfa831e122f51266df56ec5f043e DIST scikit_build_core-0.4.8.tar.gz 163396 BLAKE2B f432d144babd6be45a730e0566cf6fe8bea051b85364b0af26655e0679a0d458f3fd106e816f09557110a6e4e1fed056d1c6454c044ab34dfcc6530cad6020e3 SHA512 55ded022de13bbc60e5abed7b39466751abda3d66a0fa1c094ccd3ab28a93ac3437db2fb8e53381bbe0f7da9985ea5a6fd129af24e6654d3df48c704fb4612f1 EBUILD scikit-build-core-0.4.7-r1.ebuild 1252 BLAKE2B 5a37c30fce41b4db4c357d54ec3891edbd248593cdee06ad2af5f870a3ea6f37293b5b3c5aaf8b636c37550bbccaa568e6641c350c7d18b45c65b037ac4ce9ab SHA512 56bab5fde5d23e58fbf4b8f0ce45734c4d1674586e40dfef1f5c52a4640c1147f229776c4376f9958bcf2f3fd27c588c6e5ad64697eecc2c3ce61d6e38d6cfba -EBUILD scikit-build-core-0.4.8.ebuild 1196 BLAKE2B cc7aa554ac04d64b84c59c81f11aa07c503a740e57955adb142b79efca1797ccecab104af2a9664f368cea60512e9c26815637b7fe16a4367453c15b457fd3e4 SHA512 3f2a3d7ff1df60b2214a88e54820f7da0a7fcfef4f75514d9c14e206c2fa3fce6100ba17e06aae1aa5449f2b9884ce98bd69ef9db13f2896cc75014081c479d3 +EBUILD scikit-build-core-0.4.8.ebuild 1203 BLAKE2B b159dd964a6235d91f1ad86932eba94d8c8f67219026805caa001f9cdc54d59d0119b200ff12de62d4a7d7bfa7cb08618076a15b49575ac2ff23ecccd01b6ed4 SHA512 1b2ee7d3fdff6f1f613435576def6792988a095f5a04348c9ead05d4e4201d7acd1c70ebb8bc1ab4846bd46c1914343b31cf67ceb4da1f0a9cd4e6420f7c0d98 MISC metadata.xml 393 BLAKE2B 25bdc0bc295ed4bd7cd76a5a6952cb7fa5d5a404d3260562f2ed322d80f2466add0373a2a6b10a41c4dc2211e82e0a680735301d8844e70a54760301b4ab190f SHA512 176537f2027aedb3bc8bd16bbbcde8bfed246d621763e22a979f2942c016e1bafa5ef2d11d8d078e5d59970ea115864a8501185343bc3d4b9fd8493adbd16aab diff --git a/dev-python/scikit-build-core/scikit-build-core-0.4.8.ebuild b/dev-python/scikit-build-core/scikit-build-core-0.4.8.ebuild index 9cf9fc3a704b..eb5316765cc1 100644 --- a/dev-python/scikit-build-core/scikit-build-core-0.4.8.ebuild +++ b/dev-python/scikit-build-core/scikit-build-core-0.4.8.ebuild @@ -16,7 +16,7 @@ HOMEPAGE=" LICENSE="Apache-2.0" SLOT="0" -KEYWORDS="~amd64" +KEYWORDS="~amd64 ~arm64" # we always want [pyproject] extra RDEPEND=" diff --git a/dev-python/sqlglot/Manifest b/dev-python/sqlglot/Manifest index 9580d435b0da..a4f46d210cf7 100644 --- a/dev-python/sqlglot/Manifest +++ b/dev-python/sqlglot/Manifest @@ -1,5 +1,5 @@ DIST sqlglot-17.8.4.tar.gz 8373260 BLAKE2B e3b67c940eb608a25705fd280c0165ad7f37db1fcda2f6bc55029af2ad673a789901fbb2e6af72b54d15b75bc84827afadb00cc965efdc3323587278a68f6cf5 SHA512 c1717e7e857ddb9ff700c739b76cd3714e57ae0f7b620593b4fdce53cbf8e37d39882fac1308c3277a236f695292ae1c15541e474d28bdd43d889c2756b172df DIST sqlglot-17.8.6.tar.gz 8382262 BLAKE2B 70c14c50cbd673122e0560d41b26076ff2d22c75d611cb751ae3df9e5f98e8392440144edcb38bde272f5a95ac85a48cb85358a75dd9b53a1b72e8133964c15c SHA512 839d10ef3d589dd258a5297dc21846e0aafd145892e4c2650aa12ea16064da1dceacd9e1f9cbd6f804b8590435db61066cb01a92b3a1d88a69b1aa8dffaeb15b EBUILD sqlglot-17.8.4.ebuild 904 BLAKE2B 2370ebae206d2b7f140a845d67a4b9bf089a1806d6440106f97bccb3c358ca326b6f7e80ce34841bddf62d70af78d1449734011984950950f174cb6b4850d479 SHA512 177fc2f33f8ad55f25dcbd1594f94ae4a5dc6ac95abe65778471db2b258e10d16ea9f4b2e6c2f94d583cc2118d7c7d7635b2a7a6b1b4d0acdb0a381919935c58 -EBUILD sqlglot-17.8.6.ebuild 904 BLAKE2B 2370ebae206d2b7f140a845d67a4b9bf089a1806d6440106f97bccb3c358ca326b6f7e80ce34841bddf62d70af78d1449734011984950950f174cb6b4850d479 SHA512 177fc2f33f8ad55f25dcbd1594f94ae4a5dc6ac95abe65778471db2b258e10d16ea9f4b2e6c2f94d583cc2118d7c7d7635b2a7a6b1b4d0acdb0a381919935c58 +EBUILD sqlglot-17.8.6.ebuild 911 BLAKE2B 5c8576de38e2f7668f533b71bb00528773d1be79de656e8b1d2d4a4cb5040c08e727cbb368e6061da32e7a30dc43469c1b787dc4a1449be12fdd5529b0228ebf SHA512 44b9426455fbd379601f318551ccadfaf364c6fbb76833c99a8560ea8ecc6bf7e7a70bd1d52d99b50f0db7c1def6af640ef0ea7dca75d00adad7aa0af1f5b2a8 MISC metadata.xml 635 BLAKE2B fb154da2feeea6d590b4f3edb8d8d90d316feee1b8faababc022db026254bd24674d8419b74074b089d4d8930bab642cdc5fa7694bfa9e033cb5ef4ad4988562 SHA512 dd5ed7212dc2eac6a4d84bb2e3639db1ffe163598d911073d7100a8ebfeceb85842ea2e6a597d1036d5b1388d18954b95a782af7b3a84479bf3b59ef9e9b6bf8 diff --git a/dev-python/sqlglot/sqlglot-17.8.6.ebuild b/dev-python/sqlglot/sqlglot-17.8.6.ebuild index d44b4e19523f..0e26be06a21d 100644 --- a/dev-python/sqlglot/sqlglot-17.8.6.ebuild +++ b/dev-python/sqlglot/sqlglot-17.8.6.ebuild @@ -17,7 +17,7 @@ HOMEPAGE=" LICENSE="MIT" SLOT="0" -KEYWORDS="~amd64 ~x86" +KEYWORDS="~amd64 ~arm64 ~x86" EPYTEST_IGNORE=( # Tests require pyspark or duckdb which aren't in the tree. diff --git a/dev-python/xxhash/Manifest b/dev-python/xxhash/Manifest index 04415f5c02b3..d619d988058e 100644 --- a/dev-python/xxhash/Manifest +++ b/dev-python/xxhash/Manifest @@ -1,3 +1,5 @@ DIST xxhash-3.2.0.tar.gz 74561 BLAKE2B d2c32b9a556eaaa67d961e130b017ff82944fbec983f24e0356436a7a23927faaba118328eff508e288e0757a1379b5ff88a48c2130eb9b3cf347e178cfc810d SHA512 bbe903b95de3e91177064986adc5c945a9b7058650ea2b5cc10ee162a15a42909dc69f95b86081b8d276960f309b4bacf895ad263a9d9188fa66bb216d76dcd5 +DIST xxhash-3.3.0.tar.gz 84262 BLAKE2B 9655bed8c30e8ecc7b3f12bebe9f845412e4fbc24daef11570eb8bf78deaf78fe4ea874a5ed334c965c055e6ad4e32f03f025d3ed815bb7a2249e8f80a0b04b0 SHA512 1418e0ff8d7dca7759bfe048ee42c2b1168b68ec69f431622f065c28bcf65b2e21f5951a8651f2151a17f8d1b19b47d5c305a545ae1e0d427c7cadf29e94b968 EBUILD xxhash-3.2.0.ebuild 612 BLAKE2B c17817ef9ac7f8646dd622b2f2641086ca9cb98237032f0e1cc37e8f4d17cd0570f23790492e611fa5538263ebdb15fc219942cd5766cda3167925bf83ed2ae1 SHA512 1fe586c07695a80f98ec40e9f3d1d5b46518f11e14b35d071e48fc25198e286f59ddccdbf9b28a67608176bd04c606f67c8b58ca03d7147555a822c29abc0e32 +EBUILD xxhash-3.3.0.ebuild 670 BLAKE2B 1057ead9c34367ed3ba4a9f0ccd82859c08aa70f19a3e06a3d1e36353f74f9323422511819a988694246479c05b9d0a3d13c4f6e912c7b8856f7a9709a462808 SHA512 f94566ec54372c8b6af481e3682dd4c9cf1dc9c7e7b623e2d5b43ddb9b09215e166c42a98bd3e599680655320e3eeb83844fdf579c7a06f41799900d8de29c8a MISC metadata.xml 561 BLAKE2B 80182c778f9e8055e3d9c8a0adf1eea293724fac6706eb76ace27655a6e6ccaf7ab0fe8d4b0dbaf411183ae10da34b0452dc461f12faeb35e06f3253ea5ab48f SHA512 d2bd317bff748d00be51a87bd3cfe93ed3ecd2e758262fea0042cfd3c70051fb72940fde06822fd1ba972b8ce21c33f4a1a5bb5ae14c7c68e25c661e24d7ff68 diff --git a/dev-python/xxhash/xxhash-3.3.0.ebuild b/dev-python/xxhash/xxhash-3.3.0.ebuild new file mode 100644 index 000000000000..4839bd405feb --- /dev/null +++ b/dev-python/xxhash/xxhash-3.3.0.ebuild @@ -0,0 +1,41 @@ +# Copyright 1999-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_EXT=1 +DISTUTILS_USE_PEP517=setuptools +PYTHON_COMPAT=( python3_{10..12} ) + +inherit distutils-r1 pypi + +DESCRIPTION="Python binding for the xxHash library" +HOMEPAGE=" + https://github.com/ifduyue/python-xxhash/ + https://pypi.org/project/xxhash/ +" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64 ~arm64 ~x86" + +DEPEND=" + >=dev-libs/xxhash-0.8.0 +" +RDEPEND=" + ${DEPEND} +" +BDEPEND=" + dev-python/setuptools-scm[${PYTHON_USEDEP}] +" + +distutils_enable_tests unittest + +python_configure_all() { + export XXHASH_LINK_SO=1 +} + +python_test() { + cd tests || die + eunittest +} |