diff options
author | V3n3RiX <venerix@koprulu.sector> | 2023-10-27 08:42:41 +0100 |
---|---|---|
committer | V3n3RiX <venerix@koprulu.sector> | 2023-10-27 08:42:41 +0100 |
commit | 0fcaac21e786bd7911b1e8f436cd885c5e2f6437 (patch) | |
tree | ba392915815492b0ce486fc0e3ad5afb4a849b6f /dev-python | |
parent | e30edd47e1804bf3ed1ea7be2eac67f4b8cd9f38 (diff) |
gentoo auto-resync : 27:10:2023 - 08:42:41
Diffstat (limited to 'dev-python')
56 files changed, 1041 insertions, 254 deletions
diff --git a/dev-python/Manifest.gz b/dev-python/Manifest.gz Binary files differindex 60e299d9b2e6..25761022d751 100644 --- a/dev-python/Manifest.gz +++ b/dev-python/Manifest.gz diff --git a/dev-python/alembic/Manifest b/dev-python/alembic/Manifest index 434614999de1..062af2c4ec38 100644 --- a/dev-python/alembic/Manifest +++ b/dev-python/alembic/Manifest @@ -1,3 +1,5 @@ DIST alembic-1.12.0.tar.gz 1196597 BLAKE2B ff4bc1b94a32ab510b617befb039cb373f266fc891d355a1166a5559d4c053c57a834d9509a05bd5fbcb53a6ac0348038b2314907249ea9139a00c378b293bcb SHA512 170031efe7864835234f55123bff7496337ed1ce666fdaaa8a5040353dc23f98a0e2e6eaf95791f8be052b675015acb7e59b58436a470df9b4ce803c1ac5296b +DIST alembic-1.12.1.tar.gz 1200204 BLAKE2B 640435e09ee7d33c7fa375b6fa784e2ef4097b50074753341717bc21fa8bd838ca00ced6c5cc9e3d82eca494270ffe84bc4b74dc96ed01cb9aded77f21e33520 SHA512 c76bae8f22dcbb4b2d235a17059a756c33bf40d4ea62b937373a29dab7c4f6e36eef0030a721222663c191eba565530299d28726f06e0c40d74daec1d3e03b33 EBUILD alembic-1.12.0.ebuild 998 BLAKE2B 69697924982fa2b17d0d5d3c6ae9d0c6003476b0237e4c41baeeff185a12dc073b4bac03c77d4ea73c838a9c28d26351873c00dd4962e45677bb8afda0d993ff SHA512 a9d83e9b1cebc916f06f8fc32820c5bfc315b2de915f5f7e4af21c5ef6180430be357672ec01ee89bf3eaa76e2a37bcc067fd6d19721b8776737eb45dd4ddbde +EBUILD alembic-1.12.1.ebuild 1000 BLAKE2B 6137d44f26f5620e1af375b3370935f943a547e62c5cbf7e142975db2754498afc968718ab6acdac542bd1569f79ee8ba088e24db05dd655d278bb6588257d0a SHA512 3bd4650599df3ea40b8b15deffef4f7bc5682863f0e716eb40e32f8bbd44638d788b8819bf7cea640f1390e4164f3bc9d32aadbe4c365640ba2ed9222c48103d MISC metadata.xml 516 BLAKE2B 08b11ebed2913b00e0a8c0044a50e3ca7bc0e51fcad180725c90445227fed1aed58ed89b4bed58ef5c050c3eee3c19da33aabce5cd1f7835f4b560e67ccc7744 SHA512 b4afb6af57562e6065f03db71da0dbdfc9c4337e54cbaddfa257ee7bad48dbeecfaccd765901bf65279e34cf96be3975f983017858904716a36bf8c18f33db79 diff --git a/dev-python/alembic/alembic-1.12.1.ebuild b/dev-python/alembic/alembic-1.12.1.ebuild new file mode 100644 index 000000000000..0fb0d2348c60 --- /dev/null +++ b/dev-python/alembic/alembic-1.12.1.ebuild @@ -0,0 +1,41 @@ +# Copyright 1999-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=setuptools +PYTHON_COMPAT=( pypy3 python3_{10..12} ) + +inherit distutils-r1 pypi + +DESCRIPTION="Database migrations tool, written by the author of SQLAlchemy" +HOMEPAGE=" + https://github.com/sqlalchemy/alembic/ + https://pypi.org/project/alembic/ +" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64 ~arm64 ~riscv ~x86" +IUSE="doc" + +RDEPEND=" + >=dev-python/sqlalchemy-1.1.0[${PYTHON_USEDEP}] + dev-python/mako[${PYTHON_USEDEP}] + >=dev-python/python-editor-0.3[${PYTHON_USEDEP}] + dev-python/python-dateutil[${PYTHON_USEDEP}] + >=dev-python/typing-extensions-4[${PYTHON_USEDEP}] +" + +distutils_enable_tests pytest + +python_test() { + # setup.cfg contains -p no:warnings in addopts which triggers + # datetime.utcfromtimestamp() deprecation warning as an error in py3.12 + epytest -o addopts= +} + +python_install_all() { + use doc && local HTML_DOCS=( docs/. ) + distutils-r1_python_install_all +} diff --git a/dev-python/boto3/Manifest b/dev-python/boto3/Manifest index b6546e017ea7..eb596c1b4074 100644 --- a/dev-python/boto3/Manifest +++ b/dev-python/boto3/Manifest @@ -4,11 +4,13 @@ DIST boto3-1.28.68.gh.tar.gz 717553 BLAKE2B dd8ba562613456e30c0f8bfe2f3befa9601b DIST boto3-1.28.69.gh.tar.gz 717978 BLAKE2B d7339e73fec81a8c8eb013b4136ab3961bb7c27cbf2b479abf12d814bb49f959dad91cc091b5ceabc01de9205b732b7df6c7fb7c37dfacc72a7d862f3e54a3f7 SHA512 2f6fa2192115367f8a899fe16308365509f543146c00be4e04c2aa323a188dedfe3e531b8d2a8b80fe9a143d101039a8a34babf5c3b1073f306f7946a45ec976 DIST boto3-1.28.70.gh.tar.gz 718741 BLAKE2B 0d8c0f8e4ceda65f223a6b5151015182905e4c76dc34ceede2af78ee8e71bbda95a70add771cdb313f4f63d7ae83fdbcb1c505a0157219c06a4d2dbcac584b27 SHA512 aea9a1c957c3a184ed8f8472f245b822b27185aa9427b14fd5cd380282a5c6f4dbb831940b4b39b147093448d8889910a52e26fb790b1e3e18ae24d9b2ddca15 DIST boto3-1.28.71.gh.tar.gz 719518 BLAKE2B 0ed15aaf3c340ebb492ec58b7a4b7754a4e5ca7c3fa3e71c6940c99c13eba0e46d24fbfbcdd6a6c6ebc57fec98499f9478ac4f531730b226d2534042ff282b89 SHA512 88ec46e9051bb963db8c3123548337910fae92aa0dd39668665db6a94c0f59ce14a1bf98630e92a5e736d539fe470d8e4ff8395e600e1b8166a8fe47ad89f4e8 +DIST boto3-1.28.72.gh.tar.gz 720666 BLAKE2B bbce0af7cba130ba30d4a319fc05fd0e7749fba2056136b5874fe18a70478f52c2c4e25ba89fc56b71831d48d3f95b6bc2b2e9fd5318c1ff259cb6789ece0d0b SHA512 38ed50770c0bd355d462f7a4eb824b14bf01cc6772392f5eb79df2bb5dd96f3cbc843456256646f8e2ad9335c2de1465c4a9d68d8a66e9895e7280404218671f EBUILD boto3-1.28.62.ebuild 1581 BLAKE2B 3321baf451888ad370e81162c39222de8ad2ea4217f54a1a4f3cd9818c7b612305ef84c795eff5e7f6d53991c0fee83de67b5a2edf1be8c084f69882920acac8 SHA512 c76202b2ee7ffc4810d03a1702a15829cf66816e372fd0d1acfe3cdc0415d26431a03e4e252549d6e546ab21a161af8740d915a87a2ae328814194af97f8ad8a EBUILD boto3-1.28.63.ebuild 1588 BLAKE2B bfcf68e1a1dffa36c71f030ad8743b59c9170c34a425a7982ee81d1fb0df1c29fdecefa7b55f373557b735d60ab51d510ca398edd4045def5fffb6d4d4d9d579 SHA512 1bca684f585a51d8b58a594c71974b36b145912550f051d6d4c84ba28bce949ec10c112a6f7bfa8f60fa362d9126d9a830243ab36595754bef02f19e02161bb8 EBUILD boto3-1.28.68.ebuild 1588 BLAKE2B bfcf68e1a1dffa36c71f030ad8743b59c9170c34a425a7982ee81d1fb0df1c29fdecefa7b55f373557b735d60ab51d510ca398edd4045def5fffb6d4d4d9d579 SHA512 1bca684f585a51d8b58a594c71974b36b145912550f051d6d4c84ba28bce949ec10c112a6f7bfa8f60fa362d9126d9a830243ab36595754bef02f19e02161bb8 EBUILD boto3-1.28.69.ebuild 1588 BLAKE2B bfcf68e1a1dffa36c71f030ad8743b59c9170c34a425a7982ee81d1fb0df1c29fdecefa7b55f373557b735d60ab51d510ca398edd4045def5fffb6d4d4d9d579 SHA512 1bca684f585a51d8b58a594c71974b36b145912550f051d6d4c84ba28bce949ec10c112a6f7bfa8f60fa362d9126d9a830243ab36595754bef02f19e02161bb8 EBUILD boto3-1.28.70.ebuild 1588 BLAKE2B bfcf68e1a1dffa36c71f030ad8743b59c9170c34a425a7982ee81d1fb0df1c29fdecefa7b55f373557b735d60ab51d510ca398edd4045def5fffb6d4d4d9d579 SHA512 1bca684f585a51d8b58a594c71974b36b145912550f051d6d4c84ba28bce949ec10c112a6f7bfa8f60fa362d9126d9a830243ab36595754bef02f19e02161bb8 EBUILD boto3-1.28.71.ebuild 1588 BLAKE2B bfcf68e1a1dffa36c71f030ad8743b59c9170c34a425a7982ee81d1fb0df1c29fdecefa7b55f373557b735d60ab51d510ca398edd4045def5fffb6d4d4d9d579 SHA512 1bca684f585a51d8b58a594c71974b36b145912550f051d6d4c84ba28bce949ec10c112a6f7bfa8f60fa362d9126d9a830243ab36595754bef02f19e02161bb8 +EBUILD boto3-1.28.72.ebuild 1588 BLAKE2B bfcf68e1a1dffa36c71f030ad8743b59c9170c34a425a7982ee81d1fb0df1c29fdecefa7b55f373557b735d60ab51d510ca398edd4045def5fffb6d4d4d9d579 SHA512 1bca684f585a51d8b58a594c71974b36b145912550f051d6d4c84ba28bce949ec10c112a6f7bfa8f60fa362d9126d9a830243ab36595754bef02f19e02161bb8 EBUILD boto3-9999.ebuild 1588 BLAKE2B bfcf68e1a1dffa36c71f030ad8743b59c9170c34a425a7982ee81d1fb0df1c29fdecefa7b55f373557b735d60ab51d510ca398edd4045def5fffb6d4d4d9d579 SHA512 1bca684f585a51d8b58a594c71974b36b145912550f051d6d4c84ba28bce949ec10c112a6f7bfa8f60fa362d9126d9a830243ab36595754bef02f19e02161bb8 MISC metadata.xml 493 BLAKE2B 7d6324fc877ffe1d20c5369c2af0b09a7028f94d28f1841188913d0d8be7ea699c9d3f92c624992c4c96bd69615d3a1211a2483c76c56b7d3082492e43512523 SHA512 44420d8c03d5986f990b76369edfa8dfd7659b4952db3ad946fd05392ec594628a28745ad888d055d4f074d5214f61fcffafe6c04c4ab54109d45ac0371582bd diff --git a/dev-python/boto3/boto3-1.28.72.ebuild b/dev-python/boto3/boto3-1.28.72.ebuild new file mode 100644 index 000000000000..a37cc38af2f3 --- /dev/null +++ b/dev-python/boto3/boto3-1.28.72.ebuild @@ -0,0 +1,68 @@ +# Copyright 1999-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=setuptools +PYTHON_COMPAT=( python3_{10..12} ) + +inherit distutils-r1 multiprocessing + +DESCRIPTION="The AWS SDK for Python" +HOMEPAGE=" + https://github.com/boto/boto3/ + https://pypi.org/project/boto3/ +" +LICENSE="Apache-2.0" +SLOT="0" + +if [[ "${PV}" == "9999" ]]; then + EGIT_REPO_URI="https://github.com/boto/boto3" + inherit git-r3 + BOTOCORE_PV=${PV} +else + SRC_URI=" + https://github.com/boto/boto3/archive/${PV}.tar.gz + -> ${P}.gh.tar.gz + " + KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~ppc64 ~riscv ~sparc ~x86 ~amd64-linux ~x86-linux" + + # botocore is x.(y+3).z + BOTOCORE_PV="$(ver_cut 1).$(( $(ver_cut 2) + 3)).$(ver_cut 3-)" +fi + +RDEPEND=" + >=dev-python/botocore-${BOTOCORE_PV}[${PYTHON_USEDEP}] + >=dev-python/jmespath-0.7.1[${PYTHON_USEDEP}] + >=dev-python/s3transfer-0.7.0[${PYTHON_USEDEP}] +" +BDEPEND=" + test? ( + dev-python/mock[${PYTHON_USEDEP}] + dev-python/pytest-xdist[${PYTHON_USEDEP}] + ) +" + +distutils_enable_tests pytest + +python_prepare_all() { + # don't lock versions to narrow ranges + sed -e '/botocore/ d' \ + -e '/jmespath/ d' \ + -e '/s3transfer/ d' \ + -i setup.py || die + + # do not rely on bundled deps in botocore (sic!) + find -name '*.py' -exec sed -i \ + -e 's:from botocore[.]vendored import:import:' \ + -e 's:from botocore[.]vendored[.]:from :' \ + {} + || die + + distutils-r1_python_prepare_all +} + +python_test() { + local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1 + epytest tests/{functional,unit} \ + -p xdist -n "$(makeopts_jobs)" --dist=worksteal +} diff --git a/dev-python/botocore/Manifest b/dev-python/botocore/Manifest index 3c6180b00c38..db2842285327 100644 --- a/dev-python/botocore/Manifest +++ b/dev-python/botocore/Manifest @@ -4,11 +4,13 @@ DIST botocore-1.31.68.gh.tar.gz 11989788 BLAKE2B d8d34511e3ef65f54e1b305cf60cdb9 DIST botocore-1.31.69.gh.tar.gz 11993410 BLAKE2B 3bb478c0d0bb8add09f3659739000ca5df6a2aead9ae51a44adb1d409d700fd27005cf9a96bffd679a70058125396761c2d654a93009cf660d9b7864567eeb7c SHA512 334aa763eed79a479d8e8ca64eaf44919f3d9af7b637577e12eecc162c79235255ab6bd19ca9edd0698215fb11e198f38bf924db1590b6da3121ef5f7aa7f00e DIST botocore-1.31.70.gh.tar.gz 11998773 BLAKE2B 1843caf6976d066b1898a3721303c05a1075acd4cb59393adfa31542647d85d6b9fb3dc06e7710ff0249126bc464eea3bf47e3e484a242100facce7c545ef2d3 SHA512 4b2f0548cd3b223e30537b2ec6d3de2f417b2df0e5c9af00e9cee295483a50f66abcc2ca1d449aa4e85917f0157b249e594f8be7fb919069b97e49b174d53960 DIST botocore-1.31.71.gh.tar.gz 12000913 BLAKE2B 1cb78a9da73deacb302023f785d70645d3e5ecb8f828ebffb32f05f4d4f3343b5a9edf1fb0dd1c353c5bb38e094500ec2e1578c342312dca94ca64928c4d8b28 SHA512 6aa3a66c90cde16decf8b4dd678496d82d69388533105c3c785dca54d73736d2c3bb017ca57a39ea2dd59925ddc09dcd0ef600e8efd85c057356c29d2ce4013a +DIST botocore-1.31.72.gh.tar.gz 12007238 BLAKE2B 3eca25ae134849aebd4d51d6f9c06c5606b9612ef55f46eaa545f1d7e978bb9d8d6a260615500c57d7efec8bc744a01ec4fc290fceaa48d6186847732b3b4a2b SHA512 8a31ab6ac3ba2d5fd565449ea424a482c31a586fec7601c84e64b5cc209d30d16279ccec64e7c2971bbce141b9011103b87b034a807f7d5a875eb0d9f6254050 EBUILD botocore-1.31.62.ebuild 1592 BLAKE2B c5a131514206b9f7ef98aaed462ec767d932eeea538773e42ca99947021c1041dbffcd6e2f46d892031cc069e60a9a0ca607d9550ac1c5aeed89d1054e00a1b2 SHA512 056d3df23d41a7a44604241a9cad27b7052f065f5e4cf9fc335cc0228ff6e27cdc744cc9e1a33f5b77414dc598467ac436588e6f1e1375464b8ea5961dbec73f EBUILD botocore-1.31.63.ebuild 1599 BLAKE2B 8325845842cef976827216365bd3f88b7865bb4ce82764b121a42bb99d98952042223281fa66e6e31ec83e39c4fc585672fbab6426a7df79aa945df720d42a1b SHA512 ade15b4567ae00f08a0f5895d967ad3f37af15c24b3169e9319fd7d3c3a3316f34d989b225a928c8c72c2656e4c8f79d61e8b7ddd17e179adf7ff67bcbac6efb EBUILD botocore-1.31.68.ebuild 1599 BLAKE2B 8325845842cef976827216365bd3f88b7865bb4ce82764b121a42bb99d98952042223281fa66e6e31ec83e39c4fc585672fbab6426a7df79aa945df720d42a1b SHA512 ade15b4567ae00f08a0f5895d967ad3f37af15c24b3169e9319fd7d3c3a3316f34d989b225a928c8c72c2656e4c8f79d61e8b7ddd17e179adf7ff67bcbac6efb EBUILD botocore-1.31.69.ebuild 1599 BLAKE2B 8325845842cef976827216365bd3f88b7865bb4ce82764b121a42bb99d98952042223281fa66e6e31ec83e39c4fc585672fbab6426a7df79aa945df720d42a1b SHA512 ade15b4567ae00f08a0f5895d967ad3f37af15c24b3169e9319fd7d3c3a3316f34d989b225a928c8c72c2656e4c8f79d61e8b7ddd17e179adf7ff67bcbac6efb EBUILD botocore-1.31.70.ebuild 1599 BLAKE2B 8325845842cef976827216365bd3f88b7865bb4ce82764b121a42bb99d98952042223281fa66e6e31ec83e39c4fc585672fbab6426a7df79aa945df720d42a1b SHA512 ade15b4567ae00f08a0f5895d967ad3f37af15c24b3169e9319fd7d3c3a3316f34d989b225a928c8c72c2656e4c8f79d61e8b7ddd17e179adf7ff67bcbac6efb EBUILD botocore-1.31.71.ebuild 1599 BLAKE2B 8325845842cef976827216365bd3f88b7865bb4ce82764b121a42bb99d98952042223281fa66e6e31ec83e39c4fc585672fbab6426a7df79aa945df720d42a1b SHA512 ade15b4567ae00f08a0f5895d967ad3f37af15c24b3169e9319fd7d3c3a3316f34d989b225a928c8c72c2656e4c8f79d61e8b7ddd17e179adf7ff67bcbac6efb +EBUILD botocore-1.31.72.ebuild 1599 BLAKE2B 8325845842cef976827216365bd3f88b7865bb4ce82764b121a42bb99d98952042223281fa66e6e31ec83e39c4fc585672fbab6426a7df79aa945df720d42a1b SHA512 ade15b4567ae00f08a0f5895d967ad3f37af15c24b3169e9319fd7d3c3a3316f34d989b225a928c8c72c2656e4c8f79d61e8b7ddd17e179adf7ff67bcbac6efb EBUILD botocore-9999.ebuild 1599 BLAKE2B 8325845842cef976827216365bd3f88b7865bb4ce82764b121a42bb99d98952042223281fa66e6e31ec83e39c4fc585672fbab6426a7df79aa945df720d42a1b SHA512 ade15b4567ae00f08a0f5895d967ad3f37af15c24b3169e9319fd7d3c3a3316f34d989b225a928c8c72c2656e4c8f79d61e8b7ddd17e179adf7ff67bcbac6efb MISC metadata.xml 499 BLAKE2B e5aaa7da26f200c09adfdf38b68f656bbccbec627cb5d966b280ac2165334e7eec659c89075bcace748f58e2ec3e7d2998e54a688d56ecea2d30653c67dfd35a SHA512 103c554d5dbd967bf9b6e418b3913d9235e7e910d012160909ce0715134ed2e37b06e6a345395f9d16ce08d1cf51f3ce458bce93c6a978fd3dca6610f2acdbd0 diff --git a/dev-python/botocore/botocore-1.31.72.ebuild b/dev-python/botocore/botocore-1.31.72.ebuild new file mode 100644 index 000000000000..7cacb5c3f634 --- /dev/null +++ b/dev-python/botocore/botocore-1.31.72.ebuild @@ -0,0 +1,68 @@ +# Copyright 1999-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=setuptools +PYTHON_COMPAT=( python3_{10..12} ) + +inherit distutils-r1 multiprocessing + +DESCRIPTION="Low-level, data-driven core of boto 3" +HOMEPAGE=" + https://github.com/boto/botocore/ + https://pypi.org/project/botocore/ +" +LICENSE="Apache-2.0" +SLOT="0" + +if [[ "${PV}" == "9999" ]]; then + EGIT_REPO_URI="https://github.com/boto/botocore" + inherit git-r3 +else + SRC_URI=" + https://github.com/boto/botocore/archive/${PV}.tar.gz + -> ${P}.gh.tar.gz + " + KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~ppc64 ~riscv ~sparc ~x86 ~amd64-linux ~x86-linux" +fi + +RDEPEND=" + dev-python/six[${PYTHON_USEDEP}] + <dev-python/jmespath-2[${PYTHON_USEDEP}] + dev-python/python-dateutil[${PYTHON_USEDEP}] + >=dev-python/urllib3-1.25.4[${PYTHON_USEDEP}] +" +BDEPEND=" + test? ( + dev-python/jsonschema[${PYTHON_USEDEP}] + dev-python/pytest-xdist[${PYTHON_USEDEP}] + ) +" + +distutils_enable_tests pytest + +src_prepare() { + # unpin deps + sed -i -e "s:>=.*':':" setup.py || die + + # unbundle deps + rm -r botocore/vendored || die + find -name '*.py' -exec sed -i \ + -e 's:from botocore[.]vendored import:import:' \ + -e 's:from botocore[.]vendored[.]:from :' \ + {} + || die + + distutils-r1_src_prepare +} + +python_test() { + local EPYTEST_DESELECT=( + # rely on bundled six + tests/functional/test_six_imports.py::test_no_bare_six_imports + tests/functional/test_six_threading.py::test_six_thread_safety + ) + + local -x EPYTEST_DISABLE_PLUGIN_AUTOLOAD=1 + epytest tests/{functional,unit} -p xdist -n "$(makeopts_jobs)" +} diff --git a/dev-python/contourpy/Manifest b/dev-python/contourpy/Manifest index 818c34d24cad..2d5e5224cc2f 100644 --- a/dev-python/contourpy/Manifest +++ b/dev-python/contourpy/Manifest @@ -1,5 +1,5 @@ DIST contourpy-1.1.0.gh.tar.gz 13413711 BLAKE2B 020bf7f63dbe304e71b66249cdfa86047598a3f8352657f7c179bc068869bf7659fb7c821749a0be33a8a04ec02dc642ac7a9ed14f5fd73d4a1e9f20c3606ee2 SHA512 aeb60db039aa14aed29a31dcf6091708daf7e65589964dd7682dc28e085d584103abb872e607685408eaefd4947adeba966c9a0d93cb1f827805189e498c67d8 DIST contourpy-1.1.1.gh.tar.gz 13417093 BLAKE2B 217b99a1000575d362ca60327f39d39fd5f241f1e0f94ac3f049e2bf195388424f10bfd33c2a007da32eb939c1a04e96942ce0092c091533166c54da906b68af SHA512 7d135f18fa28ecd5d6c715650fc5672291c6f46e96cfcf8d2571c401d5bae0d27fa6a2e9f80e4f735af3016c7ced92552f26e8c5519e725e1bf6fe54c7603a03 EBUILD contourpy-1.1.0.ebuild 1024 BLAKE2B 3cd165023b3eea552cc48bcb75029a5845c5d0093ce973eb29c263e89007d139e86753bc271c5862be043438f831e8c8d479481217ffb9b04fdae80153a7e3a5 SHA512 45ca7414f8f6f9b31f97a938dee3611520cde61c6d6905ecb62e38a42d5817692089b1463e88178a7f5a19e382cfca62ff31259b280bc1da30662b62623bb3e2 -EBUILD contourpy-1.1.1.ebuild 1025 BLAKE2B 1b2c87814fa4a7a45c2af6897c7f9e8e7b5384b21f9652517aa64d1e28466cb705a4cb682c878c35df15255377a03415bf1b33a65921177a9e4a0ab31f09d00d SHA512 eeab8ceb1d35994ce3084735b107972d608c21a38e007ae63acae58484aa2df2164aa6240372e56d10f117cf0873ec4ede5613337bc084f77814ad8912e79144 +EBUILD contourpy-1.1.1.ebuild 1024 BLAKE2B eab5179433b66758a194ff2337be71938bdf963ff459e53d9452e76f2e796146b68d4d1c28590b484262429850e3f40a57482c78fec72cf519ca2a37c4570bb2 SHA512 f38830c0fa76e3d5b592671bf86d432bfcff4c564c0c5b75d187f390f80db3d18314a3cdd96fb3f057f646886a58eb3435426007bcc23c45e590fecf7de15082 MISC metadata.xml 372 BLAKE2B de3d6cc9d8727bf43be63fdbb8aa2ad375667d189019e189be262e39d028acab98a21e200798c2d5c5c72521aa7d38202e3e235dd44de9b43a7dc9e045d50c47 SHA512 e692f94d805d7f56fc895a4c76dfbacf2f068d687b9191482b946445baa3bd0a685eda7a1b0aec2aaf9a02e6f23d87f0bf22d90f42e3c21d930724c635ff859a diff --git a/dev-python/contourpy/contourpy-1.1.1.ebuild b/dev-python/contourpy/contourpy-1.1.1.ebuild index 34147fde2836..3dcabe49f47f 100644 --- a/dev-python/contourpy/contourpy-1.1.1.ebuild +++ b/dev-python/contourpy/contourpy-1.1.1.ebuild @@ -21,7 +21,7 @@ SRC_URI=" LICENSE="BSD" SLOT="0" -KEYWORDS="amd64 arm arm64 hppa ~ia64 ~loong ppc ~ppc64 ~riscv ~s390 sparc x86 ~arm64-macos ~x64-macos" +KEYWORDS="amd64 arm arm64 hppa ~ia64 ~loong ppc ppc64 ~riscv ~s390 sparc x86 ~arm64-macos ~x64-macos" RDEPEND=" >=dev-python/numpy-1.16[${PYTHON_USEDEP}] diff --git a/dev-python/dparse/Manifest b/dev-python/dparse/Manifest new file mode 100644 index 000000000000..4aae5e4fbc1c --- /dev/null +++ b/dev-python/dparse/Manifest @@ -0,0 +1,3 @@ +DIST dparse-0.6.3.tar.gz 20316 BLAKE2B 6da05ddd01b059f8c7473be99f80d0b870c61f5417b3957a7ba55077e2e4757c0a7438b64abde042ea9d4d4a8faa0024752e735c02136f8274ba3ad120324a02 SHA512 b73623fee7add7bf7d5f453c96f602a28ceca8552bba14f938ad3102da38f23e9a93469cf716beeb0a2f2a578562e3ab843c1e86b7615c315b100c0c32108a7b +EBUILD dparse-0.6.3.ebuild 419 BLAKE2B a02f217e9058514861effb82a1cee72f539bafbe95c96974616e5e1789d528f24f4f08fdb82ee0808a7bde8311eec0dad4a2a039a5ced470668d78c68889b290 SHA512 a9ffec844bff83ae5191276f0d98f5fd5e7480e5dc8d9965b0de32776ad81daee20d864fc20e6485b0d86b56ef7b233152865320d641097df9fa2ca362df2626 +MISC metadata.xml 536 BLAKE2B 21d63528a6074f7b037a457a232890b36892caff548a6a6f35bed3f168393ec794f46ad9ca50a61bff2b3a4d4f2b8ccf888c83a4acf4f062b69ce0e4cf353952 SHA512 d680439207417876fe97f06644f0cc45f7e4e522e2821f6af76703b01152aa083173fb29f4042e671f250113c684251175356e390935095a5c0c04c9038fe771 diff --git a/dev-python/dparse/dparse-0.6.3.ebuild b/dev-python/dparse/dparse-0.6.3.ebuild new file mode 100644 index 000000000000..d262d790c542 --- /dev/null +++ b/dev-python/dparse/dparse-0.6.3.ebuild @@ -0,0 +1,21 @@ +# Copyright 2022-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 pypi + +DESCRIPTION="A parser for Python dependency files" +HOMEPAGE=" + https://github.com/pyupio/dparse + https://pypi.org/project/dparse/ +" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64" + +distutils_enable_tests pytest diff --git a/dev-python/dparse/metadata.xml b/dev-python/dparse/metadata.xml new file mode 100644 index 000000000000..3a5ad18648af --- /dev/null +++ b/dev-python/dparse/metadata.xml @@ -0,0 +1,17 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <maintainer type="person" proxied="yes"> + <email>oz.tiram@gmail.com</email> + <name>Oz Tiram</name> + </maintainer> + <maintainer type="project" proxied="proxy"> + <email>proxy-maint@gentoo.org</email> + <name>Proxy Maintainers</name> + </maintainer> + <stabilize-allarches/> + <upstream> + <remote-id type="github">pyupio/dparse</remote-id> + <remote-id type="pypi">dparse</remote-id> + </upstream> +</pkgmetadata> diff --git a/dev-python/graphviz/Manifest b/dev-python/graphviz/Manifest index 757bf789b3a5..081d4e58cff3 100644 --- a/dev-python/graphviz/Manifest +++ b/dev-python/graphviz/Manifest @@ -1,3 +1,5 @@ +AUX graphviz-0.20.1_fix_python3_12_test_deprecated_escape.patch 997 BLAKE2B f78c3dfbee7325bb5d577e648f00712c4bb596a8f1e08baa6dda83089b35e6dfebb1487f828f61b8f689726167369c30cb5f37a557b6a3906f6bb8051e9ccf69 SHA512 ee24cb82038267c2dd6b49db12d5dfdca2c2d5eabbb2e357669c9535c009e5e69c13a116d424cb32f47123c5cdfce445b6e0664cf8a3fd9170df1096f214dc5d DIST graphviz-0.20.1.gh.tar.gz 188952 BLAKE2B 65d0b993e01492894b6d245c0869412b4956e5d55f9d8d490505c8f3477dc5ab98739cf0bf1aa1a15c4bacb2db4c2807659ce410ca65503c5876ffdc278e959f SHA512 34d340469856777f03b9c9e6d28f232908797bc1456a5b50104dd2f7dc8b7488afc7b29a564d57707ae96f3291f5ae90b8140ab64e378b82f271b5521763fb55 +EBUILD graphviz-0.20.1-r1.ebuild 1109 BLAKE2B dff4260df3b918da5f912d11065e5f56373d496addccd171054f8a7a00c959279eab940b96a4fe15a2e6dbcfcd13dd4b0c39d18d7380e334ba37286237e0d3d4 SHA512 0287b0614d859f3f77236f48571b26dcf613ffb82700613891173ec2d99e42d48caf4d17afa272a517168ce82a84340486ebd93d4dfebe26b138c1dad76eb1f8 EBUILD graphviz-0.20.1.ebuild 994 BLAKE2B b2f309ba44116afb4b112dfad14c8d3bb7f9ba98c18411fb0029d9e506c21bcf514bfa898e7043d6a2c73420b88e0da580a8dce16af9538b62b1f7a6dc0d8e77 SHA512 ef47cb2203eb12fabdf388ea3c780623ec1526140b22b807d49cbd55a6d5f12b9b743f5d5ae6eb5ebb914ed1f77c1423fcbbcfefeed6c01753dd7f5cd2d11267 -MISC metadata.xml 553 BLAKE2B d974f24c488a83d7c1510825d5e157644a4df70113af1283224a847d1cce2535ff4cb0633833a8671f6508fdd38c9079bc21239fdc1d1e9ac85f2ad08ea3a297 SHA512 72d2ce4887aa23136d689bf51b94f17ea3c8803464f623b0f4380381b9639a15a34858f26f129d5db2025d2ccda82dc80f22f5984ef58cffdf4dfcd7b8c51127 +MISC metadata.xml 609 BLAKE2B 782098a112f4c30ee297b068678c457454843e8ab52fe0ac8e545197f3799a4da13a19b0b3658dd2896dedc2ae3ba7cefb4281185d27fc806afe0f38b3c206b0 SHA512 d67fa7026a4b9e03f208709ce9f7b63daa41eaa5432fd0ec70abd11cbf78fd166fe2ef2990ce051f3a296b37bd3cb6588a32505282da0bb2fd2d096718982dfb diff --git a/dev-python/graphviz/files/graphviz-0.20.1_fix_python3_12_test_deprecated_escape.patch b/dev-python/graphviz/files/graphviz-0.20.1_fix_python3_12_test_deprecated_escape.patch new file mode 100644 index 000000000000..0193ef928775 --- /dev/null +++ b/dev-python/graphviz/files/graphviz-0.20.1_fix_python3_12_test_deprecated_escape.patch @@ -0,0 +1,30 @@ +From 5ce9fc5de4f2284baa27d7a8d68ab0885d032868 Mon Sep 17 00:00:00 2001 +From: Sebastian Bank <sebastian.bank@uni-leipzig.de> +Date: Tue, 24 Oct 2023 20:39:52 +0200 +Subject: [PATCH] expect SyntaxWarning in test_deprecated_escape() under Python + 3.12 + +https://docs.python.org/3.12/whatsnew/3.12.html#other-language-changes +--- + tests/test_quoting.py | 4 +++- + 1 file changed, 3 insertions(+), 1 deletion(-) + +diff --git a/tests/test_quoting.py b/tests/test_quoting.py +index e4ece573bd..3692d38a12 100644 +--- a/tests/test_quoting.py ++++ b/tests/test_quoting.py +@@ -1,3 +1,4 @@ ++import sys + import warnings + + import pytest +@@ -14,7 +15,8 @@ def test_deprecated_escape(recwarn, char): + escape = eval(rf'"\{char}"') + + assert len(recwarn) == 1 +- w = recwarn.pop(DeprecationWarning) ++ w = recwarn.pop(DeprecationWarning if sys.version_info < (3, 12) ++ else SyntaxWarning) + assert str(w.message).startswith('invalid escape sequence') + + assert escape == f'\\{char}' diff --git a/dev-python/graphviz/graphviz-0.20.1-r1.ebuild b/dev-python/graphviz/graphviz-0.20.1-r1.ebuild new file mode 100644 index 000000000000..8757908d0fc5 --- /dev/null +++ b/dev-python/graphviz/graphviz-0.20.1-r1.ebuild @@ -0,0 +1,53 @@ +# Copyright 1999-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=setuptools +PYTHON_COMPAT=( python3_{10..12} ) + +inherit distutils-r1 + +DESCRIPTION="Simple Python interface for Graphviz" +HOMEPAGE=" + https://graphviz.readthedocs.io/ + https://github.com/xflr6/graphviz/ + https://pypi.org/project/graphviz/ +" +SRC_URI=" + https://github.com/xflr6/graphviz/archive/${PV}.tar.gz + -> ${P}.gh.tar.gz +" + +LICENSE="MIT" +KEYWORDS="amd64 ~riscv x86 ~amd64-linux ~x86-linux" +SLOT="0" + +RDEPEND=" + media-gfx/graphviz +" +BDEPEND=" + test? ( + >=dev-python/mock-2.0.0[${PYTHON_USEDEP}] + >=dev-python/pytest-mock-1.8[${PYTHON_USEDEP}] + media-gfx/graphviz[gts,pdf] + ) +" + +PATCHES=" + ${FILESDIR}/${P}_fix_python3_12_test_deprecated_escape.patch +" + +distutils_enable_tests pytest + +src_prepare() { + sed -e 's:license_file:license_files:' \ + -e 's:--cov --cov-report=term --cov-report=html::' \ + -i setup.cfg || die + distutils-r1_src_prepare +} + +python_test() { + "${EPYTHON}" run-tests.py -vv -ra -l -Wdefault -p no:xdoctest || + die "Tests failed with ${EPYTHON}" +} diff --git a/dev-python/graphviz/metadata.xml b/dev-python/graphviz/metadata.xml index b806233b4cf6..a16a2d40fe06 100644 --- a/dev-python/graphviz/metadata.xml +++ b/dev-python/graphviz/metadata.xml @@ -13,5 +13,6 @@ <stabilize-allarches/> <upstream> <remote-id type="pypi">graphviz</remote-id> + <remote-id type="github">xflr6/graphviz</remote-id> </upstream> </pkgmetadata> diff --git a/dev-python/griffe/Manifest b/dev-python/griffe/Manifest index 81afbbce1fe4..733c8a5c0f38 100644 --- a/dev-python/griffe/Manifest +++ b/dev-python/griffe/Manifest @@ -1,5 +1,7 @@ DIST griffe-0.36.4.gh.tar.gz 192823 BLAKE2B 42815673835bffebf97ab3bd436997329229596d24f4cd6fcd0b57f137b113bd42461cf9b8a33472ef6887dc7efdb4d88f31b6f503abb365f101311ff89fb5f3 SHA512 76d672f91643d347d15e97eb29bd1cdb24f843d396777287d5f5c28259f4f25dc7a89d53a83189e84572fcbed5201144d2b15f1bbc0864799c7703ce90b1cc7a DIST griffe-0.36.8.gh.tar.gz 194133 BLAKE2B 6fb1f38e3f9da452ba79253ed3786ec29d96bf208bd17f3920fcfff6dd0bc0fda39c26dca28ab07736dd64481137b0f4aa7d058b94d0815fddff0bcf8cf6cfc9 SHA512 bde9bd8313f4c5ff4617cc1f6edcb754a445366e2f03cb8b1126e13ab644c700ccab4fe6ebfed163a4da046ec729d3b2fe79b89d6d17b8c5446c198535795294 +DIST griffe-0.36.9.gh.tar.gz 197054 BLAKE2B 0351e72bf119bd98c392c56f254bf632552077d340c0c27b51780934c8baff1e6d33712f65bf31fefd2a8864d110790a78de3d77e2f5cf19429c9b68a5a01b9c SHA512 1b4cdfcfe6c1946183d3445e16b6f689cecec259842c97793af7fb60be3b885da82fddcfba74bed3ba82a8f475fb0321c2ebb03fe02feca80888c244cc4493df EBUILD griffe-0.36.4.ebuild 958 BLAKE2B 10c44ac7ea571eac3359a86c6f614a0281c08af4600e92757877ffe96cdd38f1080f5677143487429b436e913399b26d02917961a9d300f9cd97446b7e8ca15f SHA512 03f908068ab85bff169f4e2dff0a3750cb78f9ad9837a706cd8acb6c6a72d4cf57ecc35de39367320c8cf4b816f0abbba043ce457919985cdfc10acb3d536756 EBUILD griffe-0.36.8.ebuild 958 BLAKE2B 10c44ac7ea571eac3359a86c6f614a0281c08af4600e92757877ffe96cdd38f1080f5677143487429b436e913399b26d02917961a9d300f9cd97446b7e8ca15f SHA512 03f908068ab85bff169f4e2dff0a3750cb78f9ad9837a706cd8acb6c6a72d4cf57ecc35de39367320c8cf4b816f0abbba043ce457919985cdfc10acb3d536756 +EBUILD griffe-0.36.9.ebuild 958 BLAKE2B 10c44ac7ea571eac3359a86c6f614a0281c08af4600e92757877ffe96cdd38f1080f5677143487429b436e913399b26d02917961a9d300f9cd97446b7e8ca15f SHA512 03f908068ab85bff169f4e2dff0a3750cb78f9ad9837a706cd8acb6c6a72d4cf57ecc35de39367320c8cf4b816f0abbba043ce457919985cdfc10acb3d536756 MISC metadata.xml 398 BLAKE2B eb35dbbdd7d3482404991416d9e06e3e87f88a96cc91d481b5a2f53eb732172116b4cfefa1a65f9ba8db44e2b10ed0fd6e4031b7d17382e9e931d1a2eedb322e SHA512 833aac5d52c2584143d67b7ad325e9538cee17d454410b3c4708ad9b47f58d3b2c0875d735b149603bb36ae124d24343b2e456a6db5e5f806da2e13f32c108cc diff --git a/dev-python/griffe/griffe-0.36.9.ebuild b/dev-python/griffe/griffe-0.36.9.ebuild new file mode 100644 index 000000000000..c8d57610c9ff --- /dev/null +++ b/dev-python/griffe/griffe-0.36.9.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=pdm-backend +PYTHON_COMPAT=( python3_{10..12} ) + +inherit distutils-r1 + +DESCRIPTION="Signature generator for Python programs" +HOMEPAGE=" + https://mkdocstrings.github.io/griffe/ + https://github.com/mkdocstrings/griffe/ + https://pypi.org/project/griffe/ +" +# Tests need files absent from the PyPI tarballs +SRC_URI=" + https://github.com/mkdocstrings/griffe/archive/${PV}.tar.gz + -> ${P}.gh.tar.gz +" + +LICENSE="ISC" +SLOT="0" +KEYWORDS="~amd64 ~riscv" + +RDEPEND=" + >=dev-python/colorama-0.4[${PYTHON_USEDEP}] +" +BDEPEND=" + test? ( + >=dev-python/jsonschema-4.17.3[${PYTHON_USEDEP}] + >=dev-python/pytest-xdist-2.4[${PYTHON_USEDEP}] + ) +" + +distutils_enable_tests pytest + +export PDM_BUILD_SCM_VERSION=${PV} + +EPYTEST_DESELECT=( + # fragile to installed packages + # (failed on PySide2 for me) + tests/test_stdlib.py::test_fuzzing_on_stdlib +) diff --git a/dev-python/leechcorepyc/Manifest b/dev-python/leechcorepyc/Manifest index 78b4f2781c0a..1b89c7183a15 100644 --- a/dev-python/leechcorepyc/Manifest +++ b/dev-python/leechcorepyc/Manifest @@ -1,7 +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 +AUX leechcorepyc-2.16.0-respect-CC.patch 1298 BLAKE2B 2d5d1683887daae0fdb711b3678ab972d1be2941f5cc61f45a242bea5a4f15257bdd7167baafd1089e01ebea98beb80cc323b9f7a31b1da3f96487fe551550ea SHA512 8d0060756b535c18c0f5ece6c99c8b6c4f84ea741eb52363317d956813e308ef94b0ee5a51500974745de4a3ed42c5116ec1c973fc04bbd1858f2f90f707bcb8 DIST leechcorepyc-2.15.0.tar.gz 176764 BLAKE2B d0e4aa14d0cc1ce1ad3c14e704949c3b872b0889449ca81c9ac8642340b301ce52baf638ce58a6c3d1262f0cfe5cc5ec8eb26f80d01d87933c33a0f87ac46338 SHA512 d1d5f775d4166b510dd110dfe3e28179464170682d3092e7887fd7464fef21c2e2d1bb6d2294eb8ab45cb2566df15f0bf3254d098afd8bcb6b36186517496bd2 -EBUILD leechcorepyc-2.14.3.ebuild 814 BLAKE2B 3e407593d07d6f52a79996e21248ccf6a487e9c9b84d351ad1392b5004f3b938a13a05dd9c9700d741d4fb728204624bac3812afcf7101e59bd85562f987ccfa SHA512 ea638c613abffd3e3d40c77ec8cffd453f6adbf4072878adc5abc48907d8e0cbb04d8e290465b67e8495890e8cc23336fa0aecf505ba17ce0790034983180df6 +DIST leechcorepyc-2.16.5.tar.gz 177365 BLAKE2B a5193e6e6c3fc2dc63358f62a2240b3a186b2acb37968597c5b5c690fbc94487c17bef55e8123bfdc55df2aa8668f667750a850fe4480b08d85bc311b1d2a95d SHA512 8d9b556d7ebc7de474dc853f9dfa005f91a19e6f7672d4021bc83c48b7d3ab0b6617bdbaf79e79b2fc930b64f448e3b8849d83c735077fd98776b026cff57a30 EBUILD leechcorepyc-2.15.0.ebuild 944 BLAKE2B 25153cade185094f9aee373bf5d0f6c19cba8fc21f28ca31db4e7c420067dc61989a03ec8b1c026c24d730220b3938db6205d64bf34ab58aa498ca1dcd50ef49 SHA512 f9e7d45a9550f076c46ee1600fd7268e73e335b5d210def5cfdcd8184eba861312f9844ef8125050bb8b9afaad7199499c5f00e634d05700b0f581a1afd77c56 +EBUILD leechcorepyc-2.16.5.ebuild 946 BLAKE2B ac48b6cde3801b21a58eeffee314e29d38246115e8e9c773b4acced35f2d9706933016ff1719dea7e28e578f9ea0e470bd1da7561af899306c2c8ce6f7e45042 SHA512 d236bf25865e2c8101eea20c6ce3af18b0cf41c78ff33bb9c3e317af8609cc0389dc6509dc3279f553807c4a6233bec8ec2c778f4672805e4b6032fb6d1f097f MISC metadata.xml 683 BLAKE2B e85f13b83acf28fc6d59876fad2576afe741065c754680650adcb7acd1068410469de969ab4ee28ef5d9e7ff448c615293cf3f4713b4211c22dbb1b13d7f5947 SHA512 cff010f9f6dafcb3379a0de5ae0c98b974e605cf4e3a0131657832da2f0609e62cf07d3da84327b8c1272eb4cad64218e6c3f0231ec2402b3801e2453a10e76c diff --git a/dev-python/leechcorepyc/files/leechcorepyc-2.14.0-cflags.patch b/dev-python/leechcorepyc/files/leechcorepyc-2.14.0-cflags.patch deleted file mode 100644 index 945f4e41e1c1..000000000000 --- a/dev-python/leechcorepyc/files/leechcorepyc-2.14.0-cflags.patch +++ /dev/null @@ -1,13 +0,0 @@ -Bug: https://bugs.gentoo.org/893824 ---- a/leechcore/Makefile -+++ b/leechcore/Makefile -@@ -6,7 +6,8 @@ - # CFLAGS += -fsanitize=address -fsanitize=leak -fno-omit-frame-pointer -fsanitize=undefined -fsanitize=bounds-strict -fsanitize=float-divide-by-zero -fsanitize=float-cast-overflow
- # CFLAGS += -fsanitize=pointer-compare -fsanitize=pointer-subtract -fanalyzer
- # DEBUG FLAGS ABOVE
--CFLAGS += -fPIE -fPIC -pie -fstack-protector -D_FORTIFY_SOURCE=2 -O1 -Wl,-z,noexecstack
-+CFLAGS := -D_FORTIFY_SOURCE=2 ${CFLAGS}
-+CFLAGS += -fPIE -fPIC -pie -Wl,-z,noexecstack
- CFLAGS += -Wall -Wno-unused-result -Wno-unused-variable -Wno-unused-value -Wno-pointer-to-int-cast -Wno-int-to-pointer-cast
- LDFLAGS += -g -ldl -shared
- DEPS = leechcore.h
diff --git a/dev-python/leechcorepyc/files/leechcorepyc-2.16.0-respect-CC.patch b/dev-python/leechcorepyc/files/leechcorepyc-2.16.0-respect-CC.patch new file mode 100644 index 000000000000..ce29c885512b --- /dev/null +++ b/dev-python/leechcorepyc/files/leechcorepyc-2.16.0-respect-CC.patch @@ -0,0 +1,30 @@ +--- a/leechcore/Makefile ++++ b/leechcore/Makefile +@@ -1,5 +1,6 @@ +-CC=gcc
+-CFLAGS += -I. -D LINUX -D _GNU_SOURCE -shared -fPIC -fvisibility=hidden -pthread `pkg-config libusb-1.0 --libs --cflags`
++CC?=gcc
++PKG_CONFIG ?= pkg-config
++CFLAGS += -I. -D LINUX -D _GNU_SOURCE -shared -fPIC -fvisibility=hidden -pthread `$(PKG_CONFIG) libusb-1.0 --libs --cflags`
+ # DEBUG FLAGS BELOW
+ # export ASAN_OPTIONS=strict_string_checks=1:detect_stack_use_after_return=1:check_initialization_order=1:strict_init_order=1:detect_invalid_pointer_pairs=2
+ # CFLAGS += -g -O0 -Wextra -Wno-unused-parameter -Wno-cast-function-type
+--- a/leechcore_device_rawtcp/Makefile ++++ b/leechcore_device_rawtcp/Makefile +@@ -1,4 +1,4 @@ +-CC=gcc ++CC?=gcc + CFLAGS += -I. -I../includes -D LINUX -shared -fPIC -fvisibility=hidden + LDFLAGS += -g -shared + DEPS = +--- a/leechcore_ft601_driver_linux/Makefile ++++ b/leechcore_ft601_driver_linux/Makefile +@@ -1,5 +1,6 @@ +-CC=gcc +-CFLAGS += -I. -D LINUX -shared -fPIC -fvisibility=hidden `pkg-config libusb-1.0 --libs --cflags` ++CC?=gcc ++PKG_CONFIG ?= pkg-config ++CFLAGS += -I. -D LINUX -shared -fPIC -fvisibility=hidden `$(PKG_CONFIG) libusb-1.0 --libs --cflags` + LDFLAGS += -g -shared + DEPS = leechcore_ft601_driver_linux.h + OBJ = fpga_libusb.o leechcore_ft601_driver_linux.o diff --git a/dev-python/leechcorepyc/leechcorepyc-2.14.3.ebuild b/dev-python/leechcorepyc/leechcorepyc-2.16.5.ebuild index 6e290f4e945d..1529455fe622 100644 --- a/dev-python/leechcorepyc/leechcorepyc-2.14.3.ebuild +++ b/dev-python/leechcorepyc/leechcorepyc-2.16.5.ebuild @@ -3,6 +3,7 @@ EAPI=8 +DISTUTILS_EXT=1 DISTUTILS_USE_PEP517=setuptools PYTHON_COMPAT=( python3_{10..12} ) @@ -13,7 +14,7 @@ HOMEPAGE="https://github.com/ufrisk/LeechCore" LICENSE="GPL-3" SLOT="0" -KEYWORDS="amd64 x86" +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 @@ -23,10 +24,16 @@ RDEPEND="${DEPEND}" BDEPEND="virtual/pkgconfig" PATCHES=( - "${FILESDIR}/${PN}-2.14.0-respect-CC.patch" - "${FILESDIR}/${PN}-2.14.0-cflags.patch" + "${FILESDIR}/${PN}-2.16.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 diff --git a/dev-python/mkdocs/Manifest b/dev-python/mkdocs/Manifest index 2b294850292d..762135f7eae3 100644 --- a/dev-python/mkdocs/Manifest +++ b/dev-python/mkdocs/Manifest @@ -1,3 +1,4 @@ DIST mkdocs-1.5.3.gh.tar.gz 4057780 BLAKE2B d1e7ac739ea3a78f2a2d294a28c721f95cb8be6c114a5131893e346254ed1937218cc0d247e75092876d7f42dc04c8060fdc8d7535326f26a8f68ec11bc7045b SHA512 3f7d0af4b071ac6998e82cefb18df27f1cc98d91c7902d2943acdaa08c56f90e36c1c5d1df1c1f61a1c50d8fecc2fb0014497f2436be89d52b17959808c31abc +EBUILD mkdocs-1.5.3-r1.ebuild 2357 BLAKE2B 606a51421299dd8b46cb01c3483c0862b22363c88733ccf69dec53576abb337dd2ee15091b4fb73f7005305a8c8ca25051b54fd8a3484366a2021f67064695a6 SHA512 3332d27f2b9fa15eab74478bfecb84740631a09ec86d5d09e249c3bd84b673f1948207023b7d989d231f63c58c956e2cfc0f552a7a6510045d2844e86c45f395 EBUILD mkdocs-1.5.3.ebuild 2410 BLAKE2B 8b38e4956c5b11fe38bf884d99e9750b125d4eab418247d9e6971467b8c779807357e2a5de535b29b9e8b266bcfaedc7c114c69d4dd8948e8cd7214a6750ba76 SHA512 8e1475318968ba65f07ee70d655a6854b6913b0210c053650f4d7a8b25d93957523b849b943e4e056b83eaaf683b472d84c6c9432956535d7cbd86476c389448 MISC metadata.xml 405 BLAKE2B de9dd789fea13afc3622c6961674d046806db1025e9d0475c0ff8bfe1c6d91a741b6112ccaafb46cb19b9dac971c50095ac89b13353c7c0e1571961a19a90387 SHA512 7a19785dbacb67aa5679d6e7c9617b52b25f724430fa3471b645e31df04157efc4060dbd4fccbfc37b5709138164d8ec89c2e94cddfd727b3ee4c705ddd38dcf diff --git a/dev-python/mkdocs/mkdocs-1.5.3-r1.ebuild b/dev-python/mkdocs/mkdocs-1.5.3-r1.ebuild new file mode 100644 index 000000000000..9f68c7326b42 --- /dev/null +++ b/dev-python/mkdocs/mkdocs-1.5.3-r1.ebuild @@ -0,0 +1,85 @@ +# Copyright 1999-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=hatchling +PYTHON_COMPAT=( python3_{10..12} ) + +inherit distutils-r1 + +DESCRIPTION="Project documentation with Markdown" +HOMEPAGE=" + https://www.mkdocs.org/ + https://github.com/mkdocs/mkdocs/ + https://pypi.org/project/mkdocs/ +" +SRC_URI=" + https://github.com/mkdocs/mkdocs/archive/${PV}.tar.gz + -> ${P}.gh.tar.gz +" + +LICENSE="BSD" +SLOT="0" +KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~ppc64 ~riscv ~x86" + +# https://bugs.gentoo.org/873349 +# Building documentation requires packaging: callouts and mkdocs-autorefs +# +# IUSE="doc" +# +# BDEPEND=" +# doc? ( +# $(python_gen_any_dep ' +# dev-python/mdx-gh-links[${PYTHON_USEDEP}] +# dev-python/mkdocs-redirects[${PYTHON_USEDEP}] +# ') +# ) +# " +RDEPEND=" + >=dev-python/Babel-2.9.0[${PYTHON_USEDEP}] + >=dev-python/click-7.0[${PYTHON_USEDEP}] + >=dev-python/jinja-2.11.1[${PYTHON_USEDEP}] + >=dev-python/markdown-3.3.3[${PYTHON_USEDEP}] + >=dev-python/markupsafe-2.0.1[${PYTHON_USEDEP}] + >=dev-python/pyyaml-5.1[${PYTHON_USEDEP}] + >=dev-python/watchdog-2.0[${PYTHON_USEDEP}] + >=dev-python/ghp-import-1.0[${PYTHON_USEDEP}] + >=dev-python/pathspec-0.11.1[${PYTHON_USEDEP}] + >=dev-python/platformdirs-2.2.0[${PYTHON_USEDEP}] + >=dev-python/pyyaml_env_tag-0.1[${PYTHON_USEDEP}] + >=dev-python/packaging-20.5[${PYTHON_USEDEP}] + >=dev-python/mergedeep-1.3.4[${PYTHON_USEDEP}] +" + +distutils_enable_tests pytest + +EPYTEST_DESELECT=( + # Tests fails if additional themes are installed + mkdocs/tests/utils/utils_tests.py::UtilsTests::test_get_themes + mkdocs/tests/utils/utils_tests.py::UtilsTests::test_get_themes_error + mkdocs/tests/utils/utils_tests.py::UtilsTests::test_get_themes_warning + + # Does not work in emerge env + mkdocs/tests/config/config_options_tests.py::ListOfPathsTest::test_paths_localized_to_config + + # TODO + mkdocs/tests/build_tests.py::testing_server + mkdocs/tests/livereload_tests.py::testing_server +) + +python_compile_all() { + default +# if use doc; then +# # cannot just do mkdocs build, because that fails if +# # the package isn't already installed +# python -m mkdocs build || die "Failed to make docs" +# # Colliding files found by ecompress: +# rm site/sitemap.xml.gz || die +# HTML_DOCS=( "site/." ) +# fi +} + +python_test() { + epytest '-opython_files=*tests.py' mkdocs/tests +} diff --git a/dev-python/numpy/Manifest b/dev-python/numpy/Manifest index a7fb44444b02..c28b32a511e0 100644 --- a/dev-python/numpy/Manifest +++ b/dev-python/numpy/Manifest @@ -3,6 +3,6 @@ DIST numpy-1.25.2.tar.gz 10805282 BLAKE2B f138eaf237f3e8052cafbe9fc98b4b62fb0748 DIST numpy-1.26.0.tar.gz 15633455 BLAKE2B 9cd8693d1303bc9ac6d95a6cd57440839adbd648efae7052cf9b73f833eb8ebb2a0ad09fcc638e51b481b4c049a02304eeef34a7566609ae2cbab3278d033a97 SHA512 0d500c623b274a219740c78ae2febb32a2f167016a9ff529678526e6b3e89a5b732c41defa23460a5da6f7f89d4a7d827f44fa9a1334c78e204b00ce164fb40c DIST numpy-1.26.1.tar.gz 15651806 BLAKE2B 2b7fe13675b6f11b8f19c2dc671c84418fa959f403ff32c15ae6da37ae8137d062bb47db0180031c90f54451d69d640ec4ebfad0a4eefb32afc55df45c6824ab SHA512 abe5919029fc66961e8f44fdd503b54c291ce75b0d95e3f8bb61ee39a25d62142fbece5734fd7e9cbf65511f9d746fa61796f0d68e6dc2816c0e7747e286e505 EBUILD numpy-1.25.2.ebuild 4983 BLAKE2B bbd49b1e59069f89376c22aee74e89a304bef19b652340dfd998a7bd1dcf24630039c9b217ca8ef16a079a7829b4e8118cb58623e82af0a277cbae4ebcb92f16 SHA512 051afd8214186fe20fe2a66b3998251ea1bd17f4603314b392c4fa6956c0e7aee127c1476ef38da6a41ae8f45406f6462638b2714c37d5d7c1a7fd0749da6743 -EBUILD numpy-1.26.0.ebuild 4286 BLAKE2B aecc8090dc2c91d20cb9727a1cac263ec37c984b8fe13895691a704cf8f47cd3ccc5449419008173d23b59ffd85065235a184162cfa668c50a7a364023b9420e SHA512 6317486be30da624980f52cfbdcb87ac2f5adf527e30bf9bcc2ad8da40eeeb1d21f003818dd217d57463f2d7be861441f5a4cce3c288c58c6a371e0099dd60c7 +EBUILD numpy-1.26.0.ebuild 4285 BLAKE2B f293bdf6b938d86974878d15d3e20209b0151cfbb920f4cb1fd3882523c18e0afaee1db345cd542040063fd69a6ab263c67519572d94d36b600f2bebca86d7bc SHA512 e0715499de1d199fddfb5b8f06565f6b3368f001cfe938e7eb43f2187dad02ffa7159d7030463d564c63c5410cd04c33e2829460251dde7b5641326bda93d17b EBUILD numpy-1.26.1.ebuild 4288 BLAKE2B 4e105da37d6ac0e318fa1b35572fe063dbe3737be4e01b6a3d15b2458e345b21472967ea1b98f100dea1f72e7ae9e47a4995705148cb3983219fa7d13dc8478f SHA512 502f5c289d0eec41de0dafe5fa37ce6e6678b2a870e706955b108dd304852d20e0ff866e200f0d40ab8edfec6aff5629e1aa60830a0b4222022725b7d0483520 MISC metadata.xml 932 BLAKE2B 7a4af31f613bab05ff542da48bf6ff1484d9df2459f559516e71329451dd739d3df0fead507c8033d94ab9ed516b68efe7f21819a8cd6ca303643d8c8bc34e86 SHA512 32cb8c1ab61521a02cbec38f6ea383f074e50d46aa3462ddcb85710f9d348e8e628cf2a5725e3cd921cc32f02885a1b5f02125639f0ec885384eeeff7f468a06 diff --git a/dev-python/numpy/numpy-1.26.0.ebuild b/dev-python/numpy/numpy-1.26.0.ebuild index 8a4a89846c75..80d020dc4496 100644 --- a/dev-python/numpy/numpy-1.26.0.ebuild +++ b/dev-python/numpy/numpy-1.26.0.ebuild @@ -24,7 +24,7 @@ SLOT="0" # 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" + KEYWORDS="amd64 ~arm arm64 ~hppa ~ia64 ~loong ~ppc ppc64 ~riscv ~s390 ~sparc ~x86" fi RDEPEND=" diff --git a/dev-python/openstacksdk/Manifest b/dev-python/openstacksdk/Manifest index b9dd8a883c68..def59d67a13e 100644 --- a/dev-python/openstacksdk/Manifest +++ b/dev-python/openstacksdk/Manifest @@ -1,5 +1,7 @@ DIST openstacksdk-1.5.0.tar.gz 1194014 BLAKE2B c1855c6000452d3909b8dfc1990941d8f6c440cec8bac95757ea66023a44696ecda2c049cb1d8252696b2e1be633e7855f9a01ccb5ff52b50766803b15e34b23 SHA512 8c65700b08ddf2b8eaad627f98f84050b1fb3495030e2a43f78378b3a040351ce41bc1b74ee1344612f1b61cede7ef45d8a15c70d9ef7a69fc696bf9edec384b DIST openstacksdk-2.0.0.tar.gz 1201657 BLAKE2B 5b1f2cf4958ace5b90b95b8c4789f70b3ab53809792ddb0337dd87d0ebb0a1bea93a3495f20e7413222cee63c1b60536c704405f683910099272ca46033e9810 SHA512 29f963aa5dce97b6bf7a90b9e82c341b6e027fd6e7937e76d98e87d05933890b0f110efbae2d03c7bc0a04feb3acf954ff0ec7d0ad28af5f0373a27e8d956683 +EBUILD openstacksdk-1.5.0-r1.ebuild 2590 BLAKE2B d5e4f3f9a81f425058a7e04320b54bacaecb50877d2b4b81712ba9f31888f651bd7589f4d297e02d12e5e0ab4b900f1b2553b3e7c902ae95f4633cf6958cdda7 SHA512 c69933efd3833e912783e741e37dc6637c926c3c08541dfa9bb5c7d745980ffb9d7d3c1cf7c384a3ff39a2f34c03e09836835be5b24c9acb1fccd251b446c74c EBUILD openstacksdk-1.5.0.ebuild 2636 BLAKE2B edc801b7ad004d2ac164850b9cae4074c24d0c9617b0ed56ef447ca76b26e27f8c5aa857d3c2dd1de57707e545fff96ce2ae46d9d21b7c6cfdf9265ef0b61032 SHA512 46754f9e5e1ac4080ec27cfda788c55e4a0dbd41fd0677d9d544f5231f6083c214dd79a77322c870025aadb49c5c49f4caf4abe511359d0d7e9b9bbbaca1722f +EBUILD openstacksdk-2.0.0-r1.ebuild 2591 BLAKE2B a0a057bdb9f399943a241fe253763988ef5337f7f5a349126c0b150551c117c0125285ba478bbc46e9a402b2a383b5f6d0c0c2db180bd0444faf1eb462b1296b SHA512 6be417ec43dc1e9985ac22e879a0bb5c5085d7da54239f2c044e0e23b71bc311297442b2c8c4d83f8c56622dc56d4b7eceba3ffa0b15e818bea42b1b4858f469 EBUILD openstacksdk-2.0.0.ebuild 2640 BLAKE2B b9d0a2bb6d45a1f13466ae1c0252a6d023f493e5d8083c6b1efc34dff59ab7479249ab6edc460612975041986d7a4614bd189b97957847e3999651ec5233fbc9 SHA512 df96039af0a5ed4ccf74114291ab2c93af8c273a9692dd05df4e47bb604316b951dc5f220763744f07e3ebecf34fe013f9ee16d6cb02929b417466c0fd163a08 MISC metadata.xml 517 BLAKE2B 661ad1e9eae06e7b36a5ff753e73bd4434042966cff3fd6fbc11bf70a1acc3eb8de29ad2a033d6d715e1152a5454d84077e99db3b588199b317f925864dc1403 SHA512 e6dbfbb3546c2a62b204b33ebb3bb33611079698212f098bd4da072200fe43e3bb350cc998b255ec4a15aa2ff3a04c89a9553dd7930db48e658dbcaff78526d6 diff --git a/dev-python/openstacksdk/openstacksdk-1.5.0-r1.ebuild b/dev-python/openstacksdk/openstacksdk-1.5.0-r1.ebuild new file mode 100644 index 000000000000..ad69b175b930 --- /dev/null +++ b/dev-python/openstacksdk/openstacksdk-1.5.0-r1.ebuild @@ -0,0 +1,83 @@ +# 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 pypi + +DESCRIPTION="A collection of libraries for building applications to work with OpenStack" +HOMEPAGE=" + https://opendev.org/openstack/openstacksdk/ + https://github.com/openstack/openstacksdk/ + https://pypi.org/project/openstacksdk/ +" + +LICENSE="Apache-2.0" +SLOT="0" +KEYWORDS="~amd64 ~arm ~arm64 ~riscv ~x86" + +RDEPEND=" + >=dev-python/pbr-2.1.0[${PYTHON_USEDEP}] + >=dev-python/pyyaml-3.13[${PYTHON_USEDEP}] + >=dev-python/appdirs-1.3.0[${PYTHON_USEDEP}] + >=dev-python/requestsexceptions-1.2.0[${PYTHON_USEDEP}] + >=dev-python/jsonpatch-1.20[${PYTHON_USEDEP}] + >=dev-python/os-service-types-1.7.0[${PYTHON_USEDEP}] + >=dev-python/keystoneauth1-3.18.0[${PYTHON_USEDEP}] + >=dev-python/decorator-4.4.1[${PYTHON_USEDEP}] + >=dev-python/jmespath-0.9.0[${PYTHON_USEDEP}] + >=dev-python/iso8601-0.1.11[${PYTHON_USEDEP}] + >=dev-python/netifaces-0.10.4[${PYTHON_USEDEP}] + >=dev-python/dogpile-cache-0.6.5[${PYTHON_USEDEP}] + >=dev-python/cryptography-2.7.0[${PYTHON_USEDEP}] +" +BDEPEND=" + >=dev-python/pbr-2.1.0[${PYTHON_USEDEP}] + test? ( + >=dev-python/ddt-1.0.1[${PYTHON_USEDEP}] + >=dev-python/fixtures-3.0.0[${PYTHON_USEDEP}] + >=dev-python/jsonschema-3.2.0[${PYTHON_USEDEP}] + >=dev-python/prometheus-client-0.4.2[${PYTHON_USEDEP}] + >=dev-python/oslo-config-6.1.0[${PYTHON_USEDEP}] + >=dev-python/oslotest-3.2.0[${PYTHON_USEDEP}] + >=dev-python/requests-mock-1.2.0[${PYTHON_USEDEP}] + >=dev-python/statsd-3.3.0[${PYTHON_USEDEP}] + >=dev-python/testscenarios-0.4[${PYTHON_USEDEP}] + >=dev-python/testtools-2.2.0[${PYTHON_USEDEP}] + ) +" + +distutils_enable_tests unittest + +src_prepare() { + # Internet? + sed -e 's:test_create_dynamic_large_object:_&:' \ + -i openstack/tests/unit/cloud/test_object.py || die + + # TODO + sed -e 's:test_generate_form:_&:' \ + -e 's:test_create_static_large_object:_&:' \ + -e 's:test_object_segment_retries:_&:' \ + -e 's:test_object_segment_retry_failure:_&:' \ + -e 's:test_slo_manifest_retry:_&:' \ + -i openstack/tests/unit/cloud/test_object.py || die + + # unhappy about paths due to test runner + sed -e 's:test_method_not_supported:_&:' \ + -i openstack/tests/unit/test_exceptions.py || die + sed -e 's:test_repr:_&:' \ + -i openstack/tests/unit/test_resource.py || die + + # requires hacking + rm openstack/tests/unit/test_hacking.py || die + + distutils-r1_src_prepare +} + +python_test() { + # functional tests require cloud instance access + eunittest -b openstack/tests/unit +} diff --git a/dev-python/openstacksdk/openstacksdk-2.0.0-r1.ebuild b/dev-python/openstacksdk/openstacksdk-2.0.0-r1.ebuild new file mode 100644 index 000000000000..bce45b199529 --- /dev/null +++ b/dev-python/openstacksdk/openstacksdk-2.0.0-r1.ebuild @@ -0,0 +1,83 @@ +# 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 pypi + +DESCRIPTION="A collection of libraries for building applications to work with OpenStack" +HOMEPAGE=" + https://opendev.org/openstack/openstacksdk/ + https://github.com/openstack/openstacksdk/ + https://pypi.org/project/openstacksdk/ +" + +LICENSE="Apache-2.0" +SLOT="0" +KEYWORDS="~amd64 ~arm ~arm64 ~riscv ~x86" + +RDEPEND=" + >=dev-python/cryptography-2.7.0[${PYTHON_USEDEP}] + >=dev-python/decorator-4.4.1[${PYTHON_USEDEP}] + >=dev-python/dogpile-cache-0.6.5[${PYTHON_USEDEP}] + >=dev-python/iso8601-0.1.11[${PYTHON_USEDEP}] + >=dev-python/jmespath-0.9.0[${PYTHON_USEDEP}] + >=dev-python/jsonpatch-1.20[${PYTHON_USEDEP}] + >=dev-python/keystoneauth1-3.18.0[${PYTHON_USEDEP}] + >=dev-python/netifaces-0.10.4[${PYTHON_USEDEP}] + >=dev-python/os-service-types-1.7.0[${PYTHON_USEDEP}] + >=dev-python/pbr-2.1.0[${PYTHON_USEDEP}] + >=dev-python/platformdirs-3[${PYTHON_USEDEP}] + >=dev-python/pyyaml-3.13[${PYTHON_USEDEP}] + >=dev-python/requestsexceptions-1.2.0[${PYTHON_USEDEP}] +" +BDEPEND=" + >=dev-python/pbr-2.1.0[${PYTHON_USEDEP}] + test? ( + >=dev-python/ddt-1.0.1[${PYTHON_USEDEP}] + >=dev-python/fixtures-3.0.0[${PYTHON_USEDEP}] + >=dev-python/jsonschema-3.2.0[${PYTHON_USEDEP}] + >=dev-python/prometheus-client-0.4.2[${PYTHON_USEDEP}] + >=dev-python/oslo-config-6.1.0[${PYTHON_USEDEP}] + >=dev-python/oslotest-3.2.0[${PYTHON_USEDEP}] + >=dev-python/requests-mock-1.2.0[${PYTHON_USEDEP}] + >=dev-python/statsd-3.3.0[${PYTHON_USEDEP}] + >=dev-python/testscenarios-0.4[${PYTHON_USEDEP}] + >=dev-python/testtools-2.2.0[${PYTHON_USEDEP}] + ) +" + +distutils_enable_tests unittest + +src_prepare() { + # Internet? + sed -e 's:test_create_dynamic_large_object:_&:' \ + -i openstack/tests/unit/cloud/test_object.py || die + + # TODO + sed -e 's:test_generate_form:_&:' \ + -e 's:test_create_static_large_object:_&:' \ + -e 's:test_object_segment_retries:_&:' \ + -e 's:test_object_segment_retry_failure:_&:' \ + -e 's:test_slo_manifest_retry:_&:' \ + -i openstack/tests/unit/cloud/test_object.py || die + + # unhappy about paths due to test runner + sed -e 's:test_method_not_supported:_&:' \ + -i openstack/tests/unit/test_exceptions.py || die + sed -e 's:test_repr:_&:' \ + -i openstack/tests/unit/test_resource.py || die + + # requires hacking + rm openstack/tests/unit/test_hacking.py || die + + distutils-r1_src_prepare +} + +python_test() { + # functional tests require cloud instance access + eunittest -b openstack/tests/unit +} diff --git a/dev-python/oslo-config/Manifest b/dev-python/oslo-config/Manifest index 0f460818a294..3bb766c0bdd5 100644 --- a/dev-python/oslo-config/Manifest +++ b/dev-python/oslo-config/Manifest @@ -1,3 +1,4 @@ DIST oslo.config-9.2.0.tar.gz 161235 BLAKE2B 186b79bab199db9369dd53952a9c6f54fafe17f950d7b66ed753f173a24726a6dbd06b794c73387f5ea6e77aa54a4d5bd0ef4752a5c564dfeea4e729fdf151e7 SHA512 69d8461f4ed5d4988fe527e4022c528244e9ecf76913a7af572e8073c0218987a69e6094edc56ff14eaf1b05fc5ffe7d81bb26ff17f87e4bd29a78d7959a3935 +EBUILD oslo-config-9.2.0-r1.ebuild 1519 BLAKE2B a40c99cf1390564c244aaf031817136454c424902b56a654423e987b53aa246f0d18bfa9bd57d1f58a14e9aed1c094c88f9f277717f68db501e1687950724245 SHA512 3f60205b756c95b902a02fcfc69ac19fb0ae090f02707fca146d37d3791109eddf7ce5fd4dc46664e9756626d60b36df6ab234f461d7d295e6576bdb4ec806eb EBUILD oslo-config-9.2.0.ebuild 1568 BLAKE2B 77e91f5955d9cee1a1be0a87c380944470262afe88beb1b02ae99795234e1b14d06e048ca8f71a883f9f85b5e697b994f4048d71f87e39619e5402aa753278e0 SHA512 e07e93f7df90b245ecdeddc5107dbd895ca317192a0dd7ff5e29d7471637ba38e6c1dfd99c6c237dce6ab00bf2620cd23678ea5b3710f71f3a9dc2248d1e03d1 MISC metadata.xml 759 BLAKE2B 88d0bbdc03286429f96554d184f664fbbdb4e067ed137f95a96a573c09b4573de90e50b2d5875d627c8b9ed03a0aec7233bdc8684b721e16085157480568c330 SHA512 a29b5a534042e949f780cfb000bd9ce9cde81ae1c5e6b429bd7854598a2d0f0c8b5358dc645135ba9016065460ff5b858e48e02cdbd12ade2b1fea9d0b407410 diff --git a/dev-python/oslo-config/oslo-config-9.2.0-r1.ebuild b/dev-python/oslo-config/oslo-config-9.2.0-r1.ebuild new file mode 100644 index 000000000000..dcca108e37a4 --- /dev/null +++ b/dev-python/oslo-config/oslo-config-9.2.0-r1.ebuild @@ -0,0 +1,58 @@ +# Copyright 1999-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=setuptools +PYPI_NO_NORMALIZE=1 +PYPI_PN=${PN/-/.} +PYTHON_COMPAT=( python3_{10..11} ) + +inherit distutils-r1 pypi + +DESCRIPTION="Oslo Configuration API" +HOMEPAGE=" + https://opendev.org/openstack/oslo.config/ + https://github.com/openstack/oslo.config/ + https://pypi.org/project/oslo.config/ +" + +LICENSE="Apache-2.0" +SLOT="0" +KEYWORDS="amd64 ~arm arm64 ~riscv x86 ~amd64-linux ~x86-linux" + +RDEPEND=" + >=dev-python/pbr-1.3[${PYTHON_USEDEP}] + >=dev-python/debtcollector-1.2.0[${PYTHON_USEDEP}] + >=dev-python/netaddr-0.7.18[${PYTHON_USEDEP}] + >=dev-python/stevedore-1.20.0[${PYTHON_USEDEP}] + >=dev-python/oslo-i18n-3.15.3[${PYTHON_USEDEP}] + >=dev-python/rfc3986-1.2.0[${PYTHON_USEDEP}] + >=dev-python/pyyaml-5.1[${PYTHON_USEDEP}] + >=dev-python/requests-2.18.0[${PYTHON_USEDEP}] +" +BDEPEND=" + >=dev-python/pbr-1.3[${PYTHON_USEDEP}] + test? ( + >=dev-python/fixtures-3.0.0[${PYTHON_USEDEP}] + >=dev-python/oslo-log-3.36.0[${PYTHON_USEDEP}] + >=dev-python/oslotest-3.2.0[${PYTHON_USEDEP}] + >=dev-python/requests-mock-1.5.0[${PYTHON_USEDEP}] + >=dev-python/testscenarios-0.4[${PYTHON_USEDEP}] + >=dev-python/testtools-2.2.0[${PYTHON_USEDEP}] + ) +" + +distutils_enable_tests unittest + +src_prepare() { + # broken by some dep upgrade + sed -i -e '/DeprecationWarningTestsNoOsloLog/,$d' \ + oslo_config/tests/test_cfg.py || die + distutils-r1_src_prepare +} + +python_test() { + local -x COLUMNS=80 + eunittest -b +} diff --git a/dev-python/pipdeptree/Manifest b/dev-python/pipdeptree/Manifest new file mode 100644 index 000000000000..698ea8d0136a --- /dev/null +++ b/dev-python/pipdeptree/Manifest @@ -0,0 +1,3 @@ +DIST pipdeptree-2.13.0.tar.gz 32980 BLAKE2B 37a7ecf2cef1fb2533655b1b911216ed5d069ce639198896517a49be010b1697df2a81aecba001dfbcd9b67618411754a97ad198f2e2c32d73d2104020d5eb01 SHA512 eccc41e1428d2f7146386a6aa0e1c5833302b9eaaa810250cb8029f8cf7f8f8173477553f143835b4dfac318331b9b7467493a3fcae15569d7d371d58b27963f +EBUILD pipdeptree-2.13.0.ebuild 453 BLAKE2B 562be67a68b16bfa3d55e22109a0ee3822b7e49ea029433f875132e92e474d87c84fa6086485d819bebb2a3eac139b34b2f03be9f24674d3096898161968c4f9 SHA512 87f35cfb01a8a1cf83402b5647f32197953e7f7e18ed164b4a0fa29c6d02c8a3d7dfb885ac11ef511f606d7467e86d0618c7b9d3026d286f5bfdc7102030a113 +MISC metadata.xml 545 BLAKE2B cf435473fd95ac0a5bafe2b52ddd78e09c16eb190e3a979924525607fc7ab152e249419e3a21d246cd1354a714116c6c0953ed55d1efceafae441ee282c2b1eb SHA512 ad2e8d4e7bac53b26ea0bb5c2f65e0c9dc8d30afc8c569d73bac820b2dda6a343b96e52abd0353e3f50269fb431e46bd3b51b3768d9c24f658fd2eca6cc1ce97 diff --git a/dev-python/pipdeptree/metadata.xml b/dev-python/pipdeptree/metadata.xml new file mode 100644 index 000000000000..f1082b8162d3 --- /dev/null +++ b/dev-python/pipdeptree/metadata.xml @@ -0,0 +1,17 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <maintainer type="person" proxied="yes"> + <email>oz.tiram@gmail.com</email> + <name>Oz Tiram</name> + </maintainer> + <maintainer type="project" proxied="proxy"> + <email>proxy-maint@gentoo.org</email> + <name>Proxy Maintainers</name> + </maintainer> + <stabilize-allarches/> + <upstream> + <remote-id type="github">tox-dev/pipdeptree</remote-id> + <remote-id type="pypi">pipdeptree</remote-id> + </upstream> +</pkgmetadata> diff --git a/dev-python/pipdeptree/pipdeptree-2.13.0.ebuild b/dev-python/pipdeptree/pipdeptree-2.13.0.ebuild new file mode 100644 index 000000000000..8797679d46f1 --- /dev/null +++ b/dev-python/pipdeptree/pipdeptree-2.13.0.ebuild @@ -0,0 +1,21 @@ +# Copyright 2022-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=hatchling +PYTHON_COMPAT=( pypy3 python3_{10..12} ) + +inherit distutils-r1 pypi + +DESCRIPTION="Utility for displaying installed packages in a dependency tree" +HOMEPAGE=" + https://github.com/tox-dev/pipdeptree + https://pypi.org/project/pipdeptree/ +" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64" + +distutils_enable_tests pytest diff --git a/dev-python/pipenv/Manifest b/dev-python/pipenv/Manifest index ed8e91205280..3870638764fc 100644 --- a/dev-python/pipenv/Manifest +++ b/dev-python/pipenv/Manifest @@ -1,13 +1,12 @@ AUX pipenv-2022.9.24-inject-site-packages.patch 1155 BLAKE2B 61f296dd1f8168b86f17a55359c75febfc02807dd97c750217b46bd017b7bf73cf6fde0fcd2afa95908bd3e1cd7b50f626459f1a19f47b1c34ecdbea39fcfb7c SHA512 3a26ce6217fbf86eda1bb8266928dffe5fc1a55e4f7b66d0ade5ea31deff9cb68427f424995e4c8d402737e90ca9358a3a00364a4167667fae9a4bd018100ebc AUX pipenv-2023.4.29-append-always-install.patch 696 BLAKE2B 61ae23b3c948358109a80b406eb83a835293b6a986a191dbb759c9ffcb7e1a22b0766d4eb1271e5d2dd849ee97747f998417c79024ef5b212e3c21ebcebc2412 SHA512 635a1cccf28b7869b06538eb668d8abc385465fa28bc708376fd7ba1dda621d12529c0843a6d545577456f46d7ec7ae5794df34b0d5b73a897b67c3fc71145a2 -AUX pipenv-2023.4.29-fix-imports.patch 946 BLAKE2B 76cc36b1a60cb600851198340f1b42bed7210f62d9aec536a8bd203e86a62a11659cccf5c328e2ebbc11c0b22f863a8c70f64932170ca2d1ac0bfee526797f0b SHA512 ff6221fe4a1876a0f4c0677243d06c9e79cd08b504b20b958ce98194f0d269bdf2bedd3558af69d03d0dd24749c73999172c83c89643d362c6e095e54f55d73d -AUX pipenv-2023.4.29-fix-toml-dump.patch 732 BLAKE2B 5e1a379ee851763344c642da4c3a9876e0cda4e4f1697becfec63564c404d1070c886df5b9df7e379447bb191e7ecae63fd743bde4a8de8a1ca655ac78a3a23f SHA512 8152e1650d0f2c75c810c0ab64bff9544cfabcd3ff9b342aeddbeeda27549f8a4ee4eacdb71e7ec18945a91443381b5cecc1c5ad8a885a1f162811cd8f09f396 -AUX pipenv-2023.4.29-fix-toml-in-vendor.patch 2612 BLAKE2B 8951dc3baefe0d58262d5d8c2f1952331322665f4961ced0dab5ac4109a33a4cd107646d5a9281a6b3685d6885f3f6b256fd675f9308b8c7844b065bcbde3522 SHA512 075fe3a8b69265ea41071407edec1edba945ef38123da970a6ba4553f5bd7491f8b13b07241f6ecd3e77dff1b6542f279943b0a760711c8cb0827837a7daa376 AUX pipenv-2023.7.11-fix-imports-utils.patch 367 BLAKE2B 65529d5b515b265fa44be5e520051f98f5507989f1e708d7bf258bbd55304016cc6369ec6ec389268f7018165ddc2052aa2c6f6c4b89fff48d4b973e366b2092 SHA512 15c91f4f663254e314a8d74ffea68b63a96a40a0732be18692629c338551114924f876db7085b965d274c5124d001e735871bf06a1abe2e5df80de7eb354158a AUX pipenv-2023.7.11-fix-imports.patch 1572 BLAKE2B e2dca1f8cb57138a9d19baf4b0b036f88172f1e58ad1d41201f6020088357fd0ace950d9b49c95a34caa391826da13468d5bca472b50717b5ee32e9474de22a6 SHA512 592d271ce3bc3e375090a39e9629f8a6eba80f9a2b15562e3902b94cc42ac24b6cb097f5c62c307a1dcee3a179d0a0c8475375b94512eaeadc05d369d60b1087 -DIST pipenv-2023.4.29.gh.tar.gz 10808706 BLAKE2B 31432b80f82b041969e75d0ec0a28ca90068395be25dac94a7f34526f0b638adfae59e9396b147fa61592ee78af2d9cfb4a1b65dedea9bbb299b2624a6d6e9a1 SHA512 870b33ced4ed909b23b9d345ec788f4b5fffde4b253755e8a41b0629e885ef49ca14e9a68b5919b70074829002603fe427e8b77f41028a7de33d269a910354ff +AUX pipenv-2023.9.8-append-always-install-to-pip-extra-args.patch 1043 BLAKE2B 09a50ba813d21a82333905e098dbd99b11a6c6f07c2ae512eed4189bfee371b0ceb2e27ffff41fb414b336c8ec49014c43903f3a2f12fb9b6323dafdf13f8634 SHA512 c900dc2589b5f4b3f36b15ddf2287d74dcafb1395c96330058a400ac3698a525715b69cd32b5780cc7ec9d71d067f159c623deaf63c9e4c11876cd651c069f87 +AUX pipenv-2023.9.8-inject-system-packages.patch 1672 BLAKE2B d803b80a5c46bac67ab7c361f369fad58b1c2a933bc2f78b2d4fa5fa172a23e7e5c026edf48cf398b3232280428eaf40369cafdf4c6c019c3dc9e397e884564d SHA512 5600a8bd7bc5cdf2152d84fc7791359a04df15f38d11f8c9517b709a2793ce05c6fc5acc1d1d8b763078465012e421826699287d2e3ae97838e155a9a1694650 DIST pipenv-2023.7.11.gh.tar.gz 10828051 BLAKE2B 3eeab9c5328dc5914e7e024f07bf105241ca777187ce50d5765f0ca1bb7270d8c6bda6a842b188fcacb57ba8bf5d0ed5f7b29b9edce5d45e485c8079691ac991 SHA512 d37cf030f4f77d4c95d0f0883140b1e829d4473b43fdc3f61c3d39827fdf9c98ecfc794d3eacf3ebedb55dadb018416c1250938a193a6382ac61ce859d19e193 -EBUILD pipenv-2023.4.29-r1.ebuild 4161 BLAKE2B a9b5486d69f30af06517b100771280a9562399257fd599c63787cdd235d9c4e2a1d8c113592d3e61fa972487e3896982b7fe6478c456649e3f48b125437bca92 SHA512 4687a9d3ad00d71db2259615ad4f37b3503b92a742094fdc663ff9b217e3bbf7e5faf05ffe9021a189f7a80b0924a6ebd2b7dcdd3daa633d6c77a2c463e8e3b7 +DIST pipenv-2023.9.8.gh.tar.gz 10819425 BLAKE2B 3fd67d5aa7022251660c09d47e6d2487eabca507dbac8ebb2c298ef46cae452e6f2330615053d80a404f98ce523e5ff15ef89adbc85779305633b45e6b989423 SHA512 328cab44cea16bb685f745f80804e2a8b951e93a24379d5b61faeae4730e58d48cff663652f785800dd1dffc7a05f398ca54eb5118cd4fcfa43c35dad86f60eb EBUILD pipenv-2023.7.11-r1.ebuild 4234 BLAKE2B 56fbb2c0683958ce132ba4cddc0933fa358cd1ec8829e23f61c52535a932ab2ca68dd12940a70fe5125bc521818928e50e74e8db00e98a64a41a558082c48122 SHA512 9e4f240a47f62adb91301c0d3a068dffb166191c8231d7801a9e45693b0f0cb7c7e12ec43fcf17b2f1681b7bf38938d8ca38ec2e38cb51b61bbfef60653095c5 EBUILD pipenv-2023.7.11.ebuild 4108 BLAKE2B 89b3556b5f91c0170ff80fcb8de66b13afee7aa8e433309f10012d0f33636cff63538e0c742f15f5e01fe51dcf3b944ba0cccfab1c7d65cd22ac342ed857d490 SHA512 37dc19e6457b1a9f0cc4c0e3b39ac1534981e5459e8347276f6ba1118908405a9e6a3f790c7b4cc1167cfc561e66931e6f2991fe8ac706361bb82a7846590ebd +EBUILD pipenv-2023.9.8.ebuild 4856 BLAKE2B 64b51e4a690bfcb24563e27e3d68b57f2250d2572e334729b323413fcd192ad12f36598bb32e97741301d430601e37a70715554e501c5185cafe22d63e2479bf SHA512 b660783249a1b6c6ea8a97f76362a8638bd7ab05109d03a24082a42f22750f4bed22b247584f224c541821719fe883daf6fa95b336e7de347236aff148429d35 MISC metadata.xml 643 BLAKE2B ff3557d9ae32b553c85455436683e2ca94bc16c6ec7c6d2ceb1113a69dc841b9ac2f0e4b96eec4c6c84ca899ad6a99b0747d7bf3f9289110a8bbdfb80f2cb2eb SHA512 7a611950572c2d700fb1680e0aa307069d80d992528144da781eca9f1fee729defa6f8b28382ddd8f66e58c5f68de9a17815989a4a39473bbf830a7be42ea282 diff --git a/dev-python/pipenv/files/pipenv-2023.4.29-fix-imports.patch b/dev-python/pipenv/files/pipenv-2023.4.29-fix-imports.patch deleted file mode 100644 index eeae85039e12..000000000000 --- a/dev-python/pipenv/files/pipenv-2023.4.29-fix-imports.patch +++ /dev/null @@ -1,31 +0,0 @@ -diff --git a/pipenv/project.py b/pipenv/project.py -index 75ee7d401..ed43cf2bc 100644 ---- a/pipenv/project.py -+++ b/pipenv/project.py -@@ -40,9 +40,11 @@ from pipenv.utils.shell import ( - system_which, - ) - from pipenv.utils.toml import cleanup_toml, convert_toml_outline_tables --from pipenv.vendor import click, plette, toml, tomlkit -+from pipenv.vendor import plette - from pipenv.vendor.requirementslib.models.utils import get_default_pyproject_backend - -+import click, toml, tomlkit -+ - try: - # this is only in Python3.8 and later - from functools import cached_property -diff --git a/pipenv/utils/environment.py b/pipenv/utils/environment.py -index 2e066eef2..9385689bf 100644 ---- a/pipenv/utils/environment.py -+++ b/pipenv/utils/environment.py -@@ -1,7 +1,8 @@ - import os -+import dotenv -+import click - - from pipenv import environments --from pipenv.vendor import click, dotenv - - - def load_dot_env(project, as_dict=False, quiet=False): diff --git a/dev-python/pipenv/files/pipenv-2023.4.29-fix-toml-dump.patch b/dev-python/pipenv/files/pipenv-2023.4.29-fix-toml-dump.patch deleted file mode 100644 index 8218d0f59e1c..000000000000 --- a/dev-python/pipenv/files/pipenv-2023.4.29-fix-toml-dump.patch +++ /dev/null @@ -1,18 +0,0 @@ -diff --git a/pipenv/project.py b/pipenv/project.py -index 55251bc5f..9fd46f089 100644 ---- a/pipenv/project.py -+++ b/pipenv/project.py -@@ -183,9 +183,9 @@ class Project: - "name": "pypi", - } - -- default_sources_toml = f"[[source]]\n{toml.dumps(self.default_source)}" -+ default_sources_toml = f"[[source]]\n{tomlkit.dumps(self.default_source)}" - for pip_conf_index in pip_conf_indexes: -- default_sources_toml += f"\n\n[[source]]\n{toml.dumps(pip_conf_index)}" -+ default_sources_toml += f"\n\n[[source]]\n{tomlkit.dumps(pip_conf_index)}" - plette.pipfiles.DEFAULT_SOURCE_TOML = default_sources_toml - - # Hack to skip this during pipenv run, or -r. - - diff --git a/dev-python/pipenv/files/pipenv-2023.4.29-fix-toml-in-vendor.patch b/dev-python/pipenv/files/pipenv-2023.4.29-fix-toml-in-vendor.patch deleted file mode 100644 index e23a42e46b59..000000000000 --- a/dev-python/pipenv/files/pipenv-2023.4.29-fix-toml-in-vendor.patch +++ /dev/null @@ -1,85 +0,0 @@ -diff --git a/pipenv/project.py b/pipenv/project.py -index ed43cf2bc..55251bc5f 100644 ---- a/pipenv/project.py -+++ b/pipenv/project.py -@@ -13,6 +13,13 @@ import urllib.parse - from json.decoder import JSONDecodeError - from pathlib import Path - -+import click, tomlkit -+ -+try: -+ import tomllib as toml -+except ImportError: -+ import tomli as toml -+ - from pipenv.cmdparse import Script - from pipenv.environment import Environment - from pipenv.environments import Setting, is_in_virtualenv, normalize_pipfile_path -@@ -43,8 +50,6 @@ from pipenv.utils.toml import cleanup_toml, convert_toml_outline_tables - from pipenv.vendor import plette - from pipenv.vendor.requirementslib.models.utils import get_default_pyproject_backend - --import click, toml, tomlkit -- - try: - # this is only in Python3.8 and later - from functools import cached_property -diff --git a/pipenv/utils/toml.py b/pipenv/utils/toml.py -index d4157d01c..27d9975ae 100644 ---- a/pipenv/utils/toml.py -+++ b/pipenv/utils/toml.py -@@ -1,4 +1,9 @@ --from pipenv.vendor import toml, tomlkit -+try: -+ import tomllib as toml -+except ImportError: -+ import tomli as toml -+ -+import tomlkit - - - def cleanup_toml(tml): -diff --git a/pipenv/vendor/dparse/parser.py b/pipenv/vendor/dparse/parser.py -index faaad2e8e..4c59474e9 100644 ---- a/pipenv/vendor/dparse/parser.py -+++ b/pipenv/vendor/dparse/parser.py -@@ -10,6 +10,11 @@ from io import StringIO - from configparser import ConfigParser, NoOptionError - from pathlib import PurePath - -+try: -+ import tomllib as toml -+except ImportError: -+ import tomli as toml -+ - from .errors import MalformedDependencyFileError - from .regex import HASH_REGEX - -@@ -17,7 +22,6 @@ from .dependencies import DependencyFile, Dependency - from pipenv.patched.pip._vendor.packaging.requirements import Requirement as PackagingRequirement,\ - InvalidRequirement - from . import filetypes --import pipenv.vendor.toml as toml - from pipenv.patched.pip._vendor.packaging.specifiers import SpecifierSet - from pipenv.patched.pip._vendor.packaging.version import Version, InvalidVersion - import json -diff --git a/pipenv/vendor/dparse/updater.py b/pipenv/vendor/dparse/updater.py -index 7b7ba9a53..fe20a213f 100644 ---- a/pipenv/vendor/dparse/updater.py -+++ b/pipenv/vendor/dparse/updater.py -@@ -3,9 +3,13 @@ from __future__ import absolute_import, print_function, unicode_literals - import re - import json - import tempfile --import pipenv.vendor.toml as toml - import os - -+try: -+ import tomllib as toml -+except ImportError: -+ import tomli as toml -+ - - class RequirementsTXTUpdater(object): - SUB_REGEX = r"^{}(?=\s*\r?\n?$)" diff --git a/dev-python/pipenv/files/pipenv-2023.9.8-append-always-install-to-pip-extra-args.patch b/dev-python/pipenv/files/pipenv-2023.9.8-append-always-install-to-pip-extra-args.patch new file mode 100644 index 000000000000..d97987fd0db3 --- /dev/null +++ b/dev-python/pipenv/files/pipenv-2023.9.8-append-always-install-to-pip-extra-args.patch @@ -0,0 +1,34 @@ +From 8ee76835b2d615156bb6d329417d6ce8d19bfa3a Mon Sep 17 00:00:00 2001 +From: Oz Tiram <oz.tiram@gmail.com> +Date: Wed, 20 Sep 2023 23:11:27 +0200 +Subject: [PATCH 2/4] Append always install to pip extra args + +--- + pipenv/routines/install.py | 11 +++++++++++ + 1 file changed, 11 insertions(+) + +diff --git a/pipenv/routines/install.py b/pipenv/routines/install.py +index 2f135b435..e30f2da52 100644 +--- a/pipenv/routines/install.py ++++ b/pipenv/routines/install.py +@@ -459,6 +459,17 @@ def batch_install_iteration( + allow_global=False, + extra_pip_args=None, + ): ++ # Gentoo patch: ++ # Install dependencies into the venv even if they exist ++ # in the system. ++ # This is needed because pipenv imports the system packages to run. ++ # It does not change your system's packages. ++ ++ if (extra_pip_args is not None) and ("-I" not in extra_pip_args): ++ extra_pip_args.append("-I") ++ ++ # End of Gentoo patch ++ + with temp_environ(): + if not allow_global: + os.environ["PIP_USER"] = "0" +-- +2.41.0 + diff --git a/dev-python/pipenv/files/pipenv-2023.9.8-inject-system-packages.patch b/dev-python/pipenv/files/pipenv-2023.9.8-inject-system-packages.patch new file mode 100644 index 000000000000..cf211f1ab846 --- /dev/null +++ b/dev-python/pipenv/files/pipenv-2023.9.8-inject-system-packages.patch @@ -0,0 +1,53 @@ +From b6b25911c050f0bec192e5ccb09ddc6dc3d5fa7d Mon Sep 17 00:00:00 2001 +From: Oz Tiram <oz.tiram@gmail.com> +Date: Wed, 20 Sep 2023 23:03:57 +0200 +Subject: [PATCH 1/4] Inject system packages + +--- + pipenv/patched/pip/__main__.py | 8 ++++++++ + pipenv/resolver.py | 6 ++++++ + 2 files changed, 14 insertions(+) + +diff --git a/pipenv/patched/pip/__main__.py b/pipenv/patched/pip/__main__.py +index 032297163..59f7ad19e 100644 +--- a/pipenv/patched/pip/__main__.py ++++ b/pipenv/patched/pip/__main__.py +@@ -21,10 +21,18 @@ if __package__ == "": + if __name__ == "__main__": + import importlib.util + import sys ++ ++ SITE_PACKAGES_ROOT = os.path.dirname(os.path.dirname(os.path.dirname(os.path.dirname(__file__)))) ++ ++ # Inject site directory into system path. ++ sys.path.insert(-1, SITE_PACKAGES_ROOT) ++ + spec = importlib.util.spec_from_file_location( + "pipenv", location=os.path.join(os.path.dirname(os.path.dirname(os.path.dirname(__file__))), "__init__.py")) + pipenv = importlib.util.module_from_spec(spec) + sys.modules["pipenv"] = pipenv ++ ++ + spec.loader.exec_module(pipenv) + from pipenv.patched.pip._internal.cli.main import main as _main + +diff --git a/pipenv/resolver.py b/pipenv/resolver.py +index 82e01ca39..29461b878 100644 +--- a/pipenv/resolver.py ++++ b/pipenv/resolver.py +@@ -10,6 +10,12 @@ except ImportError: + cached_property = property + + ++SITE_PACKAGES_ROOT = os.path.dirname(os.path.dirname(__file__)) ++ ++# Inject site directory into system path. ++sys.path.insert(-1, SITE_PACKAGES_ROOT) ++ ++ + def _ensure_modules(): + spec = importlib.util.spec_from_file_location( + "typing_extensions", +-- +2.41.0 + diff --git a/dev-python/pipenv/pipenv-2023.4.29-r1.ebuild b/dev-python/pipenv/pipenv-2023.9.8.ebuild index 123b4de71625..c51698623502 100644 --- a/dev-python/pipenv/pipenv-2023.4.29-r1.ebuild +++ b/dev-python/pipenv/pipenv-2023.9.8.ebuild @@ -4,7 +4,7 @@ EAPI=8 DISTUTILS_USE_PEP517=setuptools -PYTHON_COMPAT=( python3_{8..11} ) +PYTHON_COMPAT=( python3_{10..11} ) inherit distutils-r1 multiprocessing @@ -16,25 +16,27 @@ S="${WORKDIR}"/${PN}-${MY_PV} LICENSE="MIT" SLOT="0" -KEYWORDS="~amd64 ~riscv ~x86" +KEYWORDS="~amd64" PATCHES=( - "${FILESDIR}/pipenv-2022.9.24-inject-site-packages.patch" - "${FILESDIR}/pipenv-2023.4.29-append-always-install.patch" - "${FILESDIR}/pipenv-2023.4.29-fix-imports.patch" - "${FILESDIR}/pipenv-2023.4.29-fix-toml-in-vendor.patch" - "${FILESDIR}/pipenv-2023.4.29-fix-toml-dump.patch" + "${FILESDIR}/pipenv-2023.9.8-inject-system-packages.patch" + "${FILESDIR}/pipenv-2023.9.8-append-always-install-to-pip-extra-args.patch" ) RDEPEND=" - dev-python/attrs[${PYTHON_USEDEP}] >=dev-python/cerberus-1.3.2[${PYTHON_USEDEP}] dev-python/click[${PYTHON_USEDEP}] + dev-python/click-didyoumean[${PYTHON_USEDEP}] >=dev-python/colorama-0.4.4[${PYTHON_USEDEP}] + dev-python/dparse[${PYTHON_USEDEP}] >=dev-python/markupsafe-2.0.1[${PYTHON_USEDEP}] >=dev-python/pexpect-4.8.0[${PYTHON_USEDEP}] + dev-python/pipdeptree[${PYTHON_USEDEP}] + dev-python/plette[${PYTHON_USEDEP}] >=dev-python/ptyprocess-0.7.0[${PYTHON_USEDEP}] + <dev-python/pydantic-2.0.0[${PYTHON_USEDEP}] dev-python/pyparsing[${PYTHON_USEDEP}] + dev-python/pythonfinder[${PYTHON_USEDEP}] $(python_gen_cond_dep ' dev-python/tomli[${PYTHON_USEDEP}] ' python3_{9..10}) >=dev-python/python-dateutil-2.8.2[${PYTHON_USEDEP}] >=dev-python/python-dotenv-0.21.0[${PYTHON_USEDEP}] @@ -42,6 +44,8 @@ RDEPEND=" dev-python/virtualenv-clone[${PYTHON_USEDEP}] >=dev-python/requests-2.26.0[${PYTHON_USEDEP}] dev-python/ruamel-yaml[${PYTHON_USEDEP}] + dev-python/shellingham[${PYTHON_USEDEP}] + dev-python/tomli[${PYTHON_USEDEP}] dev-python/tomlkit[${PYTHON_USEDEP}] " @@ -62,10 +66,13 @@ distutils_enable_tests pytest # The vendored packages should eventually all be removed # see: https://bugs.gentoo.org/717666 src_prepare() { + sed --in-place -e "s/import click, plette, tomlkit/import click\n\import tomlkit\nfrom pipenv.vendor import plette/g" pipenv/project.py || die "Failed patching pipenv/project.py" + local pkgName local jobs=$(makeopts_jobs) - local packages=( attr attrs cerberus colorama dotenv markupsafe \ - pexpect ptyprocess pyparsing requests urllib3 tomlkit ) + local packages=( cerberus colorama click click_didyoumean dotenv dparse markupsafe \ + pexpect pep517 pipdeptree plette ptyprocess pydantic pyparsing pythonfinder \ + requests urllib3 shellingham tomli tomlkit ) for pkgName in ${packages[@]}; do find ./ -type f -print0 | \ xargs --max-procs="${jobs}" --null \ @@ -93,15 +100,23 @@ src_prepare() { -e "s/from pipenv\.vendor import plette, toml, tomlkit, vistir/from pipenv\.vendor import plette, toml, vistir\\nimport tomlkit/g" # remove python ruaml yaml - sed --in-place -e "s/from pipenv\.vendor\.ruamel\.yaml import YAML/from ruamel\.yaml import YAML/g" pipenv/patched/safety/util.py || die "Failed sed in ruaml-yaml" - sed --in-place -e "s/from pipenv\.vendor\.ruamel\.yaml\.error import MarkedYAMLError/from ruamel\.yaml\.error import MarkedYAMLError/g" pipenv/patched/safety/util.py || die "Failed sed in ruamel-yaml" + sed --in-place -e \ + "s/from pipenv\.vendor\.ruamel\.yaml import YAML/from ruamel\.yaml import YAML/g" \ + pipenv/patched/safety/util.py || die "Failed sed in ruaml-yaml" + sed --in-place -e \ + "s/from pipenv\.vendor\.ruamel\.yaml\.error import MarkedYAMLError/from ruamel\.yaml\.error import MarkedYAMLError/g" \ + pipenv/patched/safety/util.py || die "Failed sed in ruamel-yaml" rm -vR pipenv/vendor/ruamel || die "Failed removing ruamel-yaml from vendor" - for fname in Makefile README.md README.rst ruamel.*.LICENSE vendor.txt; do - rm -v pipenv/vendor/$fname || die "Failed removing pipenv/vendor/$fname" + for fname in Makefile README.md ruamel.*.LICENSE vendor.txt; do + rm -v pipenv/vendor/$fname || die "Failed removing pipenv/vendor/${fname}" done + sed --in-place -e "s/pipenv.vendor.pythonfinder.utils.get_python_version/pythonfinder.utils.get_python_version/g" tests/unit/test_utils.py || die "Failed patching tests" + + rm -Rfv pipenv/vendor || die "Could not vendor" + rm -Rfv examples || die "Could not remove examples" } python_test() { diff --git a/dev-python/plette/Manifest b/dev-python/plette/Manifest new file mode 100644 index 000000000000..147bcf0dbb40 --- /dev/null +++ b/dev-python/plette/Manifest @@ -0,0 +1,3 @@ +DIST plette-0.4.4.tar.gz 10684 BLAKE2B e0ff780fdd3d2bcaefadce528310389e7a796e9d3b13f458aa4313365ef8b15a3188bf50a602eac0cebd857d9dc747c7c637d958d61964ada42ab1873676263b SHA512 a7eb51546523c1b0159286cb6a2f1c248a383c33a41f19e2d62af9371bcf5d8042a953b28f2b9aea1ed568d93464b3dabd3e4fb6f4b37c3c0e73b84f26a01f6d +EBUILD plette-0.4.4.ebuild 479 BLAKE2B 738e90ac16f2b49d07cde4c04767e29baaad2672819ac1f3b9ceab123c8ac21d34e5c4ea56f743d8b69039fe881e9b7c84f734ff04c891041517489ece1330a1 SHA512 a64989ce82b395103a74e06349b4dcb3c694a70e48227dc72a2baf01850efa97438924d829a84ce940d6be0951358c67d8dadf1447c2b165b07d135e8712c561 +MISC metadata.xml 538 BLAKE2B 105eebd42009f9fd6d9d12033b3d567f2f62bbae8669209f2b3c4356b6ac99f06ddaf0db81f487d41c89f18b8076417554d22d617e5f9010fd414913ea17e97e SHA512 acd3520c007aa9fb0b454d44760572e1b9f320734fa8175937e06a3b4278861c505a8268510d5e1bc2e0bba20e2bddb850e0dc7bab824ec7164f80337d57125f diff --git a/dev-python/plette/metadata.xml b/dev-python/plette/metadata.xml new file mode 100644 index 000000000000..523f24eb048c --- /dev/null +++ b/dev-python/plette/metadata.xml @@ -0,0 +1,17 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <maintainer type="person" proxied="yes"> + <email>oz.tiram@gmail.com</email> + <name>Oz Tiram</name> + </maintainer> + <maintainer type="project" proxied="proxy"> + <email>proxy-maint@gentoo.org</email> + <name>Proxy Maintainers</name> + </maintainer> + <stabilize-allarches/> + <upstream> + <remote-id type="github">sarugaku/plette</remote-id> + <remote-id type="pypi">plette</remote-id> + </upstream> +</pkgmetadata> diff --git a/dev-python/plette/plette-0.4.4.ebuild b/dev-python/plette/plette-0.4.4.ebuild new file mode 100644 index 000000000000..2592ab986b58 --- /dev/null +++ b/dev-python/plette/plette-0.4.4.ebuild @@ -0,0 +1,25 @@ +# Copyright 2022-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 pypi + +DESCRIPTION="Structured Pipfile and Pipfile.lock models" +HOMEPAGE=" + https://github.com/sarugaku/plette + https://pypi.org/project/plette/ +" + +LICENSE="ISC" +SLOT="0" +KEYWORDS="~amd64" + +RDEPEND=" + dev-python/cerberus[${PYTHON_USEDEP}] +" + +distutils_enable_tests pytest diff --git a/dev-python/python-ptrace/Manifest b/dev-python/python-ptrace/Manifest index 5b3fe0d515ca..649c9f520a05 100644 --- a/dev-python/python-ptrace/Manifest +++ b/dev-python/python-ptrace/Manifest @@ -1,6 +1,5 @@ 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 763 BLAKE2B 001d69fc700340c3910db5fa33a14962b363034d1f0e0c064dbe128885beac4172a5bd929627c6a370dba82b5b940e12ba1aa75a06ede4d4a92b7313b1be2e49 SHA512 00518e7fff2673de14d66e4eef2d033a577ec41227d19d4e63226a950a7a1e51ed87ca9abf361934aacb6056e2ced647bae228746917feb6d7893af0df94cfbb -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/python-ptrace-0.9.8.ebuild b/dev-python/python-ptrace/python-ptrace-0.9.8.ebuild deleted file mode 100644 index 46d75cda355d..000000000000 --- a/dev-python/python-ptrace/python-ptrace-0.9.8.ebuild +++ /dev/null @@ -1,32 +0,0 @@ -# Copyright 1999-2023 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -DISTUTILS_USE_PEP517=setuptools -PYTHON_COMPAT=( python3_{9..11} ) - -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}]" - -distutils_enable_tests pytest - -src_test() { - ./runtests.py --tests tests/ || die -} diff --git a/dev-python/pythonfinder/Manifest b/dev-python/pythonfinder/Manifest new file mode 100644 index 000000000000..6fa5b636e74b --- /dev/null +++ b/dev-python/pythonfinder/Manifest @@ -0,0 +1,4 @@ +AUX 2.0.5-fix-import-cached-property.patch 400 BLAKE2B 45f4cdab70100af434a4dc1df5b170ad13dafc915ab86db3b3ec1b5f617a8e926c1173d260bff4dd6553e4a9c289bff449a581add8d2b511b425135a342d0af7 SHA512 126230b303fbc083697a5f44ccdf45273a63e4f8652a997539ca3e1b48ad8a29921dcad9c30e9349ba3a58ec8dfa06a9c8c46ebd5ca53a46420ae8cc6ab2dedf +DIST pythonfinder-2.0.5.tar.gz 718776 BLAKE2B 32a49dbff143042554d5328b61b612e3bde7a870d53a229303b6bdd2c2ce76457bf6aadcdb215efa332407003c1319215292f3278a2808b669b5b7819af08902 SHA512 4d205c66d7ae36f4f2b8ddab9cce00f4efd5548a41d251470a515b88f8be2dcede75372b9301223822031ae663c6ccf77156531b0dd5d8972424f90641255c5b +EBUILD pythonfinder-2.0.5.ebuild 579 BLAKE2B 702f71d33e0f2a6d72cf3b2ba4c1ef78891d6d6b608a161705cc0aa982a14878f01832c4812deedd6b47019769d113e7045d8cdfa5354f934ea46e6120baacd4 SHA512 8b4aca37627ab11f394815ee7eaec785f78c8edec8c2c73f520c214d3e1b0e3990f915302b6296eda899323bf23af4ac7b2fbe586680797aed65afa23ba5defd +MISC metadata.xml 550 BLAKE2B d48667a74c94f5234a1b3ddff6521574aaa8b7cc441b1e206b35c67a7ef331a946de527d4f8edd20d45bda50a7f3067508ac8a60f052f44073d773f14584c01b SHA512 e2f86c14d0dd02fc51f10f078546c800201b43a8d3904dc763f5a35773e0ded146618885ccb9754d1404bea959098b6e4ea02a37fb96d9ebe7f705e26f36df37 diff --git a/dev-python/pythonfinder/files/2.0.5-fix-import-cached-property.patch b/dev-python/pythonfinder/files/2.0.5-fix-import-cached-property.patch new file mode 100644 index 000000000000..ce1af3244fbd --- /dev/null +++ b/dev-python/pythonfinder/files/2.0.5-fix-import-cached-property.patch @@ -0,0 +1,13 @@ +diff --git a/src/pythonfinder/models/path.py b/src/pythonfinder/models/path.py +index a8fb807..a933a91 100644 +--- a/src/pythonfinder/models/path.py ++++ b/src/pythonfinder/models/path.py +@@ -19,7 +19,7 @@ from typing import ( + Union, + ) + +-from cached_property import cached_property ++from functools import cached_property + from pydantic import Field, root_validator + + from ..environment import ( diff --git a/dev-python/pythonfinder/metadata.xml b/dev-python/pythonfinder/metadata.xml new file mode 100644 index 000000000000..a9367d2f4b85 --- /dev/null +++ b/dev-python/pythonfinder/metadata.xml @@ -0,0 +1,17 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <maintainer type="person" proxied="yes"> + <email>oz.tiram@gmail.com</email> + <name>Oz Tiram</name> + </maintainer> + <maintainer type="project" proxied="proxy"> + <email>proxy-maint@gentoo.org</email> + <name>Proxy Maintainers</name> + </maintainer> + <stabilize-allarches/> + <upstream> + <remote-id type="github">sarugaku/pythonfinder</remote-id> + <remote-id type="pypi">pythonfinder</remote-id> + </upstream> +</pkgmetadata> diff --git a/dev-python/pythonfinder/pythonfinder-2.0.5.ebuild b/dev-python/pythonfinder/pythonfinder-2.0.5.ebuild new file mode 100644 index 000000000000..9c74fb3a81be --- /dev/null +++ b/dev-python/pythonfinder/pythonfinder-2.0.5.ebuild @@ -0,0 +1,29 @@ +# Copyright 2022-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 pypi + +DESCRIPTION="PythonFinder: Cross Platform Search Tool for Finding Pythons" +HOMEPAGE=" + https://github.com/sarugaku/pythonfinder + https://pypi.org/project/pythonfinder/ +" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64" + +PATCHES=( + "${FILESDIR}/2.0.5-fix-import-cached-property.patch" +) + +RDEPEND=" + <dev-python/pydantic-2[${PYTHON_USEDEP}] +" + +distutils_enable_tests pytest diff --git a/dev-python/sphinx-press-theme/Manifest b/dev-python/sphinx-press-theme/Manifest index 782d88903638..c27d6cc23bc6 100644 --- a/dev-python/sphinx-press-theme/Manifest +++ b/dev-python/sphinx-press-theme/Manifest @@ -1,3 +1,3 @@ DIST sphinx_press_theme-0.8.0.tar.gz 68878 BLAKE2B d03b361b4447a78575f7c0887bd01fd2e685030babb3062da67c571715e0f82eafb889e872dab9817a2813344172b3f3b94193aa10905bbbe2f45b64a9682cda SHA512 b4393a9200b42f414401ff5419fc51db8dd248c677a8ba234f2ae8cf5190cef2083c3ae25b7f5435223917a7c3e471dace6987e323fc885456af2467cedc8a78 -EBUILD sphinx-press-theme-0.8.0.ebuild 458 BLAKE2B ad61fdbd312fe7114876ccbf35100413ba0cb8a3249c26bcfee9d3f8f902fff0f1ea8ef6a7a795bd7a5099b326546aef548c30c6dd79bdc6193e90d7e1cb1871 SHA512 6782436a0e3ca6f32ef04cbdfa8771a99464e863854639bec81ad7d318fb4fd243ac593d81c609edfc2ec776b1df0f5fc22b838785b868fd052969f667b07416 +EBUILD sphinx-press-theme-0.8.0.ebuild 489 BLAKE2B a8872dc2a8e98548ed25555b95e7f9952f007f8078d50caed60f452a97f5ee35de2efdd3e647da0a00976f6a2cac6a9f6897c9e286d07bae2a900d91cc5bc229 SHA512 048aeaf5d1456e325b98dc52895c5d988b6b1d83939555d734055bdad9fe7c94f3453b29075f134a8f302b8cc000020c12d4649cdc50105ac436bc933bea4949 MISC metadata.xml 576 BLAKE2B a2810f29bb4a08de1f9a60484ef93865cae628002754681c96c4f3321a442d34fe15965b9dc4027ee4f423cb7d1b45e17d94b5919004b7f1be9534a7e9e4b049 SHA512 85a32a9682b26a1d159c423bd4086b555b7d430d41e681efe19a1604145e5aa90c397dfcb614f1f972ca6e5add9a1db1ca6cf016c49599bb1a9b88e1ff57df35 diff --git a/dev-python/sphinx-press-theme/sphinx-press-theme-0.8.0.ebuild b/dev-python/sphinx-press-theme/sphinx-press-theme-0.8.0.ebuild index e9672290f15e..5183c4bb3f18 100644 --- a/dev-python/sphinx-press-theme/sphinx-press-theme-0.8.0.ebuild +++ b/dev-python/sphinx-press-theme/sphinx-press-theme-0.8.0.ebuild @@ -15,6 +15,6 @@ HOMEPAGE="https://github.com/schettino72/sphinx_press_theme" LICENSE="BSD" SLOT="0" -KEYWORDS="~amd64" +KEYWORDS="~amd64 ~arm ~arm64 ~ppc64 ~riscv ~x86" RDEPEND="dev-python/sphinx[${PYTHON_USEDEP}]" diff --git a/dev-python/sphinxcontrib-bibtex/Manifest b/dev-python/sphinxcontrib-bibtex/Manifest index 729e6a3c2c77..af122fd17f60 100644 --- a/dev-python/sphinxcontrib-bibtex/Manifest +++ b/dev-python/sphinxcontrib-bibtex/Manifest @@ -3,5 +3,6 @@ DIST sphinxcontrib-bibtex-2.6.0.tar.gz 116668 BLAKE2B e7ad397bccf362717f95df7a56 DIST sphinxcontrib-bibtex-2.6.1.tar.gz 117150 BLAKE2B 832fe8d16fd9311b5972127328edc506a0d4f2918c4ac1a4e56ce0530fa0c792db45f82c1801f48ff3299a52693a3041e9c2d6cbc4a17e864617ca58cfb6cd42 SHA512 9cf965bdfbcbc03b3104c9e7c5a730ac3e38c410554b7007485bd9aa0464663e26898537fa074c97951588a3e848a8a64e09d6c82bfc117ce4153da24de84fb5 EBUILD sphinxcontrib-bibtex-2.5.0.ebuild 1096 BLAKE2B 1596b59e32bc0d6b5dc279e9d01b74425f7d5d4a4a207e62591fbf76be11390aa15ccae929877d3be49c2adb43fe7f43046246890c34475b8cb05d9b31cb39a1 SHA512 0c6341e52ce27b7f53fea5f6d147ef2c4a0be7a0f4a588fbc9d3d059b5b19a17ccdd7e660346def4bef29ef3dc22753eea306e50aafa216399e55a34e4363f9a EBUILD sphinxcontrib-bibtex-2.6.0.ebuild 1149 BLAKE2B 88533bcf0a557ebd950613eba6c6049dea6c39924d4663233cfdcc54e073da87e168e63bcadcc1e8349b12ca633fa1cfd2ee0d5e768241a25d5a55b81470c6e3 SHA512 3f16b46f211054ec4f12794c2e84ec8c504de2f776ceb576cd0006975abb0024657d72014e8eeb4e355f6982014e3447fd62483628fcc745f0a8ee6eaac8534b +EBUILD sphinxcontrib-bibtex-2.6.1-r1.ebuild 1094 BLAKE2B 0c6a6d8e4948a3fca495ce328098e6a9a2705670096fa1236ca93e5269dd29172841f238d3e1d6bd7ccfe7e3fe4fdebf435e0dc668460d59d3f2dbabc418b799 SHA512 67d35d338498ddcd8f2171fc656fe1e812af20a5ef6cac041e258a9b1056ce0e577c4bab62432da76a0e32568a2d1b9c71a18595126ba5e4010e4ba76d2f7f39 EBUILD sphinxcontrib-bibtex-2.6.1.ebuild 1149 BLAKE2B 88533bcf0a557ebd950613eba6c6049dea6c39924d4663233cfdcc54e073da87e168e63bcadcc1e8349b12ca633fa1cfd2ee0d5e768241a25d5a55b81470c6e3 SHA512 3f16b46f211054ec4f12794c2e84ec8c504de2f776ceb576cd0006975abb0024657d72014e8eeb4e355f6982014e3447fd62483628fcc745f0a8ee6eaac8534b MISC metadata.xml 420 BLAKE2B d223bc2db261a665cfb0c89989462fa6fab9c2681d21d2631f1c1c4a602f4da47de5cae9fe1aca2c0ec8ab016e39a16043325cf1d69f7e965088753277fedef4 SHA512 73bd1bd6af050a30d01f6378b8c231fcc255d99839e4179e5ca9ef095c4f779062c2fbf03455d2fdd023e3c5104bf89d2281cdfbf33ef63ab49bd288174590eb diff --git a/dev-python/sphinxcontrib-bibtex/sphinxcontrib-bibtex-2.6.1-r1.ebuild b/dev-python/sphinxcontrib-bibtex/sphinxcontrib-bibtex-2.6.1-r1.ebuild new file mode 100644 index 000000000000..3e70af03cf4d --- /dev/null +++ b/dev-python/sphinxcontrib-bibtex/sphinxcontrib-bibtex-2.6.1-r1.ebuild @@ -0,0 +1,51 @@ +# Copyright 1999-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=setuptools +PYPI_NO_NORMALIZE=1 +PYTHON_COMPAT=( python3_{10..11} ) + +inherit distutils-r1 pypi + +DESCRIPTION="Sphinx extensions for BibTeX style citations" +HOMEPAGE=" + https://github.com/mcmtroffaes/sphinxcontrib-bibtex/ + https://pypi.org/project/sphinxcontrib-bibtex/ +" + +LICENSE="BSD" +SLOT="0" +KEYWORDS="~amd64 ~x86" + +RDEPEND=" + >=dev-python/docutils-0.8[${PYTHON_USEDEP}] + >=dev-python/pybtex-0.24[${PYTHON_USEDEP}] + >=dev-python/pybtex-docutils-1.0.0[${PYTHON_USEDEP}] + >=dev-python/sphinx-3.5[${PYTHON_USEDEP}] +" +BDEPEND=" + test? ( + dev-python/numpydoc[${PYTHON_USEDEP}] + ) +" + +EPYTEST_DESELECT=( + # rinoh not packaged + test/test_citation_rinoh.py::test_citation_rinoh + test/test_citation_rinoh.py::test_citation_rinoh_multidoc +) + +distutils_enable_tests pytest +distutils_enable_sphinx doc + +python_compile() { + distutils-r1_python_compile + find "${BUILD_DIR}" -name '*.pth' -delete || die +} + +python_test() { + distutils_write_namespace sphinxcontrib + epytest +} diff --git a/dev-python/yara-python/Manifest b/dev-python/yara-python/Manifest index a4a852da635f..d5cf62366816 100644 --- a/dev-python/yara-python/Manifest +++ b/dev-python/yara-python/Manifest @@ -1,7 +1,5 @@ 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-4.4.0.ebuild 960 BLAKE2B 177c5bfaf1adc9978909ce0d0de8b4017b402e33761313fdee467d1dad829ca7cd6b2b25d988bfa5a3bdd60904b1ea38875d163227d774af8c48365039ac3265 SHA512 7816a1e86946c633d71019668931609f0b1089851d8f6fcfbb5bebe8b60793096995a938b705ddb9e06b0ca7809e386c8a3540ce0d599c5f637796f64214b6c6 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/yara-python-4.3.1.ebuild b/dev-python/yara-python/yara-python-4.3.1.ebuild deleted file mode 100644 index 2cc3dec49aaa..000000000000 --- a/dev-python/yara-python/yara-python-4.3.1.ebuild +++ /dev/null @@ -1,40 +0,0 @@ -# Copyright 1999-2023 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -DISTUTILS_USE_PEP517=setuptools -PYTHON_COMPAT=( python3_{9..11} ) -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}" - -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}" -} |