summaryrefslogtreecommitdiff
path: root/dev-python
diff options
context:
space:
mode:
authorV3n3RiX <venerix@koprulu.sector>2023-09-18 11:05:42 +0100
committerV3n3RiX <venerix@koprulu.sector>2023-09-18 11:05:42 +0100
commit1426dfeb15e4d49cb4238c6cf37455a6130cd83f (patch)
tree9f9734bcdc280108e52d753b3c57234371772c3c /dev-python
parent836586553c510ee2dd91e2ecd7676fe432c1f1a4 (diff)
gentoo auto-resync : 18:09:2023 - 11:05:42
Diffstat (limited to 'dev-python')
-rw-r--r--dev-python/Manifest.gzbin267963 -> 267953 bytes
-rw-r--r--dev-python/colored-traceback/Manifest2
-rw-r--r--dev-python/colored-traceback/colored-traceback-0.3.0.ebuild2
-rw-r--r--dev-python/django-otp/Manifest2
-rw-r--r--dev-python/django-otp/django-otp-1.2.3.ebuild43
-rw-r--r--dev-python/filebytes/Manifest4
-rw-r--r--dev-python/filebytes/filebytes-0.10.2.ebuild2
-rw-r--r--dev-python/filebytes/filebytes-9999.ebuild4
-rw-r--r--dev-python/fritzconnection/Manifest2
-rw-r--r--dev-python/fritzconnection/fritzconnection-1.13.2.ebuild50
-rw-r--r--dev-python/leechcorepyc/Manifest4
-rw-r--r--dev-python/leechcorepyc/leechcorepyc-2.14.3.ebuild2
-rw-r--r--dev-python/leechcorepyc/leechcorepyc-2.15.0.ebuild41
-rw-r--r--dev-python/nextinspace/Manifest4
-rw-r--r--dev-python/nextinspace/nextinspace-2.0.5.ebuild2
-rw-r--r--dev-python/nextinspace/nextinspace-9999.ebuild2
-rw-r--r--dev-python/numpy/Manifest2
-rw-r--r--dev-python/numpy/numpy-1.26.0.ebuild5
-rw-r--r--dev-python/pefile/Manifest4
-rw-r--r--dev-python/pefile/pefile-2023.2.7.ebuild2
-rw-r--r--dev-python/pefile/pefile-9999.ebuild2
-rw-r--r--dev-python/pypdf/Manifest3
-rw-r--r--dev-python/pypdf/pypdf-3.16.1.ebuild56
-rw-r--r--dev-python/pytest-codeblocks/Manifest2
-rw-r--r--dev-python/pytest-codeblocks/pytest-codeblocks-0.17.0.ebuild33
-rw-r--r--dev-python/python-ptrace/Manifest2
-rw-r--r--dev-python/python-ptrace/files/python-ptrace-0.9.8-python3_12.patch30
-rw-r--r--dev-python/python-ptrace/python-ptrace-0.9.8-r1.ebuild36
-rw-r--r--dev-python/rarfile/Manifest2
-rw-r--r--dev-python/rarfile/rarfile-4.1.ebuild27
-rw-r--r--dev-python/subunit/Manifest2
-rw-r--r--dev-python/subunit/subunit-1.4.3.ebuild91
-rw-r--r--dev-python/yara-python/Manifest5
-rw-r--r--dev-python/yara-python/files/yara-python-4.4.0-python3_12.patch17
-rw-r--r--dev-python/yara-python/yara-python-4.4.0.ebuild45
-rw-r--r--dev-python/yara-python/yara-python-9999.ebuild3
36 files changed, 514 insertions, 21 deletions
diff --git a/dev-python/Manifest.gz b/dev-python/Manifest.gz
index 8cf7ed1d4536..319481521eaa 100644
--- a/dev-python/Manifest.gz
+++ b/dev-python/Manifest.gz
Binary files differ
diff --git a/dev-python/colored-traceback/Manifest b/dev-python/colored-traceback/Manifest
index 06b3029e0b98..e32621d55699 100644
--- a/dev-python/colored-traceback/Manifest
+++ b/dev-python/colored-traceback/Manifest
@@ -1,3 +1,3 @@
DIST colored-traceback-0.3.0.tar.gz 3837 BLAKE2B bf79942de0d0791b567dce21609be87319da11596b90e67018ee74069ea63b072b73778283112f9f52270fef046220eff355993d38f84ecd80d895da0401a010 SHA512 013d779df231295319c29a48fe81a5ddfd1b77b1734dedf630a914bdf0ea89e19a8ec028ae40c55125209e748f4027a74d04ec816f6c6d3c21aca52d2dd58e37
-EBUILD colored-traceback-0.3.0.ebuild 471 BLAKE2B db0dbfb3e9197a95f44c8e88d2cd5c37c362f3d16963257d2368f19383b991e444a40742da37414e02857617659f6dbb7eab45148eb4249d944964c629e45006 SHA512 8cb98e78798d9cfa9b769b488643ca2081634054211584ed7725713ec3281e7db3ac994a0bf5f9105d64656d67852b4fdb98703fdb8e2dd74d62dee0919ba4e5
+EBUILD colored-traceback-0.3.0.ebuild 472 BLAKE2B b9249e3a75e1b6cadaa2f3c535357205e44b576fb99e5116dce2d7ead50f17b81f92de974941a118329c161fc815d0b290243098d10b46422cdde59a6c21612f SHA512 e101700ff66c4a0b1bd60f18981da964c86763bf31da6f68098c072989778c025f326044b4ade59cb4a9527819ce2aa7ec92602574cc055d91ba238e9fd86158
MISC metadata.xml 688 BLAKE2B cb19e8c52ec09fdcbd3563f06535dcbd00506277dbb64d26f36333e4aaee415830f3a07a3ca3d332fed32941cb9bb367e865b8773f045be5c39ec7d929f0a294 SHA512 d4c17a08782f133dc0a16be3035a05ed0f2ba83818d8fd923a9be042f88b445fa29e07183e95abfded1b4dc68d086be40f3790daadff61d210831b02f3ddeff2
diff --git a/dev-python/colored-traceback/colored-traceback-0.3.0.ebuild b/dev-python/colored-traceback/colored-traceback-0.3.0.ebuild
index 0bf2ba1e9270..4e6a99a384c1 100644
--- a/dev-python/colored-traceback/colored-traceback-0.3.0.ebuild
+++ b/dev-python/colored-traceback/colored-traceback-0.3.0.ebuild
@@ -5,7 +5,7 @@ EAPI=8
DISTUTILS_USE_PEP517=setuptools
PYPI_NO_NORMALIZE=1
-PYTHON_COMPAT=( python3_{9..11} )
+PYTHON_COMPAT=( python3_{10..12} )
inherit distutils-r1 pypi
diff --git a/dev-python/django-otp/Manifest b/dev-python/django-otp/Manifest
index c4ba95adca44..fc1337a0591e 100644
--- a/dev-python/django-otp/Manifest
+++ b/dev-python/django-otp/Manifest
@@ -1,3 +1,5 @@
DIST django_otp-1.2.2.tar.gz 66391 BLAKE2B f66472ec2e3842ebc634edd8f689d1de51738381fd86c4af0859dee2f1bcf407b1c952c795203f9c742a95633ee14ce9253dcc1ffd7988c960e26b23a1ec5dfe SHA512 e8608f0a3b0aeaa82e509f034f69131eb1015124ecf84b734a5be58f62c309eee506b12fffe2aeb4b707e70c612413d1458bc64533102508c55255035432eb1f
+DIST django_otp-1.2.3.tar.gz 66417 BLAKE2B 30fa8efe11b061fc6332de18f4e86181c180123c7c46ae4f9102e59a587ec39f9922db7e8c7f1c3b7a19817a336969b4aa82e2dca64447736ec244ec0098f505 SHA512 fd881cc7b44350bcfa95d243dab08465b0251b5d45fde0766532b281fce676d0afbfb35b671c1a787579374049d43e44091af77bfbb7ac6da29713dcc3cfc98f
EBUILD django-otp-1.2.2.ebuild 955 BLAKE2B df0c1b4d78c0377b6062bb8a72ea0173d583dcdae11890ccbf776fb2ed38dd1795074d3b66b7a67601e508f7e8dd4ad90799402fc3ea4349ab7d4a20ba1bc6e3 SHA512 29a16deec317c7808f619ed7b4d9799dd008f806bf26d63f7232fcb6cad9347f58fe8b1217fac34795d3cd549b1964d688f86156742a381f4ec1cef039495d13
+EBUILD django-otp-1.2.3.ebuild 955 BLAKE2B df0c1b4d78c0377b6062bb8a72ea0173d583dcdae11890ccbf776fb2ed38dd1795074d3b66b7a67601e508f7e8dd4ad90799402fc3ea4349ab7d4a20ba1bc6e3 SHA512 29a16deec317c7808f619ed7b4d9799dd008f806bf26d63f7232fcb6cad9347f58fe8b1217fac34795d3cd549b1964d688f86156742a381f4ec1cef039495d13
MISC metadata.xml 387 BLAKE2B f1be13d8af9a4926d7c82442cb939f1030a8234d4f18917cf8b2b8b204d763974b5f08f8597334238733d6446fc1165ba19d454e13105dc16afacf1fa3a98ea0 SHA512 d85060b9982c55057128a0c7b7fd1537e3eb613f9d44e6c40438283d76f6d65c92db78815005ce44b4096d57c62584659d5997491f003ca1ed8c36f88db8623c
diff --git a/dev-python/django-otp/django-otp-1.2.3.ebuild b/dev-python/django-otp/django-otp-1.2.3.ebuild
new file mode 100644
index 000000000000..a7fd6fe4a416
--- /dev/null
+++ b/dev-python/django-otp/django-otp-1.2.3.ebuild
@@ -0,0 +1,43 @@
+# Copyright 1999-2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+DISTUTILS_USE_PEP517=hatchling
+PYTHON_COMPAT=( python3_{10..12} )
+
+inherit distutils-r1 pypi
+
+DESCRIPTION="Django framework adding two-factor authentication using one-time passwords"
+HOMEPAGE="
+ https://github.com/django-otp/django-otp/
+ https://pypi.org/project/django-otp/
+"
+
+LICENSE="BSD"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="test"
+RESTRICT="!test? ( test )"
+
+RDEPEND="
+ >=dev-python/django-3.2[${PYTHON_USEDEP}]
+"
+BDEPEND="
+ test? (
+ $(python_gen_impl_dep sqlite)
+ dev-python/freezegun[${PYTHON_USEDEP}]
+ dev-python/qrcode[${PYTHON_USEDEP}]
+ $(python_gen_cond_dep '
+ dev-python/tomli[${PYTHON_USEDEP}]
+ ' 3.9 3.10)
+ ${RDEPEND}
+ )
+"
+
+python_test() {
+ local -x PYTHONPATH=test:${PYTHONPATH}
+ local -x DJANGO_SETTINGS_MODULE=test_project.settings
+ "${EPYTHON}" -m django test -v 2 django_otp ||
+ die "Tests fail with ${EPYTHON}"
+}
diff --git a/dev-python/filebytes/Manifest b/dev-python/filebytes/Manifest
index f5cc12862a1f..37703d8c486e 100644
--- a/dev-python/filebytes/Manifest
+++ b/dev-python/filebytes/Manifest
@@ -1,4 +1,4 @@
DIST filebytes-0.10.2.gh.tar.gz 1958114 BLAKE2B 6b7fb865d01cc9ea0f14b32f6e0326da21fa2fa2a36549b99ca88e9bf015162d3b0f82e350be1cca805294fd56ef47e2db4394db5ffb3061773f146eda1ba666 SHA512 12317d6b5063e710b4410e4dcc61b45c0ac1cbc80655212dacb0929a19e100849df39ba84a05cb96699abe7ec16758e0b9656b3d3ce044f3d122b8636106e564
-EBUILD filebytes-0.10.2.ebuild 573 BLAKE2B 048602ca0691e4571523039b3118c2ad6e9636e0817df8b5b7ac9425ab2ea74919628f259364c1052fd6dd008e30364f8bc69399286cd9ee93bfd49dd780596a SHA512 66d16f9ec55a990aeaedde454f9aafdb4667e092580d53cac2388fd4e91130e2e07a84b1053ebd737125a89e5db5269b313ea05947f09c3830d8ffc1762297ba
-EBUILD filebytes-9999.ebuild 551 BLAKE2B a1f5da88220fd47bb9c3b622b4c34e3e6ef28ffc3b6ab1d4071b630e5937f2e104732987b58902f70129ebe978e9f5a7ee7823de894f4787ae030d77f5cc405e SHA512 35451e35ca7b4d9f2570993e8e68143e092863f4a8c05a8fe351f0a70533e8c6d52261b7c7fb760739c64a47d8be64d6bba31c9807ad9363fb432040a4007ef2
+EBUILD filebytes-0.10.2.ebuild 574 BLAKE2B 824409f01e2ab7cdbf0072e054955f8246ede48e87d4baf4a35dba3abb1783f7841f31cea1e08bc7ad1453a52a4d6ee45bee7ff27e8d1db1836af778b45cba65 SHA512 18a07f89fc8e962e9122bea66af65e8b88f2fb7ddf6a5fb622192f2b57ffe65ddc18cac655c775127d4351232150f26eae1757c2791d2db94c7912e279e88053
+EBUILD filebytes-9999.ebuild 552 BLAKE2B 767c05a23e36ba15b3e7411e928612f6b9bef96e1fce05bd2b439a09e38b5c1858228de1beb7df96371dc645a07156e327a1ae9e235b5d7838225efcd8de3399 SHA512 19b1f358b802b5b92a0d9f54362083a50db8abbcdfc9d62032eaac3b35ab97924ad7477f3f30ca6b99e715222d5beb805ea576cfe2ee145c1eb1bdfbfff48d89
MISC metadata.xml 709 BLAKE2B 6bded989b13ae245ef8fbf1182bc9dc526686474d5f48f68c42a27e9d55ede4ed15cd6c7b71dea25f70fb4d25878ab0aef49d6bfb097c3289aa9082a2bc6a9c3 SHA512 3ed2373294bbe2670942048609439e42676955ca575dc5c6fa5b45ea5fedb145de1d21cd84f8f8050d2c4f8326429763c01e3f992e650a1372f9363dba36ca81
diff --git a/dev-python/filebytes/filebytes-0.10.2.ebuild b/dev-python/filebytes/filebytes-0.10.2.ebuild
index 1ff517a1d4b6..ef64076096e4 100644
--- a/dev-python/filebytes/filebytes-0.10.2.ebuild
+++ b/dev-python/filebytes/filebytes-0.10.2.ebuild
@@ -4,7 +4,7 @@
EAPI=8
DISTUTILS_USE_PEP517=setuptools
-PYTHON_COMPAT=( python3_{9..11} )
+PYTHON_COMPAT=( python3_{10..12} )
inherit distutils-r1
diff --git a/dev-python/filebytes/filebytes-9999.ebuild b/dev-python/filebytes/filebytes-9999.ebuild
index 182a1ca9417a..6f4e7944a745 100644
--- a/dev-python/filebytes/filebytes-9999.ebuild
+++ b/dev-python/filebytes/filebytes-9999.ebuild
@@ -1,10 +1,10 @@
-# Copyright 1999-2022 Gentoo Authors
+# Copyright 1999-2023 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
DISTUTILS_USE_PEP517=setuptools
-PYTHON_COMPAT=( python3_{9..11} )
+PYTHON_COMPAT=( python3_{10..12} )
inherit distutils-r1
diff --git a/dev-python/fritzconnection/Manifest b/dev-python/fritzconnection/Manifest
index 41cbe6d6bbe2..cbb37198db12 100644
--- a/dev-python/fritzconnection/Manifest
+++ b/dev-python/fritzconnection/Manifest
@@ -1,7 +1,9 @@
DIST fritzconnection-1.12.2.gh.tar.gz 157170 BLAKE2B 9d924ad3146361d9301f10154152cdf98987572880b79052bf9f2fa427fc8410bacae92e49219dd11372c2cce2d03fb0ffd4c732a45e210a05a0a561ba5fc155 SHA512 a9c62fdaa59f20e7661836888f49cadfc99d192c393f34d4cce59aa9b9a9eda162e25029933854e84de44e08190190f312bb3862d708e79d7cf1ee8496726eab
DIST fritzconnection-1.13.0.gh.tar.gz 160654 BLAKE2B e3ed78640a015d2dc785b2e04f32f6d4e81ba88bf4d823cd643e0f4ebc2ec8396c79c8e368012944f5809512a05d6d4715cdf7d0d76e518479a0a77e20350fae SHA512 6776ba37b52a80eee57a77a75f7815491a575ab8a1c36d20633b39d61e8f0fc295c1ec1d20bb6620e43854b954d9fd044e88d0344a10c0b3707fffb3edc733a4
DIST fritzconnection-1.13.1.gh.tar.gz 160742 BLAKE2B 61ad47e3e8d80bda9f5f9300292f86e83d548362a911376efcaa5ece42ccca04bcf61f09e66a5832bc2da43fabb0d80b80f5d45679633db4196cc8be4a0febff SHA512 0936a33c8ef83606e234858810f936c8df7e217e7ff27a7a03f8cbb0048e9d59d056e8f673ed2652aee033ab32f10fe08b82bab43d9c9830d927a2a0a9b9b129
+DIST fritzconnection-1.13.2.gh.tar.gz 161752 BLAKE2B 9cd4af3ebaa3d617560ab833e4702b05d3bd6c8356242b4269506847760dad57c7f1d900d7da3092f4e07eb33c86f082c7d3dbc8179919b97422ad5eab78ef01 SHA512 c5e8566d2fde0b789269944df3c08f5cfb4b04ea4c91e5fc06eb97c6598f64b50b50778479948cb34c3a26d872e4d7c324a92791c3f593ec503a126d3b055062
EBUILD fritzconnection-1.12.2.ebuild 987 BLAKE2B d5c072aff514a0289c58409de6d07f463ed45770313a973f8d7bcbf9ed20ede39065014275412d7866b4fb505fa967221a866ebd8116053aea3801c0444fbec7 SHA512 c95c3d57494f42433d8d7ac3da6d7a8f56184161f0ba497857e157fdf15b5fd21793c18ceb4dcb1aed9bbdf0c3a1e53c4f0172eeb7aeecfa5bab09f68216ec9c
EBUILD fritzconnection-1.13.0.ebuild 1095 BLAKE2B 07a013c6f0ee8cc0217b8e1431692d3722bd0c9671196a77ca398974f4144105ae4d67cb916fa162be7dcb16ab1484609b9df667c2ec7eee423cee83c3a80115 SHA512 dcadad7241b44b8fb0783676099aae7b5c24413b51fb0a218bbe1dd14be07ad21a70499166d4aaa4ad5834e3262e23e6781fab5cbab56eff27ef66dcb7d73ff8
EBUILD fritzconnection-1.13.1.ebuild 1095 BLAKE2B 07a013c6f0ee8cc0217b8e1431692d3722bd0c9671196a77ca398974f4144105ae4d67cb916fa162be7dcb16ab1484609b9df667c2ec7eee423cee83c3a80115 SHA512 dcadad7241b44b8fb0783676099aae7b5c24413b51fb0a218bbe1dd14be07ad21a70499166d4aaa4ad5834e3262e23e6781fab5cbab56eff27ef66dcb7d73ff8
+EBUILD fritzconnection-1.13.2.ebuild 1095 BLAKE2B 07a013c6f0ee8cc0217b8e1431692d3722bd0c9671196a77ca398974f4144105ae4d67cb916fa162be7dcb16ab1484609b9df667c2ec7eee423cee83c3a80115 SHA512 dcadad7241b44b8fb0783676099aae7b5c24413b51fb0a218bbe1dd14be07ad21a70499166d4aaa4ad5834e3262e23e6781fab5cbab56eff27ef66dcb7d73ff8
MISC metadata.xml 469 BLAKE2B f180fca33d0ab2fc81dc87fd39db87cf8c8ff51777062968a3ace592c9ac63af311273fda2db88c6772204ae24c21b4f195d1b7bacbb3c23f677dc7e8e309f1d SHA512 9ab24725dc0bb5b0e40ce79520d19c0348b08c7d779b53064111aa53fefefadc164b6140310df0a367d460d2fbb46345bdb2b7b6a9cf1beba3bbab1f7d7e2697
diff --git a/dev-python/fritzconnection/fritzconnection-1.13.2.ebuild b/dev-python/fritzconnection/fritzconnection-1.13.2.ebuild
new file mode 100644
index 000000000000..b1bee82fa217
--- /dev/null
+++ b/dev-python/fritzconnection/fritzconnection-1.13.2.ebuild
@@ -0,0 +1,50 @@
+# Copyright 2022-2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+DISTUTILS_USE_PEP517=setuptools
+PYTHON_COMPAT=( python3_{10..12} )
+
+inherit distutils-r1
+
+DESCRIPTION="Lib/tool to communicate with AVM FRITZ! devices using TR-064 protocol over UPnP"
+HOMEPAGE="
+ https://github.com/kbr/fritzconnection/
+ https://pypi.org/project/fritzconnection/
+"
+
+LICENSE="MIT"
+SLOT="0"
+
+if [[ "${PV}" == "9999" ]]; then
+ EGIT_REPO_URI="https://github.com/kbr/fritzconnection"
+ inherit git-r3
+else
+ SRC_URI="
+ https://github.com/kbr/fritzconnection/archive/${PV}.tar.gz
+ -> ${P}.gh.tar.gz
+ "
+ KEYWORDS="~amd64 ~x86"
+fi
+
+RDEPEND="
+ >=dev-python/requests-2.22[${PYTHON_USEDEP}]
+"
+BDEPEND="
+ test? (
+ dev-python/pytest-mock[${PYTHON_USEDEP}]
+ )
+"
+
+distutils_enable_tests pytest
+
+python_test() {
+ local EPYTEST_DESELECT=(
+ # flaky (relies on time.sleep(0.01) magically being sufficient)
+ fritzconnection/tests/test_fritzmonitor.py::test_terminate_thread_on_failed_reconnection
+ )
+
+ # "routertest" marks tests against live hardware
+ epytest -m "not routertest"
+}
diff --git a/dev-python/leechcorepyc/Manifest b/dev-python/leechcorepyc/Manifest
index e5c295d73ba4..83b5ec8467f1 100644
--- a/dev-python/leechcorepyc/Manifest
+++ b/dev-python/leechcorepyc/Manifest
@@ -1,5 +1,7 @@
AUX leechcorepyc-2.14.0-cflags.patch 748 BLAKE2B 1151e6dbda48ed5e842b1960048bd10a38467b2bfda7478f54590f22a46aa4909720bc5d3d5ba46bed333ebf1cd8002df418581f17dcfbbe8c989a752b34402e SHA512 b3a81db5375f89f028639517150d0bc0a835fda31d5560070e001a855fd4f188ca3cbbf7855f5ca2a9d821b92e3ae0d57017ee2b2cc41a93c2687da0b0321eb0
AUX leechcorepyc-2.14.0-respect-CC.patch 1518 BLAKE2B 67446ded63f4a9b7e0f267cb0fe7b19e987f3077354d5ce293a60619313d7f9c6ab3e01a400217526c6ad204c5a8b0abaef0ad636fa2bda81aa11338eb621047 SHA512 63e13954e2e248a2dc980e122884063eba63b910159eb0e57135d3a4a5eedfbc01ee75c114ded22c320d94ac335c70482d572c1f82254ae07882480434ecc795
DIST leechcorepyc-2.14.3.tar.gz 126511 BLAKE2B a15b593144685d1f44dc1b580c8146f57d6c784e39d2a4aad8b4221ea718ee79dffe24877ac74198a2f8baeaca30a37d3fe1e6680265b94bcc30dc7117002706 SHA512 06c4c66cc92c2c55e2dd2e57e5488a1864dc21a1667b4b39237372e95fcd6b99b569754a44eea7afdae32207245016b096939c0edf11a4133fc24a343c892ba8
-EBUILD leechcorepyc-2.14.3.ebuild 813 BLAKE2B 78175e203aa801eb7f553acf8027e0d60e4845f89a76fcf7179e2166649f297ceac7a4415081bdcf2463e47be4f5e3ef46dc0bab619049b28d62de501ad0360d SHA512 0b526cce6ab640849a6e20b1e46f2d30bf35c815381bb1d6584ee0c223bb26c4039eb227a73a78b4af89497d2ad14eb73870ba36641142824a2f7d997fd89b3d
+DIST leechcorepyc-2.15.0.tar.gz 176764 BLAKE2B d0e4aa14d0cc1ce1ad3c14e704949c3b872b0889449ca81c9ac8642340b301ce52baf638ce58a6c3d1262f0cfe5cc5ec8eb26f80d01d87933c33a0f87ac46338 SHA512 d1d5f775d4166b510dd110dfe3e28179464170682d3092e7887fd7464fef21c2e2d1bb6d2294eb8ab45cb2566df15f0bf3254d098afd8bcb6b36186517496bd2
+EBUILD leechcorepyc-2.14.3.ebuild 814 BLAKE2B 3e407593d07d6f52a79996e21248ccf6a487e9c9b84d351ad1392b5004f3b938a13a05dd9c9700d741d4fb728204624bac3812afcf7101e59bd85562f987ccfa SHA512 ea638c613abffd3e3d40c77ec8cffd453f6adbf4072878adc5abc48907d8e0cbb04d8e290465b67e8495890e8cc23336fa0aecf505ba17ce0790034983180df6
+EBUILD leechcorepyc-2.15.0.ebuild 946 BLAKE2B 9585f54defb175409b4e42da43c97d545227a2edd2a5ff3b256a42afae7a83d0557199fa285e77d75e147c5b51c360b3ac4ab950ebca8444195d5e2bef413870 SHA512 33d6196882d648094d0a794a10c7463d5056e1ea3d4fb6b9d265157d91d872e67e4fec8a11ba751b0b9a8cf7a645b97d2625dede141532baa8ac9bcc2add0492
MISC metadata.xml 683 BLAKE2B e85f13b83acf28fc6d59876fad2576afe741065c754680650adcb7acd1068410469de969ab4ee28ef5d9e7ff448c615293cf3f4713b4211c22dbb1b13d7f5947 SHA512 cff010f9f6dafcb3379a0de5ae0c98b974e605cf4e3a0131657832da2f0609e62cf07d3da84327b8c1272eb4cad64218e6c3f0231ec2402b3801e2453a10e76c
diff --git a/dev-python/leechcorepyc/leechcorepyc-2.14.3.ebuild b/dev-python/leechcorepyc/leechcorepyc-2.14.3.ebuild
index e79613f7df0d..6e290f4e945d 100644
--- a/dev-python/leechcorepyc/leechcorepyc-2.14.3.ebuild
+++ b/dev-python/leechcorepyc/leechcorepyc-2.14.3.ebuild
@@ -4,7 +4,7 @@
EAPI=8
DISTUTILS_USE_PEP517=setuptools
-PYTHON_COMPAT=( python3_{9..11} )
+PYTHON_COMPAT=( python3_{10..12} )
inherit distutils-r1 toolchain-funcs pypi
diff --git a/dev-python/leechcorepyc/leechcorepyc-2.15.0.ebuild b/dev-python/leechcorepyc/leechcorepyc-2.15.0.ebuild
new file mode 100644
index 000000000000..ce413773bd64
--- /dev/null
+++ b/dev-python/leechcorepyc/leechcorepyc-2.15.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 toolchain-funcs pypi
+
+DESCRIPTION="Python binding for LeechCore Physical Memory Acquisition Library"
+HOMEPAGE="https://github.com/ufrisk/LeechCore"
+
+LICENSE="GPL-3"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+
+# leechcorepyc ships with a bundled version of the LeechCore library. So we
+# don't depend on the library here. But we must be aware this module doesn't
+# use the system library.
+DEPEND="virtual/libusb:="
+RDEPEND="${DEPEND}"
+BDEPEND="virtual/pkgconfig"
+
+PATCHES=(
+ "${FILESDIR}/${PN}-2.14.0-respect-CC.patch"
+)
+
+src_prepare() {
+ default
+
+ # Avoid redefining _FORTIFY_SOURCE. See #893824, #906715.
+ sed -i -e 's/ -D_FORTIFY_SOURCE=2 / /g' leechcore/Makefile || die
+}
+
+src_configure() {
+ tc-export CC
+
+ distutils-r1_src_configure
+}
diff --git a/dev-python/nextinspace/Manifest b/dev-python/nextinspace/Manifest
index 02d31ee4e1da..0b80e2f8361e 100644
--- a/dev-python/nextinspace/Manifest
+++ b/dev-python/nextinspace/Manifest
@@ -1,4 +1,4 @@
DIST nextinspace-2.0.5.gh.tar.gz 48406 BLAKE2B 6f6e2c95fc1a5a8175faca4df0a51de9996ca24847926dc35b94d0e4bd5c9de880ad757606309f622f41c825d0c2e46c587f255573b4df70fe35c937148af9d7 SHA512 c8f55446d9eea0409afb8a8ddb41001b18b55d9105d007b306717a3d932ea1b03ecb2363d0deb42ec8da1cc245b77ffb18cee6ec3474121c15c4c9b79ff80405
-EBUILD nextinspace-2.0.5.ebuild 1001 BLAKE2B e7f23caa8bdd6fdc3c8cf1b84d68ea6866bf1cba67342f4be8c8aea06730d5340e569c211bf11cfbe48895d9e9ff0b3644b873652efa176b650b95db8a43e481 SHA512 0778106508fa63667b7f748e59cf83377c5754714b69a6760774d425b1b7017df526ff9591bbdd5cf1b04244e0599d76121916d3f3905374313c4cec1a318097
-EBUILD nextinspace-9999.ebuild 1003 BLAKE2B e603487da97bacfe986ec63cb32d1afc6aad8d2445e4f9d97294629cbb2945aac59f6ca7456229121c66f626e8af9113246c5429627dc96e6483ae9970dbfc07 SHA512 cada41645b8d9d1e754a6dc0a81649aa06fcd46a7626e7776b77b70014d50523789648da11ac5944295a458fcba760b9e91cfb8ecfdb18c8c398f58bb96f0797
+EBUILD nextinspace-2.0.5.ebuild 1001 BLAKE2B 8d6eea8c0c394693d107c21cb633c34b32fbbb158e69d9363ad5df9180d414c6578a06cf6a485ceb8189564f8578df2807cda568e25937d2820b4059698ab99e SHA512 6315d19de18662997775fdcea8b6b62121d120d93e314eacc1693c05a4dfdd65efade39e0726b845af86759a4afb472626ce256bfe53ba9181b41098f3df7c45
+EBUILD nextinspace-9999.ebuild 1003 BLAKE2B 342e643691026118f26c0982786397ee0cfb687cf0313450ecf991e679f8b6101628420cafecf2250005c099c8f5cd475b0bd7b088c90348654666ac2ad1b2c6 SHA512 d5ee45b0d2f3645823bbd64a1145d1d06aa2b441dd5656b0a1bdf475b2b0a7155592596f43ef36e9a6857d3357427c2494b98e805d312df68bddcecec0a76a36
MISC metadata.xml 842 BLAKE2B 474983307f5e6669ce25e6dc44c65597a59e0089a4c66ad0c531b2ab634c0505e0208c8b55ffe333af4641c227b1b3b5f71515cba441e91f2be3c53c5d53f2d7 SHA512 28aa458b6d9be33d07c615d842726789bb39ea0ed966b261417c33197e279474034e91afadeb2c91d9c9b80b4d54bd68d6ce5a89afc16891d3d8d007ee0e3d5e
diff --git a/dev-python/nextinspace/nextinspace-2.0.5.ebuild b/dev-python/nextinspace/nextinspace-2.0.5.ebuild
index f34a21b524c9..eae473198e24 100644
--- a/dev-python/nextinspace/nextinspace-2.0.5.ebuild
+++ b/dev-python/nextinspace/nextinspace-2.0.5.ebuild
@@ -4,7 +4,7 @@
EAPI=8
DISTUTILS_USE_PEP517=poetry
-PYTHON_COMPAT=( python3_{10..11} )
+PYTHON_COMPAT=( python3_{10..12} )
inherit distutils-r1
DESCRIPTION="A command-line tool for seeing the latest in space"
diff --git a/dev-python/nextinspace/nextinspace-9999.ebuild b/dev-python/nextinspace/nextinspace-9999.ebuild
index 81347649c9dc..e944c1cc82a7 100644
--- a/dev-python/nextinspace/nextinspace-9999.ebuild
+++ b/dev-python/nextinspace/nextinspace-9999.ebuild
@@ -4,7 +4,7 @@
EAPI=8
DISTUTILS_USE_PEP517=poetry
-PYTHON_COMPAT=( python3_{10..11} )
+PYTHON_COMPAT=( python3_{10..12} )
inherit distutils-r1
DESCRIPTION="A command-line tool for seeing the latest in space"
diff --git a/dev-python/numpy/Manifest b/dev-python/numpy/Manifest
index fe2ad80308e9..4c5274e48ba4 100644
--- a/dev-python/numpy/Manifest
+++ b/dev-python/numpy/Manifest
@@ -20,7 +20,7 @@ EBUILD numpy-1.24.4-r1.ebuild 5214 BLAKE2B 87986c0f034dcdbeffcb51ca3c90546b16fd1
EBUILD numpy-1.24.4.ebuild 4625 BLAKE2B c0fdf22a1accd3649917ea62e5d0f3d727c2225341ac9955bc581428e8d49df2d9d3a026626ebb88d0a099b2e10863b3c1e1173c03298a4d7ab74c38b0eb63d2 SHA512 a60ffab9872388691c79cce9478ee95a56e355498ea93d80cf6a0e07f1f46f4f6eaa1c5a33a447739d1b2000240c08da74376e924140b6eeac49695edf699704
EBUILD numpy-1.25.1-r3.ebuild 4444 BLAKE2B bc98460d27c6acd233ed219af855f93da93e6dd43db721195fd7e318256509145907136a1336f5d21c7252d05330eaf6b8f83f3f2bd4e4915d92ff447c57b564 SHA512 8dd4d5a3367d1260aa242558048d02da616695aa54f4b666b494d24aac7bef306bf7467fb73e6a7138f67086af51d3d191830a47c14b73062bf0836c345f4397
EBUILD numpy-1.25.2.ebuild 4985 BLAKE2B e1198966b4a4089d9d186e43642583584ec9b1b940bb95645f6e9af0157426dc7ee32b8e12539577e4b83b3ed75843fce390f43460d172fe5c0aadf72bf05075 SHA512 32eb023e960217fe71be663ee0f62952eb9c7c36b8779e53007c848dda5b42823faad8066e3127458ce854d1000c8db244348a570a19e297ea32ec68015bcb03
-EBUILD numpy-1.26.0.ebuild 4116 BLAKE2B 2e5c723691678ce26459c9e4bacb8530f7694a7fab2255fb8c828cf8f1772e2bc26a98d3c2b6ceab535d8d80f9224f4b4b081d2a223aa82d01e6436589fde14e SHA512 d42ec9bcaeefb4b02ab7cae81e9d817bb418ab36252eb44cb327860a1982cf06dbd2132932fb1030f46c2eddc94f95717fdf6c87d19d93591bcce3234d7dd8e6
+EBUILD numpy-1.26.0.ebuild 4288 BLAKE2B 4e105da37d6ac0e318fa1b35572fe063dbe3737be4e01b6a3d15b2458e345b21472967ea1b98f100dea1f72e7ae9e47a4995705148cb3983219fa7d13dc8478f SHA512 502f5c289d0eec41de0dafe5fa37ce6e6678b2a870e706955b108dd304852d20e0ff866e200f0d40ab8edfec6aff5629e1aa60830a0b4222022725b7d0483520
EBUILD numpy-1.26.0_beta1-r1.ebuild 4224 BLAKE2B 90904364e576538fdb9e0b1818fbe523968eb92d94a670578e3a6ce2caef497f18d4f22abd5bfd437045a662e69a88cd5406efeb6f624607f227906975a55b38 SHA512 8f7966d86f514cf054798d2f7713dde10d3cdcac56fcb1553821793b1f08a4d898463808bceb6db963a104a22ad6a98af096f2f3ea66c9f17339b6023ee383f4
EBUILD numpy-1.26.0_beta1.ebuild 4116 BLAKE2B 2e5c723691678ce26459c9e4bacb8530f7694a7fab2255fb8c828cf8f1772e2bc26a98d3c2b6ceab535d8d80f9224f4b4b081d2a223aa82d01e6436589fde14e SHA512 d42ec9bcaeefb4b02ab7cae81e9d817bb418ab36252eb44cb327860a1982cf06dbd2132932fb1030f46c2eddc94f95717fdf6c87d19d93591bcce3234d7dd8e6
EBUILD numpy-1.26.0_rc1.ebuild 4116 BLAKE2B 2e5c723691678ce26459c9e4bacb8530f7694a7fab2255fb8c828cf8f1772e2bc26a98d3c2b6ceab535d8d80f9224f4b4b081d2a223aa82d01e6436589fde14e SHA512 d42ec9bcaeefb4b02ab7cae81e9d817bb418ab36252eb44cb327860a1982cf06dbd2132932fb1030f46c2eddc94f95717fdf6c87d19d93591bcce3234d7dd8e6
diff --git a/dev-python/numpy/numpy-1.26.0.ebuild b/dev-python/numpy/numpy-1.26.0.ebuild
index bc6646bd3079..49c3b34adb9c 100644
--- a/dev-python/numpy/numpy-1.26.0.ebuild
+++ b/dev-python/numpy/numpy-1.26.0.ebuild
@@ -20,7 +20,9 @@ HOMEPAGE="
LICENSE="BSD"
SLOT="0"
-IUSE="lapack"
+# +lapack because the internal fallbacks are pretty slow. Building without blas
+# is barely supported anyway, see bug #914358.
+IUSE="+lapack"
if [[ ${PV} != *_[rab]* ]] ; then
KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86"
fi
@@ -59,6 +61,7 @@ python_prepare_all() {
python_configure_all() {
DISTUTILS_ARGS=(
+ -Dallow-noblas=$(usex !lapack true false)
-Dblas=$(usev lapack cblas)
-Dlapack=$(usev lapack lapack)
# TODO: cpu-* options
diff --git a/dev-python/pefile/Manifest b/dev-python/pefile/Manifest
index e8a6473056b2..c77f5fa2bdbf 100644
--- a/dev-python/pefile/Manifest
+++ b/dev-python/pefile/Manifest
@@ -1,4 +1,4 @@
DIST pefile-2023.2.7.gh.tar.gz 74852 BLAKE2B ddca4b8ef37af829bb1757eb4c4ba9f46c3914e05e6c13e13a8e5a3c88a608aba486deec9338400fddae4591867c0c7dcf7325cee14d42b1bb724751a3a2a7f0 SHA512 241d9846954f094ed39e61d80e7d8c1612829ec909650175e75657f9cf69c9bef9e2a115d4106bb14757125c0ffaa3e93abfb2f078e80326e78ac5818c7c2fd3
-EBUILD pefile-2023.2.7.ebuild 835 BLAKE2B a4b133f552eb43a67b2b337c68b882e8c56e5d19ccb00323bb7311d27bb64618bd6a87fcffc9b4d61aeaee463c2a76e8c45186fa3996070324452e80c88e7942 SHA512 6ae5fea3d7cb3b20c58441f421acadab8afd759cf4f468e4162d093216380bf3321c33886827ca3a044d50df106d29a57e60e6f2bce54034e50d220f4e782f8d
-EBUILD pefile-9999.ebuild 835 BLAKE2B a4b133f552eb43a67b2b337c68b882e8c56e5d19ccb00323bb7311d27bb64618bd6a87fcffc9b4d61aeaee463c2a76e8c45186fa3996070324452e80c88e7942 SHA512 6ae5fea3d7cb3b20c58441f421acadab8afd759cf4f468e4162d093216380bf3321c33886827ca3a044d50df106d29a57e60e6f2bce54034e50d220f4e782f8d
+EBUILD pefile-2023.2.7.ebuild 836 BLAKE2B fd3f2ca2b6f9f5b42443c3a47b9ba64d26ab552602565cdf360094599ad02a74d1daa36dd2a9e88375e087ecf73430af8224b9ae5f14acd4e6047d32e78f0f0c SHA512 10b9f573116781d03d852744338872bd9e3bad1293c79539f84837791036acefb5e5bc805d414d4602171640438518756c9351f0f4c6395bd79c6feb1523cf51
+EBUILD pefile-9999.ebuild 836 BLAKE2B fd3f2ca2b6f9f5b42443c3a47b9ba64d26ab552602565cdf360094599ad02a74d1daa36dd2a9e88375e087ecf73430af8224b9ae5f14acd4e6047d32e78f0f0c SHA512 10b9f573116781d03d852744338872bd9e3bad1293c79539f84837791036acefb5e5bc805d414d4602171640438518756c9351f0f4c6395bd79c6feb1523cf51
MISC metadata.xml 766 BLAKE2B 8cd0206bb0cc7de9a76159851092c27b5e7c6d8294a136de2dd74e51da9062f6daa67c2421c173b6125758a9f350b84b03e2a85fa2029beb50032aa034f08c3a SHA512 7c3e9d6d89108b17a722c805353a9c457ccb5a5233bfca7145f82a37ab0337405c84a1e806d9fba77dbee779dd06cb18f7272399277d377aa84dcafc470156bf
diff --git a/dev-python/pefile/pefile-2023.2.7.ebuild b/dev-python/pefile/pefile-2023.2.7.ebuild
index 5a2a3f4d0dda..7f530f4c4bec 100644
--- a/dev-python/pefile/pefile-2023.2.7.ebuild
+++ b/dev-python/pefile/pefile-2023.2.7.ebuild
@@ -4,7 +4,7 @@
EAPI=8
DISTUTILS_USE_PEP517=setuptools
-PYTHON_COMPAT=( python3_{9..12} )
+PYTHON_COMPAT=( python3_{10..12} )
inherit distutils-r1
DESCRIPTION="Module to read and work with Portable Executable (PE) files"
diff --git a/dev-python/pefile/pefile-9999.ebuild b/dev-python/pefile/pefile-9999.ebuild
index 5a2a3f4d0dda..7f530f4c4bec 100644
--- a/dev-python/pefile/pefile-9999.ebuild
+++ b/dev-python/pefile/pefile-9999.ebuild
@@ -4,7 +4,7 @@
EAPI=8
DISTUTILS_USE_PEP517=setuptools
-PYTHON_COMPAT=( python3_{9..12} )
+PYTHON_COMPAT=( python3_{10..12} )
inherit distutils-r1
DESCRIPTION="Module to read and work with Portable Executable (PE) files"
diff --git a/dev-python/pypdf/Manifest b/dev-python/pypdf/Manifest
index 0c38cd8a49f3..52cd6860d956 100644
--- a/dev-python/pypdf/Manifest
+++ b/dev-python/pypdf/Manifest
@@ -4,11 +4,14 @@ DIST pypdf-3.15.3.gh.tar.gz 7682634 BLAKE2B c0b4046152fecaaddab28e6c8220d001bb47
DIST pypdf-3.15.4.gh.tar.gz 7929672 BLAKE2B da8bbbe6f1df51be63d116789eb4626ab59e576f52327a53e0d02eef38dcbe8d3524a3a33bc6b9103920fdc6322d75e5e82e76ad88c4166b5d13cb4bcda3ed0f SHA512 8d7db1c52700a2c9ec37c1756d04555708f4c859394c4866316d94470742a8d7900e5ec5d8fb2124ad285efc4848071d373347353226959b21dff84425b46513
DIST pypdf-3.15.5.gh.tar.gz 7930893 BLAKE2B acdd6254c45e11631faccc4fd6029525d7cec52f7cf222d48f95a9bb736a83bdb9dfc6bf2830f55d0f881eb23ca0641c06fa97165c64789f7b152998febfe017 SHA512 173cfbfbbd5f2f08ebd03aa36750904d5a7ac328c27da1b38bda7b34586bf86eab391b3c1e9a6dd5f2e754d1871303afe151a80a3bb5d4ab867b6a019ecef054
DIST pypdf-3.16.0.gh.tar.gz 7936276 BLAKE2B 9b20c57f3bd5ccce0bd5bf71c7e084117a37450ddd7e126b03d58920bfb5896151a3a42253a96cd2e316696a19fab4c1c1743988ba85585867dff45ae98c254a SHA512 23dbb67b1a4455326133f1621e763752994baba55cd85191bcb61691bfd43f2e29f7ee11eb5d65415897e7f7af3367d1dc830a0d0e2f6ff0e3103ccb3b60d0c7
+DIST pypdf-3.16.1.gh.tar.gz 7948024 BLAKE2B f35399af13418c4136d7f20763e875f5572759db0da25cada1bb076645db651a77c1e6cf244087cc2d3d6c9b786dfdbf887aa46ed8b48f9d0103618e60b0e8ad SHA512 d81b15c097c2eaa41ec421bc9fda47bd05f3cd3726834baff7024201c0a0f70d8cc5df5aae8471fe361be765b7874b4a93779eb3fdb1c266f8bdb4f1f3835ebd
DIST pypdf-sample-files-935652968f76a41b4fa51afd05498e7dd7314c5e.gh.tar.gz 11187445 BLAKE2B e9332009a49249fdaa8b6c29258b11dfcf3627a5550ea7402cf0288bb4b0537136b039e6f4aefb03574076d1fc0af6100effc0d36510f035d9e63836ad52c4d7 SHA512 8d525aa323e5b45f71130459faa9686ec4ae04bc594895a64f1a5b6d027f866c48aca78602ad526000a11b547cc77068d1ac5e733d3e3a99df0e257c02fbb9e7
+DIST pypdf-sample-files-b60ca63512466d1bafc587a2b223961b23a8e48a.gh.tar.gz 11199764 BLAKE2B e68bfb587c26a7a0ba9bb687e2b44d607cf890454dc2e5380db4037cb9a0be571e72b178d5ac86a0556f09fc344fc6ea76ee87bf9c6dee63799853acaba714b0 SHA512 20ff1d623a67fd0b08e1dfefc47d29ed28b5c62f1e0ef5a32699876e265541d97c10067ec954a387ba4952319d6903fb3d4db97e686200f9142329db06a11a7b
EBUILD pypdf-3.15.1.ebuild 1209 BLAKE2B 47f9252a0f11ea387f3224731964f0048586a0d8cf7a3cbbbbe48deb003d696d003e21c49426b91dd1a3b986ee0dcbae024a721718a3aa5153e2c23ecc9a71a6 SHA512 d49aa95a85075163fd7ac00713007a2c31c2ffe3d3fac4e43c681b6c29dc4a174ae8e0b1e3a2ddcd92d7afdcdec8cbab0a7b645607790179ffa46ae5e9ee49e0
EBUILD pypdf-3.15.2.ebuild 1211 BLAKE2B d79a894ae3fe363caa1812922a8fc1c1d2282b62f5b3e383ba156c92209d5836eb9eb3bb524f5d16f57d98864af9e94feeac0443bdacaf856104c158672468fd SHA512 14feab4e5c42d1fc977c9fc7ca9cd9488d3c08f21b775ae7b4ec9127d85fc641eaf99614409cb6550fda1012200c3bd9ca5cef2702f025aa3af65acc63b236ed
EBUILD pypdf-3.15.3.ebuild 1211 BLAKE2B d79a894ae3fe363caa1812922a8fc1c1d2282b62f5b3e383ba156c92209d5836eb9eb3bb524f5d16f57d98864af9e94feeac0443bdacaf856104c158672468fd SHA512 14feab4e5c42d1fc977c9fc7ca9cd9488d3c08f21b775ae7b4ec9127d85fc641eaf99614409cb6550fda1012200c3bd9ca5cef2702f025aa3af65acc63b236ed
EBUILD pypdf-3.15.4.ebuild 1211 BLAKE2B d79a894ae3fe363caa1812922a8fc1c1d2282b62f5b3e383ba156c92209d5836eb9eb3bb524f5d16f57d98864af9e94feeac0443bdacaf856104c158672468fd SHA512 14feab4e5c42d1fc977c9fc7ca9cd9488d3c08f21b775ae7b4ec9127d85fc641eaf99614409cb6550fda1012200c3bd9ca5cef2702f025aa3af65acc63b236ed
EBUILD pypdf-3.15.5.ebuild 1211 BLAKE2B d79a894ae3fe363caa1812922a8fc1c1d2282b62f5b3e383ba156c92209d5836eb9eb3bb524f5d16f57d98864af9e94feeac0443bdacaf856104c158672468fd SHA512 14feab4e5c42d1fc977c9fc7ca9cd9488d3c08f21b775ae7b4ec9127d85fc641eaf99614409cb6550fda1012200c3bd9ca5cef2702f025aa3af65acc63b236ed
EBUILD pypdf-3.16.0.ebuild 1211 BLAKE2B d79a894ae3fe363caa1812922a8fc1c1d2282b62f5b3e383ba156c92209d5836eb9eb3bb524f5d16f57d98864af9e94feeac0443bdacaf856104c158672468fd SHA512 14feab4e5c42d1fc977c9fc7ca9cd9488d3c08f21b775ae7b4ec9127d85fc641eaf99614409cb6550fda1012200c3bd9ca5cef2702f025aa3af65acc63b236ed
+EBUILD pypdf-3.16.1.ebuild 1211 BLAKE2B db8b41a610ffb616bd3433857cf9519e3844858c79d82d22de4052fc7ce43881f7fffd64d75aed79f2f7f0f655edb467af11d90e414c34f262bfa12629a9ccd0 SHA512 35268c20147aa9fc5426cadae2f54b4c3f4d1d7ebd630af8523da8b68005319ef4a4b9b12a850185482835badc56a1a19a791d56d8ed63687bd04f081e46a8a2
MISC metadata.xml 373 BLAKE2B a829b7048eb3a95caeb1be83b6172603df6a031d40995294f2687bf3c3cb70e66fafb9ba8339d9979fc85f5936b9552963a8fcd072a20661fa78f3aa3c4b89c0 SHA512 775ac2de487f11fba1ea8d283b42b9ef56e42cd95ea11f50a06b099420e69c0567f65c506b14891ac641da90ea05ca70da4f8a3e4a028cf41bdbc823021dccfe
diff --git a/dev-python/pypdf/pypdf-3.16.1.ebuild b/dev-python/pypdf/pypdf-3.16.1.ebuild
new file mode 100644
index 000000000000..870063ae2143
--- /dev/null
+++ b/dev-python/pypdf/pypdf-3.16.1.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=b60ca63512466d1bafc587a2b223961b23a8e48a
+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/cryptography[${PYTHON_USEDEP}]
+ >=dev-python/pillow-8.0.0[jpeg,jpeg2k,tiff,${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-codeblocks/Manifest b/dev-python/pytest-codeblocks/Manifest
index 13eff76662c5..06898c91eb6a 100644
--- a/dev-python/pytest-codeblocks/Manifest
+++ b/dev-python/pytest-codeblocks/Manifest
@@ -1,3 +1,5 @@
DIST pytest-codeblocks-0.16.1.gh.tar.gz 8900 BLAKE2B 1e884f445975c4c685e763560a8bb5516bd7213b09a8c967948347e455816766dccfd0984fb5746949f90afdf00e0fe21a52f41be65933532d8763ed6ea716a1 SHA512 4c3d91488550373832c8dd45b39873ae3810b423147b3b9524afc8e205605324092b4462b62acf2e34e70b5456795834cae511d9c9a06e08288a46cdb38b1778
+DIST pytest-codeblocks-0.17.0.gh.tar.gz 9104 BLAKE2B 50f6d7cdf0c2d355c91a1a518622f65c4520a4e655d9c6aae64b0ea7697cf2605f37cf070fc9b7c60c2aef655b5a9adacd5acf4dbfbca2ccb8224316733dc269 SHA512 20044f10e997fbe15a8389aebdad324c2b102a11287315c8c85042f5497f51723c030b918f0cd923beb9f0c5b33a41673426a8c550814e1bd8b9b5476dd0dbf5
EBUILD pytest-codeblocks-0.16.1.ebuild 631 BLAKE2B 74c938c43bbf26cb5fceaac3baf19b72ff24c595ca1f74bd8eab9f5b1a4b2b413dd82c6b9935890c4b3d7d2740869c3ad78d6c04d9cc537e377781cc7c6fb0ef SHA512 1cd6d499d4161e90d84950bf1ee19c914bfe81cd0d5c1bb68a26d8cf21c08866f07eb187e616d6323f165a8d21e76f7bc280dde8e0a852bbdd503bb29a843cd2
+EBUILD pytest-codeblocks-0.17.0.ebuild 632 BLAKE2B fe43c80a68379308871bd406480ca00e5a2970f7d9f7d732e85b0d40c65e5056403cffd44593c5b2ca4a96b45f3943aa108f9f6e2c1537934fc00e7986b03add SHA512 91885dc8ecdc8b9799d5ae28f850af17322f0946f81a16caa37c35c7cb6b9c73e5fad2ac7c79ccbdc3d6d372a27b9a87fb3299cd957f383b1963e71d67f13d33
MISC metadata.xml 410 BLAKE2B 4e891952e8175ddd34616a0b9d4fe3baea93fee131fffea213d48db70d2dddc29400ef58c0a965cf2f310eb613a5d965827987c25392e9f294441d48589b386f SHA512 d140d21dab7f8faf8ed951d338115e8796beea0a739c00d3e9b80bef3214690ec35645ab3c3de34ff89eb63f830bce0061334cdf6092db036206698d410dcfc0
diff --git a/dev-python/pytest-codeblocks/pytest-codeblocks-0.17.0.ebuild b/dev-python/pytest-codeblocks/pytest-codeblocks-0.17.0.ebuild
new file mode 100644
index 000000000000..b11ae43d789e
--- /dev/null
+++ b/dev-python/pytest-codeblocks/pytest-codeblocks-0.17.0.ebuild
@@ -0,0 +1,33 @@
+# Copyright 2019-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} )
+
+inherit distutils-r1
+
+DESCRIPTION="Extract code blocks from markdown"
+HOMEPAGE="
+ https://github.com/nschloe/pytest-codeblocks/
+ https://pypi.org/project/pytest_codeblocks/
+"
+SRC_URI="
+ https://github.com/nschloe/pytest-codeblocks/archive/v${PV}.tar.gz
+ -> ${P}.gh.tar.gz
+"
+
+LICENSE="MIT"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+
+RDEPEND="
+ >=dev-python/pytest-7.0.0[${PYTHON_USEDEP}]
+"
+
+distutils_enable_tests pytest
+
+python_test() {
+ epytest -p pytester
+}
diff --git a/dev-python/python-ptrace/Manifest b/dev-python/python-ptrace/Manifest
index fe4c47745249..07b8a2fd36cf 100644
--- a/dev-python/python-ptrace/Manifest
+++ b/dev-python/python-ptrace/Manifest
@@ -1,4 +1,6 @@
+AUX python-ptrace-0.9.8-python3_12.patch 914 BLAKE2B a0e4f4dee0baf98e398c8618d92fb5fe60817ed4dea0f577795017c2ad3ae89b1936045d65c161b104169ab3f786d824a5038f0a078452bbae265588b621b4fd SHA512 2b9470247ee6ea92bf20402f51595b4aba43f4c3b85db13b701cf7aefe52f28f4a1a7d122e4422217286363c8b05d338e671c99cca55c9bdae3d993c42a43578
DIST python-ptrace-0.9.8.gh.tar.gz 104079 BLAKE2B 3d387beca9c92c0e3bbd5cf2c9d2af447c233b631e894ce1af2cdc697a1a48e24a299bbc998cd187ac9ad0f45bfc886f476afdb69329d761e8730a047731126b SHA512 f50ba7d457bf20a161a99913a552f2e829e97975d7cfbf8cf5d89b4f2320772b537678f2e70b9aaa88341c4f01d4bf41f62683e913628db503152f3510a013a3
+EBUILD python-ptrace-0.9.8-r1.ebuild 765 BLAKE2B 4dafe44e983c22d908843ba47637ed4680428393475ba266095736622e05865fab504b3f99066ea08c2ea158a3852bdc460e56af4dd2f4d2da647b0dfc885deb SHA512 d213594c545121e286a144c33f0d0503880c2529634e885347ea49341c24606410f3793363eb685ab453ea71debefdb7a073a92e2b793f32152fde1703ecfba7
EBUILD python-ptrace-0.9.8.ebuild 712 BLAKE2B d3ade6103844969fba7d7a91fd380361556a1eef16461bfdf352dd8e88a6ed2d51acf199396f6335607d95519a3e83ab59a97fa7535b351887fa9b1dbcd87c76 SHA512 4a06dd68e4de3b0f45a07f79f6e80026d861895acdac9df839b4023d4615f8a06df3e6e876d7b0636b05db92ec67c8dcd3b9343b267c238d60a93f72581d1d3e
EBUILD python-ptrace-9999.ebuild 714 BLAKE2B 4fb5fc31dcc2a7ee44b66610753f5dda1615e49caa19b008236a6375b53e6037c2ed9701f318f02baedf840a9b825b482d6ef6470e7a68119d76d5cdc282efc8 SHA512 e088c4e2f360069b4182ad2ff8eb8dfb80734ec3bc608f4f5d2bb1cfc7628715ac33f093a9b57343a568bd1ee3307f042e1176a33298c3df3dcdd825d4422f85
MISC metadata.xml 674 BLAKE2B f247cbce73a3bc785c4747c79a4fa99867dd75255d3a18f91de90179019ac2ef2e85da096107029d8f50f4565dcae14e1bc26e91f7ab882fa6cc9572ee8743a4 SHA512 08dca730bfc844e8ec06bd0d7914c23d8f74d1ebc54e22b99206de5240bd256d30dfe702cac9c3825b283be55be8a0111fc2f24482186f4b7bb24c6bc8369f94
diff --git a/dev-python/python-ptrace/files/python-ptrace-0.9.8-python3_12.patch b/dev-python/python-ptrace/files/python-ptrace-0.9.8-python3_12.patch
new file mode 100644
index 000000000000..fc7e55f6160e
--- /dev/null
+++ b/dev-python/python-ptrace/files/python-ptrace-0.9.8-python3_12.patch
@@ -0,0 +1,30 @@
+Upstream: https://github.com/vstinner/python-ptrace/pull/81
+commit 80e0c97a84eccb8b82737cf40b9c5581c20c245f
+Author: Mario Haustein <mario.haustein@hrz.tu-chemnitz.de>
+Date: Sat Sep 16 13:49:43 2023 +0200
+
+ Remove deprecated `imp` module
+
+--- a/setup.py
++++ b/setup.py
+@@ -28,7 +28,7 @@
+ # - git commit -a -m "post-release"
+ # - git push
+
+-from imp import load_source
++import importlib.util
+ from os import path
+ try:
+ # setuptools supports bdist_wheel
+@@ -55,7 +55,10 @@ CLASSIFIERS = [
+ with open('README.rst') as fp:
+ LONG_DESCRIPTION = fp.read()
+
+-ptrace = load_source("version", path.join("ptrace", "version.py"))
++ptrace_spec = importlib.util.spec_from_file_location("version", path.join("ptrace", "version.py"))
++ptrace = importlib.util.module_from_spec(ptrace_spec)
++ptrace_spec.loader.exec_module(ptrace)
++
+ PACKAGES = {}
+ for name in MODULES:
+ PACKAGES[name] = name.replace(".", "/")
diff --git a/dev-python/python-ptrace/python-ptrace-0.9.8-r1.ebuild b/dev-python/python-ptrace/python-ptrace-0.9.8-r1.ebuild
new file mode 100644
index 000000000000..a9819a317788
--- /dev/null
+++ b/dev-python/python-ptrace/python-ptrace-0.9.8-r1.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} )
+
+inherit distutils-r1
+
+DESCRIPTION="A Python binding of ptrace library"
+HOMEPAGE="https://github.com/vstinner/python-ptrace"
+
+if [[ ${PV} == 9999 ]] ; then
+ inherit git-r3
+ EGIT_REPO_URI="https://github.com/vstinner/python-ptrace"
+else
+ SRC_URI="https://github.com/vstinner/python-ptrace/archive/refs/tags/${PV}.tar.gz -> ${P}.gh.tar.gz"
+ KEYWORDS="~amd64 ~x86"
+fi
+
+LICENSE="GPL-2"
+SLOT="0"
+
+RDEPEND="${PYTHON_DEPS}
+ dev-python/six[${PYTHON_USEDEP}]"
+
+PATCHES=(
+ "${FILESDIR}/${P}-python3_12.patch"
+)
+
+distutils_enable_tests pytest
+
+src_test() {
+ ./runtests.py --tests tests/ || die
+}
diff --git a/dev-python/rarfile/Manifest b/dev-python/rarfile/Manifest
index 18b868e962b2..d724bcd70732 100644
--- a/dev-python/rarfile/Manifest
+++ b/dev-python/rarfile/Manifest
@@ -1,5 +1,7 @@
AUX rarfile-4.0-fix-pypy-datetime.patch 806 BLAKE2B 31a7bdef281a15373eee9ac7eb78ffc31bfaa589ab946887aab6baa68de6f0f4e93934d6a2eaafddf3e16079cbd7422e45d1271fdc32e400652c431f8f4032a1 SHA512 dff7fa9cecd56ea1a7c63233790dbba7ebe2beee3887d992f7a1ec62fe0467130f8b292cd356fe6c34c6f455ff5f40a9bc93eabc2edbef8369bfb4335f22933c
AUX rarfile-4.0.patch 598 BLAKE2B bf53d965f61a693fd9e26d8d6f3c3305fe31371363ddfff6e21e48a98ea2386b7effdcce6f615c553b3a764da73b72791612b723e8432de1a156189e93e062f4 SHA512 2d3b37f7b58e04ac9f880eba0751f38486bfd17e3c96b6b6f4e08a6b8b70a5cb482af4b8b5ef3c46ccde8f7bb848c84e123d950687cb91930ab6304e7febba57
DIST rarfile-4.0.tar.gz 148026 BLAKE2B 331548d54dcc3d81c690cc383e36e3f00515999c72abb54060e0dbb34691bb7e06736318a33ec349492e27e561ed2f4ff4446cc5254e9f341f4633adaab878aa SHA512 05e15acd749564288d4f069970ac196344c33fd2710e918b84afe4c388aa364a17c63f86577037524336e3a022f6db2c8619f9b526f89e00753a8ab0d89263d4
+DIST rarfile-4.1.tar.gz 152826 BLAKE2B a64fbb036b33922ef99c73db3b32f3b08119ebc527d41751c2013ae05fb6d2f82523b818e7fe16983427094ab0baf15e93b356f1b19084fdfbec34cb2737780e SHA512 ca3ac26e02b8d7770c43fe70a06cf42b2183a34846d59c79d3478651e9d7ffc022fe7336be44b8df8fa6f0789bae055c1d057c21d87af78acccc43a927fd02e2
EBUILD rarfile-4.0-r2.ebuild 577 BLAKE2B 98505fa5c3eba4a844d683ce1c97bd776619e22d11c690ba823e7cd44626210defa586c1b0136737567e70c043aed6d4b371e7f6e96a30b492df09d8986d75a1 SHA512 f052bee23c213ac36ea7431b18e0a45bc10d637cf99a8d6026ec82f961be08ce24839520f29fc68ff9ce193531958664d00e2e2322af3a2692c0b6cb78bea2e2
+EBUILD rarfile-4.1.ebuild 539 BLAKE2B a55f2cd17b82f01f8970cb7e446e01713719e477ad218744cb9b90150e6c3437150af0abe5ad24aa469974e38d59fbd47af4e3761a175fa7736f2f02ba397e77 SHA512 9b1f030b2bc66c78454843617fcb1290178b6969bb65bff34a9bb2459afa5a2937bead857512f2b00026598871c050c94f2eef4a1c0de2275bb102a4bf5c1885
MISC metadata.xml 531 BLAKE2B fa977e37331b11cf627c551ca3d0e579338cd3ac43d761e5d6f120caf1386cc18d602770376f1b64360911642767cb4b3456d235270137ebc772fc02791e8665 SHA512 8d2d3de2fc185c657aed70818abadcac021c679e352774f941bf6fa908dfc383139c2343f5695e21197553724f75f853ed03cafc9413640ca6a4257c6e1867b6
diff --git a/dev-python/rarfile/rarfile-4.1.ebuild b/dev-python/rarfile/rarfile-4.1.ebuild
new file mode 100644
index 000000000000..0e47d10edddc
--- /dev/null
+++ b/dev-python/rarfile/rarfile-4.1.ebuild
@@ -0,0 +1,27 @@
+# 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="Module for RAR archive reading"
+HOMEPAGE="
+ https://github.com/markokr/rarfile/
+ https://pypi.org/project/rarfile/
+"
+
+LICENSE="ISC"
+SLOT="0"
+KEYWORDS="~amd64 ~arm ~arm64 ~x86"
+IUSE="+compressed test"
+REQUIRED_USE="test? ( compressed )"
+
+RDEPEND="
+ compressed? ( app-arch/unrar )
+"
+
+distutils_enable_tests pytest
diff --git a/dev-python/subunit/Manifest b/dev-python/subunit/Manifest
index c081eb74565d..91db947f755d 100644
--- a/dev-python/subunit/Manifest
+++ b/dev-python/subunit/Manifest
@@ -1,4 +1,6 @@
AUX subunit-1.4.0-werror.patch 1307 BLAKE2B e714e82827c0c30b514ea9f43dfcff1702bd93b9e4f1e5c44029a84deb3de8c84a351baec097b545dc00ac7f0d56f85b917a53c23d501a8b93c35632d43c14d1 SHA512 444b4d2755b395f904dd341992cd2d7df60924b4111e552b6a61b6c6113397b3b6e4dd12b2bab7d408a306b3037e361217c7cda5473d94ca746ceab4e1136cbd
DIST subunit-1.4.2.gh.tar.gz 112283 BLAKE2B 195318de120f1fd7cff7173ba056bf5b37983db3527ca7d0f6be7ae9889b99e9c143c92a71d7bd1bada9458b7af402bfbee4153292e58a546e88ca2212ee547b SHA512 21413f0ed26f5f0572249ff4bcf948ea25d9185a1df73421836b9b21e11f323300f93a0275f0d64dc7c81a8e038fa0661a34f818bb038abf79c0637e051bc69e
+DIST subunit-1.4.3.gh.tar.gz 105275 BLAKE2B a203d1fc7851cbfe50c419dd9547353912dac2f49f6182f56f424dd839e635aefa00080d1476e589249286215b53f3393a654a062e4c264ddd8915ee4bc6f929 SHA512 831d435963de9e5e58961b0d97b628ac48855fd956c3618ba53b5e372a967e33a2572755869838f9d5e1ff2b206ffc5b93fecb0738b922d23dfb9c7216efdcf1
EBUILD subunit-1.4.2.ebuild 2041 BLAKE2B 71672a989cc930cc579300645a0b56da9be4ff5427582ee12593a4c4da23cc848faca229ff564642d723138ba5f4e396cd44677cc0056f3aaa38c6196f5cf611 SHA512 ed10b7fc8d9a95b9dadbc296942e4513ea6fe906055c55c92320b2578728e37e6ba3787145ed44cb26460ea6641356b3d17646cdbb206f150022947c82c34960
+EBUILD subunit-1.4.3.ebuild 1927 BLAKE2B 395f31d5fc438b29a13d19aaf978efd52b5e2a2e91c175b1f8ded32afb48818f0ebfcd18f6e4cf9b518d37fa86ae547f9ae41147170e639d2702e51ba3249e95 SHA512 c3d2998a7af3a44389fc85a34839be43d4902f3d8aada035b9d6d3cee766048bb43a91afb37bffcf86c85cd6d9d07485ff1339e628405696352bfef171d75e0e
MISC metadata.xml 536 BLAKE2B a2d8868bf91b862ea393f908c5ae6924dc70fcfa5e2d58692d61c1a45ae33bb9301c82fc032c5951491857da923bdba56f2ed11c149df7b11a4fd9037d1e5a23 SHA512 15d6a7804d14048e959dcaee03bcb2069110ab930368b2b9c31c78b610fd35beb1f714e3d109de2903dba62600b0013d6ef7f5794e828dcc6b34755e35d1836f
diff --git a/dev-python/subunit/subunit-1.4.3.ebuild b/dev-python/subunit/subunit-1.4.3.ebuild
new file mode 100644
index 000000000000..fcecf30c7054
--- /dev/null
+++ b/dev-python/subunit/subunit-1.4.3.ebuild
@@ -0,0 +1,91 @@
+# 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 multilib-minimal autotools
+
+DESCRIPTION="A streaming protocol for test results"
+HOMEPAGE="
+ https://launchpad.net/subunit/
+ https://pypi.org/project/python-subunit/
+"
+SRC_URI="
+ https://github.com/testing-cabal/subunit/archive/${PV}.tar.gz
+ -> ${P}.gh.tar.gz
+"
+
+LICENSE="Apache-2.0 BSD"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86"
+IUSE="static-libs test"
+RESTRICT="!test? ( test )"
+
+RDEPEND="
+ >=dev-python/testtools-0.9.34[${PYTHON_USEDEP}]
+ dev-python/iso8601[${PYTHON_USEDEP}]
+"
+DEPEND="
+ ${RDEPEND}
+ >=dev-libs/check-0.9.11[${MULTILIB_USEDEP}]
+ >=dev-util/cppunit-1.13.2[${MULTILIB_USEDEP}]
+ >=virtual/pkgconfig-0-r1
+ test? (
+ dev-python/fixtures[${PYTHON_USEDEP}]
+ dev-python/hypothesis[${PYTHON_USEDEP}]
+ dev-python/testscenarios[${PYTHON_USEDEP}]
+ )
+"
+
+PATCHES=(
+ "${FILESDIR}/subunit-1.4.0-werror.patch"
+)
+
+src_prepare() {
+ mv all_tests.py python/ || die
+
+ distutils-r1_src_prepare
+ eautoreconf
+ multilib_copy_sources
+}
+
+multilib_src_configure() {
+ ECONF_SOURCE=${S} \
+ econf \
+ --enable-shared \
+ $(use_enable static-libs static)
+}
+
+multilib_src_compile() {
+ default
+ multilib_is_native_abi && distutils-r1_src_compile
+}
+
+python_test() {
+ cd python || die
+ "${EPYTHON}" -m testtools.run -v all_tests.test_suite ||
+ die "Testing failed with ${EPYTHON}"
+}
+
+multilib_src_test() {
+ multilib_is_native_abi && distutils-r1_src_test
+}
+
+multilib_src_install() {
+ local targets=(
+ install-include_subunitHEADERS
+ install-pcdataDATA
+ install-libLTLIBRARIES
+ )
+ emake DESTDIR="${D}" "${targets[@]}"
+
+ multilib_is_native_abi && distutils-r1_src_install
+}
+
+multilib_src_install_all() {
+ einstalldocs
+ find "${D}" -name '*.la' -delete || die
+}
diff --git a/dev-python/yara-python/Manifest b/dev-python/yara-python/Manifest
index 53fda00e537e..1c2f928df3ce 100644
--- a/dev-python/yara-python/Manifest
+++ b/dev-python/yara-python/Manifest
@@ -1,4 +1,7 @@
+AUX yara-python-4.4.0-python3_12.patch 939 BLAKE2B 532e768fa1674c6c6203bf8c7b41a61cdfc5644cda082350e5ba46c896e0bd7122ffcbc280f067983b7c052d214cdb94dd3cec22b0bed45c21cf9ffd005bf671 SHA512 8d259ee3ded90d609aa81d6fd72c02f1089f7a4215a35cda4309b1f7805fbe448aa3eb796aaca183e30c3d5c48b7ffcd313db48d09f336690764108c0a6b7e56
DIST yara-python-4.3.1.gh.tar.gz 37871 BLAKE2B d8b8eac6b12dc4c5c3362e8b5396fe9ff5a0b0557488ed94257ec2b7be813c870d39f78b53b3312b6b1100f4bdc81375ebf27cd21a569c5688503b81934c3881 SHA512 78cd53f756967ef79cc742acffaeea53631ee475c07efd1506eba7e0630b2e570ba03686da1fa3247c9339faa67daf6c372913731b73233626661c0a9f575e41
+DIST yara-python-4.4.0.gh.tar.gz 38072 BLAKE2B 748dab52e99e264c7d9eb0d7d4482fb76b29f8463f031cf20687e30ae792141633d12e6b3f20303c8ee99bcdaafa01a3df9f73aaf3dd722ad5da9820e6a4d39e SHA512 bc72c2f65e3fe3d7f94728565143b787df6cc63313a3e8b9f159a5cfc3c947f5233674a1213fd2c6454f6165b676da366319794f9fa7c695c43e5523c29a1432
EBUILD yara-python-4.3.1.ebuild 893 BLAKE2B fe311947cbbced2a61447bb00175b26f5810458c502661eabf1af0d17c26a84662b723d21d41b3ea1a9bcf3a4378214caf25ce18a9af7e924fa360bea9ea39b0 SHA512 efada550072625d7c0329c8ec7dca041ac6ffad3927f468ac225ccabd4f877ba8fb2e0cd46047dc099e511ea17b0f2ddc9160386e4645969eed4ddb6b989b5ad
-EBUILD yara-python-9999.ebuild 895 BLAKE2B 357e1767c06b67b92e680ee57091ec81366e8975f6b0a43a6a5d7c96ead0c95544f2ec442dbc7547f67dd4da1e8f6e686d6e9d5e6bfb4796e8262b67a970ef97 SHA512 76e4e4fabbabcd87c11a6330a822142c2395c07081a2c839defcdf9aa87c5c3096f5d6b7530ec962fe738092556328798cda1f4d8232d2385164a2a9633ac745
+EBUILD yara-python-4.4.0.ebuild 962 BLAKE2B 32b594560701aeb7b7e6cf7cabdcfe85edf8e43f0096bd56257e26f7e6ee8bb9729cc7d863a51c718ac932ed42a0085214c3118792391cf0505862d93b9c9f5b SHA512 208d266bfbf432d02742d05f0a75a5a174e9576370c0d86f5e8983a39dcdd30e66d61f9b1805525f513c48fc03fdf9dcff575c7af495681b9e53e27783780b19
+EBUILD yara-python-9999.ebuild 912 BLAKE2B 3939e8490e8854e4e64880afb8b9338b05a3b2fb7b71d3b8468b45b4e19270e5ad898006188405ef24da7a42026f7d18a6468225686d85a9d67a31d9e345647e SHA512 78c27faf6554db4176aa524eb249a6eb2c0d63ecc08f07bd8ed7190c2016c986c1d9c2c0c9456b78bf13a6f18629e35c9480888ee3c63fc456e835504398ffa0
MISC metadata.xml 868 BLAKE2B 45f55060dbf7936f5004b8b6b9332ae01fbe8f25c008d6b272245ae3a21522ffdb1b3d11a338fdf31300aa274c4e24cd05ecdc62ad0b1e757188edf174c6e27e SHA512 ab67d86f6deb877d1f5a22ec36e381d7cdf62ec0634dbfd526ea2b58a5e4b9d6d6e2f06ead9cf7e8d4cff463bdd3486992350d94715d7b59c40c746ad9184e22
diff --git a/dev-python/yara-python/files/yara-python-4.4.0-python3_12.patch b/dev-python/yara-python/files/yara-python-4.4.0-python3_12.patch
new file mode 100644
index 000000000000..36bf1d60f686
--- /dev/null
+++ b/dev-python/yara-python/files/yara-python-4.4.0-python3_12.patch
@@ -0,0 +1,17 @@
+Upstream: https://github.com/VirusTotal/yara-python/pull/244
+From c00fd68cfb2f00c4bfe4ea6465a93af2d1d1a68f Mon Sep 17 00:00:00 2001
+From: Mario Haustein <mario.haustein@hrz.tu-chemnitz.de>
+Date: Sat, 16 Sep 2023 17:35:36 +0200
+Subject: [PATCH] Fix unknown escape sequence
+
+--- a/tests.py
++++ b/tests.py
+@@ -719,7 +719,7 @@ def testRE(self):
+ 'rule test { strings: $a = /[M-N]iss/ nocase condition: $a }',
+ 'rule test { strings: $a = /(Mi|ssi)ssippi/ nocase condition: $a }',
+ r'rule test { strings: $a = /ppi\tmi/ condition: $a }',
+- 'rule test { strings: $a = /ppi\.mi/ condition: $a }',
++ r'rule test { strings: $a = /ppi\.mi/ condition: $a }',
+ 'rule test { strings: $a = /^mississippi/ fullword condition: $a }',
+ 'rule test { strings: $a = /mississippi.*mississippi$/s condition: $a }',
+ ], 'mississippi\tmississippi.mississippi\nmississippi')
diff --git a/dev-python/yara-python/yara-python-4.4.0.ebuild b/dev-python/yara-python/yara-python-4.4.0.ebuild
new file mode 100644
index 000000000000..8c4b6e7be136
--- /dev/null
+++ b/dev-python/yara-python/yara-python-4.4.0.ebuild
@@ -0,0 +1,45 @@
+# Copyright 1999-2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+DISTUTILS_USE_PEP517=setuptools
+DISTUTILS_EXT=1
+PYTHON_COMPAT=( python3_{10..12} )
+inherit distutils-r1
+
+DESCRIPTION="Python interface for a malware identification and classification tool"
+HOMEPAGE="https://github.com/VirusTotal/yara-python"
+
+if [[ ${PV} == "9999" ]]; then
+ inherit git-r3
+ EGIT_REPO_URI="https://github.com/VirusTotal/yara-python.git"
+else
+ SRC_URI="https://github.com/virustotal/yara-python/archive/v${PV}.tar.gz -> ${P}.gh.tar.gz"
+ KEYWORDS="~amd64 ~arm64 ~ppc64 ~x86"
+fi
+
+LICENSE="Apache-2.0"
+SLOT="0"
+
+RDEPEND="
+ =app-forensics/yara-$(ver_cut 1-2)*
+"
+DEPEND="${RDEPEND}"
+
+PATCHES=(
+ "${FILESDIR}/${P}-python3_12.patch"
+)
+
+distutils_enable_tests unittest
+
+python_configure_all() {
+ cat >> setup.cfg <<-EOF
+ [build_ext]
+ dynamic_linking = True
+ EOF
+}
+
+python_test() {
+ "${EPYTHON}" tests.py || die "Tests fail with ${EPYTHON}"
+}
diff --git a/dev-python/yara-python/yara-python-9999.ebuild b/dev-python/yara-python/yara-python-9999.ebuild
index a4fa9fa8737f..053d1d779d51 100644
--- a/dev-python/yara-python/yara-python-9999.ebuild
+++ b/dev-python/yara-python/yara-python-9999.ebuild
@@ -4,7 +4,8 @@
EAPI=8
DISTUTILS_USE_PEP517=setuptools
-PYTHON_COMPAT=( python3_{9..11} )
+DISTUTILS_EXT=1
+PYTHON_COMPAT=( python3_{10..12} )
inherit distutils-r1
DESCRIPTION="Python interface for a malware identification and classification tool"