diff options
author | V3n3RiX <venerix@koprulu.sector> | 2022-08-12 14:22:05 +0100 |
---|---|---|
committer | V3n3RiX <venerix@koprulu.sector> | 2022-08-12 14:22:05 +0100 |
commit | 7c68db06bb531670c1261374c0133d652b476bd7 (patch) | |
tree | 5bbbde86ec021664b3c6dfaf90e1175f8378949c /dev-python | |
parent | 0987983e8588d2819bb2ceb029792d511cee0bda (diff) |
gentoo auto-resync : 12:08:2022 - 14:22:05
Diffstat (limited to 'dev-python')
66 files changed, 1519 insertions, 1075 deletions
diff --git a/dev-python/Manifest.gz b/dev-python/Manifest.gz Binary files differindex 7aa81aeb2de9..59c25552bd6e 100644 --- a/dev-python/Manifest.gz +++ b/dev-python/Manifest.gz diff --git a/dev-python/PyPDF2/Manifest b/dev-python/PyPDF2/Manifest index bf6d5b503e28..d0c93421a000 100644 --- a/dev-python/PyPDF2/Manifest +++ b/dev-python/PyPDF2/Manifest @@ -12,7 +12,7 @@ DIST PyPDF2-sample-files-4d24ff93dcddf21d55d028d9675d5b5bf9d7a350.gh.tar.gz 5443 DIST PyPDF2-sample-files-b6f4ff3de00745783d79f25cb8803901d1f20d28.gh.tar.gz 5522867 BLAKE2B 9a6cb3b92032f9ec697b972b1a257b2c2528d36cd4a7e40092ac6dbf0a4955c5b204b8c82d37f9bad4a19fccddf0070b095ee2f3b56de22d738ed3d8a3b555c0 SHA512 74aad38060f441ace87f6650de152a28f4a251e4f47574a8d46066857c8fbbb187cd3cd275caa198dce2c1557e90664b288f071995c2bbb9bf13a341210313e8 EBUILD PyPDF2-2.10.0.ebuild 4733 BLAKE2B 5f901f05563a6ee94ba1aa7db40471ac8c82ccf2fbba6b28713b367316b82f6785322a6cc755b0089fb0bcffef3a113834ec81fc6a23895e80db2a56c08a63cf SHA512 3e7c659719398558d4ab9adae8c04d2af605abfbe78c7aa13065026914cc0d6d9aabbbee35f0ff2b7b8a66cd7146626b0fb3126544cd8a51157134925ca845ee EBUILD PyPDF2-2.4.1.ebuild 3417 BLAKE2B 2fc2228d08d8593a7c2e49cbe61cc8d036d894fc7ced3d4308d8c93ada40bf4045e955cb4a44ab0f0daa4836d87a620ca421117b4861b3cc6d0aefbdc36be739 SHA512 edf9219b5534384ccb3519836c8710f21b6f793f856f1e92bc218fe9ed81f9dda197900171f2b7f732150546ec513f55978d52cba72e68bdd8886b152e39c142 -EBUILD PyPDF2-2.4.2.ebuild 3853 BLAKE2B d0256e222d521dcbc14f3be75ba35f1e5680452614782fe8f97b00318e2ac452f390f714d58b3169c1b75ccaf4a0f45b03c2c4ec19fb3dd1b9b376ba94399bc1 SHA512 7bcccd87a31413d2bd975e0f5e72b2715b626f85343fb0d49bedab87dbad463527c7ce777f1d244534414ae0119783d5ccb0d3efd7503d311a9c8386d29a1abc +EBUILD PyPDF2-2.4.2.ebuild 3852 BLAKE2B b4f0db756e82fccf51da50f995f197c9815da7f5f77257184094bc1e4fe677c9fceb5154a3de46d68c67226177f2c9ec68407d7bd00a6012ee98c3e732539125 SHA512 5635fa8e413ef5d3d266238ed20cda85326a4c5524f8470023c4dc20f1f2b568eee5f20037d0e4826b787bc01a0dad0dc3170ba258da4137adb784e0f85da257 EBUILD PyPDF2-2.5.0.ebuild 4007 BLAKE2B 187f411a58db8c66fadbb7327bdbca018d62ba2bbe60b70fd10e807971483dcbf8b11863410a207d2ef1ac43acbd724e52c11f6881226c068228bf016490f285 SHA512 63050898595a7d5d7941d1691405465de26b42f31d0f7a598fa07c9f8ad7815d39907c0e9b1fe9a335800939bbab20217467b5c1a1b4bd5210205157eb82058c EBUILD PyPDF2-2.6.0.ebuild 4097 BLAKE2B cd9084d5646da17314d423f8ee9618b3125d88b0792bb3d23839c9b10ac379cd5ecf0b2adf34025bdccaf518e6b27b41447d3b19b939942b7030b83766869211 SHA512 1e48980180098c25bdd7461fe6c9ac655195abf46681e9a4b027335e9761dda7cc27523b4d51a75b419ec5ef7bf8c4dd1fc1a4494b16110abbf4f31c9988800f EBUILD PyPDF2-2.7.0.ebuild 4097 BLAKE2B cd9084d5646da17314d423f8ee9618b3125d88b0792bb3d23839c9b10ac379cd5ecf0b2adf34025bdccaf518e6b27b41447d3b19b939942b7030b83766869211 SHA512 1e48980180098c25bdd7461fe6c9ac655195abf46681e9a4b027335e9761dda7cc27523b4d51a75b419ec5ef7bf8c4dd1fc1a4494b16110abbf4f31c9988800f diff --git a/dev-python/PyPDF2/PyPDF2-2.4.2.ebuild b/dev-python/PyPDF2/PyPDF2-2.4.2.ebuild index 248b88c51313..e069edd1b7c1 100644 --- a/dev-python/PyPDF2/PyPDF2-2.4.2.ebuild +++ b/dev-python/PyPDF2/PyPDF2-2.4.2.ebuild @@ -25,7 +25,7 @@ SRC_URI=" LICENSE="BSD-2" SLOT="0" -KEYWORDS="amd64 ~arm64 ~ppc64 ~x86" +KEYWORDS="amd64 ~arm64 ~ppc64 x86" RDEPEND=" $(python_gen_cond_dep ' diff --git a/dev-python/autobahn/Manifest b/dev-python/autobahn/Manifest index f3cb57dd418f..6325cdfefba4 100644 --- a/dev-python/autobahn/Manifest +++ b/dev-python/autobahn/Manifest @@ -2,6 +2,6 @@ DIST autobahn-22.5.1.tar.gz 435571 BLAKE2B 5e596102b639228d95cea027a0e7187adc4f0 DIST autobahn-22.6.1.tar.gz 467355 BLAKE2B 54015ee50fa45f23fa589927da232b3ea523efae291b56b44704b66d171075d9459f1c3cf6b96b34fec119deddd2731ebd0695d49345a724bc84b57d7494f332 SHA512 b99f9e4508650fe9484e680b0cd9a0023935445b26ea42fce7565152a5692fc0d1c80f9854b4b3b3004ea17f60d13663477a8710e977211509a14dfad973c635 DIST autobahn-22.7.1.tar.gz 476789 BLAKE2B 4860a6ec1a2631986dd5d8e94069134e75650eedb67dce18dd4c1e8ad45bd76ca183b4dcbca6ef4474c25f6feb4a1407c9fed4c74f0751e9c0c7fbca2b013406 SHA512 ea2c4d61d3f0f8ef35a31b599bc432781536dccaa316cda474a61003b10df0ef6346615d16228848cc5acb24a4e5f4c50be1fe759daf35b629f636da55688137 EBUILD autobahn-22.5.1-r1.ebuild 3681 BLAKE2B b243c031a8db9bbb87b668ea39f2b3f674d05c054590889d5b7b2f7309b124762e59d278e2eb3e40517344995bd7f8892dcf6fc3bafc5a5cfb80e621ecb32e15 SHA512 c779c1d38e54f125739b178ce06278b98735ecee1dfecdbd98c21f0cb2c1eddb58e6f05a62aca166f1d43c26df5f52ed3bba55c4a027813dfe1aaba3fcbe7ba8 -EBUILD autobahn-22.6.1.ebuild 3682 BLAKE2B e54ba9f86db57cdd5c0d3f71b361de3b37b462f5980bdd9b37cda621c5d85ef28edacd6d8b9c159e76c55a48471ba401fa1122f145f1ba17f9d68a7d7a2d470a SHA512 8df288f925e79e22cad9c5bd1e218f99f62a8a1626ce28843818586855eb90f20210287f31589c17e6a27b26a89859ad43995324289b942b55db4afef1ab7949 +EBUILD autobahn-22.6.1.ebuild 3681 BLAKE2B b243c031a8db9bbb87b668ea39f2b3f674d05c054590889d5b7b2f7309b124762e59d278e2eb3e40517344995bd7f8892dcf6fc3bafc5a5cfb80e621ecb32e15 SHA512 c779c1d38e54f125739b178ce06278b98735ecee1dfecdbd98c21f0cb2c1eddb58e6f05a62aca166f1d43c26df5f52ed3bba55c4a027813dfe1aaba3fcbe7ba8 EBUILD autobahn-22.7.1.ebuild 3696 BLAKE2B 41c24bc853524f25c4ca94118708cbfc56f733dc0e06113343f2126305f63d6fc00470500db12a965e476a5e97684e077425a29301bc73fc3c2694b4775c2f38 SHA512 e9a61719bed1b14d39626acec28d255a7908a3ac73d99439960916d20d70a48ce7023f429d3b3cc0d38a7076fcff2cc3a62a9dd91f1af755e22f6ae45af5c221 MISC metadata.xml 596 BLAKE2B 07cc4fbcb4c6fde6b1bb49a0a30fa8d2ef7ff4424397e29053a6ac89d87acd9fa7b1897c5381910d53f590192945a89a5b987fcdb9595e42f67f23333010a0ba SHA512 4d4cecf09593ec201711b13de1820e59f007f745b41611471ec737da4d679323787ac06a3a987cede9bf2c8dff71c9dbcb197e6a9c9109cf4d3a34d9247f9962 diff --git a/dev-python/autobahn/autobahn-22.6.1.ebuild b/dev-python/autobahn/autobahn-22.6.1.ebuild index 859f27cf7a62..80a959033ccd 100644 --- a/dev-python/autobahn/autobahn-22.6.1.ebuild +++ b/dev-python/autobahn/autobahn-22.6.1.ebuild @@ -21,7 +21,7 @@ S="${WORKDIR}/${MY_P}" SLOT="0" LICENSE="MIT" -KEYWORDS="amd64 arm arm64 ~riscv ~x86" +KEYWORDS="amd64 arm arm64 ~riscv x86" IUSE="test xbr" RESTRICT="!test? ( test )" diff --git a/dev-python/cfn-lint/Manifest b/dev-python/cfn-lint/Manifest index c28ad5a5ae61..ce9976fdd51a 100644 --- a/dev-python/cfn-lint/Manifest +++ b/dev-python/cfn-lint/Manifest @@ -1,5 +1,7 @@ DIST cfn-lint-0.61.3.gh.tar.gz 9528542 BLAKE2B 27f5c82c09a7c1dde520189647480032faf808089083ca45a9a2a24e4c158cb8e62ee6ae2f906d6c68021cc34b654ff46c9402876e09dd3330115dead5db44a8 SHA512 db5369a12d88754f6241b4ef529b53d142a80bfcb0c58ac7ec03217e7e4cb7e53f3fde1dde45dfdac82ab3fde4b885bb40dae3076b85edf34ca68cc73dc5aeb1 DIST cfn-lint-0.61.4.gh.tar.gz 9556069 BLAKE2B 71572546d7e523c11214e32130a7d52461580e487b514846137e6592cb7a1786414556e4bea191aa2e4dddaf338c24e8ea9001e617221ea74b03bd0ea900a5a9 SHA512 fd85af770b5b519c9de4df0acbbaa66a8a7f61efd210a793c2e28ad9e6d6ed2d8b3042ca41d7743b2bc4dc0446b42ea2929cba454fdbf097a482a7c268e04000 +DIST cfn-lint-0.61.5.gh.tar.gz 9580886 BLAKE2B 0e83a604bc8761cd6007039cc28d90e471ef3cd3c542e7ce977d290638bcbff2b196c5d3c5f23b8d6db064b867ab594360dedb86494aba955c065c7cbad8b519 SHA512 14a1c282f1d87ce5ddd231f92e01a4edd85a62802f2335ba95470acaa0d8deb0306433124f3d1bea6c965ebfe5b30145431087a71cb1e8b953bf94b5d691bcbf EBUILD cfn-lint-0.61.3.ebuild 1638 BLAKE2B aac7fa1a1a77be545e0198503a3557beff145ac1eff3615039ba66a994189f6de72f6062d2a6829199cb071bd03a3b23234992a293546178dc59af5bfc77ef74 SHA512 9eef4abcf551f313e508f2c3f1ffdae56142b2aa933942c0e9733d7e80a9d8324edd870d03a225683586a06fbd3a78dda5f95e81aac648e7864dcfc785797225 EBUILD cfn-lint-0.61.4.ebuild 1640 BLAKE2B ab0b276a17eb6e1736a03f89d00a70a55840063177efdb4ca391f399acb5dea04480b4a31bf9bba12c607f35381d95b44dd6e346141d9e7e084eb4d48fe829e7 SHA512 ebc9ee814224010bf27a5e9675de5e1eed72073441da99ef9b8a3f8c17041eb6855d0951d97aa9e7f6f3d5aab758d594cdb3c93d9d990b4dac990e0fb9434a9a +EBUILD cfn-lint-0.61.5.ebuild 1640 BLAKE2B ab0b276a17eb6e1736a03f89d00a70a55840063177efdb4ca391f399acb5dea04480b4a31bf9bba12c607f35381d95b44dd6e346141d9e7e084eb4d48fe829e7 SHA512 ebc9ee814224010bf27a5e9675de5e1eed72073441da99ef9b8a3f8c17041eb6855d0951d97aa9e7f6f3d5aab758d594cdb3c93d9d990b4dac990e0fb9434a9a MISC metadata.xml 583 BLAKE2B 9f73e2b92e5cfa2ad59f5c8e5d91bdd3aa9eba3fa722b93b388cffea42020db7e7441bab5749432812934a4514d3e9104e6d897e1d115afa5ed237757bd48c03 SHA512 1866a349855ae4e248498b7aabd6ce4c4e10ea58731df4bfa13500f61dc041da6dbd7420e7d6a78fad46d5cf00bd7ef2d0c4c7d6819a21b3a5031b0d49588a19 diff --git a/dev-python/cfn-lint/cfn-lint-0.61.5.ebuild b/dev-python/cfn-lint/cfn-lint-0.61.5.ebuild new file mode 100644 index 000000000000..57fd1d8c6029 --- /dev/null +++ b/dev-python/cfn-lint/cfn-lint-0.61.5.ebuild @@ -0,0 +1,54 @@ +# Copyright 1999-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=setuptools +PYTHON_COMPAT=( python3_{8..10} ) + +inherit distutils-r1 + +DESCRIPTION="CloudFormation Linter" +HOMEPAGE=" + https://github.com/aws-cloudformation/cfn-lint/ + https://pypi.org/project/cfn-lint/ +" +SRC_URI=" + https://github.com/aws-cloudformation/cfn-lint/archive/v${PV}.tar.gz + -> ${P}.gh.tar.gz +" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64 ~arm ~arm64 ~ppc64 ~riscv ~x86" + +RDEPEND=" + >=dev-python/aws-sam-translator-1.47.0[${PYTHON_USEDEP}] + dev-python/jsonpatch[${PYTHON_USEDEP}] + >=dev-python/jschema_to_python-1.2.3[${PYTHON_USEDEP}] + >=dev-python/jsonschema-3.0[${PYTHON_USEDEP}] + dev-python/junit-xml[${PYTHON_USEDEP}] + dev-python/networkx[${PYTHON_USEDEP}] + >dev-python/pyyaml-5.4[${PYTHON_USEDEP}] + >=dev-python/requests-2.15.0[${PYTHON_USEDEP}] + >=dev-python/sarif_om-1.0.4[${PYTHON_USEDEP}] +" + +distutils_enable_tests pytest + +EPYTEST_DESELECT=( + # TODO + test/unit/module/test_template.py::TestTemplate::test_build_graph + # requires git repo + test/unit/module/maintenance/test_update_documentation.py::TestUpdateDocumentation::test_update_docs + # Internet + test/unit/module/formatters/test_formatters.py::TestFormatters::test_sarif_formatter + test/unit/module/maintenance/test_update_resource_specs.py::TestUpdateResourceSpecs::test_update_resource_specs_python_2 + test/unit/module/maintenance/test_update_resource_specs.py::TestUpdateResourceSpecs::test_update_resource_specs_python_3 +) + +src_prepare() { + # unpin the deps + sed -e 's:~=[0-9.]*::' -i setup.py || die + distutils-r1_src_prepare +} diff --git a/dev-python/cliff/Manifest b/dev-python/cliff/Manifest index ce418fa61f78..ccc0ef1ac820 100644 --- a/dev-python/cliff/Manifest +++ b/dev-python/cliff/Manifest @@ -1,3 +1,5 @@ DIST cliff-3.10.1.tar.gz 82764 BLAKE2B 88e8481d23f6ad35acac9fd17b1e4930f31ebc13211ad5bf1db441dbe4ad99faec023b6a46640d0fa3dbac4d76f4fd9d9fd3cd1e6c319cab390d502c9adff53c SHA512 2a1eb1f5311eb92ac481b35e0f703bb37171c9c7eee68a3d8322786a802d562d990ea8e3e52e924215b2ff8c3f14614f99ea403d94bfa2ea3794ab3556baa0c9 +DIST cliff-4.0.0.tar.gz 82758 BLAKE2B 47bc6d15426208c35582e852b7c52620b4fde292f2cc8bba1ba18ca01ef0cb3eda442ec406d2da7abb525fd659e055d08fa64c390a2274a8eea714489435957d SHA512 2886c2697c81c640cd3909c7e00fa50b0e39ed3824c8594d45af30e876cbfa73161be35c668c9bf964a5716bbb2b6e0cfef69526346e1d35156b5dbc24a7dc06 EBUILD cliff-3.10.1.ebuild 1112 BLAKE2B 33776b3ea7488e5ea45d47eace9b5e58cb0d3e0431e7f4fc7f1f4d38f8b4acdb431110faad821dc9c3ce007e8310600311a9d34cdb5c984b61f69b71ff9b0ed1 SHA512 3759a0e561ca2ca0dc1e777d7338a0f9160c17ea127f65bdb01fbc2d9c80d8c4fa8994a4884ec6b8b215806954e4bd5f2480d4ac750f76405e470669b5ecd413 +EBUILD cliff-4.0.0.ebuild 1171 BLAKE2B 2a1a8b33053d5dc861fb8668fc8d099d95478f056ba5aaffb445d1f01879791220cb6c62853c4db5238529c7e24f1997f8975ebb8824af5192108da760f8d757 SHA512 c355ee124cf3ebc71028c2b0bf4a896c8d2c2aafb3c162ce8953f333272a28ee816cab5e83b51f77a2e01388382cf4be9c4d29de068b52410ea453d2503fc5f8 MISC metadata.xml 767 BLAKE2B d9d994960046172167f20f59073011b2defe84e94144386db5465a973050e48e05abccff88d7f84cbe9f20615eddc5b61a46920f8b27c4dc9b2587f762f3e368 SHA512 018a0bfac3f0126341207d16203fab4a666b17d8a5dcf9f101335c396797f2e724e2250910fca39e12cb6616614983a756a42dac03aa215d2a1b51af5246269b diff --git a/dev-python/cliff/cliff-4.0.0.ebuild b/dev-python/cliff/cliff-4.0.0.ebuild new file mode 100644 index 000000000000..8bf1ddb73cae --- /dev/null +++ b/dev-python/cliff/cliff-4.0.0.ebuild @@ -0,0 +1,43 @@ +# Copyright 1999-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=setuptools +PYTHON_COMPAT=( python3_{8..11} ) + +inherit distutils-r1 + +DESCRIPTION="Command Line Interface Formulation Framework" +HOMEPAGE=" + https://opendev.org/openstack/cliff/ + https://github.com/openstack/cliff/ + https://pypi.org/project/cliff/ +" +SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" + +LICENSE="Apache-2.0" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc64 ~riscv ~s390 ~sparc ~x86" + +RDEPEND=" + >=dev-python/autopage-0.4.0[${PYTHON_USEDEP}] + >=dev-python/cmd2-0.8.0[${PYTHON_USEDEP}] + dev-python/prettytable[${PYTHON_USEDEP}] + >=dev-python/pyparsing-2.1.0[${PYTHON_USEDEP}] + >=dev-python/stevedore-2.0.1[${PYTHON_USEDEP}] + >=dev-python/pyyaml-3.12.0[${PYTHON_USEDEP}] + $(python_gen_cond_dep ' + >=dev-python/importlib_metadata-4.11.1[${PYTHON_USEDEP}] + ' 3.8 3.9) +" +BDEPEND=" + >dev-python/pbr-2.1.0[${PYTHON_USEDEP}] + test? ( + dev-python/sphinx[${PYTHON_USEDEP}] + >=dev-python/testtools-2.2.0[${PYTHON_USEDEP}] + >=dev-python/testscenarios-0.4[${PYTHON_USEDEP}] + ) +" + +distutils_enable_tests unittest diff --git a/dev-python/debugpy/Manifest b/dev-python/debugpy/Manifest index f075d11646e2..f7e9fe87dfd3 100644 --- a/dev-python/debugpy/Manifest +++ b/dev-python/debugpy/Manifest @@ -3,5 +3,5 @@ AUX debugpy-1.6.1-unbundle-pydevd.patch 2908 BLAKE2B 2c9ef22ce4e00f8a7bafa4097bf DIST debugpy-1.6.0.gh.tar.gz 6366079 BLAKE2B 134d2adcae6ec926dcdb7161f0874b830a1d0e3c55abb991f4861fa5a58045437ee4f4cb4c9572b902e3e33634bc3f9970ae055985b983d89d0ef1d99561bda8 SHA512 fe245d4ff751a6c2ef0e75a5249f99661b78075ac62c931c20e3ccbc9389d39a08dc2fda44a33eb23a0a76e5ee339edae439b0004d130cdfe421048f3cc83962 DIST debugpy-1.6.2.gh.tar.gz 6684477 BLAKE2B ab1bdf394d3447ba347db149e5c4c36820df6df24c5d0984fe862419a490cea21b240322d76644bc9ebadbdf9a6d6c8709ae28452828d42b45d65edd2d2e58cb SHA512 64ecd9f8290588358abcff538f2c68025f14efc38ac5b406f32cd40a580aab90e0b2f145de90ca81943872c70969d6294ac51b3151bc4e03f18370ddfbb9ac6c EBUILD debugpy-1.6.0.ebuild 1102 BLAKE2B 7d06281e8ef9398df0abec8a4f80343164406d12309612b11c2427354cbc10c7ad87eb6c2b69cda51238d3747d7f67abe70a6112feba12571316e5521f56fe2c SHA512 bdc106ee170b4d9b72a7e85da442ea64d5dc25b668fad251c4d9ad494d09b40c6fe58e047dc4707aa3439bfeb90ef98d6a78838c56aee06504ea2eef94a9f27f -EBUILD debugpy-1.6.2.ebuild 1133 BLAKE2B ff127e82e58d473b9f33d7d801c650c30632629383082e4a410d3a2a77a570fa8f782313edc99a7c2c2bd51a77323a88813ce8936bd9c4eccb52cbe26f31586e SHA512 652f6c52e02ddfdfcf78c663e02ee7b3f3232ffa3134c065713f46378d87133d6b18d4de99d8868d3a47536b195c888a5494eb8ba040297b571b72fee7f0d842 +EBUILD debugpy-1.6.2.ebuild 1132 BLAKE2B f2478be8d88ce9913a8ede1a2240f5a0e591884fee336d3b8633ee3d11ca18fff0eb882e1bc98972876eea6269c951bc4f7dbfb6ef517964cf101e9afac46079 SHA512 320dc027166702f0fef87f419827e57a9aacb3f2e1157bdda5dcc7c9c752d40740c7389e695f19af91ef68717be2fc1d5fd6d29c1d12c8b03f0caf9c74396f67 MISC metadata.xml 451 BLAKE2B 671153316362e0394ae59824e67f5ea897615d3853552aa92fb273d4a41a88916cfe03650ab42248ffee557cb95149b21160395e0fcb2f1fd69bb3bc2c97ea55 SHA512 393d4898c3555b425c34dad5f540f42fc8e281f6299360d1192d099e73486467c92ed16ca710e34d2868aec63fca2eab4775b86e95e6dea79b8721ff70e1db87 diff --git a/dev-python/debugpy/debugpy-1.6.2.ebuild b/dev-python/debugpy/debugpy-1.6.2.ebuild index f1590800df08..4c731f772480 100644 --- a/dev-python/debugpy/debugpy-1.6.2.ebuild +++ b/dev-python/debugpy/debugpy-1.6.2.ebuild @@ -16,7 +16,7 @@ SRC_URI=" LICENSE="MIT" SLOT="0" -KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~m68k ppc ppc64 ~riscv ~s390 sparc ~x86" +KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~m68k ppc ppc64 ~riscv ~s390 sparc x86" # This is completely broken RESTRICT="test" diff --git a/dev-python/defcon/Manifest b/dev-python/defcon/Manifest index 86526e4380cc..ee1b311a95a3 100644 --- a/dev-python/defcon/Manifest +++ b/dev-python/defcon/Manifest @@ -1,3 +1,5 @@ DIST defcon-0.10.1.tar.gz 426234 BLAKE2B 0d4f0749c061860603d343bd8d0291699a64794ec8f3f1e6f1cff0af0f22cd0cfc4ae60d578c5f55131d1de694b3234017afd124a4266c972217b39d70071473 SHA512 12cb1512321b91676f8be380999dfb00942eb8355389db409ef896f7e7100fc97186a920c1c0a741b660e57134e880d068446e5ad00e2768221f80a26608819c +DIST defcon-0.10.2.gh.tar.gz 426253 BLAKE2B 308c0f78a476db8f6fe7eb563970a91f1869a26a8a012905c70fb886d954f8b66b6952801212ddc4439921049773ef07c8f99c51465841681b2c19ab0d9ac27d SHA512 fada72ff846d377e76e259255dbb6f3170c6e87c793f891bed2b5e827ae3001864872eda92a9bb031f32194a7b61089a29908e510f6a4dece8e94828f82e1798 EBUILD defcon-0.10.1.ebuild 727 BLAKE2B a09734e16ce0002e9b75c238f1e8555b3ffc9dfbac325e4c2b73f04d4687b0f583fb737e12b393cd6bb18e004fdfc168f846cf35302dc3f46303c295bbdf9923 SHA512 b194f38777e85a0ce86a892da56589e1897c41d4611f214e31028672a985ddb8f02fdfb6a78b48c2e0b82e2f7aa8b7a90caa3cd50df9eed00660dcbed364d4ce +EBUILD defcon-0.10.2.ebuild 738 BLAKE2B 55ba30a006d67bcf4815b9659a91a18760e66276ee125785c25bbddb2659b01e46a54e16e51c8d61d91800003d3a59dc286f2e3e06f61c75bc3d9e8b3fdd3f62 SHA512 0dd7be8976c17db165aa02ef2a68bf99e7dac6c848e69323e2b495c1020a5e222c8c7084adf13a727f4107dd653d523f7bbb321261ddb9de3312f6311dd6b9d8 MISC metadata.xml 494 BLAKE2B 9770fc2e1922d5caf6a2c8022f450e2ac3b6bdcb4da6ef77f1cfa66c2b96e32a2a4503e2404a2574fba9a41ff19f2255638eaa39c0bd367981b1bbe79945fc17 SHA512 02425eb4725a172ff8b869099bd6903ca62669687969be51f5dd3b072bd397e7192f0469bf38d0349e47b95586e34e531c05ed6b0b5f284eb3d521b8ca27b6d5 diff --git a/dev-python/defcon/defcon-0.10.2.ebuild b/dev-python/defcon/defcon-0.10.2.ebuild new file mode 100644 index 000000000000..f9ca06f96123 --- /dev/null +++ b/dev-python/defcon/defcon-0.10.2.ebuild @@ -0,0 +1,34 @@ +# Copyright 1999-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=setuptools +PYTHON_COMPAT=( python3_{8..11} ) + +inherit distutils-r1 + +DESCRIPTION="A set of UFO based objects for use in font editing applications" +HOMEPAGE="https://github.com/robotools/defcon" +SRC_URI=" + https://github.com/robotools/defcon/archive/${PV}.tar.gz + -> ${P}.gh.tar.gz +" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64 ~arm ~arm64 ~loong ~ppc64 ~riscv ~x86" + +RDEPEND=" + >=dev-python/fonttools-4.34.4[${PYTHON_USEDEP}] +" +BDEPEND=" + dev-python/setuptools_scm[${PYTHON_USEDEP}] + test? ( + dev-python/fs[${PYTHON_USEDEP}] + ) +" + +distutils_enable_tests pytest + +export SETUPTOOLS_SCM_PRETEND_VERSION=${PV} diff --git a/dev-python/dns-lexicon/Manifest b/dev-python/dns-lexicon/Manifest index e0cdcdf47278..3359095cfbf1 100644 --- a/dev-python/dns-lexicon/Manifest +++ b/dev-python/dns-lexicon/Manifest @@ -1,5 +1,7 @@ DIST dns-lexicon-3.11.2.tar.gz 8479426 BLAKE2B aced03c62f809bbb22d2456da8d7a66c4b3cdfd47903a67cafd8a97cbc7cdbbe22fe7e79ad3eada716a569241def4e42cf7d910ba9837dfe05a31ce3f8ed2bdb SHA512 bf77cee4e483b36c8cc8cb176291f0170a1d611551246e27ddd91d9712e8750c9ee57863697e975065f6924c03fdfd636c5c7df29a620d37441b12dd0a1c597d DIST dns-lexicon-3.11.3.gh.tar.gz 8442678 BLAKE2B 3898e572b409f19c6c3064046adbbbbfefe0ef287caceb2495972c946bdab0b4bb484330e3ae98afdc8d65cc849c11ed199e6c1eeeeb1296f09063124c166b91 SHA512 770a3c052ecc26fb3a27ac49b8f14132b69ea6ca9dfc93caea1ac66c4e6a458e6484b8a8ab921eea97761216fa34d8ad0d95964cdcff30a5713de7189c1e987d +DIST dns-lexicon-3.11.4.gh.tar.gz 8429864 BLAKE2B 552c87427fc04683e3e6b540fa3e62f88628f833b8229d52dde9f53d77c1cc32968aa9b0c3d04876145067950752c8fb68c1540cee82cf5687bc16d26d7ebd63 SHA512 d7c1f085ffcb4589430f744970bbc6793779fb19d4cc29b071937d768cb271330794fccf38b60a82ed6362dda4101ac6643704bb703df242c8f2a17273dc6fbe EBUILD dns-lexicon-3.11.2.ebuild 1779 BLAKE2B 9ae8f9050f5d22d5da832cbb8d1bb8b4aaa89968f3d789f02712e703f3f8555e4b7ab4b64f041e8712dd202140d1b873ddf1775b8d03dbad640161089205887d SHA512 f922bc0862a22b8cfb14d22269d69287fed4fcb6c0c225181d4c3b058b1307110bb2dcafcb9917078c43d1a4046f78378a2bea18ed4125b33430b0ac3e0bfb33 EBUILD dns-lexicon-3.11.3.ebuild 1782 BLAKE2B 11f3ea6b3a037c6a8ed45b0094a474335b0ef860f5096ee6159534b154237e190cfab56e604c1814b56944ba1954c9d8ff0349d39817036158f8e1991a0d6b0e SHA512 2a201b3edcc30c3efe7c11aef127d66cc571ac70176c4206e186999a98644fb28caaffc68724c191dbde17556bf3771563286028480e1e716d88e80b3ce8ac6c +EBUILD dns-lexicon-3.11.4.ebuild 1782 BLAKE2B 11f3ea6b3a037c6a8ed45b0094a474335b0ef860f5096ee6159534b154237e190cfab56e604c1814b56944ba1954c9d8ff0349d39817036158f8e1991a0d6b0e SHA512 2a201b3edcc30c3efe7c11aef127d66cc571ac70176c4206e186999a98644fb28caaffc68724c191dbde17556bf3771563286028480e1e716d88e80b3ce8ac6c MISC metadata.xml 541 BLAKE2B a22266eac0bc7b4c22d9552cf64cbf88bbc1c2953e3ef0daaf059b81519909e0f8808e0d74cec6db3296e43f98082d57b8ae3779d694432e8578112ac18c3ea6 SHA512 79e2b43a685bfcc8dace1faa1c1a08cc648b39a3fef2834a57b6e801f72e7309276604253089db7a2fbe1d5d776b2ba1427c90a9cb9c44a0c1b2812d4e1901db diff --git a/dev-python/dns-lexicon/dns-lexicon-3.11.4.ebuild b/dev-python/dns-lexicon/dns-lexicon-3.11.4.ebuild new file mode 100644 index 000000000000..c6c99ff85a56 --- /dev/null +++ b/dev-python/dns-lexicon/dns-lexicon-3.11.4.ebuild @@ -0,0 +1,67 @@ +# Copyright 1999-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=poetry +PYTHON_COMPAT=( python3_{8..10} ) + +inherit distutils-r1 optfeature + +DESCRIPTION="Manipulate DNS records on various DNS providers in a standardized/agnostic way" +HOMEPAGE=" + https://github.com/AnalogJ/lexicon/ + https://pypi.org/project/dns-lexicon/ +" +SRC_URI=" + https://github.com/AnalogJ/lexicon/archive/v${PV}.tar.gz + -> ${P}.gh.tar.gz +" +S="${WORKDIR}/lexicon-${PV}" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64 ~x86" + +RDEPEND=" + dev-python/beautifulsoup4[${PYTHON_USEDEP}] + dev-python/cryptography[${PYTHON_USEDEP}] + >=dev-python/importlib_metadata-4[${PYTHON_USEDEP}] + dev-python/pyyaml[${PYTHON_USEDEP}] + dev-python/requests[${PYTHON_USEDEP}] + dev-python/tldextract[${PYTHON_USEDEP}] +" +BDEPEND=" + test? ( + dev-python/boto3[${PYTHON_USEDEP}] + dev-python/zeep[${PYTHON_USEDEP}] + dev-python/vcrpy[${PYTHON_USEDEP}] + ) +" + +distutils_enable_tests pytest + +EPYTEST_IGNORE=( + # Requires the "localzone" module + lexicon/tests/providers/test_localzone.py + # Requires the "softlayer" module + lexicon/tests/providers/test_softlayer.py + # Requires the "transip" module + lexicon/tests/providers/test_transip.py + # Requires the "oci" module + lexicon/tests/providers/test_oci.py + # Uses tldextract which needs Internet access to download its database + lexicon/tests/providers/test_auto.py + # All recordings seem to be broken + lexicon/tests/providers/test_namecheap.py +) + +pkg_postinst() { + if [[ -z ${REPLACING_VERSIONS} ]]; then + optfeature_header \ + "Install the following packages to enable support for additional DNS providers:" + optfeature Gransy dev-python/zeep + optfeature Route53 dev-python/boto3 + optfeature DDNS dev-python/dnspython + fi +} diff --git a/dev-python/gssapi/Manifest b/dev-python/gssapi/Manifest index 04f9adbb7631..0ae1127fd5b7 100644 --- a/dev-python/gssapi/Manifest +++ b/dev-python/gssapi/Manifest @@ -1,3 +1,5 @@ DIST gssapi-1.7.3.gh.tar.gz 3830322 BLAKE2B ea3d633b9b88ab5105b5ba67dfd0ec138ac76e121be2ee82c43ca4f2a229c4592f5d417f5b9b0c8d2ce894bdcc35025361431280c4dc8a17782d1ea920390805 SHA512 8bb6346ef9dc5cb380bbe5e51931aa3470149d33a3eeef68a758ce0b2ef06785bdca9cb7ae809a8329ab2a05ac802ac3100f9d8e3d7d3034b4bbce1bc87b4268 +DIST gssapi-1.8.0.gh.tar.gz 113341 BLAKE2B c9e7890e7a318b055515b991b1d39a5677e591819d010edb45f8ce58541aa03e918d177fab506c37e8f1c54ee54fb145b5aa89bf69e353c1fd6c95a6d880e6d3 SHA512 47b3f295134d18240e8b53cacaf060661d024cc10846155318047640e508ffd05daa09240576ccb898ca71df254d0f030562e285d58d9e6c3258f10bb642d6de EBUILD gssapi-1.7.3-r1.ebuild 983 BLAKE2B 7ccc083254510cbddb004484b2f6e7717c431b7d99b05efb25879676daef9d4eadbd53dc038ac352647f8d945935a51525f435c0dc0f6fa8711ef66dfae1a069 SHA512 8708bdd26bc605c25a4566846cb812d9c2de07cc838c42fdb62c6ec5597a41724c33c574d841f9b25866048bbab85c7abf94f9fc11856c465ec8438ba508bb7a -MISC metadata.xml 440 BLAKE2B cd8a5dda6f681a173b7b8202540f5eb592316a85a2297bd7a3748eec1aba634e71b7e5e5beb57a6b68d008e14bba9f1308a218b5cabff3c03af303e730d0c43d SHA512 c070e531fb50252078b85beaeab6eafb349301557dc0ee8460527691c7ee0035246318c4fa07e389c2c6e8857634c416c761db83ef8290f381baed6765f6b792 +EBUILD gssapi-1.8.0.ebuild 899 BLAKE2B 88a797b2eba3e406f2d882dd246cadca9472daee1e29a6e42bc3c2f1760ad9f35e47964e5a2ce1c35ca6f2f65a1ede078b624623afe4696c8158efb1b295f127 SHA512 b0c2d38c124364b64ab8b5eab5b788a83187204e905dd80ed8745592311e414b33d763e1499b7ae6cf8453b5bb0af46295bac8de8772f8f881cf981abe63ae0a +MISC metadata.xml 508 BLAKE2B 546d1ff6df79f22a0cde8d19a5718f834301630cda7700c73f2e6943c1634662bb216f79e290d6efe681e96f24f791785e104a2fbfe4af4d7632899db33edde4 SHA512 3ed7272bbd046d2ca4f8e0b67d005a7a676e4998acba2f7fe70d8f9022d3bb0bdc3c845ed666db3c23e4bd118fb4d762af21d94b47ae664de568fb277b7da033 diff --git a/dev-python/gssapi/gssapi-1.8.0.ebuild b/dev-python/gssapi/gssapi-1.8.0.ebuild new file mode 100644 index 000000000000..1c7d320855eb --- /dev/null +++ b/dev-python/gssapi/gssapi-1.8.0.ebuild @@ -0,0 +1,42 @@ +# Copyright 1999-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=setuptools +PYTHON_COMPAT=( python3_{8..11} ) + +inherit distutils-r1 + +DESCRIPTION="Low and high level wrappers around the GSSAPI C libraries" +HOMEPAGE="https://github.com/pythongssapi/python-gssapi https://pypi.org/project/gssapi/" +SRC_URI=" + https://github.com/pythongssapi/python-gssapi/releases/download/v${PV}/python-${P}.tar.gz + -> ${P}.gh.tar.gz +" +S="${WORKDIR}"/python-${P} + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64 ~arm ~arm64 ~riscv ~x86" + +RDEPEND=" + dev-python/decorator[${PYTHON_USEDEP}] + virtual/krb5 +" + +BDEPEND=" + dev-python/cython[${PYTHON_USEDEP}] + virtual/krb5 + test? ( + dev-python/k5test[${PYTHON_USEDEP}] + dev-python/parameterized[${PYTHON_USEDEP}] + ) +" + +distutils_enable_tests pytest + +python_test() { + cd "${T}" || die + epytest --pyargs gssapi +} diff --git a/dev-python/gssapi/metadata.xml b/dev-python/gssapi/metadata.xml index 1f0e10673690..88ef379d899b 100644 --- a/dev-python/gssapi/metadata.xml +++ b/dev-python/gssapi/metadata.xml @@ -11,5 +11,6 @@ </maintainer> <upstream> <remote-id type="pypi">gssapi</remote-id> + <remote-id type="github">pythongssapi/python-gssapi</remote-id> </upstream> </pkgmetadata> diff --git a/dev-python/nbconvert/Manifest b/dev-python/nbconvert/Manifest index bb24bf9bfda6..879796b95176 100644 --- a/dev-python/nbconvert/Manifest +++ b/dev-python/nbconvert/Manifest @@ -1,7 +1,9 @@ AUX nbconvert-6.5.0-mistune-2.patch 12454 BLAKE2B ebf7b6ee76b268d7e6b55f94c4beccb4b7c1efdc5f37732ea06dff6df97e51c7c53149583aeb0e45b2e717870592d1615ab1c22cddac14afad7ca962119555cd SHA512 388c7966b377861561e3823b5312328535aab6d1b88d79ac55519bb7aaaade4b5c1859b1dca48a675ab7569474f04c5755fbebe3a0dd455a9a7d23d0388f47be DIST nbconvert-6.5.0.tar.gz 908377 BLAKE2B a91c6c93e9e33f90c5c7f19743e20aa6cf88e5dd29be4ee777744d96037dddd15294858776c8391d79f5436e929fb1b623a3f11f6c4cbcf60728dba2204b6e2e SHA512 4e0d26d581435525f819c05207890cc7cbeaff786a16c354f0356c9bc50111a724a92b7e15445a0cf0ebf1e1c2f0ff064a2c8722267f66dd8677ad82b5e61714 DIST nbconvert-6.5.2.tar.gz 910454 BLAKE2B 0c80232697e1ecf31af17f10ae5ad9bcfaec89e06ab5f81c87f231f2abd585c23977d0b154363e72f6066a97d04ec96184b0d8325e5aaa399a1a9335109577bb SHA512 b955bd55bc1f69700652faae12a585230d939877551f792eebee57936a293b9b54caff5eb1bcaf996efa38c737f141069d4af2c2959b8b6318966c9020e8a2f5 +DIST nbconvert-6.5.3.tar.gz 910597 BLAKE2B a6336f2227098caf1d59aafa770fc3dd3466160329d5344dc760425cdde7ca35ad8d1e8839fe3189d1623a682a61ea3feedb7fdfdb2ec349e6ec890d873a936a SHA512 a991d8a66fe7a244d3943974d93eb13769016843d37f6c9dcf4ba84dd16511364f45b5020060bf2c10d35fe52b4df4b678d045eedc883d3156a6cb689a977525 EBUILD nbconvert-6.5.0-r1.ebuild 2130 BLAKE2B 4aa566ebbaea70b1b416e7d89f6b81cf2441ef06e9b3fbf634a8a3023bdf61623e4ee89a66bdeac1d7a19ac7862b3449d43362b7611356c0ee458fee66363030 SHA512 3e1489bb742474e7458473b29348a11c1684b30c6970a5d441269f8a1b9323a7d7cb607775cbef8ebbe9b21e04e04fedfcd5fa2ff938aa8f576144ee399dccb1 EBUILD nbconvert-6.5.0-r2.ebuild 2171 BLAKE2B fc2eee68c1088df5f0d47617b8dfed830ed285a825b7f9b7d2b63a0441f30bd901b1efa705febe7b8ff22173488673c180832ac58d75aeb02859c9ea8848783e SHA512 87eeb978f4784884054a67ed04850ddca4c6544ef362db936bdd310bc764deded0c35cba5491a62e5205d8f3e7d385dd0aa2c0795ee2d3090cfa4dc3771237ef EBUILD nbconvert-6.5.2.ebuild 2217 BLAKE2B fd177bd1c614657d0328acfed12b1cdfaa016ee1450568f090f0ecdba39919e8d290479c818ebe3b991c6d6d2802eb0c77faea52a14dc2cdfddab091deb5b947 SHA512 6956bd1772b9fbf217ef2fafc1a0a28e8f22e79621ad58902655bb9bb37312b403d1284d52fe849bc32441c95ff72c8423e754cd7b760d4b419cccd7a1bffc3b +EBUILD nbconvert-6.5.3.ebuild 2217 BLAKE2B fd177bd1c614657d0328acfed12b1cdfaa016ee1450568f090f0ecdba39919e8d290479c818ebe3b991c6d6d2802eb0c77faea52a14dc2cdfddab091deb5b947 SHA512 6956bd1772b9fbf217ef2fafc1a0a28e8f22e79621ad58902655bb9bb37312b403d1284d52fe849bc32441c95ff72c8423e754cd7b760d4b419cccd7a1bffc3b MISC metadata.xml 527 BLAKE2B a915103b3eaf57236f4257c98354a1e3733771369ac825fa8bbc4f79f0d1a23272dc86e744513620fbee37792e813a15dbb955e633a7c57597c3c38657ed05d3 SHA512 b60a311ce52915dbc12addd4a882670ac96ff8b3be2aa651eaac3d0963d6e73a72eaafd53f90fb685599504857e6bcd0568071962d7696c2605462b77260ad6a diff --git a/dev-python/nbconvert/nbconvert-6.5.3.ebuild b/dev-python/nbconvert/nbconvert-6.5.3.ebuild new file mode 100644 index 000000000000..476cb552e368 --- /dev/null +++ b/dev-python/nbconvert/nbconvert-6.5.3.ebuild @@ -0,0 +1,84 @@ +# Copyright 1999-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=setuptools +PYTHON_COMPAT=( python3_{8..10} ) + +inherit distutils-r1 + +DESCRIPTION="Converting Jupyter Notebooks" +HOMEPAGE=" + https://nbconvert.readthedocs.io/ + https://github.com/jupyter/nbconvert/ + https://pypi.org/project/nbconvert/ +" +SRC_URI=" + mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz +" + +LICENSE="BSD" +SLOT="0" +KEYWORDS="~amd64 ~arm ~arm64 ~ia64 ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86" + +RDEPEND=" + dev-python/beautifulsoup4[${PYTHON_USEDEP}] + dev-python/bleach[${PYTHON_USEDEP}] + dev-python/defusedxml[${PYTHON_USEDEP}] + >=dev-python/entrypoints-0.2.2[${PYTHON_USEDEP}] + dev-python/jinja[${PYTHON_USEDEP}] + dev-python/jupyter_core[${PYTHON_USEDEP}] + dev-python/jupyterlab_pygments[${PYTHON_USEDEP}] + dev-python/lxml[${PYTHON_USEDEP}] + >=dev-python/markupsafe-2.0[${PYTHON_USEDEP}] + >=dev-python/mistune-2.0.2[${PYTHON_USEDEP}] + dev-python/nbclient[${PYTHON_USEDEP}] + dev-python/nbformat[${PYTHON_USEDEP}] + >=dev-python/pandocfilters-1.4.1[${PYTHON_USEDEP}] + dev-python/pygments[${PYTHON_USEDEP}] + dev-python/tinycss2[${PYTHON_USEDEP}] + >=dev-python/traitlets-5.1.1[${PYTHON_USEDEP}] + dev-python/testpath[${PYTHON_USEDEP}] + www-servers/tornado[${PYTHON_USEDEP}] +" +BDEPEND=" + test? ( + dev-python/pebble[${PYTHON_USEDEP}] + dev-python/ipykernel[${PYTHON_USEDEP}] + dev-python/ipywidgets[${PYTHON_USEDEP}] + >=dev-python/jupyter_client-4.2[${PYTHON_USEDEP}] + ) +" + +distutils_enable_tests pytest + +PATCHES=( + "${FILESDIR}"/nbconvert-6.5.0-mistune-2.patch +) + +src_test() { + mkdir -p "${HOME}/.local" || die + cp -r share "${HOME}/.local/" || die + distutils-r1_src_test +} + +python_test() { + local EPYTEST_DESELECT=( + # Missing pyppeteer for now + # TODO: Doesn't skip? + nbconvert/exporters/tests/test_webpdf.py + # Needs pyppeteer too + 'nbconvert/tests/test_nbconvertapp.py::TestNbConvertApp::test_webpdf_with_chromium' + ) + + epytest --pyargs nbconvert +} + +pkg_postinst() { + if ! has_version app-text/pandoc ; then + einfo "Pandoc is required for converting to formats other than Python," + einfo "HTML, and Markdown. If you need this functionality, install" + einfo "app-text/pandoc." + fi +} diff --git a/dev-python/partd/Manifest b/dev-python/partd/Manifest index 5f2bcc943d55..cf164aed1ff1 100644 --- a/dev-python/partd/Manifest +++ b/dev-python/partd/Manifest @@ -1,3 +1,5 @@ DIST partd-1.2.0.tar.gz 36720 BLAKE2B dccc14704134d1453b92e896080a820b817efc78f86511307d4d1f6e2787f38935edaa8fdfb0ea4f2350ab99f5ad06cef98bb1eba4d4e45b2582a3ada2f5d907 SHA512 dbcf6a73e23aacd6502f0669abcb8e51547f280b1b7b94baa7ab5637cd838f8427ad1c4e39127fb7f8b164f3a83b66611b2c71667d31fe0137619fb6c457fab9 +DIST partd-1.3.0.tar.gz 36153 BLAKE2B e717d61f44c30cfef487e0849a920f839bcafdba1f39b884d9bb4314547074f876aaae53e8613687f5f71dabcc6fd68c95c37264dc52a52544eed50367e85acc SHA512 0ebcccb5dd25d7328bf76e05523b3e40836a92ea867d26aee31e739b7859ca7848da92c6c20824ed1343c1ced2c759361b25ec30f8405e61bd36308613f866c7 EBUILD partd-1.2.0.ebuild 688 BLAKE2B 95f08a6fa68945b043568ee102eed34c2603750a20aba3feb9fec66d92763c5a931fe0b22128f2622ed752d4f46f00837b536bf1abda9273f96a6f0b6bf9952d SHA512 f39635a85bfad970025900391b1961ecee77f15c24cf104c8974ac7c03f0c34750d3cd4a0d5fbf382d0d29c7113049380fa0f8a4b8083e21a12919135fdad165 +EBUILD partd-1.3.0.ebuild 722 BLAKE2B 7d3432ffa14e56cf0783d9cd42da445e8b4ac28a45c9714a007880ed963086b21795577d57027502a36ef95a531304d752f64f48acbffa21c8c3fc2971e0cc86 SHA512 fccb5e8fb5f84712d7cad3479187a0db2eef806888da4c5c06dd492c07102d358d82d77db807191bcc328da7fbd9da5ba8647d51dd3231ef48ecc60d4756c3c0 MISC metadata.xml 694 BLAKE2B 88b82b21fce3071b0208928c6f19cc319887b09f56d643a534cd74a8e197047255cef8faa9b8dbbc1e776cc155c74c00c5f98f721fb2e95482a105e6e6f44481 SHA512 5dd00f370e902bfb80a4b483a209851f0f4ae7dd3b794a43e4724a366a1c4513147ecee581ce55ddd09b3c8c254e06073cf90a174d8eb87fe5991c1882c5e6b3 diff --git a/dev-python/partd/partd-1.3.0.ebuild b/dev-python/partd/partd-1.3.0.ebuild new file mode 100644 index 000000000000..9ccf258ba0dd --- /dev/null +++ b/dev-python/partd/partd-1.3.0.ebuild @@ -0,0 +1,28 @@ +# Copyright 1999-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=setuptools +PYTHON_COMPAT=( python3_{8..10} ) +inherit distutils-r1 + +DESCRIPTION="Appendable key-value storage" +HOMEPAGE="https://github.com/dask/partd/" +SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" + +LICENSE="BSD" +SLOT="0" +KEYWORDS="~amd64 ~arm ~arm64 ~ppc64 ~riscv ~x86 ~amd64-linux ~x86-linux" + +RDEPEND="dev-python/locket[${PYTHON_USEDEP}]" +BDEPEND=" + test? ( + dev-python/blosc[${PYTHON_USEDEP}] + dev-python/numpy[${PYTHON_USEDEP}] + dev-python/pandas[${PYTHON_USEDEP}] + dev-python/pyzmq[${PYTHON_USEDEP}] + dev-python/toolz[${PYTHON_USEDEP}] + )" + +distutils_enable_tests pytest diff --git a/dev-python/plotly/Manifest b/dev-python/plotly/Manifest index af95419520b8..1d149d924479 100644 --- a/dev-python/plotly/Manifest +++ b/dev-python/plotly/Manifest @@ -1,6 +1,8 @@ AUX plotly-5.8.0-fix-versioneer-import.patch 541 BLAKE2B 51ff6cbab8d9124243445f758aa4b976b7c26e1d3ce633e943bff133b81c0a7587feeb9d5e98a63f319c6afed8dc06e06fafe765ffd51fec245215c849fb4955 SHA512 db4743e538dddfe66e4c9c766698844af4d09c68188afefe92b6419adfe7cc0b1e9c1266d702d590b0b8dfc14bffbc8f08262ead0bff4dae3b5c71fa1259a4b9 +DIST plotly-5.10.0.tar.gz 7600627 BLAKE2B cb83d2b14553b0336db098977a29e0417ce8f65ef5088bfa7fbd4ab5ee7cc561e3f3e32504604a402be395d8c46b0948379e9350dff37b225eba3298f2549cfd SHA512 f30f78ad8683d8b8ccd6a1c383772eddf6719fd47b4be693a72e9ae2c6d567fbf683e87aecc24dcd4c1fd89697366e510cfd93e6599d859554b687e6f6cfb416 DIST plotly-5.2.2.tar.gz 7293292 BLAKE2B baef3accf8f5a3085908fcea558f8003687e18a1f97471c620c378c10d23d4222ef87dc47d64f45199b594414890db5b8ca5e3d7867c871d926c2ae441128c4a SHA512 4d6d79f7cc2063e73e7c17ff90a7d13324497ea8034d8ce62d79ec62b0530a59b2eaec8913fb05efb804cf5be8387b6f96d1710f41b9993233b5a13cf64dd310 DIST plotly-5.8.2.tar.gz 7574127 BLAKE2B 1a9d05009148a65b2f4206165a3e02ea7e130663e9658af64bddc0df6f1b720ca29e1cf30150634403b4bdda96156899f0e2e2d12b81cfd04a4bc9812057a79d SHA512 f262cbe20fa51861a319911e04446d4aa564b878dc1aa8e750a5d03af9747ec439fda941ab63d20ecb5374417174a2bd1c4f5549af5ba0f57f135d10ae0877a0 +EBUILD plotly-5.10.0.ebuild 1622 BLAKE2B d51e9417cfa350485ea45209167de1daea80123aaa89ca88ac9b6755fc93f9a8afc851b3df0f24e4153a7ddcdd8b2a3eb9f5efc9b4fc4ed731f91f9a77c5897b SHA512 dfe2c86a13b24877965241ac7869c461b1589c2d7e856ac3fb853850104c2b6852c53822f2538058212494c61a09938498259836d7416524547f0b63113b3dbd EBUILD plotly-5.2.2.ebuild 795 BLAKE2B e609d220f61b73ca3c11255e0fc28cf9c3a2ed316be1f39044cab25679683300d6281e80ce2f5ead3be391b3c537be7531c9148ec1a1bb069a04ba621ba1784d SHA512 a1bac18949480f19c68891497effdfe60cc3ca474ca24ce27134f2a1da5cd894426fca9b00ad8d6d24138da141fafefd09a40723b1314197068422cd988574cb EBUILD plotly-5.8.2.ebuild 1622 BLAKE2B d51e9417cfa350485ea45209167de1daea80123aaa89ca88ac9b6755fc93f9a8afc851b3df0f24e4153a7ddcdd8b2a3eb9f5efc9b4fc4ed731f91f9a77c5897b SHA512 dfe2c86a13b24877965241ac7869c461b1589c2d7e856ac3fb853850104c2b6852c53822f2538058212494c61a09938498259836d7416524547f0b63113b3dbd MISC metadata.xml 627 BLAKE2B 453adb04f4caba9790fe5223635245c8bca7ca5c6dc1930f09537045580b88b5fa1649e47158b13be6cc5cb09b4479a47690e37ef13208b47a95f82d14793a91 SHA512 a5183e9d217d1312e8d383ccb4ade66b92575492b6c8ed8987e3af18e9e456836b62b2d572ce62f9e01aae47b4a2bcbd12f79b4bb6acabfe69c2b63b20315bd3 diff --git a/dev-python/plotly/plotly-5.10.0.ebuild b/dev-python/plotly/plotly-5.10.0.ebuild new file mode 100644 index 000000000000..e1e8c3e4f454 --- /dev/null +++ b/dev-python/plotly/plotly-5.10.0.ebuild @@ -0,0 +1,63 @@ +# Copyright 1999-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +PYTHON_COMPAT=( python3_{8..10} ) +DISTUTILS_USE_PEP517=setuptools +inherit distutils-r1 + +DESCRIPTION="Browser-based graphing library for Python" +HOMEPAGE="https://plotly.com/python/" +SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64" + +# TODO: package plotly-orca and kaleido +RESTRICT="test" + +RDEPEND=" + >=dev-python/tenacity-6.2.0[${PYTHON_USEDEP}] +" +BDEPEND=" + test? ( + $(python_gen_cond_dep ' + dev-python/backports-tempfile[${PYTHON_USEDEP}] + ' 3.8) + dev-python/inflect[${PYTHON_USEDEP}] + dev-python/ipykernel[${PYTHON_USEDEP}] + dev-python/ipython[${PYTHON_USEDEP}] + dev-python/jupyter[${PYTHON_USEDEP}] + dev-python/jupyterlab[${PYTHON_USEDEP}] + dev-python/matplotlib[${PYTHON_USEDEP}] + dev-python/mock[${PYTHON_USEDEP}] + dev-python/numpy[${PYTHON_USEDEP}] + dev-python/pandas[${PYTHON_USEDEP}] + dev-python/pillow[${PYTHON_USEDEP}] + dev-python/psutil[${PYTHON_USEDEP}] + dev-python/requests[${PYTHON_USEDEP}] + dev-python/pytz[${PYTHON_USEDEP}] + dev-python/scipy[${PYTHON_USEDEP}] + dev-python/shapely[${PYTHON_USEDEP}] + dev-python/statsmodels[${PYTHON_USEDEP}] + dev-python/xarray[${PYTHON_USEDEP}] + sci-libs/pyshp[${PYTHON_USEDEP}] + sci-libs/scikit-image[${PYTHON_USEDEP}] + ) +" + +PATCHES=( + "${FILESDIR}"/${PN}-5.8.0-fix-versioneer-import.patch +) + +distutils_enable_tests pytest + +python_install_all() { + distutils-r1_python_install_all + + mkdir -p "${ED}"/etc/ || die + mv "${ED}"/usr/etc/jupyter "${ED}"/etc/ || die + rmdir "${ED}"/usr/etc || die +} diff --git a/dev-python/pydantic/Manifest b/dev-python/pydantic/Manifest index eb28f510f7b2..c6e6346c7757 100644 --- a/dev-python/pydantic/Manifest +++ b/dev-python/pydantic/Manifest @@ -1,3 +1,5 @@ DIST pydantic-1.9.1.tar.gz 306846 BLAKE2B c22e892f403b6ca5eff7f888c68f9df5c198fa03c8dab833edc556b3b1a4819fc28c9818a649bf5d9c4bb745b0bde826e164eda7760cd26f88e278c86776ad84 SHA512 19d2a50ef054b76cc7e8756759f3d67a14a58614dd6ff1b4f60e73354b0028e08743aa3bb5944da7ae357ab279134d3685c454d6affa6524b267c7cd9a40375e +DIST pydantic-1.9.2.tar.gz 307957 BLAKE2B ee3b188dcf058fc81b5f8491a5e757114a3b39db4d9aee3265051559f6ac25cff01bfb3b0536d0f0425534bd9a5a6444b6e6f2ef84b91a6c11085e15ac25265a SHA512 524595aea9401e82d2e985fdb5aa9b4a8b39edfed856d08e057695c786d65c3455991e4f57ce326902ff9cbed328bcb5e6f4133bda769fecea5affb68f3b4345 EBUILD pydantic-1.9.1.ebuild 2099 BLAKE2B 10a509b9b1b527e01c0aac2542a09dd9dd0a38132d45c2e02f3b8c0fc1d469d4d4ae6a5245e27ccc7cc85f8538edc86cf249c14e365e43233dee0a5127f85852 SHA512 c28f602375c529b5081ba5823c68452f5372fe97b9cddcd09100a617834f01fc9bfac731643cc18dc370387934c14c40a9afb4405a8c56f589545b243f82ac05 +EBUILD pydantic-1.9.2.ebuild 2107 BLAKE2B b1b0ec5c6da55a5b43219e43d49faecd2cdd5f9e44e681a7aaebadcd858dfd62c8ebc73da614e3871fdc7a6dad6d2e3580f398c749ac64a06eab2b04f6898b63 SHA512 e153ac82345090fe983b411395c2f7950bd884460e42b572108b0253a8a75606f835e122731df70a6f7c1d38658ecfcef5d092762a899a5266331d5f91710141 MISC metadata.xml 492 BLAKE2B e21bc5a40669b2b321ba310df9dd4c6ff424e77d9d961b3aebc1f62b579444c7f505c19dae02590de999cfd8168ac522034275583fb4835e97e8db9b153fefda SHA512 bfb9c7a069a79735543dc12101af7cca16acc5fd93cae01515dc35a106c16a419c0e0e3a97a6bc8426c3db776417f7d29231022cb6ac27020f97e5dcfe0d0cbb diff --git a/dev-python/pydantic/pydantic-1.9.2.ebuild b/dev-python/pydantic/pydantic-1.9.2.ebuild new file mode 100644 index 000000000000..82f3a0b71858 --- /dev/null +++ b/dev-python/pydantic/pydantic-1.9.2.ebuild @@ -0,0 +1,77 @@ +# Copyright 1999-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=setuptools +PYTHON_COMPAT=( pypy3 python3_{8..10} ) + +inherit distutils-r1 + +DESCRIPTION="Data parsing and validation using Python type hints" +HOMEPAGE="https://github.com/samuelcolvin/pydantic" +SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86" + +RDEPEND=" + dev-python/typing-extensions[${PYTHON_USEDEP}] +" +BDEPEND=" + dev-python/cython[${PYTHON_USEDEP}] + test? ( + dev-python/hypothesis[${PYTHON_USEDEP}] + dev-python/pytest-mock[${PYTHON_USEDEP}] + dev-python/python-dotenv[${PYTHON_USEDEP}] + >=dev-python/python-email-validator-1.2.1[${PYTHON_USEDEP}] + ) +" + +distutils_enable_tests pytest + +src_prepare() { + sed -i -e '/CFLAGS/d' setup.py || die + distutils-r1_src_prepare +} + +python_compile() { + if [[ ${EPYTHON} == pypy3 ]]; then + # do not build extensions on PyPy to workaround + # https://github.com/cython/cython/issues/4763 + local -x SKIP_CYTHON=1 + fi + distutils-r1_python_compile +} + +python_test() { + local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1 + local -x PYTEST_PLUGINS=pytest_mock + + local EPYTEST_DESELECT=( + # flaky test, known upstream + tests/test_hypothesis_plugin.py::test_can_construct_models_with_all_fields + ) + case ${EPYTHON} in + python3.8) + EPYTEST_DESELECT+=( + # Those fail on python 3.8 as None changed typing semantic on >=3.9 + "tests/test_types.py::test_none[value_type3]" + tests/test_typing.py::test_is_none_type + ) + ;; + pypy3) + EPYTEST_DESELECT+=( + tests/test_dataclasses.py::test_self_reference_dataclass + tests/test_private_attributes.py::test_private_attribute + tests/test_private_attributes.py::test_private_attribute_annotation + tests/test_private_attributes.py::test_private_attribute_factory + tests/test_private_attributes.py::test_private_attribute_multiple_inheritance + tests/test_private_attributes.py::test_underscore_attrs_are_private + ) + ;; + esac + rm -rf pydantic || die + epytest +} diff --git a/dev-python/pypy3-exe-bin/Manifest b/dev-python/pypy3-exe-bin/Manifest index 6f7289a89187..30718e8531ff 100644 --- a/dev-python/pypy3-exe-bin/Manifest +++ b/dev-python/pypy3-exe-bin/Manifest @@ -1,7 +1,4 @@ -DIST pypy3-exe-7.3.9-1.amd64.xpak 12455132 BLAKE2B 09ad89ca1d7ba84ff1b5c0d925c02617567d8d6c659774e980dc9e56fd1bd5eef9b612631d64ace8218bdd2c5723cad174d49ac3c5ef442d244f2ba21ebb6d0d SHA512 078f57a0027680ff061f137a47fa5349254a086e1c28eb81fd9d89079bd3894902b532cde39c5214b0a686fd1a1dba2589f1fb0f9c5e6ff43cc7f4db97b3c181 -DIST pypy3-exe-7.3.9-1.x86.xpak 9239282 BLAKE2B d44b9f3410a94ad41c1f49abe641460464ae6266478e7c38a994ded97fd70f50a041977fc72fe11a1c7fcfc9aeae4782564c2cbaaf8477a0eef60e443ec837e1 SHA512 1a073254e0c6bef089169a138a84ff6efe377374b9f263f58f856bba937f8e6249d835e3bdc9a68792e7178105e03a67dee3a3e5307089b6ed3b846ae8ee73ed DIST pypy3-exe-7.3.9_p3-1.amd64.xpak 12394274 BLAKE2B 8f7a041839fdd1dd55fd0293660369310aaa1f118e34a730e066899c09ced71fa37d70d59952fb68d932f63e907b903c41c91b5ba4d646637fcfe628a20861b2 SHA512 166722fec0288b8c69645e0c8e630aa4c0b74f8d41817148147556ce6f0491e7251cbc202b62f7a1dec6b1da3e2f2c6313f02952b11220f35be2c1ad6276f89a DIST pypy3-exe-7.3.9_p3-1.x86.xpak 9210827 BLAKE2B a740ef7e1d4559308c129399cda498b7c0fe8e654e4d36830ded5197a7788168dbc8b4f83908a41869cd51343dd9b371ba53de8e88655b2728b8f6351f502ef2 SHA512 bd2ef07e980bd37b7ecfb052a9304a80ee527c61f8a60344e8e9b1bfcdf1f50038e7b281257194c388e0452aa968f984f5b6bc7d9f7c89bf08279e9a169ed8e6 -EBUILD pypy3-exe-bin-7.3.9.ebuild 1152 BLAKE2B 200a852a5f4931d70b8f967266712ef692b752301ed0a32bdd5bdc8b3d508399d63f425658746653265f3dd13203c20cffc274dc8ff347a29f006264573f6c4a SHA512 01f1c85aa36b916ff62beeca598224ddd990a2b2402004dba58125702e2926657689ba33c333d92a8efc58dba3236260e14022bc375f709ae9530e54aa0a447d -EBUILD pypy3-exe-bin-7.3.9_p3.ebuild 1154 BLAKE2B a715fbbe2bf6618044a5df7897b480e538d79445d949633fa10aa34062bbc500bcf98f89adbeaffd4e4398dc3a93206fae8ac5b3d895bce27adc7e2a39dfd047 SHA512 02178eec47c5d9c97d91556222a37322a76304229dee296b90429468cf0324bdc640c16b016a98886ee7b6ab5e9d24bfa0aa054f6940baa56014cc56960b3081 +EBUILD pypy3-exe-bin-7.3.9_p3.ebuild 1152 BLAKE2B 200a852a5f4931d70b8f967266712ef692b752301ed0a32bdd5bdc8b3d508399d63f425658746653265f3dd13203c20cffc274dc8ff347a29f006264573f6c4a SHA512 01f1c85aa36b916ff62beeca598224ddd990a2b2402004dba58125702e2926657689ba33c333d92a8efc58dba3236260e14022bc375f709ae9530e54aa0a447d MISC metadata.xml 241 BLAKE2B 4f18c355c71824c25df283b2d463a5abbf2295446e74b960e868dd78d4910ac066725450478087567a6e66b7a8948d99e053f13a7e58dbf2b89fdaf5c2f3436c SHA512 c46e70ffd66754ad84c64806f2bbff25ba9a688f035176a4565afc95351ce10fffba64bbde89965501460b05978c7e59b3d84db6a8cb6efff4055d4b7a5ab5d8 diff --git a/dev-python/pypy3-exe-bin/pypy3-exe-bin-7.3.9.ebuild b/dev-python/pypy3-exe-bin/pypy3-exe-bin-7.3.9.ebuild deleted file mode 100644 index b38d40a013d1..000000000000 --- a/dev-python/pypy3-exe-bin/pypy3-exe-bin-7.3.9.ebuild +++ /dev/null @@ -1,56 +0,0 @@ -# Copyright 1999-2022 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=7 - -inherit pax-utils - -MY_P=pypy3-exe-${PV}-1 -DESCRIPTION="PyPy3 executable (pre-built version)" -HOMEPAGE="https://www.pypy.org/" -SRC_URI=" - amd64? ( - https://dev.gentoo.org/~mgorny/binpkg/amd64/pypy/dev-python/pypy3-exe/${MY_P}.xpak - -> ${MY_P}.amd64.xpak - ) - x86? ( - https://dev.gentoo.org/~mgorny/binpkg/x86/pypy/dev-python/pypy3-exe/${MY_P}.xpak - -> ${MY_P}.x86.xpak - ) -" -S="${WORKDIR}" - -LICENSE="MIT" -SLOT="3.9-${PV%_p*}" -KEYWORDS="amd64 x86" - -RDEPEND=" - >=sys-libs/zlib-1.1.3:0/1 - || ( - dev-libs/libffi-compat:7 - dev-libs/libffi:0/7 - ) - virtual/libintl:0/0 - dev-libs/expat:0/0 - app-arch/bzip2:0/1 - sys-libs/ncurses:0/6 - !dev-python/pypy3-exe:${SLOT} -" - -PYPY_PV=${PV%_p*} -QA_PREBUILT=" - usr/bin/pypy3.9-c-${PYPY_PV} -" - -src_unpack() { - ebegin "Unpacking ${MY_P}.${ARCH}.xpak" - tar -x < <(xz -c -d --single-stream "${DISTDIR}/${MY_P}.${ARCH}.xpak") - eend ${?} || die "Unpacking ${MY_P} failed" -} - -src_install() { - insinto / - doins -r usr - fperms +x "/usr/bin/pypy3.9-c-${PYPY_PV}" - pax-mark m "${ED}/usr/bin/pypy3.9-c-${PYPY_PV}" -} diff --git a/dev-python/pypy3-exe-bin/pypy3-exe-bin-7.3.9_p3.ebuild b/dev-python/pypy3-exe-bin/pypy3-exe-bin-7.3.9_p3.ebuild index 0648b4f51293..b38d40a013d1 100644 --- a/dev-python/pypy3-exe-bin/pypy3-exe-bin-7.3.9_p3.ebuild +++ b/dev-python/pypy3-exe-bin/pypy3-exe-bin-7.3.9_p3.ebuild @@ -22,7 +22,7 @@ S="${WORKDIR}" LICENSE="MIT" SLOT="3.9-${PV%_p*}" -KEYWORDS="~amd64 ~x86" +KEYWORDS="amd64 x86" RDEPEND=" >=sys-libs/zlib-1.1.3:0/1 diff --git a/dev-python/pypy3-exe/Manifest b/dev-python/pypy3-exe/Manifest index 47ee3a79c994..bbb99c883eae 100644 --- a/dev-python/pypy3-exe/Manifest +++ b/dev-python/pypy3-exe/Manifest @@ -1,6 +1,4 @@ -DIST pypy3.9-gentoo-patches-7.3.9.tar.xz 1564 BLAKE2B fe0875ef002842a78fb31589f6d0b255c3dea10f2bd014231ae9b17641f65f810ac84fe7961de1a4614249b0166f2127c3aa37947f7d1d4c85860a31b89110f1 SHA512 a1dc3ee36e908e29b2bbbb100a97b7910bd4325c5dc55c0455cdca450d6b272d1463708b383e0607e9499b1932da4442f97d2da57e47ed3a4ff8fd3c78a54732 DIST pypy3.9-gentoo-patches-7.3.9_p3.tar.xz 5296 BLAKE2B 2422e7d74c563d7328e5bc5c131d13f0cb41f133e06a514e56ad89d2cc8e0b9c57d4379d0e8810486e5e34ec2807a74e9553768a493ffe54fc27d404977097d3 SHA512 3470efdd50ba10e2137b4661c940a3aa807b804ef582a5201507227573637171981bd597b3b40faa3606890f3f51fb8c43ff70628de924a67e2c1226beda9269 DIST pypy3.9-v7.3.9-src.tar.bz2 26976726 BLAKE2B bf1ed21c575901abac020120aaff07ab57f1404713211b19cbd1eb4d6ffc675b7933be8c6fffc2b69ab467963d6598534cd5aa90c02feddad596611d2a6b6581 SHA512 83f8a6a2da351c190d2d224242cbc35e35529c7a8e8d842eaf5c945cbce2e172b02a340f32af3d49df8d5288370d794d5bc95fc12dd4a13d817c925abf06198a -EBUILD pypy3-exe-7.3.9.ebuild 3800 BLAKE2B 0b3f47feec34339e86df219fd15f9211bac47d61b01cc5498c4311acb2e842478f5d8780760b0e90ac4c6385e7aebbd0e04b02f424c26ed0e32118939f6264b0 SHA512 0c54bf685ea4ec9edb434d5237eebfb35241fe3e99bee798fa23f962663b791b7d07f8575ec7aa3f930b425278fb020d3d5536870c45d4f256103e96caf2f482 -EBUILD pypy3-exe-7.3.9_p3.ebuild 3807 BLAKE2B 3c9c2c31195ed647bc3830d76033395bb6ab768db83d16a6226232131aefec34c7466795b2b6d3c028afc5274f8b651e1453e24d4936349c145c3087621f57b1 SHA512 5dc22591d60d10628d404c67a6a5ac126d44733432dcd4a99fa846c51f53d6ce63366226020774f7ade4bc6dc49e3fec8c10ab261fc10b3deb480912a2e06992 +EBUILD pypy3-exe-7.3.9_p3.ebuild 3805 BLAKE2B 3b701feca85378fd2de70b4e3d4de1f62566146a662de37519362b8b2120089fc3f7258e9c5f27f88628fae140457cc0c5cd2ed452b7137e0a8508e415c6a283 SHA512 c2055cdc4c8c900ecc220c8d1540d09d0a532c8052cd3ef8a325683e076c6964ca3b6401a0ecba1882b172f23e23a54fa09c0189fa279f2ee06ae8ba33648f98 MISC metadata.xml 498 BLAKE2B 8dbcdb7c3a4a2fa5d1a922fd5197fb5e3337adcaec1e7d382f25f8696c80726e5b79843477bf8e5ce131aecde6e2c4c283548c5b337e54cb58aaa066013c445a SHA512 8a9bb514bbf3bf328aa63734e1fdc106f6aaf5ccb88c29ad8a686ab2724f3d1f4727163500013dd16e7b34232b881cf47d2f174212b5428ee076af27cf43628d diff --git a/dev-python/pypy3-exe/pypy3-exe-7.3.9.ebuild b/dev-python/pypy3-exe/pypy3-exe-7.3.9.ebuild deleted file mode 100644 index b5feb2c4cc8c..000000000000 --- a/dev-python/pypy3-exe/pypy3-exe-7.3.9.ebuild +++ /dev/null @@ -1,172 +0,0 @@ -# Copyright 1999-2022 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -# pypy3 needs to be built using python 2 -PYTHON_COMPAT=( python2_7 ) -inherit check-reqs pax-utils python-any-r1 toolchain-funcs - -PYPY_PV=${PV%_p*} -MY_P=pypy3.9-v${PYPY_PV/_} -PATCHSET="pypy3.9-gentoo-patches-${PV/_}" - -DESCRIPTION="PyPy3 executable (build from source)" -HOMEPAGE="https://www.pypy.org/" -SRC_URI=" - https://buildbot.pypy.org/pypy/${MY_P}-src.tar.bz2 - https://dev.gentoo.org/~mgorny/dist/python/${PATCHSET}.tar.xz -" -S="${WORKDIR}/${MY_P}-src" - -LICENSE="MIT" -SLOT="3.9-${PYPY_PV}" -KEYWORDS="amd64 ~arm64 ~ppc64 x86 ~amd64-linux ~x86-linux" -IUSE="bzip2 +jit low-memory ncurses cpu_flags_x86_sse2" - -RDEPEND=" - >=sys-libs/zlib-1.1.3:0= - dev-libs/libffi:0= - virtual/libintl:0= - dev-libs/expat:0= - bzip2? ( app-arch/bzip2:0= ) - ncurses? ( sys-libs/ncurses:0= ) - !dev-python/pypy3-exe-bin:${SLOT} -" -DEPEND=" - ${RDEPEND} -" -BDEPEND=" - low-memory? ( dev-python/pypy ) - !low-memory? ( - || ( - dev-python/pypy - dev-lang/python:2.7 - ) - ) -" - -check_env() { - if use low-memory; then - CHECKREQS_MEMORY="1750M" - use amd64 && CHECKREQS_MEMORY="3500M" - else - CHECKREQS_MEMORY="3G" - use amd64 && CHECKREQS_MEMORY="6G" - fi - - check-reqs_pkg_pretend -} - -pkg_pretend() { - [[ ${MERGE_TYPE} != binary ]] && check_env -} - -pkg_setup() { - if [[ ${MERGE_TYPE} != binary ]]; then - check_env - - # unset to allow forcing pypy below :) - use low-memory && EPYTHON= - if [[ ! ${EPYTHON} || ${EPYTHON} == pypy ]] && - { has_version -b dev-python/pypy || - has_version -b dev-python/pypy-bin; } - then - einfo "Using PyPy to perform the translation." - EPYTHON=pypy - else - einfo "Using ${EPYTHON:-python2} to perform the translation. Please note that upstream" - einfo "recommends using PyPy for that. If you wish to do so, please install" - einfo "dev-python/pypy and ensure that EPYTHON variable is unset." - python-any-r1_pkg_setup - fi - fi -} - -src_prepare() { - local PATCHES=( - "${WORKDIR}/${PATCHSET}" - ) - default -} - -src_configure() { - tc-export CC - - local jit_backend - if use jit; then - jit_backend='--jit-backend=' - - # We only need the explicit sse2 switch for x86. - # On other arches we can rely on autodetection which uses - # compiler macros. Plus, --jit-backend= doesn't accept all - # the modern values... - - if use x86; then - if use cpu_flags_x86_sse2; then - jit_backend+=x86 - else - jit_backend+=x86-without-sse2 - fi - else - jit_backend+=auto - fi - fi - - local args=( - --no-shared - $(usex jit -Ojit -O2) - - ${jit_backend} - - pypy/goal/targetpypystandalone - ) - - # Avoid linking against libraries disabled by use flags - local opts=( - bzip2:bz2 - ncurses:_minimal_curses - ) - - local opt - for opt in "${opts[@]}"; do - local flag=${opt%:*} - local mod=${opt#*:} - - args+=( - $(usex ${flag} --withmod --withoutmod)-${mod} - ) - done - - local interp=( "${EPYTHON}" ) - if use low-memory; then - interp=( env PYPY_GC_MAX_DELTA=200MB - "${EPYTHON}" --jit loop_longevity=300 ) - fi - - if [[ ${EPYTHON} != pypy ]]; then - # reuse bundled pycparser to avoid external dep - mkdir -p "${T}"/pymod || die - cp -r lib_pypy/cffi/_pycparser "${T}"/pymod/pycparser || die - local -x PYTHONPATH=${T}/pymod:${PYTHONPATH} - fi - - # translate into the C sources - # we're going to build them ourselves since otherwise pypy does not - # free up the unneeded memory before spawning the compiler - set -- "${interp[@]}" rpython/bin/rpython --batch --source "${args[@]}" - echo -e "\033[1m${@}\033[0m" - "${@}" || die "translation failed" -} - -src_compile() { - emake -C "${T}"/usession*-0/testing_1 -} - -src_install() { - cd "${T}"/usession*-0 || die - newbin testing_1/pypy3.9-c pypy3.9-c-${PYPY_PV} - insinto /usr/include/pypy3.9/${PYPY_PV} - doins *.h - pax-mark m "${ED}/usr/bin/pypy3.9-c-${PYPY_PV}" -} diff --git a/dev-python/pypy3-exe/pypy3-exe-7.3.9_p3.ebuild b/dev-python/pypy3-exe/pypy3-exe-7.3.9_p3.ebuild index c5f53f463d20..d30798538191 100644 --- a/dev-python/pypy3-exe/pypy3-exe-7.3.9_p3.ebuild +++ b/dev-python/pypy3-exe/pypy3-exe-7.3.9_p3.ebuild @@ -21,7 +21,7 @@ S="${WORKDIR}/${MY_P}-src" LICENSE="MIT" SLOT="3.9-${PYPY_PV}" -KEYWORDS="~amd64 ~arm64 ~ppc64 ~x86 ~amd64-linux ~x86-linux" +KEYWORDS="amd64 ~arm64 ~ppc64 x86 ~amd64-linux ~x86-linux" IUSE="bzip2 +jit low-memory ncurses cpu_flags_x86_sse2" RDEPEND=" diff --git a/dev-python/pypy3/Manifest b/dev-python/pypy3/Manifest index f5cbff2f4a59..6966da7891ab 100644 --- a/dev-python/pypy3/Manifest +++ b/dev-python/pypy3/Manifest @@ -1,12 +1,4 @@ -DIST pypy3.9-gentoo-patches-7.3.9_p1.tar.xz 3952 BLAKE2B 20ff145749d24f15214c0c78f3fdc5e1cdbfc307972ad9dbc03f1b9704b25ea962434aee0d58a882912374b45f726eb449f0abafd663bddf14867807951b0a7f SHA512 3ce7a126fb7c52754d3b65e3df0786c80a98522ce78ab44fd5f81cd84a41e8b5929df2d8e4f644ed6c2265ca5da397cd7f37d44944cd08f7c8ae1cc8a2fd7e0d -DIST pypy3.9-gentoo-patches-7.3.9_p2.tar.xz 4548 BLAKE2B 9acdd315d98b5147a21e9affcf4f4be86385cfe7e96a59a4aee1edb478c3c23990c7c846d7a1b268b616491d57346c939ddf02d4284f3b92f0f050e223eb85ba SHA512 28bc05b249f9f98501cb92354eabcdcd27987bfb6f4867bdda40752384db5ecf2204913c792785ce5a0e6ce588ef0044a179a3932da23205e8706cad065d95e2 -DIST pypy3.9-gentoo-patches-7.3.9_p3.tar.xz 5296 BLAKE2B 2422e7d74c563d7328e5bc5c131d13f0cb41f133e06a514e56ad89d2cc8e0b9c57d4379d0e8810486e5e34ec2807a74e9553768a493ffe54fc27d404977097d3 SHA512 3470efdd50ba10e2137b4661c940a3aa807b804ef582a5201507227573637171981bd597b3b40faa3606890f3f51fb8c43ff70628de924a67e2c1226beda9269 -DIST pypy3.9-gentoo-patches-7.3.9_p4.tar.xz 8664 BLAKE2B cccb62bb7957ee21f45eb65a307f255f61ba097cf9313517743bd0c4471d4b4e7c4c2bf2509fffd7584be6efbb467b39aeaec5e70b597844ddd40bd2184f65e8 SHA512 cf9722c5ada7544608b95cb94da4d119fa5371def760c52baaffe57ee0128c729e41a78bbcbcce6677eb88ad063d3f0572667ab8889cf68ee8be7e578ca420c7 DIST pypy3.9-gentoo-patches-7.3.9_p5.tar.xz 13044 BLAKE2B 0a6119c3393a8b2d599659cee2a57b2a06b18c8dbe0f04fcdbcdde98098c1f19f51c2f387b20fd8db48c6e9dc52f08baeea5f722caf751c0a13078df00538450 SHA512 7965425e107058231657d94e923d132368f11fbc1451f5ae93379f4fc8f8ea62f9e22786b1a97b37a8b4bdb8a295fc5517f07143d04e21b4990f653c0e5f1f05 DIST pypy3.9-v7.3.9-src.tar.bz2 26976726 BLAKE2B bf1ed21c575901abac020120aaff07ab57f1404713211b19cbd1eb4d6ffc675b7933be8c6fffc2b69ab467963d6598534cd5aa90c02feddad596611d2a6b6581 SHA512 83f8a6a2da351c190d2d224242cbc35e35529c7a8e8d842eaf5c945cbce2e172b02a340f32af3d49df8d5288370d794d5bc95fc12dd4a13d817c925abf06198a -EBUILD pypy3-7.3.9_p1.ebuild 5459 BLAKE2B cecd4e9ef25bfa9c5c26e444d74eaccfe3a6f588c33af1f64ab0419cdf8944a5b6d78134fadcae6ca682edbe48197df765c830f9cc22a80fb2fa3e5a220fb61c SHA512 30c1a6315502c2fa6d219567c4ec827244257a4f4bdde204fbd0374fd0c1320cbf87097db029ef3822173fa2cd999799b7b79b51df3d1447f67140bee26ecc65 -EBUILD pypy3-7.3.9_p2.ebuild 5461 BLAKE2B 4086916df9196af0dfbc8cf9e2ca0bd4cd6d4d7b927d4d157abae2ff7f7460492d3c30ba4525d1140e4eee8f7f87067bcf6981a0982936cc3f60cd49f332e2fd SHA512 3a24f51744b66a511152a0c52c4d5bb4a41330e452b6d6d67abe87e74a6ffdc8eeb989b8657226c41bd18cdb600eca7ab924cd16839c0e0e6ac49db6a2e8ba9d -EBUILD pypy3-7.3.9_p3.ebuild 5579 BLAKE2B 6b30c40b01e3e4e6ffa6eaa2095df5e061079bb5ea2e858564aa1fb9c03ac54b1bf5422b722a3ae6bc0d166e4a3f4a302862cbdf908034682d3d61930bb055b4 SHA512 a357b3c6fe57074821a5b7b95851e5dc22cda8135f1828dd9250715394d43a96369b43273bacff38865b5b2d3aeb29eadc0fb84b1d8746e5235a73cefc3d4c14 -EBUILD pypy3-7.3.9_p4.ebuild 5773 BLAKE2B 2f9fac9ca77b85d68f81f965324d7a58d87e2fd546653e9b72217a1cd7b716c49e94a482ed7ccfa907fcf8e936746879791a50d197709f80dceddc92bf430502 SHA512 6126c4b7e711930a039e4825396fcdfa784d2f4c54817a799b2f28e82a2cde9864fba17aa0cfddcfeee1828f4a0dc9eeccb9571693aee802295b4504e40bf355 -EBUILD pypy3-7.3.9_p5.ebuild 5773 BLAKE2B 2f9fac9ca77b85d68f81f965324d7a58d87e2fd546653e9b72217a1cd7b716c49e94a482ed7ccfa907fcf8e936746879791a50d197709f80dceddc92bf430502 SHA512 6126c4b7e711930a039e4825396fcdfa784d2f4c54817a799b2f28e82a2cde9864fba17aa0cfddcfeee1828f4a0dc9eeccb9571693aee802295b4504e40bf355 +EBUILD pypy3-7.3.9_p5.ebuild 5771 BLAKE2B 8c24dc4198af0608bc67bec1b7ad52934c11908dc07ab80b159d0103896589cf4e4bb7d07489668b8a836e2ad9c0230d3ddcd1caa7ef9aaf23714f920bf5e3b7 SHA512 46e279f33e5710fb4efa3fcd7d8b9a3de7eb0db894ee54e725fa97d590e46d8e0ce980a20e109c575276117c091d9d58401bca9a225d17d94aa31260ac4390e6 MISC metadata.xml 455 BLAKE2B 568930d8cb9c6efa7e41d2285fa487ab7aee2344c11fe5cc325d24d6dbcd1184daffcad3b262351b39a45cdf7994ed301b61946eafa1be901b7419636d2eebd9 SHA512 357104cf9ac21d9c7fa5d843cfa7e2c5883d2f11e0bc15ac0fa8ab36a9595194ac05165f5aee94c3eb98ad370f0bf16f4488819311f8f077e9f2a79586f711f0 diff --git a/dev-python/pypy3/pypy3-7.3.9_p1.ebuild b/dev-python/pypy3/pypy3-7.3.9_p1.ebuild deleted file mode 100644 index 37f7cfcc4425..000000000000 --- a/dev-python/pypy3/pypy3-7.3.9_p1.ebuild +++ /dev/null @@ -1,200 +0,0 @@ -# Copyright 1999-2022 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -PYTHON_COMPAT=( python2_7 ) -inherit pax-utils python-any-r1 toolchain-funcs - -PYPY_PV=${PV%_p*} -MY_P=pypy3.9-v${PYPY_PV/_rc/rc} -PATCHSET="pypy3.9-gentoo-patches-${PV/_rc/rc}" - -DESCRIPTION="A fast, compliant alternative implementation of the Python (3.9) language" -HOMEPAGE="https://www.pypy.org/" -SRC_URI=" - https://buildbot.pypy.org/pypy/${MY_P}-src.tar.bz2 - https://dev.gentoo.org/~mgorny/dist/python/${PATCHSET}.tar.xz -" -S="${WORKDIR}/${MY_P}-src" - -LICENSE="MIT" -# pypy3 -c 'import sysconfig; print(sysconfig.get_config_var("SOABI"))' -# also check pypy/interpreter/pycode.py -> pypy_incremental_magic -SLOT="0/pypy39-pp73" -KEYWORDS="amd64 ~arm64 ~ppc64 x86 ~amd64-linux ~x86-linux" -IUSE="bzip2 gdbm +jit ncurses sqlite test tk" -# many tests are failing upstream -# see https://buildbot.pypy.org/summary?branch=py3.9 -RESTRICT="test" - -RDEPEND=" - || ( - >=dev-python/pypy3-exe-${PYPY_PV}:3.9-${PYPY_PV}[bzip2?,ncurses?] - >=dev-python/pypy3-exe-bin-${PYPY_PV}:3.9-${PYPY_PV} - ) - dev-lang/python-exec[python_targets_pypy3(-)] - dev-libs/openssl:0= - gdbm? ( sys-libs/gdbm:0= ) - sqlite? ( dev-db/sqlite:3= ) - tk? ( - dev-lang/tk:0= - dev-tcltk/tix:0= - ) - !<dev-python/pypy3-bin-7.3.0:0 -" -DEPEND=" - ${RDEPEND} - test? ( - ${PYTHON_DEPS} - !!dev-python/pytest-forked - ) -" - -pkg_setup() { - use test && python-any-r1_pkg_setup -} - -src_prepare() { - local PATCHES=( - "${WORKDIR}/${PATCHSET}" - ) - default - - eapply_user -} - -src_configure() { - tc-export CC -} - -src_compile() { - mkdir bin || die - # switch to the layout expected for cffi module builds - mkdir include/pypy3.9 || die - # copy over to make sys.prefix happy - cp -p "${BROOT}"/usr/bin/pypy3.9-c-${PYPY_PV} pypy3.9-c || die - cp -p "${BROOT}"/usr/include/pypy3.9/${PYPY_PV}/* include/pypy3.9/ || die - # (not installed by pypy-exe) - rm pypy/module/cpyext/include/_numpypy/numpy/README || die - mv pypy/module/cpyext/include/* include/pypy3.9/ || die - mv pypy/module/cpyext/parse/*.h include/pypy3.9/ || die - pax-mark m pypy3.9-c - - # verify the subslot - local soabi=$( - ./pypy3.9-c - <<-EOF - import sysconfig - print(sysconfig.get_config_var("SOABI")) - EOF - ) - [[ ${soabi} == ${SLOT#*/} ]] || die "update subslot to ${soabi}" - - einfo "Generating caches and CFFI modules ..." - - # Generate Grammar and PatternGrammar pickles. - ./pypy3.9-c - <<-EOF || die "Generation of Grammar and PatternGrammar pickles failed" - import lib2to3.pygram - import lib2to3.patcomp - lib2to3.patcomp.PatternCompiler() - EOF - - # Generate cffi modules - # Please keep in sync with pypy/tool/build_cffi_imports.py! - # (NB: we build CFFI modules first to avoid error log when importing - # build_cffi_imports). - cffi_targets=( pypy_util blake2/_blake2 sha3/_sha3 ssl - audioop syslog pwdgrp resource lzma posixshmem ) - use gdbm && cffi_targets+=( gdbm ) - use ncurses && cffi_targets+=( curses ) - use sqlite && cffi_targets+=( sqlite3 ) - use tk && cffi_targets+=( tkinter/tklib ) - - local t - # all modules except tkinter output to . - # tkinter outputs to the correct dir ... - cd lib_pypy || die - for t in "${cffi_targets[@]}"; do - # tkinter doesn't work via -m - ../pypy3.9-c "_${t}_build.py" || die "Failed to build CFFI bindings for ${t}" - done - - # Verify that CFFI module list is up-to-date - local expected_cksum=63d4659f - local local_cksum=$( - ../pypy3.9-c - <<-EOF - import binascii - import json - from pypy_tools.build_cffi_imports import cffi_build_scripts as x - print("%08x" % (binascii.crc32(json.dumps(x).encode()),)) - EOF - ) - if [[ ${local_cksum} != ${expected_cksum} ]]; then - die "Please verify cffi_targets and update checksum to ${local_cksum}" - fi - - # Cleanup temporary objects - find -name "*_cffi.[co]" -delete || die - find -type d -empty -delete || die -} - -src_test() { - # (unset) - local -x PYTHONDONTWRITEBYTECODE= - local -x COLUMNS=80 - - # Test runner requires Python 2 too. However, it spawns PyPy3 - # internally so that we end up testing the correct interpreter. - # (--deselect for failing doctests) - "${EPYTHON}" ./pypy/test_all.py --pypy=./pypy3.9-c -vv lib-python || die -} - -src_install() { - einfo "Installing PyPy ..." - dodir /usr/bin - dosym pypy3.9-c-${PYPY_PV} /usr/bin/pypy3.9 - dosym pypy3.9 /usr/bin/pypy3 - insinto /usr/lib/pypy3.9 - # preserve mtimes to avoid obsoleting caches - insopts -p - doins -r lib-python/3/. lib_pypy/. - insinto /usr/include - doins -r include/pypy3.9 - - # replace copied headers with symlinks - for x in "${BROOT}"/usr/include/pypy3.9/${PYPY_PV}/*; do - dosym "${PYPY_PV}/${x##*/}" "/usr/include/pypy3.9/${x##*/}" - done - - dodoc README.rst - - local dest=/usr/lib/pypy3.9 - if ! use gdbm; then - rm -r "${ED}${dest}"/_gdbm* || die - fi - if ! use sqlite; then - rm -r "${ED}${dest}"/sqlite3 \ - "${ED}${dest}"/_sqlite3* \ - "${ED}${dest}"/test/test_sqlite.py || die - fi - if ! use tk; then - rm -r "${ED}${dest}"/{idlelib,tkinter} \ - "${ED}${dest}"/_tkinter \ - "${ED}${dest}"/test/test_{tcl,tk,ttk*}.py || die - fi - - local -x EPYTHON=pypy3 - local -x PYTHON=${ED}/usr/bin/pypy3.9-c-${PYPY_PV} - # temporarily copy to build tree to facilitate module builds - cp -p "${BROOT}/usr/bin/pypy3.9-c-${PYPY_PV}" "${PYTHON}" || die - - echo "EPYTHON='${EPYTHON}'" > epython.py || die - python_moduleinto "${dest}"/site-packages - python_domodule epython.py - - einfo "Byte-compiling Python standard library..." - python_optimize "${ED}${dest}" - - # remove to avoid collisions - rm "${PYTHON}" || die -} diff --git a/dev-python/pypy3/pypy3-7.3.9_p2.ebuild b/dev-python/pypy3/pypy3-7.3.9_p2.ebuild deleted file mode 100644 index 536c3974f232..000000000000 --- a/dev-python/pypy3/pypy3-7.3.9_p2.ebuild +++ /dev/null @@ -1,200 +0,0 @@ -# Copyright 1999-2022 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -PYTHON_COMPAT=( python2_7 ) -inherit pax-utils python-any-r1 toolchain-funcs - -PYPY_PV=${PV%_p*} -MY_P=pypy3.9-v${PYPY_PV/_rc/rc} -PATCHSET="pypy3.9-gentoo-patches-${PV/_rc/rc}" - -DESCRIPTION="A fast, compliant alternative implementation of the Python (3.9) language" -HOMEPAGE="https://www.pypy.org/" -SRC_URI=" - https://buildbot.pypy.org/pypy/${MY_P}-src.tar.bz2 - https://dev.gentoo.org/~mgorny/dist/python/${PATCHSET}.tar.xz -" -S="${WORKDIR}/${MY_P}-src" - -LICENSE="MIT" -# pypy3 -c 'import sysconfig; print(sysconfig.get_config_var("SOABI"))' -# also check pypy/interpreter/pycode.py -> pypy_incremental_magic -SLOT="0/pypy39-pp73" -KEYWORDS="~amd64 ~arm64 ~ppc64 ~x86 ~amd64-linux ~x86-linux" -IUSE="bzip2 gdbm +jit ncurses sqlite test tk" -# many tests are failing upstream -# see https://buildbot.pypy.org/summary?branch=py3.9 -RESTRICT="test" - -RDEPEND=" - || ( - >=dev-python/pypy3-exe-${PYPY_PV}:3.9-${PYPY_PV}[bzip2?,ncurses?] - >=dev-python/pypy3-exe-bin-${PYPY_PV}:3.9-${PYPY_PV} - ) - dev-lang/python-exec[python_targets_pypy3(-)] - dev-libs/openssl:0= - gdbm? ( sys-libs/gdbm:0= ) - sqlite? ( dev-db/sqlite:3= ) - tk? ( - dev-lang/tk:0= - dev-tcltk/tix:0= - ) - !<dev-python/pypy3-bin-7.3.0:0 -" -DEPEND=" - ${RDEPEND} - test? ( - ${PYTHON_DEPS} - !!dev-python/pytest-forked - ) -" - -pkg_setup() { - use test && python-any-r1_pkg_setup -} - -src_prepare() { - local PATCHES=( - "${WORKDIR}/${PATCHSET}" - ) - default - - eapply_user -} - -src_configure() { - tc-export CC -} - -src_compile() { - mkdir bin || die - # switch to the layout expected for cffi module builds - mkdir include/pypy3.9 || die - # copy over to make sys.prefix happy - cp -p "${BROOT}"/usr/bin/pypy3.9-c-${PYPY_PV} pypy3.9-c || die - cp -p "${BROOT}"/usr/include/pypy3.9/${PYPY_PV}/* include/pypy3.9/ || die - # (not installed by pypy-exe) - rm pypy/module/cpyext/include/_numpypy/numpy/README || die - mv pypy/module/cpyext/include/* include/pypy3.9/ || die - mv pypy/module/cpyext/parse/*.h include/pypy3.9/ || die - pax-mark m pypy3.9-c - - # verify the subslot - local soabi=$( - ./pypy3.9-c - <<-EOF - import sysconfig - print(sysconfig.get_config_var("SOABI")) - EOF - ) - [[ ${soabi} == ${SLOT#*/} ]] || die "update subslot to ${soabi}" - - einfo "Generating caches and CFFI modules ..." - - # Generate Grammar and PatternGrammar pickles. - ./pypy3.9-c - <<-EOF || die "Generation of Grammar and PatternGrammar pickles failed" - import lib2to3.pygram - import lib2to3.patcomp - lib2to3.patcomp.PatternCompiler() - EOF - - # Generate cffi modules - # Please keep in sync with pypy/tool/build_cffi_imports.py! - # (NB: we build CFFI modules first to avoid error log when importing - # build_cffi_imports). - cffi_targets=( pypy_util blake2/_blake2 sha3/_sha3 ssl - audioop syslog pwdgrp resource lzma posixshmem ) - use gdbm && cffi_targets+=( gdbm ) - use ncurses && cffi_targets+=( curses ) - use sqlite && cffi_targets+=( sqlite3 ) - use tk && cffi_targets+=( tkinter/tklib ) - - local t - # all modules except tkinter output to . - # tkinter outputs to the correct dir ... - cd lib_pypy || die - for t in "${cffi_targets[@]}"; do - # tkinter doesn't work via -m - ../pypy3.9-c "_${t}_build.py" || die "Failed to build CFFI bindings for ${t}" - done - - # Verify that CFFI module list is up-to-date - local expected_cksum=63d4659f - local local_cksum=$( - ../pypy3.9-c - <<-EOF - import binascii - import json - from pypy_tools.build_cffi_imports import cffi_build_scripts as x - print("%08x" % (binascii.crc32(json.dumps(x).encode()),)) - EOF - ) - if [[ ${local_cksum} != ${expected_cksum} ]]; then - die "Please verify cffi_targets and update checksum to ${local_cksum}" - fi - - # Cleanup temporary objects - find -name "*_cffi.[co]" -delete || die - find -type d -empty -delete || die -} - -src_test() { - # (unset) - local -x PYTHONDONTWRITEBYTECODE= - local -x COLUMNS=80 - - # Test runner requires Python 2 too. However, it spawns PyPy3 - # internally so that we end up testing the correct interpreter. - # (--deselect for failing doctests) - "${EPYTHON}" ./pypy/test_all.py --pypy=./pypy3.9-c -vv lib-python || die -} - -src_install() { - einfo "Installing PyPy ..." - dodir /usr/bin - dosym pypy3.9-c-${PYPY_PV} /usr/bin/pypy3.9 - dosym pypy3.9 /usr/bin/pypy3 - insinto /usr/lib/pypy3.9 - # preserve mtimes to avoid obsoleting caches - insopts -p - doins -r lib-python/3/. lib_pypy/. - insinto /usr/include - doins -r include/pypy3.9 - - # replace copied headers with symlinks - for x in "${BROOT}"/usr/include/pypy3.9/${PYPY_PV}/*; do - dosym "${PYPY_PV}/${x##*/}" "/usr/include/pypy3.9/${x##*/}" - done - - dodoc README.rst - - local dest=/usr/lib/pypy3.9 - if ! use gdbm; then - rm -r "${ED}${dest}"/_gdbm* || die - fi - if ! use sqlite; then - rm -r "${ED}${dest}"/sqlite3 \ - "${ED}${dest}"/_sqlite3* \ - "${ED}${dest}"/test/test_sqlite.py || die - fi - if ! use tk; then - rm -r "${ED}${dest}"/{idlelib,tkinter} \ - "${ED}${dest}"/_tkinter \ - "${ED}${dest}"/test/test_{tcl,tk,ttk*}.py || die - fi - - local -x EPYTHON=pypy3 - local -x PYTHON=${ED}/usr/bin/pypy3.9-c-${PYPY_PV} - # temporarily copy to build tree to facilitate module builds - cp -p "${BROOT}/usr/bin/pypy3.9-c-${PYPY_PV}" "${PYTHON}" || die - - echo "EPYTHON='${EPYTHON}'" > epython.py || die - python_moduleinto "${dest}"/site-packages - python_domodule epython.py - - einfo "Byte-compiling Python standard library..." - python_optimize "${ED}${dest}" - - # remove to avoid collisions - rm "${PYTHON}" || die -} diff --git a/dev-python/pypy3/pypy3-7.3.9_p3.ebuild b/dev-python/pypy3/pypy3-7.3.9_p3.ebuild deleted file mode 100644 index f350af4d2dd4..000000000000 --- a/dev-python/pypy3/pypy3-7.3.9_p3.ebuild +++ /dev/null @@ -1,203 +0,0 @@ -# Copyright 1999-2022 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -PYTHON_COMPAT=( python2_7 ) -inherit pax-utils python-any-r1 toolchain-funcs - -PYPY_PV=${PV%_p*} -MY_P=pypy3.9-v${PYPY_PV/_rc/rc} -PATCHSET="pypy3.9-gentoo-patches-${PV/_rc/rc}" - -DESCRIPTION="A fast, compliant alternative implementation of the Python (3.9) language" -HOMEPAGE="https://www.pypy.org/" -SRC_URI=" - https://buildbot.pypy.org/pypy/${MY_P}-src.tar.bz2 - https://dev.gentoo.org/~mgorny/dist/python/${PATCHSET}.tar.xz -" -S="${WORKDIR}/${MY_P}-src" - -LICENSE="MIT" -# pypy3 -c 'import sysconfig; print(sysconfig.get_config_var("SOABI"))' -# also check pypy/interpreter/pycode.py -> pypy_incremental_magic -SLOT="0/pypy39-pp73-336" -KEYWORDS="~amd64 ~arm64 ~ppc64 ~x86 ~amd64-linux ~x86-linux" -IUSE="bzip2 gdbm +jit ncurses sqlite test tk" -# many tests are failing upstream -# see https://buildbot.pypy.org/summary?branch=py3.9 -RESTRICT="test" - -RDEPEND=" - || ( - >=dev-python/pypy3-exe-${PYPY_PV}_p3:3.9-${PYPY_PV}[bzip2?,ncurses?] - >=dev-python/pypy3-exe-bin-${PYPY_PV}_p3:3.9-${PYPY_PV} - ) - dev-lang/python-exec[python_targets_pypy3(-)] - dev-libs/openssl:0= - gdbm? ( sys-libs/gdbm:0= ) - sqlite? ( dev-db/sqlite:3= ) - tk? ( - dev-lang/tk:0= - dev-tcltk/tix:0= - ) - !<dev-python/pypy3-bin-7.3.0:0 -" -DEPEND=" - ${RDEPEND} - test? ( - ${PYTHON_DEPS} - !!dev-python/pytest-forked - ) -" - -pkg_setup() { - use test && python-any-r1_pkg_setup -} - -src_prepare() { - local PATCHES=( - "${WORKDIR}/${PATCHSET}" - ) - default - - eapply_user -} - -src_configure() { - tc-export CC -} - -src_compile() { - mkdir bin || die - # switch to the layout expected for cffi module builds - mkdir include/pypy3.9 || die - # copy over to make sys.prefix happy - cp -p "${BROOT}"/usr/bin/pypy3.9-c-${PYPY_PV} pypy3.9-c || die - cp -p "${BROOT}"/usr/include/pypy3.9/${PYPY_PV}/* include/pypy3.9/ || die - # (not installed by pypy-exe) - rm pypy/module/cpyext/include/_numpypy/numpy/README || die - mv pypy/module/cpyext/include/* include/pypy3.9/ || die - mv pypy/module/cpyext/parse/*.h include/pypy3.9/ || die - pax-mark m pypy3.9-c - - # verify the subslot - local soabi=$( - ./pypy3.9-c - <<-EOF - import importlib.util - import sysconfig - soabi = sysconfig.get_config_var("SOABI") - magic = importlib.util._RAW_MAGIC_NUMBER & 0xffff - print(f"{soabi}-{magic}") - EOF - ) - [[ ${soabi} == ${SLOT#*/} ]] || die "update subslot to ${soabi}" - - einfo "Generating caches and CFFI modules ..." - - # Generate Grammar and PatternGrammar pickles. - ./pypy3.9-c - <<-EOF || die "Generation of Grammar and PatternGrammar pickles failed" - import lib2to3.pygram - import lib2to3.patcomp - lib2to3.patcomp.PatternCompiler() - EOF - - # Generate cffi modules - # Please keep in sync with pypy/tool/build_cffi_imports.py! - # (NB: we build CFFI modules first to avoid error log when importing - # build_cffi_imports). - cffi_targets=( pypy_util blake2/_blake2 sha3/_sha3 ssl - audioop syslog pwdgrp resource lzma posixshmem ) - use gdbm && cffi_targets+=( gdbm ) - use ncurses && cffi_targets+=( curses ) - use sqlite && cffi_targets+=( sqlite3 ) - use tk && cffi_targets+=( tkinter/tklib ) - - local t - # all modules except tkinter output to . - # tkinter outputs to the correct dir ... - cd lib_pypy || die - for t in "${cffi_targets[@]}"; do - # tkinter doesn't work via -m - ../pypy3.9-c "_${t}_build.py" || die "Failed to build CFFI bindings for ${t}" - done - - # Verify that CFFI module list is up-to-date - local expected_cksum=63d4659f - local local_cksum=$( - ../pypy3.9-c - <<-EOF - import binascii - import json - from pypy_tools.build_cffi_imports import cffi_build_scripts as x - print("%08x" % (binascii.crc32(json.dumps(x).encode()),)) - EOF - ) - if [[ ${local_cksum} != ${expected_cksum} ]]; then - die "Please verify cffi_targets and update checksum to ${local_cksum}" - fi - - # Cleanup temporary objects - find -name "*_cffi.[co]" -delete || die - find -type d -empty -delete || die -} - -src_test() { - # (unset) - local -x PYTHONDONTWRITEBYTECODE= - local -x COLUMNS=80 - - # Test runner requires Python 2 too. However, it spawns PyPy3 - # internally so that we end up testing the correct interpreter. - # (--deselect for failing doctests) - "${EPYTHON}" ./pypy/test_all.py --pypy=./pypy3.9-c -vv lib-python || die -} - -src_install() { - einfo "Installing PyPy ..." - dodir /usr/bin - dosym pypy3.9-c-${PYPY_PV} /usr/bin/pypy3.9 - dosym pypy3.9 /usr/bin/pypy3 - insinto /usr/lib/pypy3.9 - # preserve mtimes to avoid obsoleting caches - insopts -p - doins -r lib-python/3/. lib_pypy/. - insinto /usr/include - doins -r include/pypy3.9 - - # replace copied headers with symlinks - for x in "${BROOT}"/usr/include/pypy3.9/${PYPY_PV}/*; do - dosym "${PYPY_PV}/${x##*/}" "/usr/include/pypy3.9/${x##*/}" - done - - dodoc README.rst - - local dest=/usr/lib/pypy3.9 - if ! use gdbm; then - rm -r "${ED}${dest}"/_gdbm* || die - fi - if ! use sqlite; then - rm -r "${ED}${dest}"/sqlite3 \ - "${ED}${dest}"/_sqlite3* \ - "${ED}${dest}"/test/test_sqlite.py || die - fi - if ! use tk; then - rm -r "${ED}${dest}"/{idlelib,tkinter} \ - "${ED}${dest}"/_tkinter \ - "${ED}${dest}"/test/test_{tcl,tk,ttk*}.py || die - fi - - local -x EPYTHON=pypy3 - local -x PYTHON=${ED}/usr/bin/pypy3.9-c-${PYPY_PV} - # temporarily copy to build tree to facilitate module builds - cp -p "${BROOT}/usr/bin/pypy3.9-c-${PYPY_PV}" "${PYTHON}" || die - - echo "EPYTHON='${EPYTHON}'" > epython.py || die - python_moduleinto "${dest}"/site-packages - python_domodule epython.py - - einfo "Byte-compiling Python standard library..." - python_optimize "${ED}${dest}" - - # remove to avoid collisions - rm "${PYTHON}" || die -} diff --git a/dev-python/pypy3/pypy3-7.3.9_p4.ebuild b/dev-python/pypy3/pypy3-7.3.9_p4.ebuild deleted file mode 100644 index 62da106fee36..000000000000 --- a/dev-python/pypy3/pypy3-7.3.9_p4.ebuild +++ /dev/null @@ -1,210 +0,0 @@ -# Copyright 1999-2022 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -PYTHON_COMPAT=( python2_7 ) -inherit pax-utils python-any-r1 toolchain-funcs - -PYPY_PV=${PV%_p*} -MY_P=pypy3.9-v${PYPY_PV/_rc/rc} -PATCHSET="pypy3.9-gentoo-patches-${PV/_rc/rc}" - -DESCRIPTION="A fast, compliant alternative implementation of the Python (3.9) language" -HOMEPAGE=" - https://www.pypy.org/ - https://foss.heptapod.net/pypy/pypy/ -" -SRC_URI=" - https://buildbot.pypy.org/pypy/${MY_P}-src.tar.bz2 - https://dev.gentoo.org/~mgorny/dist/python/${PATCHSET}.tar.xz -" -S="${WORKDIR}/${MY_P}-src" - -LICENSE="MIT" -# pypy3 -c 'import sysconfig; print(sysconfig.get_config_var("SOABI"))' -# also check pypy/interpreter/pycode.py -> pypy_incremental_magic -SLOT="0/pypy39-pp73-336" -KEYWORDS="~amd64 ~arm64 ~ppc64 ~x86 ~amd64-linux ~x86-linux" -IUSE="bzip2 +ensurepip gdbm +jit ncurses sqlite test tk" -# many tests are failing upstream -# see https://buildbot.pypy.org/summary?branch=py3.9 -RESTRICT="test" - -RDEPEND=" - || ( - >=dev-python/pypy3-exe-${PYPY_PV}_p3:3.9-${PYPY_PV}[bzip2?,ncurses?] - >=dev-python/pypy3-exe-bin-${PYPY_PV}_p3:3.9-${PYPY_PV} - ) - dev-lang/python-exec[python_targets_pypy3(-)] - dev-libs/openssl:0= - ensurepip? ( dev-python/ensurepip-wheels ) - gdbm? ( sys-libs/gdbm:0= ) - sqlite? ( dev-db/sqlite:3= ) - tk? ( - dev-lang/tk:0= - dev-tcltk/tix:0= - ) - !<dev-python/pypy3-bin-7.3.0:0 -" -DEPEND=" - ${RDEPEND} - test? ( - ${PYTHON_DEPS} - !!dev-python/pytest-forked - ) -" - -pkg_setup() { - use test && python-any-r1_pkg_setup -} - -src_prepare() { - local PATCHES=( - "${WORKDIR}/${PATCHSET}" - ) - default - - eapply_user -} - -src_configure() { - tc-export CC -} - -src_compile() { - mkdir bin || die - # switch to the layout expected for cffi module builds - mkdir include/pypy3.9 || die - # copy over to make sys.prefix happy - cp -p "${BROOT}"/usr/bin/pypy3.9-c-${PYPY_PV} pypy3.9-c || die - cp -p "${BROOT}"/usr/include/pypy3.9/${PYPY_PV}/* include/pypy3.9/ || die - # (not installed by pypy-exe) - rm pypy/module/cpyext/include/_numpypy/numpy/README || die - mv pypy/module/cpyext/include/* include/pypy3.9/ || die - mv pypy/module/cpyext/parse/*.h include/pypy3.9/ || die - pax-mark m pypy3.9-c - - # verify the subslot - local soabi=$( - ./pypy3.9-c - <<-EOF - import importlib.util - import sysconfig - soabi = sysconfig.get_config_var("SOABI") - magic = importlib.util._RAW_MAGIC_NUMBER & 0xffff - print(f"{soabi}-{magic}") - EOF - ) - [[ ${soabi} == ${SLOT#*/} ]] || die "update subslot to ${soabi}" - - # Add epython.py to the distribution - echo "EPYTHON='${EPYTHON}'" > lib-python/3/epython.py || die - - einfo "Generating caches and CFFI modules ..." - - # Generate Grammar and PatternGrammar pickles. - ./pypy3.9-c - <<-EOF || die "Generation of Grammar and PatternGrammar pickles failed" - import lib2to3.pygram - import lib2to3.patcomp - lib2to3.patcomp.PatternCompiler() - EOF - - # Generate cffi modules - # Please keep in sync with pypy/tool/build_cffi_imports.py! - # (NB: we build CFFI modules first to avoid error log when importing - # build_cffi_imports). - cffi_targets=( pypy_util blake2/_blake2 sha3/_sha3 ssl - audioop syslog pwdgrp resource lzma posixshmem ) - use gdbm && cffi_targets+=( gdbm ) - use ncurses && cffi_targets+=( curses ) - use sqlite && cffi_targets+=( sqlite3 ) - use tk && cffi_targets+=( tkinter/tklib ) - - local t - # all modules except tkinter output to . - # tkinter outputs to the correct dir ... - cd lib_pypy || die - for t in "${cffi_targets[@]}"; do - # tkinter doesn't work via -m - ../pypy3.9-c "_${t}_build.py" || die "Failed to build CFFI bindings for ${t}" - done - - # Verify that CFFI module list is up-to-date - local expected_cksum=63d4659f - local local_cksum=$( - ../pypy3.9-c - <<-EOF - import binascii - import json - from pypy_tools.build_cffi_imports import cffi_build_scripts as x - print("%08x" % (binascii.crc32(json.dumps(x).encode()),)) - EOF - ) - if [[ ${local_cksum} != ${expected_cksum} ]]; then - die "Please verify cffi_targets and update checksum to ${local_cksum}" - fi - - # Cleanup temporary objects - find -name "*_cffi.[co]" -delete || die - find -type d -empty -delete || die -} - -src_test() { - # (unset) - local -x PYTHONDONTWRITEBYTECODE= - local -x COLUMNS=80 - - # Test runner requires Python 2 too. However, it spawns PyPy3 - # internally so that we end up testing the correct interpreter. - # (--deselect for failing doctests) - "${EPYTHON}" ./pypy/test_all.py --pypy=./pypy3.9-c -vv lib-python || die -} - -src_install() { - einfo "Installing PyPy ..." - dodir /usr/bin - dosym pypy3.9-c-${PYPY_PV} /usr/bin/pypy3.9 - dosym pypy3.9 /usr/bin/pypy3 - insinto /usr/lib/pypy3.9 - # preserve mtimes to avoid obsoleting caches - insopts -p - doins -r lib-python/3/. lib_pypy/. - insinto /usr/include - doins -r include/pypy3.9 - - # replace copied headers with symlinks - for x in "${BROOT}"/usr/include/pypy3.9/${PYPY_PV}/*; do - dosym "${PYPY_PV}/${x##*/}" "/usr/include/pypy3.9/${x##*/}" - done - - dodoc README.rst - - local dest=/usr/lib/pypy3.9 - rm -r "${ED}${dest}"/ensurepip/_bundled || die - if ! use ensurepip; then - rm -r "${ED}${dest}"/ensurepip || die - fi - if ! use gdbm; then - rm -r "${ED}${dest}"/_gdbm* || die - fi - if ! use sqlite; then - rm -r "${ED}${dest}"/sqlite3 \ - "${ED}${dest}"/_sqlite3* \ - "${ED}${dest}"/test/test_sqlite.py || die - fi - if ! use tk; then - rm -r "${ED}${dest}"/{idlelib,tkinter} \ - "${ED}${dest}"/_tkinter \ - "${ED}${dest}"/test/test_{tcl,tk,ttk*}.py || die - fi - - local -x EPYTHON=pypy3 - local -x PYTHON=${ED}/usr/bin/pypy3.9-c-${PYPY_PV} - # temporarily copy to build tree to facilitate module builds - cp -p "${BROOT}/usr/bin/pypy3.9-c-${PYPY_PV}" "${PYTHON}" || die - - einfo "Byte-compiling Python standard library..." - python_optimize "${ED}${dest}" - - # remove to avoid collisions - rm "${PYTHON}" || die -} diff --git a/dev-python/pypy3/pypy3-7.3.9_p5.ebuild b/dev-python/pypy3/pypy3-7.3.9_p5.ebuild index 62da106fee36..1574588f1f3f 100644 --- a/dev-python/pypy3/pypy3-7.3.9_p5.ebuild +++ b/dev-python/pypy3/pypy3-7.3.9_p5.ebuild @@ -25,7 +25,7 @@ LICENSE="MIT" # pypy3 -c 'import sysconfig; print(sysconfig.get_config_var("SOABI"))' # also check pypy/interpreter/pycode.py -> pypy_incremental_magic SLOT="0/pypy39-pp73-336" -KEYWORDS="~amd64 ~arm64 ~ppc64 ~x86 ~amd64-linux ~x86-linux" +KEYWORDS="amd64 ~arm64 ~ppc64 x86 ~amd64-linux ~x86-linux" IUSE="bzip2 +ensurepip gdbm +jit ncurses sqlite test tk" # many tests are failing upstream # see https://buildbot.pypy.org/summary?branch=py3.9 diff --git a/dev-python/pyside2-tools/Manifest b/dev-python/pyside2-tools/Manifest index 945a5640d3d1..8c0ca44ef035 100644 --- a/dev-python/pyside2-tools/Manifest +++ b/dev-python/pyside2-tools/Manifest @@ -1,4 +1,6 @@ AUX pyside2-tools-5.15.1-dont-install-tools.patch 1782 BLAKE2B a9a1c3cb8d1e6feabbc752bb4bf0af30b645736b9895fe96063dc4a9d5668866523e567f723693b17c6da4101d28713cfa6ad8adadb78e6bb99756d7c69244a2 SHA512 c8b17db89f42a52f4191dda953d7228eafcafd6afb6d7b70527cef090ffd1f073970010a817bede941de10b4e40e41d35fb99b74091baeea6d237c08eb7f225f DIST pyside-setup-opensource-src-5.15.2.tar.xz 3472624 BLAKE2B 099abeaf25059a88f299f90b18cf79aa45acd86580c0873767b09f76268d6746cc3576743a19493a605de59b520471ddee6bba0e5340801ef44a21f2a9d41507 SHA512 5043c1c9db4ba0133baaabb4d4943182e9741b1007bedd992394758707a37bba0688dc6413ea46620e7c2fb09daa3c74e6a7bb2c302b9d08e5f3bb7575d02b62 +DIST pyside-setup-opensource-src-5.15.5.tar.xz 3577972 BLAKE2B ee16ce18ec4103add41ad89b658012cb2e8695bda51269d3cd1614c2b6d029c0eaba5e592d5e58b6267e1ddc020a938d3ccd2fbc9461cc5bf202f3bdbf6b5d62 SHA512 61b987ec823e9a89f2a07a1991d47f36eb45e3ce416aa6e0032a58ba3d623ac26224cb0f43a2db76850bce7290d12fae610de06405350362caac7860ba99f0c3 EBUILD pyside2-tools-5.15.2.ebuild 1654 BLAKE2B 5f08539ae1da3dfcc0b3c923b6457cce03f26aa3889bc72461432b820d0d9d313439e48dc6186bd1c94915b233a97e1a55994e0662cedffb56592bcdd07433cf SHA512 0886f8591d9a725a75d78513f757537abdf072bc4e9e2d9d8a882ca32ce3e5841f01056bfb661c7406cf2ee88aac2664428cf9dfe0e43e2339c61140baa7cc5e +EBUILD pyside2-tools-5.15.5.ebuild 1657 BLAKE2B c9143047f921a8bb850212fe77b81c6b4d169487e83f3b69a833802c86ca0bee28e12193954adc9c9e22edc12ae1245971023b0addbd805fcb256c83f4528e66 SHA512 0a42d037bf09abed7fa6e0cefebd858c193552c8b9e0b145c6a6a97e1116fb3124d854b3e606029a1da2cf0297099b3798e27403dab3eae804d4922b08ff6171 MISC metadata.xml 250 BLAKE2B 2bd2a200020745da1f097ec123623682c370bf39f88991aed60c1682b0c18f56a698812a65e2f63699cf61fb6f433bcfc91de65b77290fe6053ac122a3ee21cd SHA512 bda67aad1f4c4e8949671e4a7a0e757359b53050f6873aca15fdaeea73064e1523143a8e5132e2f665770489442f0f6aca1d061577f6a5befbc59f2bb52ce62c diff --git a/dev-python/pyside2-tools/pyside2-tools-5.15.5.ebuild b/dev-python/pyside2-tools/pyside2-tools-5.15.5.ebuild new file mode 100644 index 000000000000..93f140bde892 --- /dev/null +++ b/dev-python/pyside2-tools/pyside2-tools-5.15.5.ebuild @@ -0,0 +1,77 @@ +# Copyright 1999-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +# TODO: Add PyPy once officially supported. See also: +# https://bugreports.qt.io/browse/PYSIDE-535 +PYTHON_COMPAT=( python3_{8..11} ) +CMAKE_IN_SOURCE_BUILD=1 + +inherit cmake python-r1 + +MY_P=pyside-setup-opensource-src-${PV} + +DESCRIPTION="PySide development tools (pyside2-lupdate with support for Python)" +HOMEPAGE="https://wiki.qt.io/PySide2" +SRC_URI="https://download.qt.io/official_releases/QtForPython/pyside2/PySide2-${PV}-src/${MY_P}.tar.xz" +S="${WORKDIR}/${MY_P}/sources/${PN}" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64 ~arm64 ~x86" +REQUIRED_USE="${PYTHON_REQUIRED_USE}" + +RDEPEND="${PYTHON_DEPS} + >=dev-python/pyside2-${PV}[${PYTHON_USEDEP}] +" +DEPEND="${RDEPEND}" + +DOCS=( README.md ) + +# the tools conflict with tools from QT +PATCHES=( + "${FILESDIR}/${PN}-5.15.1-dont-install-tools.patch" +) + +src_prepare() { + cmake_src_prepare + + python_copy_sources +} + +src_configure() { + # The tests are only related to the tools that we don't install + local mycmakeargs=( + -DBUILD_TESTS=OFF + ) + + pyside-tools_configure() { + local mycmakeargs=( + "${mycmakeargs[@]}" + -DPYTHON_CONFIG_SUFFIX="-${EPYTHON}" + ) + CMAKE_USE_DIR="${BUILD_DIR}" cmake_src_configure + } + + python_foreach_impl pyside-tools_configure +} + +src_compile() { + pyside-tools_compile() { + CMAKE_USE_DIR="${BUILD_DIR}" cmake_src_compile + } + + python_foreach_impl pyside-tools_compile +} + +src_install() { + pyside-tools_install() { + python_doexe "${BUILD_DIR}/pylupdate/pyside2-lupdate" + } + + python_foreach_impl pyside-tools_install + + doman pylupdate/pyside2-lupdate.1 + einstalldocs +} diff --git a/dev-python/pyside2/Manifest b/dev-python/pyside2/Manifest index 880f4148894e..35a3b7c0b439 100644 --- a/dev-python/pyside2/Manifest +++ b/dev-python/pyside2/Manifest @@ -2,5 +2,7 @@ AUX pyside2-5.15.2-python310.patch 508 BLAKE2B bdfc33975d1dd0c9eb73d1bae3ec2aff8 AUX pyside2-5.15.2-python311-fixups.patch 1962 BLAKE2B 37d91352ea09eaef6d36c600165e4fea74145b0fa05620e739254d3983acc501455154fc51ce3448aa4f60a00cd377f0896cb3dc14f1a921d6948dc53c500784 SHA512 39e999c80ed2717eaf59b47c12e64208d1b54d3d61daacf7a8ebeb4586f3b7312dd5db3fc53d4d2f3c426d80729e5d655e9b612153c704b40b7d261ddd57e580 AUX pyside2-5.15.2-python311.patch 1777 BLAKE2B 1afa7c39755c4f91b4b4c951f59e1a3190f924d8b20cf2140ad5342c2fa046ff7e6bec540bea9d7652116894e0cb7f5fa5ea73067212ca5b631382e7139d7786 SHA512 b88f300e4944cbb9adc8ac887e263e74e088a1b291000c86f6677a01241939e612fa5eebba3807fb2318477e68de241914832cc92ed0470726804d3098486120 DIST pyside-setup-opensource-src-5.15.2.tar.xz 3472624 BLAKE2B 099abeaf25059a88f299f90b18cf79aa45acd86580c0873767b09f76268d6746cc3576743a19493a605de59b520471ddee6bba0e5340801ef44a21f2a9d41507 SHA512 5043c1c9db4ba0133baaabb4d4943182e9741b1007bedd992394758707a37bba0688dc6413ea46620e7c2fb09daa3c74e6a7bb2c302b9d08e5f3bb7575d02b62 +DIST pyside-setup-opensource-src-5.15.5.tar.xz 3577972 BLAKE2B ee16ce18ec4103add41ad89b658012cb2e8695bda51269d3cd1614c2b6d029c0eaba5e592d5e58b6267e1ddc020a938d3ccd2fbc9461cc5bf202f3bdbf6b5d62 SHA512 61b987ec823e9a89f2a07a1991d47f36eb45e3ce416aa6e0032a58ba3d623ac26224cb0f43a2db76850bce7290d12fae610de06405350362caac7860ba99f0c3 EBUILD pyside2-5.15.2-r2.ebuild 8669 BLAKE2B bffd6ee4d015761d13684a328dcd5a2c623646cd6ba3dee968941ac438b20d64cc8164ea61462a3c540e0b836a5f093883135e7c69b66a195c18d19403788e00 SHA512 4bc858eb5d75cfdc36e077064175efdf3d36980948546aad775561d1c25e90ad01be93035d2bf1713f687e1b86efe099f67fe17492a27fe16fa8a2153786651a +EBUILD pyside2-5.15.5.ebuild 9117 BLAKE2B 0052f7df7aed5910f1d1b126036494c38c859371fcff69fe425a66ff117dda190531ee023ba68487cd7c747351b0ffa6064c5fb8ec1c725ade4cbc2b92e1829c SHA512 dfc719b93f71b6eac3bd0bda58fd0483e8c57b22490cd6f1b881227004f88e18e3564af44bfcaf28dc544ad88293b802c530d80b8d0290d8fa4e5234f07e3df8 MISC metadata.xml 2021 BLAKE2B 88a02910c29d93871a1b6d4709fec361712d083839186270ad9c5e6472876a3ba50d7aa9c4acd0b169de19caf3c8047a00b6d241ea64b24b65e0a7e796e6f418 SHA512 c42370395ed54c9a20d9969f0a764ef72537bd77a76fb35bd3a5f10abcb801c4794cdd4f2ca528e97e5fb7a1e9293c76845c6a77b973bde00a1ddd9c61b3e5ef diff --git a/dev-python/pyside2/pyside2-5.15.5.ebuild b/dev-python/pyside2/pyside2-5.15.5.ebuild new file mode 100644 index 000000000000..04cde289f2c2 --- /dev/null +++ b/dev-python/pyside2/pyside2-5.15.5.ebuild @@ -0,0 +1,224 @@ +# Copyright 1999-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +# TODO: Add PyPy once officially supported. See also: +# https://bugreports.qt.io/browse/PYSIDE-535 +PYTHON_COMPAT=( python3_{8..11} ) + +inherit cmake python-r1 virtualx + +# TODO: Add conditional support for "QtRemoteObjects" via a new "remoteobjects" +# USE flag after an external "dev-qt/qtremoteobjects" package has been created. +# TODO: Add conditional support for apidoc generation via a new "doc" USE flag. +# Note that doing so requires the Qt source tree, sphinx, and graphviz. Once +# ready, pass the ${QT_SRC_DIR} variable to cmake to enable this support. +# TODO: Disable GLES support if the "gles2-only" USE flag is disabled. Note +# that the "PySide2/QtGui/CMakeLists.txt" and +# "PySide2/QtOpenGLFunctions/CMakeLists.txt" files test for GLES support by +# testing whether the "Qt5::Gui" list property defined by +# "/usr/lib64/cmake/Qt5Gui/Qt5GuiConfig.cmake" at "dev-qt/qtgui" installation +# time contains the substring "opengles2". Since cmake does not permit +# properties to be overridden from the command line, these files must instead +# be conditionally patched to avoid these tests. An issue should be filed with +# upstream requesting a CLI-settable variable to control this. + +MY_P=pyside-setup-opensource-src-${PV} + +DESCRIPTION="Python bindings for the Qt framework" +HOMEPAGE="https://wiki.qt.io/PySide2" +SRC_URI="https://download.qt.io/official_releases/QtForPython/pyside2/PySide2-${PV}-src/${MY_P}.tar.xz" +S="${WORKDIR}/${MY_P}/sources/pyside2" + +# See "sources/pyside2/PySide2/licensecomment.txt" for licensing details. +# Shall we allow essential modules to be disabled? They are: +# (core), gui, widgets, printsupport, sql, network, testlib, concurrent, +# x11extras (for X) +LICENSE="|| ( GPL-2 GPL-3+ LGPL-3 )" +SLOT="0" +KEYWORDS="~amd64 ~arm ~arm64 ~x86" +IUSE=" + 3d charts +concurrent datavis designer gles2-only +gui help location + multimedia +network positioning +printsupport qml quick script scripttools + scxml sensors speech +sql svg test +testlib webchannel webengine websockets + +widgets +x11extras xml xmlpatterns +" + +# Manually reextract these requirements on version bumps by running the +# following one-liner from within "${S}": +# $ grep 'set.*_deps' PySide2/Qt*/CMakeLists.txt +# Note that the "designer" USE flag corresponds to the "Qt5UiTools" module. +REQUIRED_USE="${PYTHON_REQUIRED_USE} + 3d? ( gui network ) + charts? ( gui widgets ) + datavis? ( gui ) + designer? ( widgets xml ) + gles2-only? ( gui ) + help? ( widgets ) + location? ( positioning ) + multimedia? ( gui network widgets ) + printsupport? ( widgets ) + qml? ( gui network ) + quick? ( gui network qml widgets ) + scripttools? ( gui script widgets ) + speech? ( multimedia ) + sql? ( widgets ) + svg? ( widgets ) + testlib? ( widgets ) + webengine? ( + network + widgets? ( gui printsupport webchannel ) + ) + websockets? ( network ) + widgets? ( gui ) + x11extras? ( gui ) +" + +# Tests fail pretty bad and I'm not fixing them right now +RESTRICT="test" + +# Minimal supported version of Qt. +QT_PV="$(ver_cut 1-2):5" + +RDEPEND="${PYTHON_DEPS} + >=dev-python/shiboken2-${PV}[${PYTHON_USEDEP}] + dev-qt/qtcore:5 + dev-qt/qtopengl:5[gles2-only=] + dev-qt/qtserialport:5 + 3d? ( >=dev-qt/qt3d-${QT_PV}[qml?,gles2-only=] ) + charts? ( >=dev-qt/qtcharts-${QT_PV}[qml?] ) + concurrent? ( >=dev-qt/qtconcurrent-${QT_PV} ) + datavis? ( >=dev-qt/qtdatavis3d-${QT_PV}[qml?,gles2-only=] ) + designer? ( >=dev-qt/designer-${QT_PV} ) + gui? ( >=dev-qt/qtgui-${QT_PV}[jpeg,gles2-only=] ) + help? ( >=dev-qt/qthelp-${QT_PV} ) + location? ( >=dev-qt/qtlocation-${QT_PV} ) + multimedia? ( >=dev-qt/qtmultimedia-${QT_PV}[qml?,gles2-only=,widgets?] ) + network? ( >=dev-qt/qtnetwork-${QT_PV} ) + positioning? ( >=dev-qt/qtpositioning-${QT_PV}[qml?] ) + printsupport? ( >=dev-qt/qtprintsupport-${QT_PV}[gles2-only=] ) + qml? ( >=dev-qt/qtdeclarative-${QT_PV}[widgets?] ) + quick? ( + >=dev-qt/qtdeclarative-${QT_PV}[widgets?] + >=dev-qt/qtquickcontrols2-${QT_PV}[widgets?] + ) + script? ( >=dev-qt/qtscript-${QT_PV}[scripttools?] ) + scxml? ( >=dev-qt/qtscxml-${QT_PV} ) + sensors? ( >=dev-qt/qtsensors-${QT_PV}[qml?] ) + speech? ( >=dev-qt/qtspeech-${QT_PV} ) + sql? ( >=dev-qt/qtsql-${QT_PV} ) + svg? ( >=dev-qt/qtsvg-${QT_PV} ) + testlib? ( >=dev-qt/qttest-${QT_PV} ) + webchannel? ( >=dev-qt/qtwebchannel-${QT_PV}[qml] ) + webengine? ( >=dev-qt/qtwebengine-${QT_PV}[widgets?] ) + websockets? ( >=dev-qt/qtwebsockets-${QT_PV}[qml?] ) + widgets? ( >=dev-qt/qtwidgets-${QT_PV}[gles2-only=] ) + x11extras? ( >=dev-qt/qtx11extras-${QT_PV} ) + xml? ( >=dev-qt/qtxml-${QT_PV} ) + xmlpatterns? ( >=dev-qt/qtxmlpatterns-${QT_PV}[qml?] ) +" +DEPEND="${RDEPEND} + test? ( x11-misc/xvfb-run ) +" + +PATCHES=( + "${FILESDIR}/${PN}-5.15.2-python310.patch" + "${FILESDIR}/${PN}-5.15.2-python311.patch" + "${FILESDIR}"/${PN}-5.15.2-python311-fixups.patch +) + +src_configure() { + # See COLLECT_MODULE_IF_FOUND macros in CMakeLists.txt + local mycmakeargs=( + -DBUILD_TESTS=$(usex test) + -DCMAKE_DISABLE_FIND_PACKAGE_Qt53DAnimation=$(usex !3d) + -DCMAKE_DISABLE_FIND_PACKAGE_Qt53DCore=$(usex !3d) + -DCMAKE_DISABLE_FIND_PACKAGE_Qt53DExtras=$(usex !3d) + -DCMAKE_DISABLE_FIND_PACKAGE_Qt53DInput=$(usex !3d) + -DCMAKE_DISABLE_FIND_PACKAGE_Qt53DLogic=$(usex !3d) + -DCMAKE_DISABLE_FIND_PACKAGE_Qt53DRender=$(usex !3d) + -DCMAKE_DISABLE_FIND_PACKAGE_Qt5Charts=$(usex !charts) + -DCMAKE_DISABLE_FIND_PACKAGE_Qt5Concurrent=$(usex !concurrent) + -DCMAKE_DISABLE_FIND_PACKAGE_Qt5DataVisualization=$(usex !datavis) + -DCMAKE_DISABLE_FIND_PACKAGE_Qt5Designer=$(usex !designer) + -DCMAKE_DISABLE_FIND_PACKAGE_Qt5Gui=$(usex !gui) + -DCMAKE_DISABLE_FIND_PACKAGE_Qt5Help=$(usex !help) + -DCMAKE_DISABLE_FIND_PACKAGE_Qt5Location=$(usex !location) + -DCMAKE_DISABLE_FIND_PACKAGE_Qt5Multimedia=$(usex !multimedia) + -DCMAKE_DISABLE_FIND_PACKAGE_Qt5MultimediaWidgets=$(usex !multimedia yes $(usex !widgets)) + -DCMAKE_DISABLE_FIND_PACKAGE_Qt5Network=$(usex !network) + -DCMAKE_DISABLE_FIND_PACKAGE_Qt5Positioning=$(usex !positioning) + -DCMAKE_DISABLE_FIND_PACKAGE_Qt5PrintSupport=$(usex !printsupport) + -DCMAKE_DISABLE_FIND_PACKAGE_Qt5Qml=$(usex !qml) + -DCMAKE_DISABLE_FIND_PACKAGE_Qt5Quick=$(usex !quick) + -DCMAKE_DISABLE_FIND_PACKAGE_Qt5QuickControls2=$(usex !quick) + -DCMAKE_DISABLE_FIND_PACKAGE_Qt5QuickWidgets=$(usex !quick yes $(usex !widgets)) + -DCMAKE_DISABLE_FIND_PACKAGE_Qt5Script=$(usex !script) + -DCMAKE_DISABLE_FIND_PACKAGE_Qt5ScriptTools=$(usex !scripttools) + -DCMAKE_DISABLE_FIND_PACKAGE_Qt5Scxml=$(usex !scxml) + -DCMAKE_DISABLE_FIND_PACKAGE_Qt5Sensors=$(usex !sensors) + -DCMAKE_DISABLE_FIND_PACKAGE_Qt5TextToSpeech=$(usex !speech) + -DCMAKE_DISABLE_FIND_PACKAGE_Qt5Sql=$(usex !sql) + -DCMAKE_DISABLE_FIND_PACKAGE_Qt5Svg=$(usex !svg) + -DCMAKE_DISABLE_FIND_PACKAGE_Qt5Test=$(usex !testlib) + -DCMAKE_DISABLE_FIND_PACKAGE_Qt5UiTools=$(usex !designer) + -DCMAKE_DISABLE_FIND_PACKAGE_Qt5WebChannel=$(usex !webchannel) + -DCMAKE_DISABLE_FIND_PACKAGE_Qt5WebEngine=$(usex !webengine) + -DCMAKE_DISABLE_FIND_PACKAGE_Qt5WebEngineCore=$(usex !webengine) + -DCMAKE_DISABLE_FIND_PACKAGE_Qt5WebEngineWidgets=$(usex !webengine yes $(usex !widgets)) + -DCMAKE_DISABLE_FIND_PACKAGE_Qt5WebSockets=$(usex !websockets) + -DCMAKE_DISABLE_FIND_PACKAGE_Qt5Widgets=$(usex !widgets) + -DCMAKE_DISABLE_FIND_PACKAGE_Qt5X11Extras=$(usex !x11extras) + -DCMAKE_DISABLE_FIND_PACKAGE_Qt5Xml=$(usex !xml) + -DCMAKE_DISABLE_FIND_PACKAGE_Qt5XmlPatterns=$(usex !xmlpatterns) + ) + + pyside2_configure() { + local mycmakeargs=( + "${mycmakeargs[@]}" + -DPYTHON_CONFIG_SUFFIX="-${EPYTHON}" + -DPYTHON_EXECUTABLE="${PYTHON}" + -DPYTHON_SITE_PACKAGES="$(python_get_sitedir)" + -DSHIBOKEN_PYTHON_SHARED_LIBRARY_SUFFIX="-${EPYTHON}" + ) + cmake_src_configure + } + python_foreach_impl pyside2_configure +} + +src_compile() { + python_foreach_impl cmake_src_compile +} + +src_test() { + local -x PYTHONDONTWRITEBYTECODE + python_foreach_impl virtx cmake_src_test +} + +src_install() { + pyside2_install() { + cmake_src_install + python_optimize + + # Uniquify the shiboken2 pkgconfig dependency in the PySide2 pkgconfig + # file for the current Python target. See also: + # https://github.com/leycec/raiagent/issues/73 + sed -i -e 's~^Requires: shiboken2$~&-'${EPYTHON}'~' \ + "${ED}/usr/$(get_libdir)"/pkgconfig/${PN}.pc || die + + # Uniquify the PySide2 pkgconfig file for the current Python target, + # preserving an unversioned "pyside2.pc" file arbitrarily associated + # with the last Python target. (See the previously linked issue.) + cp "${ED}/usr/$(get_libdir)"/pkgconfig/${PN}{,-${EPYTHON}}.pc || die + } + python_foreach_impl pyside2_install + + # CMakeLists.txt installs a "PySide2Targets-gentoo.cmake" file forcing + # downstream consumers (e.g., pyside2-tools) to target one + # "libpyside2-*.so" library linked to one Python interpreter. See also: + # https://bugreports.qt.io/browse/PYSIDE-1053 + # https://github.com/leycec/raiagent/issues/74 + sed -i -e 's~pyside2-python[[:digit:]]\+\.[[:digit:]]\+~pyside2${PYTHON_CONFIG_SUFFIX}~g' \ + "${ED}/usr/$(get_libdir)/cmake/PySide2-${PV}/PySide2Targets-${CMAKE_BUILD_TYPE,,}.cmake" || die +} diff --git a/dev-python/python-ldap/Manifest b/dev-python/python-ldap/Manifest index e01f004cdf94..e73c98d6cdea 100644 --- a/dev-python/python-ldap/Manifest +++ b/dev-python/python-ldap/Manifest @@ -1,6 +1,6 @@ DIST python-ldap-3.4.0_p20220420.tar.gz 377780 BLAKE2B 433178138587dc09bfe1e6a8e894c001baf6e07c76266ca9d7c56b279f9e9ca5a642528a5869a837a9ee5576a2cf17afdeea313b4a8bc930926397738d6a5daf SHA512 0dfe8ff4737a630a08c7cd4d94f30c78fd1e0558ffc0609439d95ef064b72aef9d4ec4cdc0d40aaf1fc46396bdc0cbbdf0bf3cf6bb5e94bf8a9e3083b9ba1bf4 DIST python-ldap-3.4.2.gh.tar.gz 377981 BLAKE2B 6efa768dd035f8867abacfd9cc1b9ceca1a468c79550d2529130bd8eaf7546e4474d5798cf9090a9a74f05286ca30a33b8e54821292b8aa2e27358f93d72cb7b SHA512 3a68dd2c160d7d74061d9c9eb060be6faeec1f607f3853722f969d7d1dc76c7da160aa20a4c139feb4d2eba6dbf2e2cfb02551cabd6fbf413654f32f73e94c15 EBUILD python-ldap-3.4.0_p20220420.ebuild 2339 BLAKE2B 643b27187a5fc5892a6c7301bacb58fbf57a31f6de6a704e7871e6a9dfc693d9c6c3980137cfc41cf745d6fe52ebf94f0e98fa33094237e9dc0ee5407c0ae2d8 SHA512 2dcf1c028bd92213eedf22b099b9f4518b7a5add89d73b3aaec0958b20276ea18311145ac0ceb902f8ed9ea72eb1dfb5367e7404933acc309a0e5cf400d5aae3 -EBUILD python-ldap-3.4.2.ebuild 1705 BLAKE2B 59f1e35298f5fc8269f06f66809d01b6d1d681431cb9587c5ecee1ea2e5ce1ac4db80829d2f9e7f0b94e440782c89f70951b56881d1701b3b11883132381d26c SHA512 cfd0d58b00104521cfe67bedd122e3a8c8cb30646da1fe334db76c97f312a4894cfaf0eb7be795616f33870181222ad4c489cce6c88ddb4e520ddd17c94a4b81 +EBUILD python-ldap-3.4.2.ebuild 1704 BLAKE2B 49a15455aa8afe1b2b4e9cf3c97212dd0d9364b4fd6f27bdecec856dc8cdcb502914db1b43acc195a6abac64e105097956571492dce7c040b7da1369b5811ad3 SHA512 d611b9039ac4bffb96e93c08ccf0653ac390c7498745466139b42507953b1c3e68ea681f889c85dd6a907a7ac49f0f5aa947477b0ba7e7ee77524bbe20af58f4 EBUILD python-ldap-9999.ebuild 2000 BLAKE2B 1340f010714318a6a8e90ffa228a3c0799909ee1f70af5ec5cbd73449d6982a18df35353a3d356d559a89c43be1c44f097698236a6118ad66fac5630a75d57c8 SHA512 c58a4c82d5e18bb29b62024a826b063f0f47ee3f9e4a798251175b4115a31f5a5803962ec597c12d8855faba83c259f559083a6499524f41197d2ecfd0d3a9fb MISC metadata.xml 449 BLAKE2B 14ffa18ca09eb663d3ef4ff5bd0ebc8511fa408a4e96c93885ba2beaccdf3bb82a9733a01149e088c8b66d6cb938f94fc3940c0c0cca5685599191e772443cb6 SHA512 2f5c014e55f838b84abf6ba630b000620a01e2fca6d1f1bd1b30db309f820df50c2ef7feddc17c69ee0188c3cbc91a388933b4bccfc8d2ea0cb18c6dae85cda6 diff --git a/dev-python/python-ldap/python-ldap-3.4.2.ebuild b/dev-python/python-ldap/python-ldap-3.4.2.ebuild index b3b4226b9246..11a39e58e3e2 100644 --- a/dev-python/python-ldap/python-ldap-3.4.2.ebuild +++ b/dev-python/python-ldap/python-ldap-3.4.2.ebuild @@ -22,7 +22,7 @@ S=${WORKDIR}/${PN}-${P} LICENSE="MIT PSF-2" SLOT="0" -KEYWORDS="~alpha amd64 ~arm ~arm64 ~hppa ~ia64 ~ppc ppc64 ~riscv sparc ~x86 ~x86-solaris" +KEYWORDS="~alpha amd64 ~arm ~arm64 ~hppa ~ia64 ~ppc ppc64 ~riscv sparc x86 ~x86-solaris" IUSE="examples sasl ssl" RDEPEND=" diff --git a/dev-python/pytz/Manifest b/dev-python/pytz/Manifest index 70f3c3f3828b..c752f3ea1325 100644 --- a/dev-python/pytz/Manifest +++ b/dev-python/pytz/Manifest @@ -1,4 +1,6 @@ AUX pytz-2020.5-system-zoneinfo.patch 1294 BLAKE2B 0f6f4cf1c588b90827decb19d82d7adf97f44769b2acd4038d6b818ae27162f576338b61de6775b4aa387b4a1cb434b36d6f14fdf1eaa3c878e2af7e9ce32620 SHA512 aad785a23a3681de7d52c4898eae4d7f33ddff9c136f52111ab0aef076d0a3c72c7b0aa0910e191f3098baa05c09f522e927a94967481a89d1d1bcbe99824e3b DIST pytz-2022.1.tar.gz 320473 BLAKE2B 9a745629a9e4547f8c8765353e58baa6d63e3e6b357e9ca88f69928fb9350cebb6bb3371eee419b4b92b29e6253f8c24af8c781f10d72211d78cb699043496fe SHA512 7737aa28626743026b7de932b27bf44d7b209f495d9dd7f90c6448ec271e007f23004fcd04982e2ca6d0a4075206e1dae7b8836319c299b5559c514366d518a6 +DIST pytz-2022.2.tar.gz 322487 BLAKE2B 37aa920a571b751e7fe55140561f9d895273c63c5ec4f0ce32e12a9966c903de590d1bbeb8c3d29eeb6ffa46ecf68584128aefc4349c3fde2af923f275c1c01c SHA512 7a908801585f95dc7e19756b454b38ca991e3c280ab4d946152ff0ecfb5ac89e266b21c5a165797ec64c9aaaaadf729f935d7eebd3f918df3143bd68b23876cf EBUILD pytz-2022.1.ebuild 901 BLAKE2B 16d3a45d330bf3661f0831d8ec4dff95a06a14873e23a62f07c2e76beb70ed41b7d2edf93c3950dcb919f39ce9422fc05a379b2b91fe855bc56b3160336a9cb3 SHA512 048c3dfa01e358c8cae65d125be4a1c16c1bb1c82c06432f758dede03140bfbee64bbab08d376749e093cab247813ee87fd3eaac1a5eb25a5f6e62b6d53899fb +EBUILD pytz-2022.2.ebuild 805 BLAKE2B 3c6565965f2e2b40b38e549724861b90b1bc69972fcf9aac3dc9b2fdf93bf8eb0ac3a740a402d0b2a1a9b43aebcf21ed1408b7a82d93bb8aea5add6e66ab44a7 SHA512 1b6b20b532ef5aa0d7bf8cfb60711e78d7e30818ba39f6e922546f5363e414baa60fa0def8ce8557cf57f87f3aadef01e894ad8f71a8302d35d9c5f2f0237dfe MISC metadata.xml 765 BLAKE2B 437ebaaf2229928930ce99bed100856934d5dc4fcbbd5fda5b164041668404015421800f59c408168c83cdf8d8a5db126dc1f6261ac6a92398bdf0d733ca96d4 SHA512 dec5518cc05dc97ba6897a6d2f55933b2561153d55b60511183e4adf6d308e1a2213fd870b5ce7bae11c157d33ff1bcf0a37d7a2675e92a8b02eca0f660af29c diff --git a/dev-python/pytz/pytz-2022.2.ebuild b/dev-python/pytz/pytz-2022.2.ebuild new file mode 100644 index 000000000000..02775780a89a --- /dev/null +++ b/dev-python/pytz/pytz-2022.2.ebuild @@ -0,0 +1,34 @@ +# Copyright 1999-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=setuptools +PYTHON_COMPAT=( python3_{8..11} pypy3 ) +PYTHON_REQ_USE="threads(+)" + +inherit distutils-r1 + +DESCRIPTION="World timezone definitions for Python" +HOMEPAGE=" + https://pythonhosted.org/pytz/ + https://pypi.org/project/pytz/ +" +SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x64-solaris" + +DEPEND=" + || ( + >=sys-libs/timezone-data-2017a + sys-libs/glibc[vanilla] + ) +" +RDEPEND="${DEPEND}" + +python_test() { + "${EPYTHON}" pytz/tests/test_tzinfo.py -v || + die "Tests fail with ${EPYTHON}" +} diff --git a/dev-python/pyzmq/Manifest b/dev-python/pyzmq/Manifest index e6999ca11a76..4bbf316a6cfd 100644 --- a/dev-python/pyzmq/Manifest +++ b/dev-python/pyzmq/Manifest @@ -1,5 +1,7 @@ AUX pyzmq-23.2.0-libdir.patch 510 BLAKE2B cb7884416d3e15f735412d69a7ae0decbbf8eca14ae909b23e68231a65b3ad36d021b5c6f5315a3cb982cd571913ce021cc5df60509d90b28d4353dd7bd316e8 SHA512 f268d03de45971d50a89210366b4aef0e79e652a45d650fc3e4a6711558ee186ee558a2808b7c9f5c5a64ce8b9282adf024ab21a782ba614900a4813e8b6d6ca DIST pyzmq-23.2.0.gh.tar.gz 402085 BLAKE2B 4ab26af04c76205d0770163e248e28a22aa8f710a66c9dc96e18c772338c434ad06227d57edd5aa3476fad68fa7320e9216a102b2cb19649393f1e9ef5d9599c SHA512 348482f4b6fd4ebeae8e4720a7005ed35eccee2bf26b0128115b756ee560156b34e6f043c96b71a84d47b1313bd2d8e0ed0f74c7768e23cbf65bd906036800c5 +DIST pyzmq-23.2.1.gh.tar.gz 402170 BLAKE2B 4cedd065cecbabc0e18928423e853a38953cd1f360fc326573c60bf69ffefadf3bed556d9d71eedf824e646ae23640d14b6aa8938c397c367be32cc36d300e38 SHA512 4ba236b87db062b245a04530de5b1e8385491107ae8de465f6f664c75ab8a929d57491eb3f8dddf31ff1db7b1eee89a6892a9a844bc285096cc9960704b36c9c EBUILD pyzmq-23.2.0-r1.ebuild 1944 BLAKE2B ddb71887234f1d8fc509f8b100aa33a80e929ccdafb3e4c7513886dde4f04dfafe1ab6be0891cd8c3408e9a1dd53f3cda23f0ede3a2f077f5e7c0f655b1dc7cc SHA512 bc9c1f1366d4744cd953cb50de3184f8e8b2e8a45137870d39e297e1fbb8defc2c12d03ff746568b8ef17d247997246556b8a05b509157ac1cd5c7f9bcac2344 EBUILD pyzmq-23.2.0.ebuild 1882 BLAKE2B 64244a051abb1d374d87d202887385482730156a21141bcbf0075358d378345e46e0c93acdb4e62866f0c529a4309a32a8671fd95d6e20f075f6d3bb17c9ac3f SHA512 03625c285825f06e5fc2fb80f442eb8ef1ff8cbaaadf1a231eda52f7c0fcff540147c056cfa2fecbdd9f995b0ff48a0c6f808c607539d49200e7a907824ff42c +EBUILD pyzmq-23.2.1.ebuild 1944 BLAKE2B ddb71887234f1d8fc509f8b100aa33a80e929ccdafb3e4c7513886dde4f04dfafe1ab6be0891cd8c3408e9a1dd53f3cda23f0ede3a2f077f5e7c0f655b1dc7cc SHA512 bc9c1f1366d4744cd953cb50de3184f8e8b2e8a45137870d39e297e1fbb8defc2c12d03ff746568b8ef17d247997246556b8a05b509157ac1cd5c7f9bcac2344 MISC metadata.xml 548 BLAKE2B 0120b82c6a48537f80d08237f4184ff855c109a0a461adfe7921e25468928ea053cc7727c7b00ff96ea556d719e453ee27cf534b285f24f62f7d1ca4ab326770 SHA512 124145f71518d39daa57522eadc27ab4782c3fc1794543396a6b6c91dda29175c4c097d6be90d7d405823621ce66f62e169b97e086c983d7f08178e6d85cee40 diff --git a/dev-python/pyzmq/pyzmq-23.2.1.ebuild b/dev-python/pyzmq/pyzmq-23.2.1.ebuild new file mode 100644 index 000000000000..d68843bf062b --- /dev/null +++ b/dev-python/pyzmq/pyzmq-23.2.1.ebuild @@ -0,0 +1,81 @@ +# Copyright 1999-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +PYTHON_COMPAT=( python3_{8..11} ) +# TODO: Find out exactly where this error comes from +# error: '<' not supported between instances of 'str' and 'int' +#DISTUTILS_USE_PEP517=setuptools +PYTHON_REQ_USE="threads(+)" + +inherit flag-o-matic distutils-r1 toolchain-funcs + +DESCRIPTION="Lightweight and super-fast messaging library built on top of the ZeroMQ library" +HOMEPAGE=" + https://zeromq.org/languages/python/ + https://pypi.org/project/pyzmq/ + https://github.com/zeromq/pyzmq/" +SRC_URI=" + https://github.com/zeromq/pyzmq/archive/v${PV}.tar.gz + -> ${P}.gh.tar.gz" + +LICENSE="LGPL-3" +SLOT="0" +KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux" +IUSE="+draft" + +DEPEND=" + >=net-libs/zeromq-4.2.2-r2:=[drafts] +" +# it uses cffi backend for pypy, cython backend for cpython +RDEPEND="${DEPEND} + $(python_gen_cond_dep ' + dev-python/py[${PYTHON_USEDEP}] + dev-python/cffi:=[${PYTHON_USEDEP}] + ' pypy3) +" +BDEPEND=" + $(python_gen_cond_dep ' + dev-python/cython[${PYTHON_USEDEP}] + ' 'python*') + test? ( + dev-python/pytest-rerunfailures[${PYTHON_USEDEP}] + >=www-servers/tornado-5.0.2[${PYTHON_USEDEP}] + ) +" + +PATCHES=( + "${FILESDIR}"/${PN}-23.2.0-libdir.patch +) + +distutils_enable_tests pytest +distutils_enable_sphinx docs \ + "dev-python/numpydoc" + +python_configure_all() { + tc-export CC + append-cppflags -DZMQ_BUILD_DRAFT_API=$(usex draft '1' '0') +} + +python_compile() { + esetup.py cython --force + ZMQ_PREFIX="${EPREFIX}/usr" distutils-r1_python_compile +} + +python_test() { + local EPYTEST_DESELECT=( + # TODO + zmq/tests/test_constants.py::TestConstants::test_draft + zmq/tests/test_cython.py::test_cython + + # hangs often + zmq/tests/test_log.py::TestPubLog::test_blank_root_topic + ) + local EPYTEST_IGNORE=( + zmq/tests/test_mypy.py + ) + + cd "${BUILD_DIR}/lib" || die + epytest -p no:flaky +} diff --git a/dev-python/regex/Manifest b/dev-python/regex/Manifest index ac30a539dbbf..3dea829d8186 100644 --- a/dev-python/regex/Manifest +++ b/dev-python/regex/Manifest @@ -7,5 +7,5 @@ DIST regex-2022.7.9.tar.gz 383431 BLAKE2B 9773b3e5c516d79ec6b37d288addb063801671 EBUILD regex-2022.6.2.ebuild 889 BLAKE2B 2f4739ef643cd8ce3dce81e94160c6943bfb5f5309f62306bad54dbdf0ff0035fdac591d776c5da341060b4da89d12396b54e2436855bb85e4e449c454e6552d SHA512 e95dc22617b73dcd0e01504dd8e974f09260c79f0935fe9cc9d6a2842640556ed1f34d619fdf31917ae2d466dda860ed02fb9539178c5700ed26ec1132c738b0 EBUILD regex-2022.7.24.ebuild 897 BLAKE2B 409dbb1b548b25d5ac390fdd799e88f54255462fe43a054bb079396a58d2124f06b619c9f97bd95e09a84fec93ed76f0904ace13a81f40ba34ab54fedc885e30 SHA512 0c57dc92862339020b9caf9e727f75f577fbcc3710dfbc8657ba403d7791e2a7a42e0866d6fe82640b2d674167c60ac51e259dd03ed2acf8260435f0b352fbfd EBUILD regex-2022.7.25.ebuild 897 BLAKE2B 409dbb1b548b25d5ac390fdd799e88f54255462fe43a054bb079396a58d2124f06b619c9f97bd95e09a84fec93ed76f0904ace13a81f40ba34ab54fedc885e30 SHA512 0c57dc92862339020b9caf9e727f75f577fbcc3710dfbc8657ba403d7791e2a7a42e0866d6fe82640b2d674167c60ac51e259dd03ed2acf8260435f0b352fbfd -EBUILD regex-2022.7.9.ebuild 890 BLAKE2B f296e36dd12abd066d236d045d084498c1b4f34b87de0e2594f581b2af032fe9ac29e36102f486c22fc96557b4fe107cc5f7ab9203d8855d001d44aad30da173 SHA512 2dbe6ce417cca1309ae4fc63e73377a51d4020ad25c339ef84fd75d833b7d4c26a27d55f95a86cc6282c61a3318d010b58c7685f8246e28741a0a3dc1e5d4604 +EBUILD regex-2022.7.9.ebuild 889 BLAKE2B 2f4739ef643cd8ce3dce81e94160c6943bfb5f5309f62306bad54dbdf0ff0035fdac591d776c5da341060b4da89d12396b54e2436855bb85e4e449c454e6552d SHA512 e95dc22617b73dcd0e01504dd8e974f09260c79f0935fe9cc9d6a2842640556ed1f34d619fdf31917ae2d466dda860ed02fb9539178c5700ed26ec1132c738b0 MISC metadata.xml 385 BLAKE2B 90c9075dcf3be9bd447746b249c438f50bc84a7c6c63051e808c5feb19b2c6208f85a681e449a025fe43cd0d5b2ab541752966b04b787052d78b92d5230d8e62 SHA512 f554035e72bcfff83e693f3651198f09fd354babfbadd5fef26dca3015ef8cc00c47072648794123c69bbd12c637eeaf9e9471680bab847ec701da2146462817 diff --git a/dev-python/regex/regex-2022.7.9.ebuild b/dev-python/regex/regex-2022.7.9.ebuild index dd9fb7628614..df6875fb35c8 100644 --- a/dev-python/regex/regex-2022.7.9.ebuild +++ b/dev-python/regex/regex-2022.7.9.ebuild @@ -17,7 +17,7 @@ SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" LICENSE="Apache-2.0" SLOT="0" -KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~loong ~m68k ~mips ppc ppc64 ~riscv ~s390 sparc ~x86 ~x64-macos" +KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~loong ~m68k ~mips ppc ppc64 ~riscv ~s390 sparc x86 ~x64-macos" IUSE="doc" PATCHES=( diff --git a/dev-python/semver/Manifest b/dev-python/semver/Manifest index 37f27d82f939..1a8fa146890d 100644 --- a/dev-python/semver/Manifest +++ b/dev-python/semver/Manifest @@ -1,3 +1,3 @@ DIST semver-2.13.0.tar.gz 43674 BLAKE2B 35d0ca0b61836d0e6deb97f067a0c1cbba310dde6eb83d78f02f85c3f7485114ad549559d572d4494aa7c4444c7d6feabcb36394561a238489d56bfd04ed8590 SHA512 ca0d408d8bb7305e90802ea04d935cd7b76b8f166a9ec97ed3427dbc2cf60eeca0b2d27ad0cb2f15f32f5b2589d6717a63717c463183374c5335bf79e1eec222 -EBUILD semver-2.13.0.ebuild 619 BLAKE2B 971611d048e6a62777c0408b783028e2d7bd4b353df7d372ba22500728c2c5b937a09551fcae2d8d3308dfd523ae91789eb4f241eb9ac0f7966687883096a195 SHA512 e58f81584a24d1b3a5631d746bec89d530d7d4655718dca117b1b0b131804e5c2fdd4826288050f5569dfcb9978ecfd4401a3ca7f8ffa0f021f40f0356ae9db4 +EBUILD semver-2.13.0.ebuild 626 BLAKE2B eff60ac0f48d115049ed171852077b1853a0ba26fcfcc20dec712deeba1c5f33deafc64bf1a6d6d616134aa877d29b1a8cc4769ea111263d2e2a85015011b309 SHA512 dddaceb57142a9ad71f9b6cf16b009483adcec25934bb301f0edf5569a9e9eab0823237b7b7c1b3c83dc16075bdc231bc7c7bfc6e07a3703f8939fe4d78a8647 MISC metadata.xml 388 BLAKE2B acaeaf260073c58d5bac6d2c59228301009c59492fd03d51ec0127229e2bbdead1d14dc716f100cd2543be8e50020f06299d6dbad125514756f7dd659b8119ae SHA512 97533f8b2877e780da67de9a47dbc87de751b4ea3831cbc44b345ba434736f584ab3e937c472f62c57410764facf76d6c8ab31857f9fd8e66626072c032a2714 diff --git a/dev-python/semver/semver-2.13.0.ebuild b/dev-python/semver/semver-2.13.0.ebuild index c4ed05fc9562..08cf77cf1df0 100644 --- a/dev-python/semver/semver-2.13.0.ebuild +++ b/dev-python/semver/semver-2.13.0.ebuild @@ -13,7 +13,7 @@ S="${WORKDIR}/python-${P}" LICENSE="BSD" SLOT="0" -KEYWORDS="~amd64 ~arm64 ~ppc64 ~x86" +KEYWORDS="~amd64 ~arm64 ~ppc64 ~riscv ~x86" distutils_enable_tests pytest diff --git a/dev-python/sentry-sdk/Manifest b/dev-python/sentry-sdk/Manifest index a8735bc13bd9..d5a182d83b50 100644 --- a/dev-python/sentry-sdk/Manifest +++ b/dev-python/sentry-sdk/Manifest @@ -5,6 +5,7 @@ DIST sentry-sdk-1.9.0.gh.tar.gz 290271 BLAKE2B fcb4c45c129faf23a1177167e2bdd567a DIST sentry-sdk-1.9.1.gh.tar.gz 270398 BLAKE2B 66ee16816d312b38df737c5ecb0ecc4a2189c932c162bbedf165f2a153029e95c389372a4638d5f71f669ac780710769e4708c3e7673573d1b1e79a29cbf93c9 SHA512 5997252aeee900125e42d7275627359ca5382707162b93e45b238c11a181ac724fea327fa1b29deed63dbf800463d10c9d2a8e8943c32b907e4eac055e399297 DIST sentry-sdk-1.9.2.gh.tar.gz 270400 BLAKE2B 690e62c1b4f64677442ac46b15973173d96d587b71786f5c2e0a9e8d15aec7978b86b247a52ff15b6d0dc9665f8eafa4b1ad458d3aa3fca3447e7c9946503c69 SHA512 189916cf8b931df73eaa252bbc2f3beb53bf56529d50ebe79affd04e9684ffa89e1f66ec651b7dca6fbd5de641333ddd6f65512978ee06c2abb73617bd6f3ea2 DIST sentry-sdk-1.9.3.gh.tar.gz 270453 BLAKE2B e971c89ccdbe3831e49cf48db4673c54f4110878e45e92bf5f8142a876b8382fc714e9e3fc124c36495c8cda24efabad9486fc0cdb939a034c931a718e21c501 SHA512 4a31507635cbe3932ecb548273f32cfd6098d5ed4eed2771a37b79f98a4c97f12d50b89f63f357424355d5657bc2bdb3e49f0984db4e9c9ee7ee31b984d0367e +DIST sentry-sdk-1.9.4.gh.tar.gz 271140 BLAKE2B 07ba10c72ec61c1bd6a54899712b5880ddf4c4f67ae9f127184d0251e93ae0a7374441ba77eb54c871684152613db55a582ca98f787884ef834f658d743abccd SHA512 2b0089b29da002e6236b93033f36bc0a6ba08d4643021f6bc2e30807a84867030dad088e1ff6b917f5b9dbc2da06305c3e58cdd9f9c10009df5063640cb8796a EBUILD sentry-sdk-1.6.0.ebuild 2870 BLAKE2B 1bf7978f3df6c64385e0010c8a65d7c3422ac8f7180b2507afa688b739bd14df2cd53ae698e8f5f0b25f5203ec4e1fd6eeae33cb4b75358be2490ddedda13fe9 SHA512 2b4657cd4b1076cfba36034608506e6bfe7d930e5e7db4641ff2f56602741f88be40226581371ca1b18ed35d612341038b9f9ebd16cec427baca18816d34caa6 EBUILD sentry-sdk-1.7.2.ebuild 2874 BLAKE2B 499f352134ac1748e95c5b690a7b3848a4cfca4d532388ab4c056d8b59e37885faeed409c50d2764907280dfc83f2a015a72420f5620724026d7f418d1884040 SHA512 4ffa0cd99c29794138a199ab295e32817ea7fe8c7383a6f68598cd77c992a5ad7782bae3db5e52bf074351e061a2ebd3ab49f9123858e438a813627a82511cdb EBUILD sentry-sdk-1.8.0.ebuild 3125 BLAKE2B dc87ed38983d2d0affd1cf18b3acdc0c2ae6f4b0105cb24d72afa4d19b20df8da823264821974b7b5ac21a8559bbf617f118b4045a09cba8fc923d6c0cd0086a SHA512 d15338c869daa70b9d834305246fd9add6988909c4192b6137fcc38a950e75c9280e2d5190c14ffdfaeb6256117d34189f31ce1d8fe305fb905cb3e3d10be8ac @@ -12,4 +13,5 @@ EBUILD sentry-sdk-1.9.0.ebuild 3205 BLAKE2B cc50ae93fdb72f81c15ac975cb7359056feb EBUILD sentry-sdk-1.9.1.ebuild 3205 BLAKE2B cc50ae93fdb72f81c15ac975cb7359056feba2eb1f67b77335892f784be8f859bc5125fc341f370eaa4b1b3526387fb12246046b1b0d9db52d364f796c440236 SHA512 e78cbc57645b20a02a691cca4849f9728d95eaa10fc55ac035111b50b24b1d8766875a66db0306256b446c2a47a797d2d890ed11ffc1246e6cea43e243b97379 EBUILD sentry-sdk-1.9.2.ebuild 3205 BLAKE2B cc50ae93fdb72f81c15ac975cb7359056feba2eb1f67b77335892f784be8f859bc5125fc341f370eaa4b1b3526387fb12246046b1b0d9db52d364f796c440236 SHA512 e78cbc57645b20a02a691cca4849f9728d95eaa10fc55ac035111b50b24b1d8766875a66db0306256b446c2a47a797d2d890ed11ffc1246e6cea43e243b97379 EBUILD sentry-sdk-1.9.3.ebuild 3205 BLAKE2B cc50ae93fdb72f81c15ac975cb7359056feba2eb1f67b77335892f784be8f859bc5125fc341f370eaa4b1b3526387fb12246046b1b0d9db52d364f796c440236 SHA512 e78cbc57645b20a02a691cca4849f9728d95eaa10fc55ac035111b50b24b1d8766875a66db0306256b446c2a47a797d2d890ed11ffc1246e6cea43e243b97379 +EBUILD sentry-sdk-1.9.4.ebuild 3205 BLAKE2B cc50ae93fdb72f81c15ac975cb7359056feba2eb1f67b77335892f784be8f859bc5125fc341f370eaa4b1b3526387fb12246046b1b0d9db52d364f796c440236 SHA512 e78cbc57645b20a02a691cca4849f9728d95eaa10fc55ac035111b50b24b1d8766875a66db0306256b446c2a47a797d2d890ed11ffc1246e6cea43e243b97379 MISC metadata.xml 510 BLAKE2B e00011699ac2cc83f1923e1f6fa813ede7eab8c57f9ce9d9fca04e721b089db1c5f2bdffaa7b9856f56b433abd9189125e07ffd3f329e4fa8d098e28a4f2d7bd SHA512 bafb77a102d94fe050cb526b298fb8cfd56775cb4d07eda280f6356fbec6fbe5df5c9ebd459d9d4457cd027c2e0d7c349e053fa6070b52f0d2989f6ec600b87d diff --git a/dev-python/sentry-sdk/sentry-sdk-1.9.4.ebuild b/dev-python/sentry-sdk/sentry-sdk-1.9.4.ebuild new file mode 100644 index 000000000000..9d1e2042e8f2 --- /dev/null +++ b/dev-python/sentry-sdk/sentry-sdk-1.9.4.ebuild @@ -0,0 +1,96 @@ +# Copyright 1999-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=setuptools +PYTHON_COMPAT=( python3_{8..10} ) + +inherit distutils-r1 + +DESCRIPTION="Python client for Sentry" +HOMEPAGE=" + https://sentry.io/ + https://github.com/getsentry/sentry-python/ + https://pypi.org/project/sentry-sdk/ +" +SRC_URI=" + https://github.com/getsentry/sentry-python/archive/${PV}.tar.gz + -> ${P}.gh.tar.gz +" +S="${WORKDIR}/sentry-python-${PV}" + +LICENSE="PSF-2" +SLOT="0" +KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~ppc64 ~riscv ~sparc ~x86" + +RDEPEND=" + dev-python/urllib3[${PYTHON_USEDEP}] + dev-python/certifi[${PYTHON_USEDEP}] +" +BDEPEND=" + test? ( + dev-python/asttokens[${PYTHON_USEDEP}] + dev-python/django[${PYTHON_USEDEP}] + dev-python/executing[${PYTHON_USEDEP}] + dev-python/fakeredis[${PYTHON_USEDEP}] + dev-python/flask-login[${PYTHON_USEDEP}] + dev-python/gevent[${PYTHON_USEDEP}] + dev-python/jsonschema[${PYTHON_USEDEP}] + dev-python/pyrsistent[${PYTHON_USEDEP}] + dev-python/pytest-aiohttp[${PYTHON_USEDEP}] + dev-python/pytest-django[${PYTHON_USEDEP}] + dev-python/pytest-forked[${PYTHON_USEDEP}] + dev-python/pytest-localserver[${PYTHON_USEDEP}] + dev-python/werkzeug[${PYTHON_USEDEP}] + dev-python/zope-event[${PYTHON_USEDEP}] + $(python_gen_cond_dep ' + dev-python/eventlet[${PYTHON_USEDEP}] + ' python3_{8..9}) + ) +" + +distutils_enable_tests pytest + +EPYTEST_IGNORE=( + # tests require Internet access + tests/integrations/httpx/test_httpx.py + tests/integrations/requests/test_requests.py + tests/integrations/stdlib/test_httplib.py + tests/integrations/flask/test_flask.py + tests/integrations/django/test_basic.py + # wtf is it supposed to do?! + tests/integrations/gcp/test_gcp.py + # broken by rq-1.10.1 (optional dep) + tests/integrations/rq/test_rq.py + # fastapi is not packaged + tests/integrations/asgi/test_fastapi.py + # TODO + tests/integrations/bottle + # requires python-multipart (TODO: package it) + tests/integrations/starlette +) + +EPYTEST_DESELECT=( + # hangs + 'tests/test_transport.py::test_transport_works' + # TODO + 'tests/test_basics.py::test_auto_enabling_integrations_catches_import_error' + tests/test_client.py::test_databag_depth_stripping + tests/test_client.py::test_databag_string_stripping + tests/test_client.py::test_databag_breadth_stripping + tests/integrations/asgi/test_asgi.py::test_auto_session_tracking_with_aggregates + tests/integrations/asgi/test_asgi.py::test_websocket + tests/integrations/aiohttp/test_aiohttp.py::test_transaction_style + tests/integrations/aiohttp/test_aiohttp.py::test_traces_sampler_gets_request_object_in_sampling_context + # incompatible version? + tests/integrations/falcon/test_falcon.py + tests/integrations/sqlalchemy/test_sqlalchemy.py::test_too_large_event_truncated + # test_circular_references: apparently fragile + 'tests/integrations/threading/test_threading.py::test_circular_references' + # test for new feature, fails with IndexError + tests/integrations/wsgi/test_wsgi.py::test_session_mode_defaults_to_request_mode_in_wsgi_handler + # TODO + tests/integrations/wsgi/test_wsgi.py::test_auto_session_tracking_with_aggregates + tests/integrations/wsgi/test_wsgi.py::test_profile_sent_when_profiling_enabled +) diff --git a/dev-python/setproctitle/Manifest b/dev-python/setproctitle/Manifest index 9a0fdbc78913..b447371eace8 100644 --- a/dev-python/setproctitle/Manifest +++ b/dev-python/setproctitle/Manifest @@ -1,7 +1,9 @@ DIST setproctitle-1.2.3.tar.gz 23618 BLAKE2B 58bafb30a9b0da9cd552c7ed1ccd197a2ee7a3c70ae02773e6a857e4f16069126d2507f30206c83a24d84d030a1fc9306d024f4e5b988f73d95df049fa9c055f SHA512 ae94e3f5e1dd10e80488f81250e979a6a15c7c3ae399bf557612b9b1edbdcb8aec4e68a7f44ff7375a399ab53d6319dfb5c5c4a1e3a0bb824c40f6921c9d9c6b DIST setproctitle-1.3.0.tar.gz 26778 BLAKE2B 620df2c342fd76ff762135eed88b4d6d921c1c85c7865e3921c95e968de07b10cccf86e2d62297fdfb91aa5b44e9e9fb7c496aa2fdbbe039eecda668b079328e SHA512 41f0557b73ed41323c8d71d87d143ccd78f980c01027e76c7e6ff4cf375cb8cda55f01a5c4a3cd12fea3459070382b84fd1346995696df7a3e1cc03ff8e71b4e DIST setproctitle-1.3.1.tar.gz 27010 BLAKE2B c29f2acc1c02a375227b4f249340d979a4922d1ebf8e6f17f2e5a202ad2e41affe9d0ff8aed0345ebb534a00868896036e15a985c6d21ebbbb341afaa951ae8d SHA512 c21d87555cc258a779dbc5574ef0c58b4fdcd0cc28410a931f05974d9714f2bd9a57fbec4fa1cf16aef21ea50cd900a52eb85974c399b451bc357671d1490dc4 +DIST setproctitle-1.3.2.tar.gz 27173 BLAKE2B 252ca0a4f71e1413e2474d6c4e9cebacb1642f8c7883709d03341ce1468441509dc54eb9d4191f2aefb65c9e76e130f76a51303a272bd34a6db781d3b2a86e92 SHA512 9c6d1748685e8b62f9542f73481a587dbe7b6ca157fdcecdd8d2f66bbb71169bf31e47da51867aa0ec9b620c39677ab9a936a7537769714bdc99ef0355c743e0 EBUILD setproctitle-1.2.3.ebuild 659 BLAKE2B 270ee12849c70a5cb3084c5d92a6cb71fb3ca89ffac5c2ba8fdb6dc48101bbba5eeeced0ed193dbb69a2b1c65eb05c12c27020762366df07cd5e3437ebf0ab43 SHA512 16413006711e1e2b0b75fd61e69f9465a8447be899539d0835166afc84806628ee55c734dbd0c6b82e3d6828cce9d1b14286513185656489148e58766117b7f3 EBUILD setproctitle-1.3.0.ebuild 667 BLAKE2B fd89e7117b365e7b7c78a75b639a3d91d822ac7139802453f33a1334c4d226a2174dd6e3bc7a9d93b4c3c9bcc0f378016abdf5efdeee9aa1812613b9857e23ea SHA512 2388372fa488683f375663b4970ab6671db34f1f05601089a8f87cf4d08e2b766430ac19057b050c121624dc41766733523c6a1dff11e79a086aa13f525e8f30 EBUILD setproctitle-1.3.1.ebuild 667 BLAKE2B fd89e7117b365e7b7c78a75b639a3d91d822ac7139802453f33a1334c4d226a2174dd6e3bc7a9d93b4c3c9bcc0f378016abdf5efdeee9aa1812613b9857e23ea SHA512 2388372fa488683f375663b4970ab6671db34f1f05601089a8f87cf4d08e2b766430ac19057b050c121624dc41766733523c6a1dff11e79a086aa13f525e8f30 +EBUILD setproctitle-1.3.2.ebuild 667 BLAKE2B fd89e7117b365e7b7c78a75b639a3d91d822ac7139802453f33a1334c4d226a2174dd6e3bc7a9d93b4c3c9bcc0f378016abdf5efdeee9aa1812613b9857e23ea SHA512 2388372fa488683f375663b4970ab6671db34f1f05601089a8f87cf4d08e2b766430ac19057b050c121624dc41766733523c6a1dff11e79a086aa13f525e8f30 MISC metadata.xml 381 BLAKE2B 3d670d00f8ea402ac4ddb3a4f92f341f9a983a6dbd7d077523a7ecfea4bcd6ba398e7ccc5866ac2650a765b25a0e83b735293963598ef404af1f106cc629d378 SHA512 49e506f7044fe2ad49ffe16c7070da7fba8768f3e79b4c32e539a65ea94c73c19c7592021434a4ac7e10b7f401c255ae276ce8caa599a14dadb9e512765202da diff --git a/dev-python/setproctitle/setproctitle-1.3.2.ebuild b/dev-python/setproctitle/setproctitle-1.3.2.ebuild new file mode 100644 index 000000000000..13ace7223215 --- /dev/null +++ b/dev-python/setproctitle/setproctitle-1.3.2.ebuild @@ -0,0 +1,22 @@ +# Copyright 1999-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=setuptools +PYTHON_COMPAT=( python3_{8..11} pypy3 ) + +inherit distutils-r1 + +DESCRIPTION="Allow customization of the process title" +HOMEPAGE=" + https://github.com/dvarrazzo/py-setproctitle/ + https://pypi.org/project/setproctitle/ +" +SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" + +LICENSE="BSD" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris" + +distutils_enable_tests pytest diff --git a/dev-python/setuptools-rust/Manifest b/dev-python/setuptools-rust/Manifest index 9d1b5b0f43c6..a33965d4cff3 100644 --- a/dev-python/setuptools-rust/Manifest +++ b/dev-python/setuptools-rust/Manifest @@ -80,6 +80,6 @@ DIST winapi-0.3.9.crate 1200382 BLAKE2B cb5799749ccd935ea2d7068d953cecf19f543d9d DIST winapi-i686-pc-windows-gnu-0.4.0.crate 2918815 BLAKE2B 4d357e4d30f9552972170d65b9a5358b69c46a3e772fe05efc22f3d4ffc1caeeaad7aacdc7abd503a7ad0545f8bd7d22bf351dcb6df76f812fa4d45c34d65df0 SHA512 a672ccefd0730a8166fef1d4e39f9034d9ae426a3f5e28d1f4169fa5c5790767693f281d890e7804773b34acdb0ae1febac33cde8c50c0044a5a6152c7209ec2 DIST winapi-x86_64-pc-windows-gnu-0.4.0.crate 2947998 BLAKE2B 2ad1ea8b5fa07d544e910ccba043ae925269b76b26c9da356305b34b86741dd8b9aff0b9ffe3d562db4fcd7d7c46a11ce9e3168b782b1d89ae6881742b7ede82 SHA512 4a654af6a5d649dc87e00497245096b35a2894ae66f155cb62389902c3b93ddcc5cf7d0d8b9dd97b291d2d80bc686af2298e80abef6ac69883f4a54e79712513 EBUILD setuptools-rust-1.3.0.ebuild 3145 BLAKE2B 89fcd32448cef2c1c9a68b3abcdcae256b22e3ebffd389efe37f6a8af0fbbf714d01c1c18143860b3baa94e65d38c23d94f2030d88e2fdb43810cb287475a081 SHA512 69a2570e8d7e6ecf833202b63196fc99d606a60aae02dcb369ba61a514fc6c16cfbd619a542ac10b0d567fa077f71314b592a2be8f20d9209d30b5fbf642135a -EBUILD setuptools-rust-1.4.1.ebuild 3225 BLAKE2B 23ad7f4ef4aa5c5228593a9c3a829c67758de44365e055f6db844b96ad3ba8e8baea8e4234ab916134bea245d15eef4e7b0a4884f35b85f2362df010ca0eca3e SHA512 abde9ddb9101263a8b0504105c587deacc92f876473cfe73f287ae21517c624f93bc00fb0e1871e21dc446d868c59ba73e52ae56520da3a9110c8f2d6e5ebc1a +EBUILD setuptools-rust-1.4.1.ebuild 3224 BLAKE2B 25e906de1b79f958cc2858704cd4a8246cea21d09532e38025258a49818ed2a417ef7fbcbb786286adfe5077af40687add0a0637532df6015d2b9a2c02af8bae SHA512 a4e2423a3b6eb6fc4f037e14be94e7356dce94c6028c361a342421f3931092ca25fd3f3b8e18d0673a90c634d0edd96b6a36ceb817f1ba091dbf67db1957d300 EBUILD setuptools-rust-1.5.0.ebuild 3219 BLAKE2B bf1a733cfae3069ce56013278c0232cb4f03404b6296ecaa1fe054ded092fef0946ff479fb4e6ff6450558699af7c1cf9c1aa9a3abf3dcf457d73fd790b471e6 SHA512 1692d33a52db827ea9c36d6bb232f33d862f7f69e9a3668309aadd15bc22b2256253553d7deb77be877128460ee582a3dfd6b09c114feb1319f440f715175041 MISC metadata.xml 476 BLAKE2B c8f0ef0779f0a4412a7d9b97e1bb03e3bfb3c031209f489a100b30402d99224014e379712989afd0cb76c85be301dcf9a51e21e8f9195262c5920dd1db0703d1 SHA512 af74755e9e8fb61cbded2dc3e63cd20f95393ef2650bed9f81e299f7759ae79c63b45df8048cd0fe25397ec7db10156be681fa5278606a20481f78d5279b815b diff --git a/dev-python/setuptools-rust/setuptools-rust-1.4.1.ebuild b/dev-python/setuptools-rust/setuptools-rust-1.4.1.ebuild index 099a4bf3dfc2..34b4fb25a23c 100644 --- a/dev-python/setuptools-rust/setuptools-rust-1.4.1.ebuild +++ b/dev-python/setuptools-rust/setuptools-rust-1.4.1.ebuild @@ -97,7 +97,7 @@ SRC_URI=" LICENSE="MIT" SLOT="0" -KEYWORDS="amd64 arm arm64 ppc ppc64 ~riscv ~s390 sparc ~x86" +KEYWORDS="amd64 arm arm64 ppc ppc64 ~riscv ~s390 sparc x86" IUSE="test" RESTRICT="!test? ( test )" diff --git a/dev-python/shiboken2/Manifest b/dev-python/shiboken2/Manifest index 64534f88940c..8d35ab8eaa48 100644 --- a/dev-python/shiboken2/Manifest +++ b/dev-python/shiboken2/Manifest @@ -2,6 +2,12 @@ AUX shiboken2-5.15.2-numpy-1.23.patch 1180 BLAKE2B 744f36a26e934c31e5f499cb07b5c AUX shiboken2-5.15.2-python310.patch 4408 BLAKE2B cd1a5c3f8c473a6667f8c942c248285babb468339283a8cc97064bd119194b72bcdb47c758044774a415cec08562b7875fd7298dea50e23d7fc3830e8291a8c1 SHA512 10245617f1aea656d3ba2e8736d51fd119e4d01c4fff129f557203bd1d5eb40ca10b40eaf55a8bd98b56f8e2e7503028818e333fee8ec86cb7b050e48a5e0387 AUX shiboken2-5.15.2-python311-fixups.patch 2059 BLAKE2B 746cc4c4f6f29895fc4c4d6989c2d578099f5d071129cf7b8dc78fef8641d10f189b4acf9293ae178cafe196d16cfce21e4e9d85a1ff7c107e9fc611b1dfea50 SHA512 8407f2b0166f8c3aed9bef3ecc8efc6177066c4a6148b8ff942f29b3e95752f15697a8447a58e51410d6982900e9e924d38be2a8857d7f15876badddbc37b507 AUX shiboken2-5.15.2-python311.patch 4606 BLAKE2B 40cc608b4dd5eb305809e2cd2fe2908e8f5a47dcf2a2e6efc92cbcf26604c50cd63b007d4e49b061f017a6675c57542b897fa019820a72adc4c291f798f6f01e SHA512 8403955111e8d9f9f9d8795668ab6cb19d83e9a2434593a4578905a065f706c5a4fede2f17c9e9acd8d2f9d5d0e64a54b6e65f512b147ee91f152430ac171c5b +AUX shiboken2-5.15.5-add-numpy-1.23-compatibility.patch 1095 BLAKE2B 8266da9d94c67ef09ae8f80b342fc99fddbfa1efbc30ccff5408ab9c9439b4b066942b0cc0cf4064c8162f1545c7ef1b4297fb0bb7c25e87eb131767c96bd561 SHA512 5c0f76aaf9920bde858e158fe87a353cc4c4e5ce0789b28f3d2d47c5d9461c18723e1b9bb2a4f833e783ba51c7d1f57752c0ddb9512c56b01ee44d6aaa10dd83 +AUX shiboken2-5.15.5-python311-1.patch 3124 BLAKE2B 97e51ae8cc6866da7ac9cced4f1988eeb00c8bbf1e033766b6f926ec16ad1dab171f15060ddaaf541f1eadfcc0fb9251df2ea613c3c16a51467d0870b378dda1 SHA512 8d11c6cc737ac99aa748e9e100a8b559aa315142f587d77f4ecae8f5ac74e65ddfb3348631203a781d445177d423f0a83307d8121b5d35ba6065e0cbb52673a8 +AUX shiboken2-5.15.5-python311-2.patch 2056 BLAKE2B c93be29e31b0fa6ce28a29de0dc4dba9635e86ba0103d77334e324a0d26f4c81c9ee6583bef146eb908fe290426eb462dd0a0f68e917ca5f3c4505742d673a0f SHA512 df6f185546180b3d27d8ed1ec1ccf90cdf3813f8928894717ad02e97f0c404b8dc00aed330e8b51aa7e04d5b3e621a15981fc911b2371542f9266c147fdf3828 +AUX shiboken2-5.15.5-python311-3.patch 2363 BLAKE2B 84521be2008dda0fc9398dac2c6e235d0d976c3219f7ecf50f28938a7cce6952ec41795c2c86d0f71ccd94210661dc22a471adb2f879a133e11a3148923fd708 SHA512 540ff5afbfebcc00f20c43993f67458013f4655c06505fdf23bc26085bd2c621863dd9c28be1a20dca299113aee828974f853b145818fdb11d59fc12d0bb8c14 DIST pyside-setup-opensource-src-5.15.2.tar.xz 3472624 BLAKE2B 099abeaf25059a88f299f90b18cf79aa45acd86580c0873767b09f76268d6746cc3576743a19493a605de59b520471ddee6bba0e5340801ef44a21f2a9d41507 SHA512 5043c1c9db4ba0133baaabb4d4943182e9741b1007bedd992394758707a37bba0688dc6413ea46620e7c2fb09daa3c74e6a7bb2c302b9d08e5f3bb7575d02b62 +DIST pyside-setup-opensource-src-5.15.5.tar.xz 3577972 BLAKE2B ee16ce18ec4103add41ad89b658012cb2e8695bda51269d3cd1614c2b6d029c0eaba5e592d5e58b6267e1ddc020a938d3ccd2fbc9461cc5bf202f3bdbf6b5d62 SHA512 61b987ec823e9a89f2a07a1991d47f36eb45e3ce416aa6e0032a58ba3d623ac26224cb0f43a2db76850bce7290d12fae610de06405350362caac7860ba99f0c3 EBUILD shiboken2-5.15.2-r2.ebuild 6554 BLAKE2B a4d2ba9ae4ff29d9b974b26a5c5c0c7db66790bab3433dab0b84e2c0465b08bd6c8a15df78ef342a8942472978c031cba809625286d619a0e3119e20e17bb27d SHA512 e0287e12b01024290b3b97103244bfcfb1e3385bc4e2d1fa4465894d6afc30dcaad50bd335bee4d26536d48db742c6aa0d924dce59d696721fedae747b09d01c +EBUILD shiboken2-5.15.5.ebuild 6566 BLAKE2B 7fb8de189deaa50f8d693563f6a5614389be75cc91f85b8a1e17e428dfdbc7ca1dca6aba1e4fc39f9b47ca056630c77545ee21ac315432fa948a29b0777f7fc9 SHA512 f2b6d04fc33adc0e889850a3a02cf8087b61f8f07f783cc82d7acca457427d548ab78ff2c239d3f35bbc7bcf9a46749c605df3f3a67e58c6d767de66db0c7881 MISC metadata.xml 496 BLAKE2B 060c13ebf383e609b257f50f65484eecaaa1909d3b9242ab2be2b12ec203cdaaf4b5a9402f01b9e511b3744a4d7a562161d86a0d2f9bc90f401ac7ee0cea8ba4 SHA512 7edc53f2bde5d688e8dcac866997ec282cf2f7c1230a064a304c83a7b3c54c2079f99f4c75082dc47f7e9248dc65296ef98e0cda7dea08cbb97e766da48c11d5 diff --git a/dev-python/shiboken2/files/shiboken2-5.15.5-add-numpy-1.23-compatibility.patch b/dev-python/shiboken2/files/shiboken2-5.15.5-add-numpy-1.23-compatibility.patch new file mode 100644 index 000000000000..7ce30bb2e67d --- /dev/null +++ b/dev-python/shiboken2/files/shiboken2-5.15.5-add-numpy-1.23-compatibility.patch @@ -0,0 +1,31 @@ +https://raw.githubusercontent.com/FreeCAD/homebrew-freecad/master/patches/libshiboken-numpy-1.23.compat.patch + +From c238f558bb72860c15da00546a7b7924d0b90848 Mon Sep 17 00:00:00 2001 +From: Bernd Waibel <waebbl-gentoo@posteo.net> +Date: Thu, 21 Jul 2022 06:37:26 +0200 +Subject: [PATCH] add numpy-1.23 compatibility + +Signed-off-by: Bernd Waibel <waebbl-gentoo@posteo.net> +--- + libshiboken/sbknumpyarrayconverter.cpp | 5 +++++ + 1 file changed, 5 insertions(+) + +--- a/libshiboken/sbknumpyarrayconverter.cpp ++++ b/libshiboken/sbknumpyarrayconverter.cpp +@@ -116,8 +116,13 @@ std::ostream &operator<<(std::ostream &str, PyArrayObject *o) + str << " NPY_ARRAY_NOTSWAPPED"; + if ((flags & NPY_ARRAY_WRITEABLE) != 0) + str << " NPY_ARRAY_WRITEABLE"; ++#if NPY_VERSION >= 0x00000010 // NPY_1_23_API_VERSION ++ if ((flags & NPY_ARRAY_WRITEBACKIFCOPY) != 0) ++ str << " NPY_ARRAY_WRITEBACKIFCOPY"; ++#else + if ((flags & NPY_ARRAY_UPDATEIFCOPY) != 0) + str << " NPY_ARRAY_UPDATEIFCOPY"; ++#endif + } else { + str << '0'; + } +-- +2.35.1 + diff --git a/dev-python/shiboken2/files/shiboken2-5.15.5-python311-1.patch b/dev-python/shiboken2/files/shiboken2-5.15.5-python311-1.patch new file mode 100644 index 000000000000..771ce2ad1886 --- /dev/null +++ b/dev-python/shiboken2/files/shiboken2-5.15.5-python311-1.patch @@ -0,0 +1,72 @@ +From c87d4e27cd482918c1d091c09cfac749a56b0f99 Mon Sep 17 00:00:00 2001 +From: Bernd Waibel <waebbl-gentoo@posteo.net> +Date: Wed, 20 Jul 2022 07:15:57 +0200 +Subject: [PATCH 1/3] + https://src.fedoraproject.org/fork/pviktori/rpms/python-pyside2/raw/5da9902bd8732b49eb722d71f306d4ab197c84b8/f/python3.11.patch + https://code.qt.io/cgit/pyside/pyside-setup.git/patch/?id=52df3b8f64 + https://code.qt.io/cgit/pyside/pyside-setup.git/patch/?id=73adefe22f + https://code.qt.io/cgit/pyside/pyside-setup.git/patch/?id=a09a1db839 + +From b64ad27d8dfeeecaaa8a98051252a32c9d998df4 Mon Sep 17 00:00:00 2001 +From: Friedemann Kleint <Friedemann.Kleint@qt.io> +Date: Thu, 9 Jun 2022 16:50:41 +0200 +Subject: [PATCH] libshiboken: Fix a crash in Shiboken::Object::isValid() for + Python 3.11 + +The function is passed type objects for class methods, which caused +it to crash. + +The first clause did not catch this, and so it was cast to SbkObject +below. + +Add a type check to prevent this. + +Pick-to: 6.3 6.2 5.15 +Task-number: PYSIDE-1960 +Change-Id: Icfdd6fefb7156ac5961444bd5395109849a1d66e +Reviewed-by: Christian Tismer <tismer@stackless.com> +Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org> + +Original patch no longer applies with 5.15.5. +Manually re-applied to respect code changes. + +Signed-off-by: Bernd Waibel <waebbl-gentoo@posteo.net> +--- a/libshiboken/basewrapper.cpp ++++ b/libshiboken/basewrapper.cpp +@@ -377,7 +377,7 @@ SbkObjectType *SbkObject_TypeF(void) + static PyTypeObject *type = nullptr; + if (!type) { + type = reinterpret_cast<PyTypeObject *>(SbkType_FromSpec(&SbkObject_Type_spec)); +- Py_TYPE(type) = SbkObjectType_TypeF(); ++ Py_SET_TYPE(type, SbkObjectType_TypeF()); + Py_INCREF(Py_TYPE(type)); + type->tp_weaklistoffset = offsetof(SbkObject, weakreflist); + type->tp_dictoffset = offsetof(SbkObject, ob_dict); +@@ -1152,7 +1152,7 @@ introduceWrapperType(PyObject *enclosingObject, + typeSpec->slots[0].pfunc = reinterpret_cast<void *>(baseType ? baseType : SbkObject_TypeF()); + + PyObject *heaptype = SbkType_FromSpecWithBases(typeSpec, baseTypes); +- Py_TYPE(heaptype) = SbkObjectType_TypeF(); ++ Py_SET_TYPE(heaptype, SbkObjectType_TypeF()); + Py_INCREF(Py_TYPE(heaptype)); + auto *type = reinterpret_cast<SbkObjectType *>(heaptype); + #if PY_VERSION_HEX < 0x03000000 +@@ -1517,6 +1517,7 @@ bool setCppPointer(SbkObject *sbkObj, PyTypeObject *desiredType, void *cptr) + bool isValid(PyObject *pyObj) + { + if (!pyObj || pyObj == Py_None ++ || PyType_Check(pyObj) != 0 + || Py_TYPE(Py_TYPE(pyObj)) != SbkObjectType_TypeF()) { + return true; + } +--- a/libshiboken/sbkenum.cpp ++++ b/libshiboken/sbkenum.cpp +@@ -753,7 +753,7 @@ newTypeWithName(const char *name, + PyTuple_SetItem(bases, 0, reinterpret_cast<PyObject *>(basetype)); + auto *type = reinterpret_cast<PyTypeObject *>(SbkType_FromSpecWithBases(&newspec, bases)); + PyErr_Print(); +- Py_TYPE(type) = SbkEnumType_TypeF(); ++ Py_SET_TYPE(type, SbkEnumType_TypeF()); + + auto *enumType = reinterpret_cast<SbkEnumType *>(type); + PepType_SETP(enumType)->cppName = cppName; diff --git a/dev-python/shiboken2/files/shiboken2-5.15.5-python311-2.patch b/dev-python/shiboken2/files/shiboken2-5.15.5-python311-2.patch new file mode 100644 index 000000000000..54a54630cb0c --- /dev/null +++ b/dev-python/shiboken2/files/shiboken2-5.15.5-python311-2.patch @@ -0,0 +1,65 @@ +From 6fc0af3753839839b227075cc2a9e43c7cd7a26d Mon Sep 17 00:00:00 2001 +From: Bernd Waibel <waebbl-gentoo@posteo.net> +Date: Wed, 20 Jul 2022 07:23:15 +0200 +Subject: [PATCH 2/3] From a09a1db8391243e6bb290ee66bb6e3afbb114c61 Mon Sep 17 + 00:00:00 2001 From: Friedemann Kleint <Friedemann.Kleint@qt.io> Date: Fri, 24 + Jun 2022 09:22:01 +0200 Subject: libshiboken: Fix crashes with static strings + in Python 3.11 + +In Python 3.11, some strings come with a refcount above decimal +1000000000, apparently indicating that they are interned. Replace the +mechanism by PyUnicode_InternFromString(). + +Task-number: PYSIDE-1960 +Pick-to: 6.3 6.2 5.15 +Change-Id: I6436afee351f89da5814b5d6bc76970b1b508168 +Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org> +Reviewed-by: Christian Tismer <tismer@stackless.com> +Upstream: https://code.qt.io/cgit/pyside/pyside-setup.git/commit/?id=a09a1db8391243e6bb290ee66bb6e3afbb114c61 + +Original patch no longer applies. +Manually adapted to respect code changes. + +Signed-off-by: Bernd Waibel <waebbl-gentoo@posteo.net> +--- a/libshiboken/sbkstring.cpp ++++ b/libshiboken/sbkstring.cpp +@@ -41,8 +41,14 @@ + #include "sbkstaticstrings_p.h" + #include "autodecref.h" + +-#include <vector> +-#include <unordered_set> ++#if PY_VERSION_HEX >= 0x030B0000 || defined(Py_LIMITED_API) ++# define USE_INTERN_STRINGS ++#endif ++ ++#ifndef USE_INTERN_STRINGS ++# include <vector> ++# include <unordered_set> ++#endif + + namespace Shiboken + { +@@ -233,6 +239,13 @@ Py_ssize_t len(PyObject *str) + // PyObject *attr = PyObject_GetAttr(obj, name()); + // + ++#ifdef USE_INTERN_STRINGS ++PyObject *createStaticString(const char *str) ++{ ++ return PyUnicode_InternFromString(str); ++} ++#else ++ + using StaticStrings = std::unordered_set<PyObject *>; + + static void finalizeStaticStrings(); // forward +@@ -283,6 +296,8 @@ PyObject *createStaticString(const char *str) + return result; + } + ++#endif // !USE_INTERN_STRINGS ++ + /////////////////////////////////////////////////////////////////////// + // + // PYSIDE-1019: Helper function for snake_case vs. camelCase names diff --git a/dev-python/shiboken2/files/shiboken2-5.15.5-python311-3.patch b/dev-python/shiboken2/files/shiboken2-5.15.5-python311-3.patch new file mode 100644 index 000000000000..9c44dc621b45 --- /dev/null +++ b/dev-python/shiboken2/files/shiboken2-5.15.5-python311-3.patch @@ -0,0 +1,55 @@ +From f62a1766e5f0cf0e503a76cd755408f2c65dc947 Mon Sep 17 00:00:00 2001 +From: Bernd Waibel <waebbl-gentoo@posteo.net> +Date: Wed, 20 Jul 2022 07:29:37 +0200 +Subject: [PATCH 3/3] The Fedora / upstream fixes + (shiboken2-5.15.2-python311.patch) end up breaking Python 3.8 compatibility + (maybe 3.9 too, but didn't get that far). + +Wrap them with PY_VERSION_HEX for Python 3.11. + +Original patch no longer applied due to code changes. + +Signed-off-by: Bernd Waibel <waebbl-gentoo@posteo.net> +--- a/libshiboken/basewrapper.cpp ++++ b/libshiboken/basewrapper.cpp +@@ -377,7 +377,11 @@ SbkObjectType *SbkObject_TypeF(void) + static PyTypeObject *type = nullptr; + if (!type) { + type = reinterpret_cast<PyTypeObject *>(SbkType_FromSpec(&SbkObject_Type_spec)); +- Py_SET_TYPE(type, SbkObjectType_TypeF()); ++ #if PY_VERSION_HEX < 0x030B00A1 ++ Py_TYPE(type) = SbkObjectType_TypeF(); ++ #else ++ Py_SET_TYPE(type, SbkObjectType_TypeF()); ++ #endif + Py_INCREF(Py_TYPE(type)); + type->tp_weaklistoffset = offsetof(SbkObject, weakreflist); + type->tp_dictoffset = offsetof(SbkObject, ob_dict); +@@ -1152,7 +1156,11 @@ introduceWrapperType(PyObject *enclosingObject, + typeSpec->slots[0].pfunc = reinterpret_cast<void *>(baseType ? baseType : SbkObject_TypeF()); + + PyObject *heaptype = SbkType_FromSpecWithBases(typeSpec, baseTypes); +- Py_SET_TYPE(heaptype, SbkObjectType_TypeF()); ++ #if PY_VERSION_HEX < 0x030B00A1 ++ Py_TYPE(heaptype) = SbkObjectType_TypeF(); ++ #else ++ Py_SET_TYPE(heaptype, SbkObjectType_TypeF()); ++ #endif + Py_INCREF(Py_TYPE(heaptype)); + auto *type = reinterpret_cast<SbkObjectType *>(heaptype); + #if PY_VERSION_HEX < 0x03000000 +--- a/libshiboken/sbkenum.cpp ++++ b/libshiboken/sbkenum.cpp +@@ -753,7 +753,11 @@ newTypeWithName(const char *name, + PyTuple_SetItem(bases, 0, reinterpret_cast<PyObject *>(basetype)); + auto *type = reinterpret_cast<PyTypeObject *>(SbkType_FromSpecWithBases(&newspec, bases)); + PyErr_Print(); +- Py_SET_TYPE(type, SbkEnumType_TypeF()); ++ #if PY_VERSION_HEX < 0x030B00A1 ++ Py_TYPE(type) = SbkEnumType_TypeF(); ++ #else ++ Py_SET_TYPE(type, SbkEnumType_TypeF()); ++ #endif + + auto *enumType = reinterpret_cast<SbkEnumType *>(type); + PepType_SETP(enumType)->cppName = cppName; diff --git a/dev-python/shiboken2/shiboken2-5.15.5.ebuild b/dev-python/shiboken2/shiboken2-5.15.5.ebuild new file mode 100644 index 000000000000..46d2ae894608 --- /dev/null +++ b/dev-python/shiboken2/shiboken2-5.15.5.ebuild @@ -0,0 +1,172 @@ +# Copyright 1999-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +# TODO: Split the "/usr/bin/shiboken2" binding generator from the +# "/usr/lib64/libshiboken2-*.so" family of shared libraries. The former +# requires everything (including Clang) at runtime; the latter only requires +# Qt and Python at runtime. Note that "pip" separates these two as well. See: +# https://doc.qt.io/qtforpython/shiboken2/faq.html#is-there-any-runtime-dependency-on-the-generated-binding +# Once split, the PySide2 ebuild should be revised to require +# "/usr/bin/shiboken2" at build time and "libshiboken2-*.so" at runtime. +# TODO: Add PyPy once officially supported. See also: +# https://bugreports.qt.io/browse/PYSIDE-535 +PYTHON_COMPAT=( python3_{8..11} ) + +inherit cmake llvm python-r1 toolchain-funcs + +MY_P=pyside-setup-opensource-src-${PV} + +DESCRIPTION="Python binding generator for C++ libraries" +HOMEPAGE="https://wiki.qt.io/PySide2" +SRC_URI="https://download.qt.io/official_releases/QtForPython/pyside2/PySide2-${PV}-src/${MY_P}.tar.xz" +S="${WORKDIR}/${MY_P}/sources/shiboken2" + +# The "sources/shiboken2/libshiboken" directory is triple-licensed under the +# GPL v2, v3+, and LGPL v3. All remaining files are licensed under the GPL v3 +# with version 1.0 of a Qt-specific exception enabling shiboken2 output to be +# arbitrarily relicensed. (TODO) +LICENSE="|| ( GPL-2 GPL-3+ LGPL-3 ) GPL-3" +SLOT="0" +KEYWORDS="~amd64 ~arm ~arm64 ~x86" +IUSE="+docstrings numpy test vulkan" +REQUIRED_USE="${PYTHON_REQUIRED_USE}" + +# Tests fail pretty bad and I'm not fixing them right now +RESTRICT="test" + +# Minimal supported version of Qt. +QT_PV="$(ver_cut 1-2):5" + +# Since Clang is required at both build- and runtime, BDEPEND is omitted here. +RDEPEND="${PYTHON_DEPS} + >=dev-qt/qtcore-${QT_PV} + sys-devel/clang:= + sys-devel/clang-runtime:= + docstrings? ( + >=dev-libs/libxml2-2.6.32 + >=dev-libs/libxslt-1.1.19 + >=dev-qt/qtxml-${QT_PV} + >=dev-qt/qtxmlpatterns-${QT_PV} + ) + numpy? ( dev-python/numpy[${PYTHON_USEDEP}] ) + vulkan? ( dev-util/vulkan-headers ) +" +DEPEND="${RDEPEND} + test? ( >=dev-qt/qttest-${QT_PV} ) +" + +DOCS=( AUTHORS ) + +PATCHES=( + "${FILESDIR}"/${P}-python311-1.patch + "${FILESDIR}"/${P}-python311-2.patch + "${FILESDIR}"/${P}-python311-3.patch + "${FILESDIR}"/${P}-add-numpy-1.23-compatibility.patch +) + +# Ensure the path returned by get_llvm_prefix() contains clang as well. +llvm_check_deps() { + has_version "sys-devel/clang:${LLVM_SLOT}" +} + +src_prepare() { + # TODO: File upstream issue requesting a sane way to disable NumPy support. + if ! use numpy; then + sed -i -e '/\bprint(os\.path\.realpath(numpy))/d' \ + libshiboken/CMakeLists.txt || die + fi + + # Shiboken2 assumes Vulkan headers live under either "$VULKAN_SDK/include" + # or "$VK_SDK_PATH/include" rather than "${EPREFIX}/usr/include/vulkan". + if use vulkan; then + sed -i -e "s~\bdetectVulkan(&headerPaths);~headerPaths.append(HeaderPath{QByteArrayLiteral(\"${EPREFIX}/usr/include/vulkan\"), HeaderType::System});~" \ + ApiExtractor/clangparser/compilersupport.cpp || die + fi + + # Shiboken2 assumes the "/usr/lib/clang/${CLANG_NEWEST_VERSION}/include/" + # subdirectory provides Clang builtin includes (e.g., "stddef.h") for the + # currently installed version of Clang, where ${CLANG_NEWEST_VERSION} is + # the largest version specifier that exists under the "/usr/lib/clang/" + # subdirectory. This assumption is false in edge cases, including when + # users downgrade from newer Clang versions but fail to remove those + # versions with "emerge --depclean". See also: + # https://github.com/leycec/raiagent/issues/85 + # + # Sadly, the clang-* family of functions exported by the "toolchain-funcs" + # eclass are defective, returning nonsensical placeholder strings if the + # end user has *NOT* explicitly configured their C++ compiler to be Clang. + # PySide2 does *NOT* care whether the end user has done so or not, as + # PySide2 unconditionally requires Clang in either case. See also: + # https://bugs.gentoo.org/619490 + sed -i -e 's~(findClangBuiltInIncludesDir())~(QStringLiteral("'"${EPREFIX}"'/usr/lib/clang/'$(CPP=clang clang-fullversion)'/include"))~' \ + ApiExtractor/clangparser/compilersupport.cpp || die + + cmake_src_prepare +} + +src_configure() { + # Minimal tests for now, 2 failing with the extended version + # FIXME Subscripted generics cannot be used with class and instance checks + local mycmakeargs=( + -DBUILD_TESTS=$(usex test) + -DDISABLE_DOCSTRINGS=$(usex !docstrings) + ) + + shiboken2_configure() { + local mycmakeargs=( + "${mycmakeargs[@]}" + -DPYTHON_CONFIG_SUFFIX="-${EPYTHON}" + -DPYTHON_EXECUTABLE="${PYTHON}" + -DUSE_PYTHON_VERSION="${EPYTHON#python}" + ) + # CMakeLists.txt expects LLVM_INSTALL_DIR as an environment variable. + local -x LLVM_INSTALL_DIR="$(get_llvm_prefix)" + cmake_src_configure + } + python_foreach_impl shiboken2_configure +} + +src_compile() { + python_foreach_impl cmake_src_compile +} + +src_test() { + python_foreach_impl cmake_src_test +} + +src_install() { + shiboken2_install() { + cmake_src_install + python_optimize + + # Uniquify the "shiboken2" executable for the current Python target, + # preserving an unversioned "shiboken2" file arbitrarily associated + # with the last Python target. + cp "${ED}"/usr/bin/${PN}{,-${EPYTHON}} || die + + # Uniquify the Shiboken2 pkgconfig file for the current Python target, + # preserving an unversioned "shiboken2.pc" file arbitrarily associated + # with the last Python target. See also: + # https://github.com/leycec/raiagent/issues/73 + cp "${ED}/usr/$(get_libdir)"/pkgconfig/${PN}{,-${EPYTHON}}.pc || die + } + python_foreach_impl shiboken2_install + + # CMakeLists.txt installs a "Shiboken2Targets-gentoo.cmake" file forcing + # downstream consumers (e.g., PySide2) to target one "libshiboken2-*.so" + # library and one "shiboken2" executable linked to one Python interpreter. + # See also: + # https://bugreports.qt.io/browse/PYSIDE-1053 + # https://github.com/leycec/raiagent/issues/74 + sed -i \ + -e 's~shiboken2-python[[:digit:]]\+\.[[:digit:]]\+~shiboken2${PYTHON_CONFIG_SUFFIX}~g' \ + -e 's~/bin/shiboken2~/bin/shiboken2${PYTHON_CONFIG_SUFFIX}~g' \ + "${ED}/usr/$(get_libdir)"/cmake/Shiboken2-${PV}/Shiboken2Targets-${CMAKE_BUILD_TYPE,,}.cmake || die + + # Remove the broken "shiboken_tool.py" script. By inspection, this script + # reduces to a noop. Moreover, this script raises the following exception: + # FileNotFoundError: [Errno 2] No such file or directory: '/usr/bin/../shiboken_tool.py': '/usr/bin/../shiboken_tool.py' + rm "${ED}"/usr/bin/shiboken_tool.py || die +} diff --git a/dev-python/xmlschema/Manifest b/dev-python/xmlschema/Manifest index 90a9dac80b16..1c8cd00480b1 100644 --- a/dev-python/xmlschema/Manifest +++ b/dev-python/xmlschema/Manifest @@ -1,5 +1,7 @@ DIST xmlschema-1.11.3.tar.gz 477008 BLAKE2B 30e0802e271bf82a1baa8f38317048f4ccda994e2dd04c2fdbf70e4240c2227e821bd416326347d0817b27635dde2c67f446adde2cdf443301046f15ac84175c SHA512 5920573900f0cfc159e3239883aaada18502ac0d33dc7a9aaaf4ab63b41f6d37ba68989aa931e0e2e3e546d335788cb55b1d350d5856d06f12904549cf3cb723 DIST xmlschema-2.0.1.tar.gz 475999 BLAKE2B 646f839ec8c1e3e7a18250e5e98a2d2503974b331a296c428eeceb5400af792c432851bf4cc7b8a15bfa815a9316f3a243535412344fd968ede7fbbee352bce5 SHA512 2087c3a4dc8517b3a05e852f213c611c6040c9bf41a392b26467a9d4a27140a2ce577a13cb1d0f4074f1d3d8bc33d6e115386cb1d675a6b6ee5ee29c01b20173 +DIST xmlschema-2.0.2.tar.gz 476241 BLAKE2B 56d1708a2139591d4efaa93a448485cef28f6a4dfd602f6919a4d7afaf249c5ec8d4500062a5f959d2d4f7a28819d8e45724830b09e1e66298192af0f8ddd32f SHA512 3ec7a6a8337e1c342e4f4db02fac51a5b31a95f21b4630d8750014c418ecfd12fecd271309bd18235288f373f3e01511998af907adcd444720b6f14d13762123 EBUILD xmlschema-1.11.3.ebuild 832 BLAKE2B 17e3942b555bc419a77695077c676163ecb80be93436724601c3d414d7c530a87e4845384108a6f99a5c8ce8895416aa5173f88979f4bfb771c357c1f2051ab4 SHA512 1b232654938e4bdbc443f080f7cd80793a52ac483ecbdf5540debb15cc16657fedda7845f7d89d0f2ef4a944c4cca9ca8e454710ad4c744f7cab2318e960a46c EBUILD xmlschema-2.0.1.ebuild 885 BLAKE2B 18245bee72521a6fb759cee3181ddf6f93633a8c790efffe6f733f709f67df1a386231a46093a91624588570db1d5ea7955dd252eb31f0358015c8dfdf973ea7 SHA512 6cc9df953df065937c9714859b63567240a6a68bd1569ec551a3b5ebc04afaa610591283f233abe3de124bd42de7ae87b3361254ba92216a0c22b2e344d0196b +EBUILD xmlschema-2.0.2.ebuild 883 BLAKE2B 8b7f637076f0664cfe0af5fe48a7e0bc339e4b8243f0db82322ee94e1c5da32fd686356409cc2619784c79de4f214f2aadd127efd201b017ad7b53230e6d048d SHA512 4854d40a14536f72b017a0989f5a80aca4928e906a967eb74dde69fdcba40a543f3f78530cfaa9572b5676d6da2510017a8e36f90c37fa3d97e1054fa4eec1a2 MISC metadata.xml 376 BLAKE2B 6aa6c0ef38b17f49452a3db71c7f449dfda8951e2196b904235592921620b6a2064021aae7a1a30639e637c3b9bdb46bcaebec1903a081a41832bd0c5199dde9 SHA512 b814209cd4b87ad5cb8bc447f1d485043d8386339607f39575faf2d26c19b69befa9fd7b7eb2d3fca4b5e60499091a59c1466cfc2f0d9651430949893e2edaeb diff --git a/dev-python/xmlschema/xmlschema-2.0.2.ebuild b/dev-python/xmlschema/xmlschema-2.0.2.ebuild new file mode 100644 index 000000000000..829df9709686 --- /dev/null +++ b/dev-python/xmlschema/xmlschema-2.0.2.ebuild @@ -0,0 +1,38 @@ +# Copyright 2019-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=setuptools +PYTHON_COMPAT=( python3_{8..11} pypy3 ) + +inherit distutils-r1 + +DESCRIPTION="An XML Schema validator and decoder" +HOMEPAGE=" + https://github.com/sissaschool/xmlschema/ + https://pypi.org/project/xmlschema/ +" +SRC_URI="mirror://pypi/${PN::1}/${PN}/${P}.tar.gz" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~m68k ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~x64-macos" +IUSE="test" +RESTRICT="!test? ( test )" + +RDEPEND=" + <dev-python/elementpath-4[${PYTHON_USEDEP}] + >=dev-python/elementpath-3.0.0[${PYTHON_USEDEP}] +" +BDEPEND=" + test? ( + ${RDEPEND} + dev-python/jinja[${PYTHON_USEDEP}] + dev-python/lxml[${PYTHON_USEDEP}] + ) +" + +python_test() { + "${EPYTHON}" tests/test_all.py -v || die "Tests fail with ${EPYTHON}" +} |