From 3afceb132f6ff416c4f715f21857dacb9c605bc8 Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Sun, 28 Jan 2024 06:57:12 +0000 Subject: gentoo auto-resync : 28:01:2024 - 06:57:12 --- dev-python/Manifest.gz | Bin 268802 -> 268801 bytes dev-python/apprise/Manifest | 2 + dev-python/apprise/apprise-1.7.2.ebuild | 38 ++++++ dev-python/dill/Manifest | 2 + dev-python/dill/dill-0.3.8.ebuild | 23 ++++ dev-python/dnspython/Manifest | 3 +- dev-python/dnspython/dnspython-2.5.0.ebuild | 6 + .../files/dnspython-2.5.0-musl-test.patch | 67 ++++++++++ dev-python/hypothesis/Manifest | 2 + dev-python/hypothesis/hypothesis-6.97.1.ebuild | 90 +++++++++++++ dev-python/moto/Manifest | 4 + dev-python/moto/moto-4.2.14.ebuild | 139 ++++++++++++++++++++ dev-python/moto/moto-5.0.0.ebuild | 140 +++++++++++++++++++++ dev-python/overrides/Manifest | 2 + dev-python/overrides/overrides-7.7.0.ebuild | 21 ++++ dev-python/parse/Manifest | 2 + dev-python/parse/parse-1.20.1.ebuild | 17 +++ dev-python/pytest/Manifest | 2 + dev-python/pytest/pytest-8.0.0.ebuild | 110 ++++++++++++++++ dev-python/setuptools-gettext/Manifest | 2 + .../setuptools-gettext-0.1.9.ebuild | 37 ++++++ dev-python/tavern/Manifest | 2 + dev-python/tavern/tavern-2.9.1.ebuild | 65 ++++++++++ 23 files changed, 775 insertions(+), 1 deletion(-) create mode 100644 dev-python/apprise/apprise-1.7.2.ebuild create mode 100644 dev-python/dill/dill-0.3.8.ebuild create mode 100644 dev-python/dnspython/files/dnspython-2.5.0-musl-test.patch create mode 100644 dev-python/hypothesis/hypothesis-6.97.1.ebuild create mode 100644 dev-python/moto/moto-4.2.14.ebuild create mode 100644 dev-python/moto/moto-5.0.0.ebuild create mode 100644 dev-python/overrides/overrides-7.7.0.ebuild create mode 100644 dev-python/parse/parse-1.20.1.ebuild create mode 100644 dev-python/pytest/pytest-8.0.0.ebuild create mode 100644 dev-python/setuptools-gettext/setuptools-gettext-0.1.9.ebuild create mode 100644 dev-python/tavern/tavern-2.9.1.ebuild (limited to 'dev-python') diff --git a/dev-python/Manifest.gz b/dev-python/Manifest.gz index f20b9f391f5e..b2503db77fcb 100644 Binary files a/dev-python/Manifest.gz and b/dev-python/Manifest.gz differ diff --git a/dev-python/apprise/Manifest b/dev-python/apprise/Manifest index d0b57ae8df70..53a6b075ea44 100644 --- a/dev-python/apprise/Manifest +++ b/dev-python/apprise/Manifest @@ -1,5 +1,7 @@ DIST apprise-1.6.0.tar.gz 1582966 BLAKE2B aec28c82a2e1b45341f1e67a0778be2a9149ff591172122abb7d30eeed27c7b49171556993c0f1c0d33fe12a5dcdeb4ad0ade8b9e68a8f9950a3f8b6f0638156 SHA512 572d0cb9e3464ea2bc65a101e520dd0b15ada08c158a21d1ac698adbcd454ecf5af7ad30dca6495b4d7e38b92128774c43864c011f1af26ad917699e1d50c59b DIST apprise-1.7.1.tar.gz 1633347 BLAKE2B 4b51ffc45b61b4ff46cb3c0bd80c2f14a11d827ca350fe18fc6350934e3b93c09a98d03fd609d051311e46181778d433ae5813cb269623fed83ce47a7203eab3 SHA512 317e9fa057c7db28f73ea0888f378b036413a5a3186172206c3af57083a8d1965db178c89acfb2048bd82e5f530f65c05bfde3bb9c8aea7c9dd2f78e13e0a8b7 +DIST apprise-1.7.2.tar.gz 1638384 BLAKE2B 8fecb4d08e7e7c3aad24c1f8ac7aaec382aa934d46d5ab7cfd196949c9b7aa9ab2242a7626bddd336932ec12f17cdd966fde293f544e695468cfd810f5e6f5ba SHA512 897d4d253fcc2cfbb3fe2f1d0e9ecbe3a2a1bca65cb2c7d9595410e9c12adc6f5696216365fe583ebc457042db2d7e8a3c6153272865fc996e87342480536a0d EBUILD apprise-1.6.0.ebuild 889 BLAKE2B 3d0a0c79dc2f0764236d51c48f38a68618414ff0ea1628a6fce3bf5548c8f84f31f1278e9ed77ac9e74e0619bf82c0d405bca0420cfc3b72bd98646e2745a81c SHA512 f6d463c7603e53c5dd1aa9d58cf683cebddaa9b464adfb7f21ec5dd5678926d91a0d042b5ed33928114e51f5d3bf81d5c53565825b601377d21c29fb1ab0b7eb EBUILD apprise-1.7.1.ebuild 883 BLAKE2B 9cee7c267bfbbfbab7c4a44229d2302168a4ce5ebc6860ea3bb3b2ec84a441f7865b2175a664ccda3136538d19b51509bc5d8ffe1e915092c982e4d0fd4bc024 SHA512 f7c9c32c8224871a8013e6a7c9dfaf4f140ef19425435bf414eb7a72a7716a97cb4538aade15ac39293dcf8bddd2b6fb674d157f8d9a02e8353d59dcbeee3dc6 +EBUILD apprise-1.7.2.ebuild 895 BLAKE2B c00ba1868a8bf8f8cedffbf3ff816b35ca67476e955b7083571a06b690012e8a999d74b5518d83885fa5d2b2937100a2370cff66530e760cfb9818aed463ef49 SHA512 8604514dcf11353158f08e2ad60191b0cc5eb52e7124c9f8e2a967fc4c284ca5f7b73b56b4d6a6d4bdeb02ac197b10116bd0ecdf24ea2152800476399a3ddfe8 MISC metadata.xml 660 BLAKE2B e5d3535632acf00f228e96b2deca73aca518faf9f9e3ec032e13fdea4480e3f83791b3846e456ae47a917a3462c47882358c3ea1c69d20b6332a6ade65340211 SHA512 4c69871bdd771b7cc1af57e018ed1cc1f2194bdf2f7c1e750433911cf75e45f8fa4aa82df71255ce0a1c949db9d220ed614d5932ccf1ff5e78976bec482751a6 diff --git a/dev-python/apprise/apprise-1.7.2.ebuild b/dev-python/apprise/apprise-1.7.2.ebuild new file mode 100644 index 000000000000..a85837c32c40 --- /dev/null +++ b/dev-python/apprise/apprise-1.7.2.ebuild @@ -0,0 +1,38 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=setuptools +PYTHON_COMPAT=( python3_{10..12} ) + +inherit distutils-r1 pypi + +DESCRIPTION="Push Notifications that work with just about every platform" +HOMEPAGE=" + https://pypi.org/project/apprise/ + https://github.com/caronc/apprise/ +" + +LICENSE="BSD-2" +SLOT="0" +KEYWORDS="~amd64 ~arm ~arm64 ~riscv" +IUSE="+dbus mqtt" + +RDEPEND=" + dev-python/click[${PYTHON_USEDEP}] + dev-python/markdown[${PYTHON_USEDEP}] + dev-python/requests[${PYTHON_USEDEP}] + dev-python/requests-oauthlib[${PYTHON_USEDEP}] + dev-python/pyyaml[${PYTHON_USEDEP}] + dbus? ( dev-python/dbus-python[${PYTHON_USEDEP}] ) + mqtt? ( dev-python/paho-mqtt[${PYTHON_USEDEP}] ) +" +BDEPEND=" + dev-python/Babel[${PYTHON_USEDEP}] + test? ( + dev-python/pytest-mock[${PYTHON_USEDEP}] + ) +" + +distutils_enable_tests pytest diff --git a/dev-python/dill/Manifest b/dev-python/dill/Manifest index c18d8cd2bf4f..a01013a31a60 100644 --- a/dev-python/dill/Manifest +++ b/dev-python/dill/Manifest @@ -1,3 +1,5 @@ DIST dill-0.3.7.gh.tar.gz 176315 BLAKE2B 8c98c40458035e42c078c79df14e474c35a2a6ff4f61d3cfca8f4dfa5a7756512b7d5af6276becd88315c01d88c8562de02b6f9dff06d0161df3e6f6694c7cc8 SHA512 33ec55dc32c9ddf275ce6e502187949bbc7ecc6d24560e132a7bed23e93254b771d38e59c4b6313bbfc25313305c43c6cba2fe07763a93238e1ba66c4bbd8cd4 +DIST dill-0.3.8.tar.gz 184847 BLAKE2B 6a0eb76526d5bc4afa003f34454c3a93b2b53e2d5bd362749bfcc22c6fe294dff3af9d52e83b288e999d7074d82a2671b3d271b3b423030f4cfd57cd70acdc6f SHA512 478d83af69dc0639a08e011e46127d9485dc998df54622e7fbb9ce4b004640d1b23aad57717d791cc609cd9d7071ea7300bce4be982488e4d21c5986e67ce586 EBUILD dill-0.3.7.ebuild 653 BLAKE2B b946386d627dd4834ee6b9c812c76069ac3778080261a59cdbe510f0bd92817c8f9f6ed991b6fdcfe473984e773e3467eec77af7151ebbcd481ebb65dfe97b66 SHA512 c7b346c964f1479b9a63ae3b44a042bab04a012c0ca1175d4644ee0a978dc2601cb55077ecee64cf8a852d991830d3c4d36a425451c5a02cadf24beebcc01539 +EBUILD dill-0.3.8.ebuild 552 BLAKE2B 349fade4c654db44c7ea33bc04d9f16db2c15f8b4b4858b136d0194dffc63188327314dce135f732d937c9f0c7c599776cbd70711b1169dea05885554f412602 SHA512 b13002e948cef9998d07963ff83db9fbe9ea66c15fcc4bc12500cab41ac05e3b2bf58d11d02727b6ecf4556a46f59dfda9bac5ab8a2c4a93f91b32d0004b72c7 MISC metadata.xml 997 BLAKE2B ae32cd96d7a4967a9886d4903e21720459c0a963a675d301c2bb651fdb15877d845100822c1e7a7b6184ccaa666cbb6dc58f939616de9c1c22554670d841bd19 SHA512 e3dc363382bea8ed76343b62377c139ad84011a6b804f64b65d93941a7c192c268c0da273c73d5ec1cece7320b15fa88bf5a2f20a628d8845efddab24f3acc5b diff --git a/dev-python/dill/dill-0.3.8.ebuild b/dev-python/dill/dill-0.3.8.ebuild new file mode 100644 index 000000000000..5d585d0d1e63 --- /dev/null +++ b/dev-python/dill/dill-0.3.8.ebuild @@ -0,0 +1,23 @@ +# Copyright 1999-2024 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="Serialize all of Python (almost)" +HOMEPAGE=" + https://github.com/uqfoundation/dill/ + https://pypi.org/project/dill/ +" + +LICENSE="BSD" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux" + +python_test() { + "${EPYTHON}" -m dill.tests || die +} diff --git a/dev-python/dnspython/Manifest b/dev-python/dnspython/Manifest index c9f97fffc0f6..f12eac7e4fb7 100644 --- a/dev-python/dnspython/Manifest +++ b/dev-python/dnspython/Manifest @@ -1,5 +1,6 @@ +AUX dnspython-2.5.0-musl-test.patch 2797 BLAKE2B 0f2b3e9cce32de491ea9fc1c896a0acbf27972a75fc75fca9440faad1aa4f2e5adfaf44f2f94518fcc95793381d73c742d902fd94d44262be6892b97d7414011 SHA512 93ca5a2cce940c505a35846aa96cdae235f3871c4b2e871ed6b61860c4b22cf927b684ca9c651bcf1c1fd939990fe1145adb9217d42715c6dba10608a9a5e90d DIST dnspython-2.4.2.gh.tar.gz 357675 BLAKE2B ceb2f4a824a1c2b834401d2eb7943e62a5fb28a19be64cea8071d7e294d1a6aa80dc82266586d050fcb1c0eff881d9e139be335313d2098b6c3c6cf690f398ab SHA512 6a76331fc8bc282bb8ef61509317b1956bec6fb516a57409b1df38c8f5094e5ddfcaabc951f7678f1be75e735962c94f225b6e78eb4abe56b27e075180c62576 DIST dnspython-2.5.0.gh.tar.gz 366093 BLAKE2B f8e3d8632a74b0421f7c77316dc80e01936277d701c282239ed60e79952755d34c673f15e19d4da812883e33d5f2cb54a8faa419185d8d198de923a2f3861095 SHA512 8ed207f9cee88dc1deb626d727c510dabace327586911e340df435c8cce5936efee51937b52881b4b4452d9c8c5bd903044bfef5a4effa95aaf05f24c0213b07 EBUILD dnspython-2.4.2.ebuild 1036 BLAKE2B 09065dc34e1d6c65eaa2efaeb7432a74ee004070a5e49ced70e2ad0aee9a7e38ef14decc18286410fa3aa2640c503d815e3c3fd870a2148a6376c0676130b6bd SHA512 dba146f266a31de5bace5606a4df9d7adce10cebf951fcb2e14d764216efaaed094f0a0b2ac2d2bd9dfbe7f837756789175629c5b251fe9ac72c2ec73f83388b -EBUILD dnspython-2.5.0.ebuild 1027 BLAKE2B 0575a64e02ae1f60d17083e87b30b3a7a90735c2fcd0014c16a52662dd5dd5017ce683ba03c8d936bc9ea02c7529ca584612201fff2301a295c362c6d63a06e2 SHA512 3c8798e6fe0fa22fab1de512b4b2c5e4b46493598f0a0bc5bdd87a8a7a8ebd01bc8624728ed2a8b450aa844f626c439aaa85aff92e52ba2c41db2bafa5f5c13f +EBUILD dnspython-2.5.0.ebuild 1218 BLAKE2B 5ea439d151f479a5caae4c210cd85ed71165fd1eebb971bc92428bf9b799066197a195170a2b0848d9020a7762bd4a99fe37cdc761a77dca7917e359a0c0911c SHA512 0fca8099351427bb5683a7ac379c6ff49964466c70b12b86416e4de5eb418948856e12eb05200429b52a5a00a5fadbe641632f6e8a2055d604f90b2a534ce46e MISC metadata.xml 1709 BLAKE2B abd502753325fedca3f1ca94818258c9d1b82f88766f9e005b35b3e79aff71ca2efaf06188e73ea30830f80ec011cdf5c42df320130c9295e13d3c427a148f8c SHA512 8c25d579a4a2a7c5ff34c21643a1386a434545f6b9b465f4aa8e07f7da3aee203bbc0341e930ddb767af431f64e8024ddd6cc8513cfce862c5900da4637bb1c8 diff --git a/dev-python/dnspython/dnspython-2.5.0.ebuild b/dev-python/dnspython/dnspython-2.5.0.ebuild index fa76df91c401..c942143466ba 100644 --- a/dev-python/dnspython/dnspython-2.5.0.ebuild +++ b/dev-python/dnspython/dnspython-2.5.0.ebuild @@ -38,6 +38,12 @@ BDEPEND=" distutils_enable_tests pytest +PATCHES=( + # https://github.com/rthalley/dnspython/issues/1035 + # https://github.com/rthalley/dnspython/commit/1b22985f2d67b6dd43259e3c6b853498f1cff712 + "${FILESDIR}/${P}-musl-test.patch" +) + python_install_all() { distutils-r1_python_install_all if use examples; then diff --git a/dev-python/dnspython/files/dnspython-2.5.0-musl-test.patch b/dev-python/dnspython/files/dnspython-2.5.0-musl-test.patch new file mode 100644 index 000000000000..a5aec3378fdd --- /dev/null +++ b/dev-python/dnspython/files/dnspython-2.5.0-musl-test.patch @@ -0,0 +1,67 @@ +From 1b22985f2d67b6dd43259e3c6b853498f1cff712 Mon Sep 17 00:00:00 2001 +From: Bob Halley +Date: Sat, 27 Jan 2024 12:38:03 -0800 +Subject: [PATCH] In tests, work around musl libc and docker issues. + +Specifically: musl libc's getaddrinfo behavior always returns +a canonical name. + +Docker's resolver proxy doesn't do dangling CNAMEs correctly +and also answers NXDOMAIN in some cases where it should say +no error, no data. +--- + tests/test_async.py | 14 +++++++++++--- + tests/test_resolver.py | 21 +++++++++++++++------ + tests/test_resolver_override.py | 19 ++++++++++++------- + tests/util.py | 10 +++++++++- + 4 files changed, 47 insertions(+), 17 deletions(-) + +diff --git a/tests/test_resolver_override.py b/tests/test_resolver_override.py +index aed7a53d..be9e53f2 100644 +--- a/tests/test_resolver_override.py ++++ b/tests/test_resolver_override.py +@@ -69,7 +69,7 @@ def test_override(self): + dns.resolver.restore_system_resolver() + self.assertTrue(socket.getaddrinfo is dns.resolver._original_getaddrinfo) + +- def equivalent_info(self, a, b): ++ def equivalent_info(self, a, b, q): + if len(a) != len(b): + return False + for x in a: +@@ -78,16 +78,21 @@ def equivalent_info(self, a, b): + # looking for a zero protocol. + y = (x[0], x[1], 0, x[3], x[4]) + if y not in b: +- print("NOT EQUIVALENT") +- print(a) +- print(b) +- return False ++ # musl libc insists on always providing a canonical name, so ++ # accept that too. ++ y = (x[0], x[1], x[2], q, x[4]) ++ if y not in b: ++ print("NOT EQUIVALENT") ++ print(a) ++ print(b) ++ return False + return True + + def equivalent(self, *args, **kwargs): ++ q = args[0] + a = socket.getaddrinfo(*args, **kwargs) + b = dns.resolver._original_getaddrinfo(*args, **kwargs) +- return self.equivalent_info(a, b) ++ return self.equivalent_info(a, b, q) + + @unittest.skipIf( + sys.platform == "win32", "avoid windows original getaddrinfo issues" +@@ -139,7 +144,7 @@ def test_getaddrinfo_nxdomain(self): + def test_getaddrinfo_service(self): + a = socket.getaddrinfo("dns.google", "domain") + b = socket.getaddrinfo("dns.google", 53) +- self.assertTrue(self.equivalent_info(a, b)) ++ self.assertTrue(self.equivalent_info(a, b, "dns.google")) + try: + socket.getaddrinfo("dns.google", "domain", flags=socket.AI_NUMERICSERV) + self.assertTrue(False) # should not happen! diff --git a/dev-python/hypothesis/Manifest b/dev-python/hypothesis/Manifest index 96d004ff19e3..dbd0adc50111 100644 --- a/dev-python/hypothesis/Manifest +++ b/dev-python/hypothesis/Manifest @@ -11,6 +11,7 @@ DIST hypothesis-6.96.1.gh.tar.gz 9420126 BLAKE2B 546b9c77a144b58490fb5b6ba51fdff DIST hypothesis-6.96.3.gh.tar.gz 9421880 BLAKE2B 0d73e363550ca45c316ddf05bc0615aaf9846482b0aaaf64daa0879ac716314b222afdd37aaf29bc00c32f3cfd984609292151e458c5b1165144b1d870cc698e SHA512 8d847e9db1ce83ebed7307be8df91dc517b37cf2588ddf005a158f8b3dca2cb3ee95ed5268d1d74d25a374959f7553d1fa8ab2bc83f314113042c090970a5307 DIST hypothesis-6.96.4.gh.tar.gz 9422075 BLAKE2B 0ab12a01c8d714490f3785ac01779c69d0dc5f31bb3c85be3c1ff9831c1b2392f19ec45adfd40f334f20d48b3ad1300d38ed2e49ca318f17cae36de44895bc3d SHA512 8cbfbf36c7e1e56c31b58aadd9e592672430492eb7c7fb570d4e1277df3e0dd83f76ef39e27e0c644e38c3bc35c993b79d1e6687be73c0780fa36840b4a2baec DIST hypothesis-6.97.0.gh.tar.gz 9423342 BLAKE2B 77a1c7f3569e8a919e6e506222368163e87e98c99e35d4b65e07d4504db7842782689b4ca24bcf6d79cc4c0b59f9fafad2ceee54df6d94a48c7e114d10247bd1 SHA512 81308772235ed024e64ef4fd40f64905c26d9109ce4a21140eb83af60697a8025011ceeb354eb600eda5c39bc03247fc0b6ad8f3bfbe639be7dd8cc9d889c815 +DIST hypothesis-6.97.1.gh.tar.gz 9423481 BLAKE2B 6a52bf6a970bf8056284baaa21aa63fe85c289f4c7e856860eff39f82eab82b401360953d165e795db2b45c99bba16a28518328db052ab3eb2185f2c4b61881d SHA512 2334e23e3056c478c5288e1726ca6feff968caa97e2c6b3758fc62c54636d7026ea2d5e906a7e3d8c191a9d911bf9050f082ba9b42b78cffd5129f01985ac248 EBUILD hypothesis-6.92.2.ebuild 2461 BLAKE2B 343d4374955bed436ecb2533684eac1d2013c8b6c691bf72477a24c52e5caf7e71e61b67de8475c38e940a13b046ed07e8f2b188ad39c3acff8de4df3f7f5a97 SHA512 3a72f5c9f5c1b3787c37cd8830321a47a5c54c655c8b75fdeaa4b09c6c4db310914ebfa5cf631c2576e92e4bd56e106f745e25777b5f86cd7b0cc58ec838fa7b EBUILD hypothesis-6.92.6.ebuild 2469 BLAKE2B c411ef0dbd4cb160b7695cd5e9428835163379752bab7b2f4668b7cadff8fb0773ff46540a66c521f15f65cdb4f1f51a832e06adce48491e492a0c4f0dd13499 SHA512 d7031fa1c8a7fe3914019a39976473dbe629b215b40647c262ba8c75a33b668176e5fb3262f01267f81b42b951b641ea561c4f1c2d21f61e4a0f05c5dbfd520c EBUILD hypothesis-6.92.7.ebuild 2469 BLAKE2B c411ef0dbd4cb160b7695cd5e9428835163379752bab7b2f4668b7cadff8fb0773ff46540a66c521f15f65cdb4f1f51a832e06adce48491e492a0c4f0dd13499 SHA512 d7031fa1c8a7fe3914019a39976473dbe629b215b40647c262ba8c75a33b668176e5fb3262f01267f81b42b951b641ea561c4f1c2d21f61e4a0f05c5dbfd520c @@ -24,4 +25,5 @@ EBUILD hypothesis-6.96.1.ebuild 2469 BLAKE2B c411ef0dbd4cb160b7695cd5e9428835163 EBUILD hypothesis-6.96.3.ebuild 2469 BLAKE2B c411ef0dbd4cb160b7695cd5e9428835163379752bab7b2f4668b7cadff8fb0773ff46540a66c521f15f65cdb4f1f51a832e06adce48491e492a0c4f0dd13499 SHA512 d7031fa1c8a7fe3914019a39976473dbe629b215b40647c262ba8c75a33b668176e5fb3262f01267f81b42b951b641ea561c4f1c2d21f61e4a0f05c5dbfd520c EBUILD hypothesis-6.96.4.ebuild 2469 BLAKE2B c411ef0dbd4cb160b7695cd5e9428835163379752bab7b2f4668b7cadff8fb0773ff46540a66c521f15f65cdb4f1f51a832e06adce48491e492a0c4f0dd13499 SHA512 d7031fa1c8a7fe3914019a39976473dbe629b215b40647c262ba8c75a33b668176e5fb3262f01267f81b42b951b641ea561c4f1c2d21f61e4a0f05c5dbfd520c EBUILD hypothesis-6.97.0.ebuild 2469 BLAKE2B c411ef0dbd4cb160b7695cd5e9428835163379752bab7b2f4668b7cadff8fb0773ff46540a66c521f15f65cdb4f1f51a832e06adce48491e492a0c4f0dd13499 SHA512 d7031fa1c8a7fe3914019a39976473dbe629b215b40647c262ba8c75a33b668176e5fb3262f01267f81b42b951b641ea561c4f1c2d21f61e4a0f05c5dbfd520c +EBUILD hypothesis-6.97.1.ebuild 2469 BLAKE2B c411ef0dbd4cb160b7695cd5e9428835163379752bab7b2f4668b7cadff8fb0773ff46540a66c521f15f65cdb4f1f51a832e06adce48491e492a0c4f0dd13499 SHA512 d7031fa1c8a7fe3914019a39976473dbe629b215b40647c262ba8c75a33b668176e5fb3262f01267f81b42b951b641ea561c4f1c2d21f61e4a0f05c5dbfd520c MISC metadata.xml 492 BLAKE2B c9e9bbd59af55d1f47e5b7a86933c02b47f832122d03eaca56bd3ec9476cf260d91d4fd2da5068845d4525b7cc9f702b515e8d6a0dffa7923f5898cfd44e12a1 SHA512 166b33d6ac887f52d54fb9d556102038c00650a597d2de1c3aad3f8b5e136e9b6b7db31f05f3379435e4c5f943156d5839d78fc95461af411037a3162ea6705e diff --git a/dev-python/hypothesis/hypothesis-6.97.1.ebuild b/dev-python/hypothesis/hypothesis-6.97.1.ebuild new file mode 100644 index 000000000000..f7f366381e4f --- /dev/null +++ b/dev-python/hypothesis/hypothesis-6.97.1.ebuild @@ -0,0 +1,90 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=setuptools +CLI_COMPAT=( python3_{10..12} ) +PYTHON_COMPAT=( "${CLI_COMPAT[@]}" 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-22.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.9 3.10) + cli? ( + $(python_gen_cond_dep ' + dev-python/black[${PYTHON_USEDEP}] + dev-python/click[${PYTHON_USEDEP}] + ' "${CLI_COMPAT[@]}") + ) +" +BDEPEND=" + test? ( + dev-python/pexpect[${PYTHON_USEDEP}] + dev-python/pytest-xdist[${PYTHON_USEDEP}] + !! "${T}"/inputrc || die + local -x INPUTRC="${T}"/inputrc + distutils-r1_src_test +} + +python_test() { + if ! has "${EPYTHON}" "${PYTHON_TESTED[@]/_/.}"; then + einfo "Skipping tests on ${EPYTHON}" + return + fi + + local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1 + local -x COLUMNS=80 + + local EPYTEST_DESELECT=( + # broken by epytest args + testing/test_warnings.py::test_works_with_filterwarnings + + # tend to be broken by random pytest plugins + # (these tests patch PYTEST_DISABLE_PLUGIN_AUTOLOAD out) + testing/test_helpconfig.py::test_version_less_verbose + testing/test_helpconfig.py::test_version_verbose + testing/test_junitxml.py::test_random_report_log_xdist + testing/test_junitxml.py::test_runs_twice_xdist + testing/test_terminal.py::TestProgressOutputStyle::test_xdist_normal + testing/test_terminal.py::TestProgressOutputStyle::test_xdist_normal_count + testing/test_terminal.py::TestProgressOutputStyle::test_xdist_verbose + testing/test_terminal.py::TestProgressWithTeardown::test_xdist_normal + testing/test_terminal.py::TestTerminalFunctional::test_header_trailer_info + testing/test_terminal.py::TestTerminalFunctional::test_no_header_trailer_info + + # unstable with xdist + testing/test_terminal.py::TestTerminalFunctional::test_verbose_reporting_xdist + + # TODO (XPASS) + testing/test_debugging.py::TestDebuggingBreakpoints::test_pdb_not_altered + testing/test_debugging.py::TestPDB::test_pdb_interaction_capturing_simple + testing/test_debugging.py::TestPDB::test_pdb_interaction_capturing_twice + testing/test_debugging.py::TestPDB::test_pdb_with_injected_do_debug + testing/test_debugging.py::test_pdb_suspends_fixture_capturing + + # setuptools warnings + testing/acceptance_test.py::TestInvocationVariants::test_cmdline_python_namespace_package + + # times out + testing/test_debugging.py::TestPDB::test_pdb_interaction_exception + ) + + [[ ${EPYTHON} == pypy3 ]] && EPYTEST_DESELECT+=( + # regressions on pypy3.9 + # https://github.com/pytest-dev/pytest/issues/9787 + testing/test_skipping.py::test_errors_in_xfail_skip_expressions + testing/test_unraisableexception.py + ) + + epytest -p xdist -n "$(makeopts_jobs)" +} diff --git a/dev-python/setuptools-gettext/Manifest b/dev-python/setuptools-gettext/Manifest index fa0ea216fdfa..e8be177475c5 100644 --- a/dev-python/setuptools-gettext/Manifest +++ b/dev-python/setuptools-gettext/Manifest @@ -1,4 +1,6 @@ AUX setuptools-gettext-0.1.8-wheel.patch 4374 BLAKE2B 646d4fc15558eb873578e7dda7bd8ff1b65e0cc5a8172e6fdbdc833b58f259b4a197b8cfcc1abc1eead7936ef0a24ab8218fdb40a52527422ea60fd5f2c1db19 SHA512 585f04bfa9b97db8738a3e9eaadc8cf3e1234cb4ab295c2151a12fbb6121897c7ad0a17befc2a4f6f448f7623092db14b4a7e3a212f9e018be63f6fbc31035c9 DIST setuptools-gettext-0.1.8.tar.gz 15548 BLAKE2B 4e1dcd219fca132e859a44e7ab86f0c81ac2dfccf5d2aca89ac05a2a3a50fec715a5e23e44173e741330d874d1f721ac8ec9d73d79b586ab605fb281aba8aafe SHA512 55b6512061565f210596972db3033d3d4f555428d23d1cac93feb3ea540461e908585d13157bcf97335f07b5a86e0b823b15457fe2f107ffc49e2e1b0c7a0c1e +DIST setuptools-gettext-0.1.9.tar.gz 14490 BLAKE2B a233bb41124d2e927adc24aace620e7c9cd1dfd6e0a2f39343f2d9aaded434f87f2c106ddc19446cc9f4ebf39940091a93fc1375db22c8988e63425e3a5ebdde SHA512 7995c6b980429fba69aa6da2451d1cafb5035bdc02820c6ef729683d0689df594bd66a69fe142cf9f0f70f26858414a30cd9050180f9f1fdf8e81ea53bfcbbda EBUILD setuptools-gettext-0.1.8-r1.ebuild 903 BLAKE2B 7317dcf59f5f228f0f7e91e5ee8f6b029f66fea9ef8ea3dbbdf50a0c57c5855838c0a2326e3b57b6850b92b0747c629964d42c6a40418b7710ec1c946f7d9a18 SHA512 c1f36d932ea33011443e971ddb2a13e2177a98b240c6e69125ed7786188726007a6a55c491a1b51f87abdcb1bc6cc5ce8fdae88f98eecf7eb94180b75d829226 +EBUILD setuptools-gettext-0.1.9.ebuild 802 BLAKE2B 58b839e05806da91854915d606851be937748d7d57380a3234574effedb296066d49663a6f7c6daa92e5156e046b3af7d171c09b10a3260563b7cb58e05a4cdc SHA512 b1a2eed7f41476d2c1fd8f9482a203148e717550f46683c0383eda0456f48e31f46d00cf4af48c761d589dc202697649e081e36b82d7afa6f2fae23f5ba07f6b MISC metadata.xml 416 BLAKE2B 23190f0b876ad7c5d8e0bf7ee48a9a5f8b0acfad89720261cfa2641846c68b6566106295028f0e62cfdf946f5dc31c566eaf0875796c706ac70e4acd5f1cd2ab SHA512 95a4bc35002104a6d4edcf3009e0b1d3182b6cc15146bb6e69592e5f49ab7784746e71faf438496abad9666f29cc301ff31d68469e25ee23efbae016fd46211c diff --git a/dev-python/setuptools-gettext/setuptools-gettext-0.1.9.ebuild b/dev-python/setuptools-gettext/setuptools-gettext-0.1.9.ebuild new file mode 100644 index 000000000000..f984938a417c --- /dev/null +++ b/dev-python/setuptools-gettext/setuptools-gettext-0.1.9.ebuild @@ -0,0 +1,37 @@ +# Copyright 2023-2024 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_{10..12} ) + +inherit distutils-r1 pypi + +DESCRIPTION="Setuptools plugin for building mo files" +HOMEPAGE=" + https://pypi.org/project/setuptools-gettext/ + https://github.com/breezy-team/setuptools-gettext +" + +LICENSE="GPL-2+" +SLOT="0" +KEYWORDS="~amd64 ~arm64 ~x86" + +RDEPEND=" + dev-python/setuptools[${PYTHON_USEDEP}] + sys-devel/gettext + $(python_gen_cond_dep ' + >=dev-python/tomli-1.2.1[${PYTHON_USEDEP}] + ' 3.10) +" + +python_test() { + cd example || die + distutils_pep517_install "${T}/${EPYTHON}" + if [[ ! -f ${T}/${EPYTHON}/usr/share/locale/nl/LC_MESSAGES/hallowereld.mo ]] + then + die ".mo file not installed" + fi +} diff --git a/dev-python/tavern/Manifest b/dev-python/tavern/Manifest index 16cf0dca5b37..3b22a266d3dd 100644 --- a/dev-python/tavern/Manifest +++ b/dev-python/tavern/Manifest @@ -1,7 +1,9 @@ DIST tavern-2.7.1.gh.tar.gz 220388 BLAKE2B 3e689ff0c29ddf2e53e018f86c79ea7e4e89e586d5f28b79c93263a10c4e7738fbf4c66df81fd55bc13a812223e538726f3f9b9f8bdbb94e7f043e90c70af2ce SHA512 de2822ec746c2ccb27a401c07bc5618539e4ad309e56437d0c66669612f48658fc352e42a0b4db94f9c183a159bbdcbeabdf30bebeac03c5f6a9f51bc7014b76 DIST tavern-2.8.0.gh.tar.gz 246475 BLAKE2B 373d58205462bbe34deffdcb1f87700e121e9fceee77700bda7ef76787d3c1b4ce2fdba8eb4a4e1369814665ed0c6562268f8acfe3b85eb92ff260dd413caaee SHA512 b54ba992f328623b8bddbafd67eb7e124718aa7e01435ac3c1132451b450e7a8af49618fec16c0d47d0300c5cafe78ffab6991abde880986d7381c8b885e22ad DIST tavern-2.9.0.gh.tar.gz 246867 BLAKE2B 77cb0cd54223ad401dba429abae503b102b208603e3ecaf0cdc84a71f0928beabd0b783ef5fbf448186d60e400c01ab67505a92031a097bcb68e4cbdd67d07d7 SHA512 4401e9c96f4f721f8d28f03e2a69bdc5e0daeb348b5a3356f1d9a996f81377f9fc5d8481f58dd6106904c89177324e541595e325f6d1c18e9028fa01dd022d4d +DIST tavern-2.9.1.gh.tar.gz 247864 BLAKE2B a12552ead7afb2b9e0ab75fab958235d538221d15162063772b7838c33a3c72795058af8d244005eee72865e8388772bf92516402f2944e89d2ab680f1f7da4e SHA512 a7f882ca7c3337181f2a68b31f363317c50ee7e073cfbd4737f6e31a13e0af175d09e9fed04959bd0fe6ffa215c54a34d10ee3e1650a52cd566f2a7006840c43 EBUILD tavern-2.7.1.ebuild 1334 BLAKE2B 7a289d1045c8f077e167aea5c61fec771473b1062264311e8d5e1962cd2aa5c3cb68e906380a4e3870deb38d7147b9ff7fe41289cbfb7a5e4a2d54fe28ebc778 SHA512 f60ed2ae2877a0aa2ed3b4edc7d3c84cd9661ea65fed501c33b3269148e91e266de8eab16222bcf8980f90dfd9d3096114b2bd973ba45f60ad9d53f12cc1d19f EBUILD tavern-2.8.0.ebuild 1523 BLAKE2B 80bf33e5aca508d51c0fa7cd8288bdc85d1766bbad42752b9b80e34faccb87e4f683940114ca34704dd854809d56f25c988c9ff68b5f127fcc736f3266002668 SHA512 cd9a018d27fbd42f3ece8a63d8f7d97deacda88d5c938406397b23d15708b88a9332cc2aff5b2ab26b3646ebeb91c2771ab904115aac82ffc00f301b6cb5f381 EBUILD tavern-2.9.0.ebuild 1523 BLAKE2B 80bf33e5aca508d51c0fa7cd8288bdc85d1766bbad42752b9b80e34faccb87e4f683940114ca34704dd854809d56f25c988c9ff68b5f127fcc736f3266002668 SHA512 cd9a018d27fbd42f3ece8a63d8f7d97deacda88d5c938406397b23d15708b88a9332cc2aff5b2ab26b3646ebeb91c2771ab904115aac82ffc00f301b6cb5f381 +EBUILD tavern-2.9.1.ebuild 1523 BLAKE2B 80bf33e5aca508d51c0fa7cd8288bdc85d1766bbad42752b9b80e34faccb87e4f683940114ca34704dd854809d56f25c988c9ff68b5f127fcc736f3266002668 SHA512 cd9a018d27fbd42f3ece8a63d8f7d97deacda88d5c938406397b23d15708b88a9332cc2aff5b2ab26b3646ebeb91c2771ab904115aac82ffc00f301b6cb5f381 MISC metadata.xml 722 BLAKE2B 0ed7dd19f49aae7940de52b0df249979458b3950422e1089886929499d7a92d16a3a6e101b52313569900af6aec4e26388ae6d0673d5b1acef1e1615ed87d34a SHA512 3c30524ee5129700db664b5dab8635463ee17d4a45295583d79755c1f5b1dbba9ac611fcec3e9584028bfe96cf913f4f4b9d8da67a0e8ff6cde1ebedbf57c15a diff --git a/dev-python/tavern/tavern-2.9.1.ebuild b/dev-python/tavern/tavern-2.9.1.ebuild new file mode 100644 index 000000000000..74fcee9d1337 --- /dev/null +++ b/dev-python/tavern/tavern-2.9.1.ebuild @@ -0,0 +1,65 @@ +# Copyright 1999-2024 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 + +DESCRIPTION="A tool, library, and Pytest plugin for testing RESTful APIs" +HOMEPAGE=" + https://github.com/taverntesting/tavern/ + https://pypi.org/project/tavern/ +" +SRC_URI=" + https://github.com/taverntesting/tavern/archive/${PV}.tar.gz + -> ${P}.gh.tar.gz +" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64" + +RDEPEND=" + >=dev-python/jmespath-1[${PYTHON_USEDEP}] + >=dev-python/jsonschema-4[${PYTHON_USEDEP}] + >=dev-python/paho-mqtt-1.3.1[${PYTHON_USEDEP}] + >=dev-python/pyjwt-2.5.0[${PYTHON_USEDEP}] + >=dev-python/pykwalify-1.8.0[${PYTHON_USEDEP}] + >=dev-python/pytest-7[${PYTHON_USEDEP}] + >=dev-python/python-box-6[${PYTHON_USEDEP}] + >=dev-python/pyyaml-6.0.1[${PYTHON_USEDEP}] + >=dev-python/requests-2.22.0[${PYTHON_USEDEP}] + >=dev-python/stevedore-4[${PYTHON_USEDEP}] +" +BDEPEND=" + test? ( + dev-python/colorlog[${PYTHON_USEDEP}] + dev-python/Faker[${PYTHON_USEDEP}] + ) +" + +distutils_enable_tests pytest + +src_prepare() { + # strip unnecessary pins, upstream doesn't update them a lot + sed -i -E -e 's:,?<=?[0-9.]+::' pyproject.toml || die + distutils-r1_src_prepare +} + +python_test() { + local EPYTEST_DESELECT=( + # requires grpc + tests/unit/test_extensions.py::TestGrpcCodes + ) + local EPYTEST_IGNORE=( + # require grpc* + tavern/_plugins/grpc + tests/unit/tavern_grpc + ) + + local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1 + epytest -p tavern +} -- cgit v1.2.3