diff options
Diffstat (limited to 'dev-python')
21 files changed, 870 insertions, 87 deletions
diff --git a/dev-python/Manifest.gz b/dev-python/Manifest.gz Binary files differindex 55c09d80ca8f..2e0c1408c420 100644 --- a/dev-python/Manifest.gz +++ b/dev-python/Manifest.gz diff --git a/dev-python/dns-lexicon/Manifest b/dev-python/dns-lexicon/Manifest index a59764b42e45..d59b3b51a5f8 100644 --- a/dev-python/dns-lexicon/Manifest +++ b/dev-python/dns-lexicon/Manifest @@ -1,3 +1,5 @@ DIST dns-lexicon-3.11.7.gh.tar.gz 6677647 BLAKE2B 9330bcc81e053e9cf8b2171b444e5d20e86922da15df7121a5957f8e6932528ba1f9099cc4dff08b2825d8fa253369b8b2da026a0846e64896bf491c59f2bdc9 SHA512 7d3becea6b9d60a4589e9d7e8de010d0b7e6a2c127d1ccc6981d1bff88d09f5a708fd3e9e22f66b8a0a77a331784340662de73607dd25d69c0342795c6afc765 -EBUILD dns-lexicon-3.11.7.ebuild 1783 BLAKE2B 04bc277d951a7d41b88b854e908bbe4f6465bc040bd60365220f673ba6b39f2d04f08530a0d3b79e98fc2b0b30118a5553e41780d5a7a255bcafbfdf7015c5be SHA512 a05126ada90a7f595a0aa153c596c1ec740e072908b9b34333beebb1a554fb445a1a3c6b9a4247e8e6dbfe2fdcd9752761cc17e5425b311a2a5ed233c68b0d0c +DIST dns-lexicon-3.12.0.gh.tar.gz 6729773 BLAKE2B 1566b98db71027a8c49c7c90060a67b0efc8dc8afb8c977c0277d29c751f26cabc824a510194f09d02f19a40151bfdebe877ccd3e0bfcc8484f694ce128c0d95 SHA512 4ba799c6f7a01b8209f5274337258d0525efff366b297fff2fcff1d40c7ee58850fa8c3743bf9d29a1a082288e1f615cd94036a9cdc7be9f85e46f26fe3d7fbc +EBUILD dns-lexicon-3.11.7.ebuild 1926 BLAKE2B 88d2c939ef6fd0a540c02f81c7f57025ee1ed69c8a875af0ad5db4b0e6436dedcd196af1d52e3989a125395651cf5741f7f28ff03c8da65750130d5851378270 SHA512 123039e1b106e28f96c5f077a7c4f5820c76fe1f174188052f7c951246f51ebf1606afdd7bfa684ba3baf5b8798a4f1d81ddd79687992f47ce66dc51a7aaa1c0 +EBUILD dns-lexicon-3.12.0.ebuild 1933 BLAKE2B 4046b9ec92670648a9a7aa6ae86c4992c8b711fd305826ee7725658b4d2092509a72c2b66f18c1d1ee35ca8d73b88c5560d0ec925f58566ff9fe2ab038d7181a SHA512 b3ee015385e844654a2c79df4c3babf47c28eb9699ece0d47c982b7e98416b59fe5a133194e18aa58dbb6bf6e79738bae03ef13bd415bab0d120144b8c8609f7 MISC metadata.xml 541 BLAKE2B a22266eac0bc7b4c22d9552cf64cbf88bbc1c2953e3ef0daaf059b81519909e0f8808e0d74cec6db3296e43f98082d57b8ae3779d694432e8578112ac18c3ea6 SHA512 79e2b43a685bfcc8dace1faa1c1a08cc648b39a3fef2834a57b6e801f72e7309276604253089db7a2fbe1d5d776b2ba1427c90a9cb9c44a0c1b2812d4e1901db diff --git a/dev-python/dns-lexicon/dns-lexicon-3.11.7.ebuild b/dev-python/dns-lexicon/dns-lexicon-3.11.7.ebuild index 61b3bb1da894..021971429400 100644 --- a/dev-python/dns-lexicon/dns-lexicon-3.11.7.ebuild +++ b/dev-python/dns-lexicon/dns-lexicon-3.11.7.ebuild @@ -54,6 +54,9 @@ EPYTEST_IGNORE=( lexicon/tests/providers/test_auto.py # All recordings seem to be broken lexicon/tests/providers/test_namecheap.py + # Broken by minor vcrpy / urllib3-2 incompatibility + # https://github.com/kevin1024/vcrpy/issues/714 + lexicon/tests/providers/test_route53.py ) pkg_postinst() { diff --git a/dev-python/dns-lexicon/dns-lexicon-3.12.0.ebuild b/dev-python/dns-lexicon/dns-lexicon-3.12.0.ebuild new file mode 100644 index 000000000000..4bbd2608a19f --- /dev/null +++ b/dev-python/dns-lexicon/dns-lexicon-3.12.0.ebuild @@ -0,0 +1,70 @@ +# Copyright 1999-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=poetry +PYTHON_COMPAT=( python3_{10..11} ) + +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-1.25[${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 + # Broken by minor vcrpy / urllib3-2 incompatibility + # https://github.com/kevin1024/vcrpy/issues/714 + lexicon/tests/providers/test_route53.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/jellyfish/Manifest b/dev-python/jellyfish/Manifest index 023133d4b8fa..0f87d231e9f8 100644 --- a/dev-python/jellyfish/Manifest +++ b/dev-python/jellyfish/Manifest @@ -8,7 +8,6 @@ DIST csv-core-0.1.10.crate 25668 BLAKE2B 8e9a56c26e75f4c4c9e90a21cc30c60cc3fff17 DIST getrandom-0.2.8.crate 30553 BLAKE2B 30211bc6a8ceb5ba765cbf068405cfc08842b2521c5850647971f4cb4bc9a5b0a9195ccfbc1461de019eeb7744ee69f934922ff21677259d7b815800516df4dc SHA512 cd7aea29f79a33a0de2a52a0a82f2b57ea8f27908ccfe00a5f42248766df88b225023603ec56d6fc634ef9c1eb67ad0135c90d4c695f6f659db0767e7fda44c5 DIST indoc-1.0.9.crate 13475 BLAKE2B a9696788574e56dd125c3371169fd59d6947d188f76e2669b21c0304692efd6709cd048920f7822e92c6a5620fb178e0e85c7776118cef8ccee0f58398e14abf SHA512 db8aef4a7bb606452dc8ed45aa29a255c7a135357a0bd586fb4429c5f56a1aa2ca9400d6fac39956aeb486a15d25cf5d1b9524967867f2c651d9d563e3e85be8 DIST itoa-1.0.6.crate 10410 BLAKE2B 8b1dc9ae9d55a006bb2abe3b0282e5e77397814b692a87b9becdc2bb74deabf5db09e3d5a2f604964cbff046148025988a5d916480e0402b2b80646fbed32875 SHA512 e1fb82fe16e1248141d48de9e05e7abed0c6fef58f2ff8b77b52aca5f16f3600c46707ff4c7a0f0307047610f29775bda74948d6d1efceb74b37cdd22e1fcf31 -DIST jellyfish-0.11.1.tar.gz 364769 BLAKE2B 4850075d026b39bb30894187a11be00a08a48116f118b945a820805681aac8ee1cef748c2d2cdb21896cdf6bf4145f4464d3df4c5266d622994bf72ddf75a1b9 SHA512 f62da9eb1c567c321ee996eb4fe6b856bb77e60d1723ad013fddee484804655492c3ff9a44ff37b04275638996d233c1606ea34c893fd419615c0ac0113c3dca DIST jellyfish-0.11.2.tar.gz 362969 BLAKE2B 6090aa17d581142b7aef539e899bf47f486602bedb5be55877fd088579d74145beb3a2c91854c9785317b97d1f926efb9943c693853efb613120e332ffc6dc5a SHA512 083b1cd4b3048b5a1d1e9bb48805e3049e00a65c8f92fabf28e6c788164c77a22f207794ed00bb16851bd3e6255fa9b38a36d0467bc027db49a379d50e9d2335 DIST libc-0.2.140.crate 669153 BLAKE2B f4269549f6b450a3da3196ecaae52afe178d5b6905666fae04e2879f975f0129788898ca2ccd214d721af42a8b2fa86b26355d6baa0a81c223b56c658ee66dd5 SHA512 f450fe619ea2f45e4ada2567981987f19d35a9f13f88a0ce3a53e1751c6fbff708ca69fa6a64d807cce5dfe18b08751f0695d8a01e68e269da1aafc831528b7b DIST lock_api-0.4.9.crate 25685 BLAKE2B 8adf5c3cccebdf6aff6ec977f230cd2a208b0b188ef57deacbbc6019431f0ede1a760b2384ba3cb49c96b8a589dc56c0f46a6359b3e62277e7ae1a1c3f586fa3 SHA512 9215381d9bb6b80d217c73a900db43df043b3e939b5bd7a292a02e9ab911cf0eacd8f883d35bdf72b3a0e78df8f1bc3e843ca4c775294c7a7a03091dc1a74990 @@ -17,7 +16,6 @@ DIST memoffset-0.8.0.crate 8912 BLAKE2B 19ad3abed21fc39461b0382b15a8cc312378aba3 DIST once_cell-1.17.1.crate 32856 BLAKE2B 8bde2aaaf9ef45d1f6b8458686179f1fe9295ee8faea269e9b49779583ce26ab9dafe988c3584e841a9e5d05e28430ca967ef3b25e755f48f0120d9c99cdb7bc SHA512 1302d51801e38bfee23e74c0046f1ecb1d3c27309b5fe11c2b6c99553b357db502ce1718695602f9d8b10429e8ff03f91c016d5d604957083728293824c05904 DIST parking_lot-0.12.1.crate 40967 BLAKE2B 940a112a066e3cbd15e2f6df89bfff37e4ece2194118618a96fa14871813c91798f93181ab0f768d3e1f3d60805508f216724013afb7e3da95678d0d951a42d4 SHA512 07327d3b737a913508dffb66023766348ce7f9d555c224a099cabb05baefd16a28e15fec638e3a148a5169dbd980c4541b0f8820ae9d06dfe0704482838fbd5c DIST parking_lot_core-0.9.7.crate 32412 BLAKE2B fec3ed2cf28e6d5090aae6a7c0ad583acf3ce6e54e881b78a9cb6721ca1e7040d46c044d405852728e74baff6ff1feaee7a89a64c69d20531f29942dfaafcc72 SHA512 1f232f1a87ba9377621244ba49378663f3113da7192a399fdb70be971ff5e5ca0d0601e1210a3fd8ab75ef464dc8505e719f81902e3448cce5e7848ef4bdbef0 -DIST proc-macro2-1.0.54.crate 43485 BLAKE2B 24d0948e1e3662dbb3f9a548ffeac2be629134018bdc4a49d6e071d7a1567fc37aa5f795a853ef6b97d4768a9a4b7d72ec407f6f172cc295fc68a40825ba37fc SHA512 e900e0f287aec10eea4287c63e328252284e88a70f111ccec5e42edca21131a63ec37f111b435b39428c2f522fb11eba1aa8330fc56400ae981256727e7e0a6f DIST proc-macro2-1.0.55.crate 44176 BLAKE2B a37b69f40222dbe4b33f04a9a721c1d652044aaffd91ab2de36c82c8e5771b6a38d577a1c8b59ceac400f62e04c3da07d5f39501fc02252a4bcbc92512ef1f42 SHA512 95b1cccc0747a891bb8d6dc50e1a9e4cae624ee8b8bb40dccad6060ce52c37b29b5caed6f4f7a76c182b8f06d0f958e6d76327aa45a756115ee235a0d64476b0 DIST pyo3-0.18.2.crate 418755 BLAKE2B a45c27639d9c4c5a4e017b7e8d7580aba285ee11295f344809e30ac23b70e4541f2cb765dfeee20fdf4d441e1449f5cad4bd6308a52822eea3595305081d4b77 SHA512 b97ebc10939418d7fe3d6219921875cc7253f3aa7cd9d06b1486f8757c6d102377eb851b3a669c670423af2c80e389b736f0ce04a6cecb716c952413d06fe434 DIST pyo3-build-config-0.18.2.crate 29138 BLAKE2B ad37bacda5f0e5c8eaf382b3371de251b83c721dc2378a0bd3700462bb65273bcd4277589084f6af0a2959f17b370fe5e6a5699c8689107220333c57387bf0ae SHA512 01f544938d83a8283f5101f69673f8a39d2052186e7c712709be25c5ae17a11e7d68c2fd9b4bc7661fff9343ebf3ccc196c1259321061f048c59696692601ae1 @@ -49,6 +47,5 @@ DIST windows_i686_msvc-0.42.2.crate 724951 BLAKE2B b084286cd4927efd2889b149abf8a DIST windows_x86_64_gnu-0.42.2.crate 699373 BLAKE2B 01c70809d564b16b268656e47295e99c992d8f9839fac8a51338a0e7c3b9cdcd0429c456ca8c1c139a8c687ed7ed6c43a82250889d881aadaa65bd037223e0a6 SHA512 5767af3c86e717f93137a89d442230e6b60a649057edb3ab104b1f82c0bcd64fe089dcdf2f4fd486a799bece1ddb5f0449641536b678211945e749ae24f35c1f DIST windows_x86_64_gnullvm-0.42.2.crate 364068 BLAKE2B 64bc53e98eb3fc649c9b43a6e734de4e65088e41edacabd49f7afcc5dc6e1065c563ecfc682747dda05978dea2dba4f45c16fcc18c3b00684c3d93681e5a7deb SHA512 d39a8bc948110fe612d3f8d6628b3f0d56620df11d8a49e0fabb6c90389ad407582b3af10e4eab46c79b3d11d2e10753d73d9e55963fbeac085f41e9749bdba3 DIST windows_x86_64_msvc-0.42.2.crate 666936 BLAKE2B bc3a456e7f8bc272f8978ec69506ec9d89f97b7582ebbe05d8bd57bdf8156ef62d0d2dc6137a97e81d54059d70db97a24af9a038adff357f5dfd28805d6193b5 SHA512 53a35f438903fceb59e36bd2ac331773fb8e6c8c5a6d984e79021761f91b3b4a23efe49d219667a4d0d23dcdbf906da9c24e74fb1cff93395b5c55ff524e3788 -EBUILD jellyfish-0.11.1-r1.ebuild 1628 BLAKE2B 9f38609df287fe9e54ce6dc0bad488292ec4805e0f8a19e0b625a4a23505dddf5cbd4631d43d91064029b59e6c2a72fb40f53bd3d199b76e1baf49172966918f SHA512 78ffabeac41637909f22bd482e201418c4eb092830fefe54e008042e8c9424d4c2ea44a2e261325ac7ca3f3dabbf23810ffa57a85847e7cde4232504d228060c -EBUILD jellyfish-0.11.2-r1.ebuild 1707 BLAKE2B abbec775f7d6a74dc3580b029a55ca621acd1d6eebfd4873103f59e24c16220a85bd3714a96f42afae2145e06ff60949172f789595297c82f2de55735d9fa8b3 SHA512 4945d4812e98c96e5c1ecaaeb7ddf8777e5c545d7325711c6eefadf2cc2dbac678a5eeb1f208c21aebdc5752ac10a4ef46f465dab70995cebbacb6c1b7ded95a +EBUILD jellyfish-0.11.2-r1.ebuild 1708 BLAKE2B 36f541c661a85fd560fab1280a6892dcd9f4e5865ea1239a08d6a78656fcc6ac2b51348123330599f2da272bad746f5ce53290f7d0bb19d7144434a6011faa2b SHA512 a86cf321b80dd77568b14422b3ad09d98b710c8ae9becb7f07c2ee02dba93ebd5e66e71bd5484f49c91b7c194b61639377cd57ef494a45a3b4fd5d7a3d9964c3 MISC metadata.xml 504 BLAKE2B 65ba00e0a27d233e6850c5606eac6eacf7d1684bfeb64155c52cee5a196e54a0454465df8c310a91cf30d696b4812fa23014e3a8a483b197e8955a4ad751ee61 SHA512 51396a920abaed74a87aca55c00ee46404b4ed1773a4443eebe19b2e7b64b258b5b526a97bd4afc7e7aa495d7989192e3658105b69efba0bf280f57b52299738 diff --git a/dev-python/jellyfish/jellyfish-0.11.1-r1.ebuild b/dev-python/jellyfish/jellyfish-0.11.1-r1.ebuild deleted file mode 100644 index 956bf17c0e77..000000000000 --- a/dev-python/jellyfish/jellyfish-0.11.1-r1.ebuild +++ /dev/null @@ -1,81 +0,0 @@ -# Copyright 1999-2023 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -DISTUTILS_EXT=1 -DISTUTILS_USE_PEP517=maturin -PYTHON_COMPAT=( python3_{9..11} ) - -CRATES=" - autocfg-1.1.0 - bitflags-1.3.2 - cfg-if-1.0.0 - csv-1.2.1 - csv-core-0.1.10 - indoc-1.0.9 - itoa-1.0.6 - libc-0.2.140 - lock_api-0.4.9 - memchr-2.5.0 - memoffset-0.8.0 - once_cell-1.17.1 - parking_lot-0.12.1 - parking_lot_core-0.9.7 - proc-macro2-1.0.54 - pyo3-0.18.2 - pyo3-build-config-0.18.2 - pyo3-ffi-0.18.2 - pyo3-macros-0.18.2 - pyo3-macros-backend-0.18.2 - quote-1.0.26 - redox_syscall-0.2.16 - ryu-1.0.13 - scopeguard-1.1.0 - serde-1.0.159 - smallvec-1.10.0 - syn-1.0.109 - target-lexicon-0.12.6 - tinyvec-1.6.0 - tinyvec_macros-0.1.1 - unicode-ident-1.0.8 - unicode-normalization-0.1.22 - unicode-segmentation-1.10.1 - unindent-0.1.11 - windows-sys-0.45.0 - windows-targets-0.42.2 - windows_aarch64_gnullvm-0.42.2 - windows_aarch64_msvc-0.42.2 - windows_i686_gnu-0.42.2 - windows_i686_msvc-0.42.2 - windows_x86_64_gnu-0.42.2 - windows_x86_64_gnullvm-0.42.2 - windows_x86_64_msvc-0.42.2 -" - -inherit cargo distutils-r1 pypi - -DESCRIPTION="Python module for doing approximate and phonetic matching of strings" -HOMEPAGE=" - https://github.com/jamesturk/jellyfish/ - https://pypi.org/project/jellyfish/ -" -SRC_URI+=" - $(cargo_crate_uris) -" - -LICENSE="MIT" -# Dependent crate licenses -LICENSE+=" - Apache-2.0 Apache-2.0-with-LLVM-exceptions MIT Unicode-DFS-2016 -" -SLOT="0" -KEYWORDS="amd64 ~ppc64 ~riscv x86" - -QA_FLAGS_IGNORED="usr/lib.*/py.*/site-packages/jellyfish/_rustyfish.*.so" - -distutils_enable_tests pytest - -PATCHES=( - "${FILESDIR}/${PN}-0.11.2-maturin-1.patch" -) diff --git a/dev-python/jellyfish/jellyfish-0.11.2-r1.ebuild b/dev-python/jellyfish/jellyfish-0.11.2-r1.ebuild index 8ece7a8c62d3..fc2b77d4027e 100644 --- a/dev-python/jellyfish/jellyfish-0.11.2-r1.ebuild +++ b/dev-python/jellyfish/jellyfish-0.11.2-r1.ebuild @@ -5,7 +5,7 @@ EAPI=8 DISTUTILS_EXT=1 DISTUTILS_USE_PEP517=maturin -PYTHON_COMPAT=( python3_{9..11} ) +PYTHON_COMPAT=( python3_{10..12} ) CRATES=" ahash-0.8.3 diff --git a/dev-python/jsonschema-spec/Manifest b/dev-python/jsonschema-spec/Manifest index 4f90a9f04b58..f8100e82806d 100644 --- a/dev-python/jsonschema-spec/Manifest +++ b/dev-python/jsonschema-spec/Manifest @@ -1,7 +1,9 @@ DIST jsonschema-spec-0.1.4.gh.tar.gz 30903 BLAKE2B eae7ba8b811dfd14d9b2e33d3355bf8c98e088b1a8fa3314300dcc7edae31727cc5a01d0a06af412b8c7d59eca69ba816f6eb2683e997719fd300a3445e96cfd SHA512 6b3d1710fdd8c43a0f38d0687c95e4e70c55df964dc597e4a00abad3459610829bd90190b21c512c70d46498d98b80ecc2422eb73d7822539841ff10bc7c2c4f DIST jsonschema-spec-0.1.5.gh.tar.gz 36035 BLAKE2B 4e6019fb1c7f5e85a03488e00ef080798bc6e3e06999d9c9c931072c640fd74b5125882e43dca26bad1acc3bdacb06a26f2c95dff25339e3f8b785d759085a49 SHA512 c76b15a3ead9498696c80cf7a378a675194837f04cd88d81be5213a38cde8177d5e8f7866d007648b7013db74d1057b700b027a79bcd893b0d493269abcd621d DIST jsonschema-spec-0.1.6.gh.tar.gz 36043 BLAKE2B e85cad336d6b5ed11d6a51c8fab2c28826f6a9836ad50d2423b23bef047c338307d3e9430f1d151dbaf7a92574c9899dbfd016c570456996250e8d7634373313 SHA512 78ea06a78fd25006d270e2c5033645133ee79b0f45cbfc54e250d4225a36beac59cf9aa92f15fd51bd101fac20fee990d693ab91d8343cd6a298d71735c80884 +DIST jsonschema-spec-0.2.0.gh.tar.gz 37210 BLAKE2B 44892638371f8ed9074c997e0590594a55a4a00bb0f88bbe535021726f1de6b961825a710c7f1ed63081c5ee7d252bc4f5bcc2cb462ded71ecb492625876c811 SHA512 6bc9f50f9132a72243df1a20d16d049ca1413904fba5403fb780663c0819ae3be8dfd51efada84118e34e157e95475e375df9c6ce1e1930c72c6d45dc71d4d04 EBUILD jsonschema-spec-0.1.4.ebuild 883 BLAKE2B e87ea592fc33a139f5331187ac1481eca4e882b0ed127c03a872fdb5de35d7f99248730c662facfc5b04e2f8a64d4dd7e55723302173c6e810c047dface884e1 SHA512 274cab96825ee1f5c000ed31628ba3512bb86b349fa284aba43b24f2981bc62118b9ec1174d7357d100ee752763d82695c032fbadad57f5945b52f9788c23591 EBUILD jsonschema-spec-0.1.5.ebuild 974 BLAKE2B cd30e483f2ddcf21db668eef5511054d89e2f850e0f7831210801da88ea953e833150824d818ce7bea87291b732e044f26585d72406064f5cff6ee40110fa794 SHA512 50d9f89d3d151bf32b07c06537061be5f16a1b7e3c33fc630ab2c11526401edb92e3fbad71d293facc3e96c939db91d6d29bd280d2c47e73ad383e150bc6119b EBUILD jsonschema-spec-0.1.6.ebuild 886 BLAKE2B 1cef95edd89d5ea9c713e597afd2f0a53f8d9cab8836f7663807681144396684999c4ea244b3be9259e2a1504fed5c3ad7837b4f3b87e1ff5a8bc3be728c04dc SHA512 26697d6b1ed19e27a38eb54fa00cee2201c7751dbc5ade49ad213f56159ddac21e79073024902e9c7be14862d241a4fa615312628a90aa221551fe07a13674ed +EBUILD jsonschema-spec-0.2.0.ebuild 934 BLAKE2B 55113a9be2e5492c72ed09b1dc2bbd4374ac980ed4238a900f8fc8f242e482eb9dfc1e76a214c1d5345ac113aba979e8212f8b96189ff8d1c072254ae2b32ec1 SHA512 aa1fd05c04a496611d4bec7f60ecc7aa819ef990036f3f18bd35291651fb7359143cded5a18820612c9dc23e5f630732ef5299ca910d568bb86cd9c18f768b44 MISC metadata.xml 404 BLAKE2B 2e76fe1eb441114cff26e2e60d36d2d38da053ca524a29f568d2b4af325021ab560545da43cdd0d5d3404e73ebcdb9b534da0b7de52c2acee5d3f2ed6511ee4e SHA512 58238e60fc20d210167afe2abcfdbbd826a693b5d587953437294c2c0e1ea9161486e2c583d29a7e2a0c8343e70e7688213ed011eacd155c53e232b336986701 diff --git a/dev-python/jsonschema-spec/jsonschema-spec-0.2.0.ebuild b/dev-python/jsonschema-spec/jsonschema-spec-0.2.0.ebuild new file mode 100644 index 000000000000..616ded180470 --- /dev/null +++ b/dev-python/jsonschema-spec/jsonschema-spec-0.2.0.ebuild @@ -0,0 +1,39 @@ +# Copyright 2022-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=poetry +PYTHON_COMPAT=( pypy3 python3_{10..11} ) + +inherit distutils-r1 + +DESCRIPTION="JSONSchema Spec with object-oriented paths" +HOMEPAGE=" + https://pypi.org/project/jsonschema-spec/ + https://github.com/p1c2u/jsonschema-spec/ +" +SRC_URI=" + https://github.com/p1c2u/jsonschema-spec/archive/${PV}.tar.gz + -> ${P}.gh.tar.gz +" + +LICENSE="Apache-2.0" +SLOT="0" +KEYWORDS="~amd64" + +RDEPEND=" + >=dev-python/pathable-0.4.1[${PYTHON_USEDEP}] + >=dev-python/pyyaml-5.1[${PYTHON_USEDEP}] + >=dev-python/referencing-0.24.4[${PYTHON_USEDEP}] + >=dev-python/jsonschema-specifications-2023.3.4[${PYTHON_USEDEP}] +" + +distutils_enable_tests pytest + +src_prepare() { + sed -i -e '/--cov/d' pyproject.toml || die + # remove random pins due to caret operator + sed -i -e 's:\^:>=:' pyproject.toml || die + distutils-r1_src_prepare +} diff --git a/dev-python/jsonschema-specifications/Manifest b/dev-python/jsonschema-specifications/Manifest new file mode 100644 index 000000000000..a0917c28b00f --- /dev/null +++ b/dev-python/jsonschema-specifications/Manifest @@ -0,0 +1,3 @@ +DIST jsonschema_specifications-2023.5.2.tar.gz 12581 BLAKE2B 74029c066e3c620126ed0ed7e70a9b63c017aeab827b0187f8c8c5964c2e1ef68a83489f4646d79653c38fcec45bc001189fc09295ac1f569ed288f2dc469459 SHA512 222a70e3c1673c6f3d27f5d6561d4ba192c61a8a6f86e726939d1e29843eeca82de306a889540ab352a5c2332cf30d810db956aa5094f2a6bc6607b7169513fd +EBUILD jsonschema-specifications-2023.5.2.ebuild 611 BLAKE2B 358ccb57fd1d930903d513aa9f86fc04817cc2d526e7b66e465a3d86b0939462d6ac8a9f23ab88d8200a2018820e74d2cd367fa122bdd5ae07105c0406e92b7a SHA512 f2969ba5d08a2b680a41bdc2d10b64ca6b896d9e511c02853e20c4abae000f55c0a04a13a6cac4922a0cd93888b4aedfb10b931916c13a653617b996eb136ade +MISC metadata.xml 414 BLAKE2B bc0046f51a008fe67f4937f8e9eb2663c868a41fed9371301575f74fb10c38f10b21a380d865981b317189f8c25e3ef6fe18423a169cda92b1d2b1a14dab8948 SHA512 e50f0eed8995fce7e207cb5c15106f3980ebb9c3d9d0042d33c4843be231f90aa652e59e1f83335f336d9b906a38252a229c1562f25142604048497608d29794 diff --git a/dev-python/jsonschema-specifications/jsonschema-specifications-2023.5.2.ebuild b/dev-python/jsonschema-specifications/jsonschema-specifications-2023.5.2.ebuild new file mode 100644 index 000000000000..83bff223f462 --- /dev/null +++ b/dev-python/jsonschema-specifications/jsonschema-specifications-2023.5.2.ebuild @@ -0,0 +1,28 @@ +# Copyright 2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=hatchling +PYTHON_COMPAT=( pypy3 python3_{10..12} ) + +inherit distutils-r1 pypi + +DESCRIPTION="The JSON Schema meta-schemas and vocabularies, exposed as a Registry" +HOMEPAGE=" + https://github.com/python-jsonschema/jsonschema-specifications/ + https://pypi.org/project/jsonschema-specifications/ +" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64" + +RDEPEND=" + >=dev-python/referencing-0.28.0[${PYTHON_USEDEP}] +" +BDEPEND=" + dev-python/hatch-vcs[${PYTHON_USEDEP}] +" + +distutils_enable_tests pytest diff --git a/dev-python/jsonschema-specifications/metadata.xml b/dev-python/jsonschema-specifications/metadata.xml new file mode 100644 index 000000000000..200e1c356e60 --- /dev/null +++ b/dev-python/jsonschema-specifications/metadata.xml @@ -0,0 +1,12 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <maintainer type="project"> + <email>python@gentoo.org</email> + </maintainer> + <stabilize-allarches/> + <upstream> + <remote-id type="github">python-jsonschema/jsonschema-specifications</remote-id> + <remote-id type="pypi">jsonschema-specifications</remote-id> + </upstream> +</pkgmetadata> diff --git a/dev-python/numpy/Manifest b/dev-python/numpy/Manifest index 2a7b88a53089..7acd1b56cca9 100644 --- a/dev-python/numpy/Manifest +++ b/dev-python/numpy/Manifest @@ -1,10 +1,13 @@ AUX numpy-1.22.0-no-hardcode-blasv2.patch 2710 BLAKE2B 71da07805e25acc58120da2b8d8692ec5893040eee3c2842620e2a9186062936082f34610d3056c44e44a921116f99158dfb7481c4eccc82d33b3b18a63b379e SHA512 87bcecee3435dedcd87128c81d0002a786b4b23928973216f32c8d12b797d6a9948c3e7b41142235abe35734683e6ef84c02ffe255ba492a0ad43626071dc5a9 AUX numpy-1.24.3-fix-c++-linkage.patch 993 BLAKE2B 9ad31b995b209ea0674ee144a72dfa6b6bf5e10e3676a8c3dda9327ff9befed5cbdcfc0819a9053e1d281862ea8df40514e8e0fc05fee8c4a743faf8f56f5e72 SHA512 29a1e287f04a68785284005d8d2ee56e26f5180e42bc4a7ba0dc06f5523c91447a5a749bd4492ecf7ba5c916f80f03e619429f75ae3636cef24c4f11f29a6d23 +AUX numpy-1.25.0_rc1-meson-pyproject.toml.patch 16917 BLAKE2B 6cdda647c1c4f003adcaff3d634cbaa2f6c1624f2e44bfff1b6542189693a1dc99bf8a3da38d5e9a5dd2b3a6382d0430f03eb3c39811cf3b72e85a1bbae9ea0e SHA512 0a51b1c84356704f373ba1188dc63152e45fdb7bc71881e8ab08b67bfbf2e8f1e9b5544eedf6e3d8b4b872e294e28233e9f059dfdad42ff835bba22ee66d0d93 DIST numpy-1.24.0.tar.gz 10897101 BLAKE2B 59e2b913f90de76589d8fbb2f07e2d389012c7f6ce9bd641bc4837776465ce9c41c34f19f92bee55d4bae6245c1d2c84315b359ef0b089fd68d31cd7e7ec44b1 SHA512 3b4e6255b8d39e8504a50ecd3c2ba09d5b16d3f6c70b23b67e4dbf03d1fe390c55030f46090341d39a1ee8228c61ad6212fdc6e4579fcec9e26b4dbe70268661 DIST numpy-1.24.2.tar.gz 10906862 BLAKE2B e48f65eab709f0c57ec378d813a7b65bcaca6d5960b559d6db1c60726e5cf12517f4b2e1636b0ff815a2109925edccba200270db5170fd0aff5fd635919165ac SHA512 145fd7fb3919a185f75076d51b92c54a7fb1b776b637752ca15fdee15b239d6a517ef1bb8cded7c92e059cf6cda0146c24943c042d19b791e81125bc0ad4b820 DIST numpy-1.24.3.tar.gz 10909904 BLAKE2B 3b14f8b6a7bd484de43c3b0e57f161388d6226e05ed9bc3d1edfaafc713b9597c7574b9b9c20b4e3a6bd291d32a607d95c72d6e25fa346ffdaf97c94767bc315 SHA512 d4b5841cbe68ee6653f99018e4e0182f2e5519a1cd69c14e0a95aa180f878e6a6786ccf0a7c78bf0d511c53e7535d7144fee428572dec7a4b60b25c8a1c0c9e1 +DIST numpy-1.25.0rc1.tar.gz 10424626 BLAKE2B 3f95bfd2f5524c35bb054b06ea697d06d217ec12a22b477b1b9bb8ba9c8e47e0463b662bf3854caf729f5202791ae4bc40ca684cfeee870a9f4c3b372bf6a9b9 SHA512 0dd7805d642549b59f2496fb1feb132b1bfc9457d7cb7c088161c8b330d11825541668dd3fba20901d68a3dfb86baf28961988993ef3c5ff2a8ed39f6fba616c EBUILD numpy-1.24.0.ebuild 4196 BLAKE2B a7359b00b007339381f458502457b2d2f9f07daf4f9affa239944de9ef3afef4318d063d7a934da394707d3ba5d53b043f68bb59f903ded5847122f0fce35567 SHA512 90500a1ee3a0a5a9ebd741dd9c870e6d57ec27e5da7dc4fc4dcac46f59212cabd777f806110180c11a55c4ffccbfdcaf0d0b5d1598beb5359779b6d6ba6a1c00 EBUILD numpy-1.24.2.ebuild 4366 BLAKE2B a596f2a7404747dacfe7ce08be400836ca89a39c7c63137bc4b1f089d71b5bc1dae6cdf6e8226ebd871665f2ea1058d55836fba3222d8cf316be749974881be4 SHA512 7842c22c4e2b321627f7b8ca0eb8ee3a8717ef42f25327df606188355e323ceb2a825b08faff5fbc9e2dcc8e8f9b6cde6e0d63bf24e41b1a9e41209322fa6aa5 EBUILD numpy-1.24.3-r1.ebuild 4631 BLAKE2B 89d426ee6284e84f8603c9fdd4e1adc6ab97be8e2504c67ec3545a95fc47d03024602816a1198fbfc6771d256d2fbc23e181307370d5acce144b0417c5c2391f SHA512 c5e33896690a50f83d14f7544920f4755ca0d927982dd9271da400a23cfb3226abe779fe117e15b3776e31c8fc96751955ec55ce69e46ab58a3e2874a94f6f8d EBUILD numpy-1.24.3.ebuild 4581 BLAKE2B 0ab41b83e18c8395c19885f292a186407f62c584a94ff2eeeaf2e72847b1973581b9eab51b351898171ad51610d7eea6b9d3545f4a771c143f752e6790924345 SHA512 cc1204442685b83ca2f9103f52fe8f338729e62eae4299a511bad54b71c99a77bbb50d22b77f08b8ddf1924340211360d17e0886f20ac55572a130e941250b80 +EBUILD numpy-1.25.0_rc1.ebuild 2915 BLAKE2B a4fb322aa3e54c9639e05f0baa48b977f6b56d28f461b8ca9601440aa0e575748c102aa3726e3ef0571d712c1e0b2f9f1cfe0d21d42584ebedcf73c77b83ad09 SHA512 a31f38d915a4aa80ddaf8080eacbb87e0168c3f62110dd32d03e808ddf6cedf113ea7333f32c0469874e6c968bfae2242788c073b8789728cd0c35489d365ba0 MISC metadata.xml 932 BLAKE2B 7a4af31f613bab05ff542da48bf6ff1484d9df2459f559516e71329451dd739d3df0fead507c8033d94ab9ed516b68efe7f21819a8cd6ca303643d8c8bc34e86 SHA512 32cb8c1ab61521a02cbec38f6ea383f074e50d46aa3462ddcb85710f9d348e8e628cf2a5725e3cd921cc32f02885a1b5f02125639f0ec885384eeeff7f468a06 diff --git a/dev-python/numpy/files/numpy-1.25.0_rc1-meson-pyproject.toml.patch b/dev-python/numpy/files/numpy-1.25.0_rc1-meson-pyproject.toml.patch new file mode 100644 index 000000000000..b42e6cec1c73 --- /dev/null +++ b/dev-python/numpy/files/numpy-1.25.0_rc1-meson-pyproject.toml.patch @@ -0,0 +1,392 @@ +https://github.com/numpy/numpy/pull/23838 + +From 669c1a16f9e905b5b33017aa1a17cc59716ccfc7 Mon Sep 17 00:00:00 2001 +From: Ralf Gommers <ralf.gommers@gmail.com> +Date: Mon, 29 May 2023 16:16:41 +0200 +Subject: [PATCH 01/11] BLD: default to using meson-python as build backend + +--- + pyproject.toml | 137 ++++++++++++++++----------------- + 3 files changed, 66 insertions(+), 77 deletions(-) + +diff --git a/pyproject.toml b/pyproject.toml +index 759b538fb6e..9f03fa8d0e5 100644 +--- a/pyproject.toml ++++ b/pyproject.toml +@@ -1,79 +1,72 @@ + [build-system] +-# Uncomment this line, the `meson-python` requires line, and the [project] and +-# [project.urls] tables below in order to build with Meson by default +-#build-backend = "mesonpy" ++build-backend = "mesonpy" + requires = [ +- # setuptools, wheel and Cython are needed for the setup.py based build +- "setuptools==59.2.0", +- # `wheel` is needed for non-isolated builds, given that `meson-python` +- # doesn't list it as a runtime requirement (at least in 0.11.0) - it's +- # likely to be removed as a dependency in meson-python 0.12.0. +- "wheel==0.38.1", +- "Cython>=0.29.34,<3.0", +-# "meson-python>=0.10.0", ++ "Cython>=0.29.34", ++ "meson-python>=0.13.1", + ] + +-#[project] +-#name = "numpy" +-# +-## Using https://peps.python.org/pep-0639/ +-## which is still in draft +-#license = {text = "BSD-3-Clause"} +-## Note: needed for Meson, but setuptools errors on it. Uncomment once Meson is default. +-##license-files.paths = [ +-## "LICENSE.txt", +-## "LICENSES_bundles.txt" +-##] +-# +-#description = "Fundamental package for array computing in Python" +-#authors = [{name = "Travis E. Oliphant et al."}] +-#maintainers = [ +-# {name = "NumPy Developers", email="numpy-discussion@python.org"}, +-#] +-#requires-python = ">=3.9" +-#readme = "README.md" +-#classifiers = [ +-# 'Development Status :: 5 - Production/Stable', +-# 'Intended Audience :: Science/Research', +-# 'Intended Audience :: Developers', +-# 'License :: OSI Approved :: BSD License', +-# 'Programming Language :: C', +-# 'Programming Language :: Python', +-# 'Programming Language :: Python :: 3', +-# 'Programming Language :: Python :: 3.9', +-# 'Programming Language :: Python :: 3.10', +-# 'Programming Language :: Python :: 3.11', +-# 'Programming Language :: Python :: 3 :: Only', +-# 'Programming Language :: Python :: Implementation :: CPython', +-# 'Topic :: Software Development', +-# 'Topic :: Scientific/Engineering', +-# 'Typing :: Typed', +-# 'Operating System :: Microsoft :: Windows', +-# 'Operating System :: POSIX', +-# 'Operating System :: Unix', +-# 'Operating System :: MacOS', +-#] +-#dynamic = ["version", "scripts"] +-# +-#[project.scripts] +-## Note: this is currently dynamic, see setup.py. Can we get rid of that? +-## see commit f22a33b71 for rationale for dynamic behavior +-#'f2py = numpy.f2py.f2py2e:main' +-#'f2py3 = numpy.f2py.f2py2e:main' +-#'f2py3.MINOR_VERSION = numpy.f2py.f2py2e:main' +-# +-# When enabling this stanza, make sure to remove the meson-specific xfail from +-# numpy/tests/test_public_api.py +-#[project.entry-points] +-#'array_api': 'numpy = numpy.array_api' +-#'pyinstaller40': 'hook-dirs = numpy:_pyinstaller_hooks_dir' +-# +-#[project.urls] +-#homepage = "https://numpy.org" +-#documentation = "https://numpy.org/doc/" +-#source = "https://github.com/numpy/numpy" +-#download = "https://pypi.org/project/numpy/#files" +-#tracker = "https://github.com/numpy/numpy/issues" ++[project] ++name = "numpy" ++version = "2.0.0.dev0" ++ ++# Using https://peps.python.org/pep-0639/ which is still in draft ++license = {text = "BSD-3-Clause"} ++license-files.paths = [ ++ "LICENSE.txt", ++ "LICENSES_bundles.txt" ++] ++ ++description = "Fundamental package for array computing in Python" ++authors = [{name = "Travis E. Oliphant et al."}] ++maintainers = [ ++ {name = "NumPy Developers", email="numpy-discussion@python.org"}, ++] ++requires-python = ">=3.9" ++readme = "README.md" ++classifiers = [ ++ 'Development Status :: 5 - Production/Stable', ++ 'Intended Audience :: Science/Research', ++ 'Intended Audience :: Developers', ++ 'License :: OSI Approved :: BSD License', ++ 'Programming Language :: C', ++ 'Programming Language :: Python', ++ 'Programming Language :: Python :: 3', ++ 'Programming Language :: Python :: 3.9', ++ 'Programming Language :: Python :: 3.10', ++ 'Programming Language :: Python :: 3.11', ++ 'Programming Language :: Python :: 3.12', ++ 'Programming Language :: Python :: 3 :: Only', ++ 'Programming Language :: Python :: Implementation :: CPython', ++ 'Topic :: Software Development', ++ 'Topic :: Scientific/Engineering', ++ 'Typing :: Typed', ++ 'Operating System :: Microsoft :: Windows', ++ 'Operating System :: POSIX', ++ 'Operating System :: Unix', ++ 'Operating System :: MacOS', ++] ++#dynamic = ["scripts"] ++ ++[project.scripts] ++# TODO: this is currently dynamic for minor version support. See also the same ++# thing in setup.py. Can we get rid of that? see commit f22a33b71 for rationale ++# for dynamic behavior. ++f2py = 'numpy.f2py.f2py2e:main' ++f2py3 = 'numpy.f2py.f2py2e:main' ++#f2py3.MINOR_VERSION = 'numpy.f2py.f2py2e:main' ++ ++[project.entry-points.array_api] ++numpy = 'numpy.array_api' ++ ++[project.entry-points.pyinstaller40] ++hook-dirs = 'numpy:_pyinstaller_hooks_dir' ++ ++[project.urls] ++homepage = "https://numpy.org" ++documentation = "https://numpy.org/doc/" ++source = "https://github.com/numpy/numpy" ++download = "https://pypi.org/project/numpy/#files" ++tracker = "https://github.com/numpy/numpy/issues" + + [tool.towncrier] + # Do no set this since it is hard to import numpy inside the source directory + +From 02cae331443d6955dba8ce5e981c24a7b6c01ec6 Mon Sep 17 00:00:00 2001 +From: Ralf Gommers <ralf.gommers@gmail.com> +Date: Mon, 29 May 2023 18:51:54 +0200 +Subject: [PATCH 04/11] BLD: fix bug with CMake fallback detection of + BLAS/LAPACK + +--- + numpy/meson.build | 11 +++++++---- + 1 file changed, 7 insertions(+), 4 deletions(-) + +diff --git a/numpy/meson.build b/numpy/meson.build +index 7b85d8e92f5..ad1829a78db 100644 +--- a/numpy/meson.build ++++ b/numpy/meson.build +@@ -198,10 +198,13 @@ foreach name, dep : dependency_map + if dep.found() + conf_data.set(name + '_VERSION', dep.version()) + conf_data.set(name + '_TYPE_NAME', dep.type_name()) +- conf_data.set(name + '_INCLUDEDIR', dep.get_variable('includedir')) +- conf_data.set(name + '_LIBDIR', dep.get_variable('libdir')) +- conf_data.set(name + '_OPENBLAS_CONFIG', dep.get_variable('openblas_config')) +- conf_data.set(name + '_PCFILEDIR', dep.get_variable('pcfiledir')) ++ if dep.type_name() == 'pkgconfig' ++ # CMake detection yields less info, so we need to leave it blank there ++ conf_data.set(name + '_INCLUDEDIR', dep.get_variable('includedir')) ++ conf_data.set(name + '_LIBDIR', dep.get_variable('libdir')) ++ conf_data.set(name + '_OPENBLAS_CONFIG', dep.get_variable('openblas_config')) ++ conf_data.set(name + '_PCFILEDIR', dep.get_variable('pcfiledir')) ++ endif + endif + endforeach + + +From 84bea46fab251edd31bee8d8eae174cf2cb9315b Mon Sep 17 00:00:00 2001 +From: Ralf Gommers <ralf.gommers@gmail.com> +Date: Mon, 29 May 2023 19:15:29 +0200 +Subject: [PATCH 06/11] CI: keep the Emscripten/Pyodide job on a setup.py-based + build + +--- + pyproject.toml.setuppy | 9 +++++++++ + 2 files changed, 14 insertions(+), 1 deletion(-) + create mode 100644 pyproject.toml.setuppy + +diff --git a/pyproject.toml.setuppy b/pyproject.toml.setuppy +new file mode 100644 +index 00000000000..b28d93c8d52 +--- /dev/null ++++ b/pyproject.toml.setuppy +@@ -0,0 +1,9 @@ ++# pyproject.toml needed to build with setup.py ++# This file is used temporarily to replace the main pyproject.toml when needing ++# to avoid building with Meson (e.g., in the Emscripten/Pyodide CI job) ++[build-system] ++requires = [ ++ "setuptools==59.2.0", ++ "wheel==0.38.1", ++ "Cython>=0.29.34,<3.0", ++] + +From 027de0ab6d24e6336682ef6fa150ae09f007a5da Mon Sep 17 00:00:00 2001 +From: mattip <matti.picus@gmail.com> +Date: Sun, 11 Jun 2023 16:11:34 +0300 +Subject: [PATCH 07/11] use MSVC and force 64-bit OpenBLAS interfaces + +--- + pyproject.toml | 5 +++++ + 1 file changed, 5 insertions(+) + +diff --git a/pyproject.toml b/pyproject.toml +index 9f03fa8d0e5..6cef90c6962 100644 +--- a/pyproject.toml ++++ b/pyproject.toml +@@ -167,6 +167,11 @@ environment = { OPENBLAS64_="openblas", OPENBLAS="", NPY_USE_BLAS_ILP64="1", CFL + select = "*-win32" + environment = { OPENBLAS64_="", OPENBLAS="openblas", NPY_USE_BLAS_ILP64="0", CFLAGS="-m32", LDFLAGS="-m32" } + ++[tool.meson-python.args] ++setup = ['--vsenv'] ++# This should not be set on 32-bit builds... ++compile = ['-DBLAS_SYMBOL_SUFFIX=64_'] ++ + [tool.spin] + package = 'numpy' + + +From 9ce0d806a881c87a203efccf106cf5d3d6bb46e0 Mon Sep 17 00:00:00 2001 +From: mattip <matti.picus@gmail.com> +Date: Sun, 11 Jun 2023 16:28:35 +0300 +Subject: [PATCH 08/11] drop rtools in wheel builds, do + -DDBLAS_SYMBOL_SUFFIX=64_ differently + +--- + pyproject.toml | 8 +++----- + 2 files changed, 3 insertions(+), 16 deletions(-) + +diff --git a/pyproject.toml b/pyproject.toml +index 6cef90c6962..a9d7f87b2b5 100644 +--- a/pyproject.toml ++++ b/pyproject.toml +@@ -147,7 +147,7 @@ test-command = "bash {project}/tools/wheels/cibw_test_command.sh {project}" + manylinux-x86_64-image = "manylinux2014" + manylinux-aarch64-image = "manylinux2014" + musllinux-x86_64-image = "musllinux_1_1" +-environment = { CFLAGS="-std=c99 -fno-strict-aliasing", LDFLAGS="-Wl,--strip-debug", OPENBLAS64_="/usr/local", NPY_USE_BLAS_ILP64="1", RUNNER_OS="Linux" } ++environment = { CFLAGS="-std=c99 -fno-strict-aliasing -DDBLAS_SYMBOL_SUFFIX=64_", LDFLAGS="-Wl,--strip-debug", OPENBLAS64_="/usr/local", NPY_USE_BLAS_ILP64="1", RUNNER_OS="Linux" } + + [tool.cibuildwheel.macos] + # For universal2 wheels, we will need to fuse them manually +@@ -158,10 +158,10 @@ environment = { CFLAGS="-std=c99 -fno-strict-aliasing", LDFLAGS="-Wl,--strip-deb + archs = "x86_64 arm64" + test-skip = "*_universal2:arm64" + # MACOS linker doesn't support stripping symbols +-environment = { CFLAGS="-std=c99 -fno-strict-aliasing", OPENBLAS64_="/usr/local", NPY_USE_BLAS_ILP64="1", CC="clang", CXX = "clang++", RUNNER_OS="macOS" } ++environment = { CFLAGS="-std=c99 -fno-strict-aliasing -DDBLAS_SYMBOL_SUFFIX=64_", OPENBLAS64_="/usr/local", NPY_USE_BLAS_ILP64="1", CC="clang", CXX = "clang++", RUNNER_OS="macOS" } + + [tool.cibuildwheel.windows] +-environment = { OPENBLAS64_="openblas", OPENBLAS="", NPY_USE_BLAS_ILP64="1", CFLAGS="", LDFLAGS="" } ++environment = { OPENBLAS64_="openblas", OPENBLAS="", NPY_USE_BLAS_ILP64="1", CFLAGS="-DDBLAS_SYMBOL_SUFFIX=64_", LDFLAGS="" } + + [[tool.cibuildwheel.overrides]] + select = "*-win32" +@@ -169,8 +169,6 @@ environment = { OPENBLAS64_="", OPENBLAS="openblas", NPY_USE_BLAS_ILP64="0", CFL + + [tool.meson-python.args] + setup = ['--vsenv'] +-# This should not be set on 32-bit builds... +-compile = ['-DBLAS_SYMBOL_SUFFIX=64_'] + + [tool.spin] + package = 'numpy' + +From 067e51454eeff3ce302144803baef92add308668 Mon Sep 17 00:00:00 2001 +From: mattip <matti.picus@gmail.com> +Date: Sun, 11 Jun 2023 17:05:02 +0300 +Subject: [PATCH 09/11] typo, install pkg-config on windows + +--- + pyproject.toml | 6 +++--- + 2 files changed, 8 insertions(+), 3 deletions(-) + +diff --git a/pyproject.toml b/pyproject.toml +index a9d7f87b2b5..a0b645938d1 100644 +--- a/pyproject.toml ++++ b/pyproject.toml +@@ -147,7 +147,7 @@ test-command = "bash {project}/tools/wheels/cibw_test_command.sh {project}" + manylinux-x86_64-image = "manylinux2014" + manylinux-aarch64-image = "manylinux2014" + musllinux-x86_64-image = "musllinux_1_1" +-environment = { CFLAGS="-std=c99 -fno-strict-aliasing -DDBLAS_SYMBOL_SUFFIX=64_", LDFLAGS="-Wl,--strip-debug", OPENBLAS64_="/usr/local", NPY_USE_BLAS_ILP64="1", RUNNER_OS="Linux" } ++environment = { CFLAGS="-std=c99 -fno-strict-aliasing -DBLAS_SYMBOL_SUFFIX=64_", LDFLAGS="-Wl,--strip-debug", OPENBLAS64_="/usr/local", NPY_USE_BLAS_ILP64="1", RUNNER_OS="Linux" } + + [tool.cibuildwheel.macos] + # For universal2 wheels, we will need to fuse them manually +@@ -158,10 +158,10 @@ environment = { CFLAGS="-std=c99 -fno-strict-aliasing -DDBLAS_SYMBOL_SUFFIX=64_" + archs = "x86_64 arm64" + test-skip = "*_universal2:arm64" + # MACOS linker doesn't support stripping symbols +-environment = { CFLAGS="-std=c99 -fno-strict-aliasing -DDBLAS_SYMBOL_SUFFIX=64_", OPENBLAS64_="/usr/local", NPY_USE_BLAS_ILP64="1", CC="clang", CXX = "clang++", RUNNER_OS="macOS" } ++environment = { CFLAGS="-std=c99 -fno-strict-aliasing -DBLAS_SYMBOL_SUFFIX=64_", OPENBLAS64_="/usr/local", NPY_USE_BLAS_ILP64="1", CC="clang", CXX = "clang++", RUNNER_OS="macOS" } + + [tool.cibuildwheel.windows] +-environment = { OPENBLAS64_="openblas", OPENBLAS="", NPY_USE_BLAS_ILP64="1", CFLAGS="-DDBLAS_SYMBOL_SUFFIX=64_", LDFLAGS="" } ++environment = { OPENBLAS64_="openblas", OPENBLAS="", NPY_USE_BLAS_ILP64="1", CFLAGS="-DBLAS_SYMBOL_SUFFIX=64_", LDFLAGS="" } + + [[tool.cibuildwheel.overrides]] + select = "*-win32" + +From 9999c3f3a8c7facef77dc9859a8a25f39f14f7fd Mon Sep 17 00:00:00 2001 +From: mattip <matti.picus@gmail.com> +Date: Sun, 11 Jun 2023 22:18:57 +0300 +Subject: [PATCH 10/11] set PKG_CONFIG_PATH for windows, add CXXFLAGS + +--- + pyproject.toml | 6 +++--- + 2 files changed, 4 insertions(+), 3 deletions(-) + +diff --git a/pyproject.toml b/pyproject.toml +index a0b645938d1..32bde348d7d 100644 +--- a/pyproject.toml ++++ b/pyproject.toml +@@ -147,7 +147,7 @@ test-command = "bash {project}/tools/wheels/cibw_test_command.sh {project}" + manylinux-x86_64-image = "manylinux2014" + manylinux-aarch64-image = "manylinux2014" + musllinux-x86_64-image = "musllinux_1_1" +-environment = { CFLAGS="-std=c99 -fno-strict-aliasing -DBLAS_SYMBOL_SUFFIX=64_", LDFLAGS="-Wl,--strip-debug", OPENBLAS64_="/usr/local", NPY_USE_BLAS_ILP64="1", RUNNER_OS="Linux" } ++environment = { CFLAGS="-std=c99 -fno-strict-aliasing -DBLAS_SYMBOL_SUFFIX=64_ -DHAVE_BLAS_ILP64", LDFLAGS="-Wl,--strip-debug", CXXFLAGS="-DBLAS_SYMBOL_SUFFIX=64_ -DHAVE_BLAS_ILP64", OPENBLAS64_="/usr/local", NPY_USE_BLAS_ILP64="1", RUNNER_OS="Linux"} + + [tool.cibuildwheel.macos] + # For universal2 wheels, we will need to fuse them manually +@@ -158,10 +158,10 @@ environment = { CFLAGS="-std=c99 -fno-strict-aliasing -DBLAS_SYMBOL_SUFFIX=64_", + archs = "x86_64 arm64" + test-skip = "*_universal2:arm64" + # MACOS linker doesn't support stripping symbols +-environment = { CFLAGS="-std=c99 -fno-strict-aliasing -DBLAS_SYMBOL_SUFFIX=64_", OPENBLAS64_="/usr/local", NPY_USE_BLAS_ILP64="1", CC="clang", CXX = "clang++", RUNNER_OS="macOS" } ++environment = { CFLAGS="-std=c99 -fno-strict-aliasing -DBLAS_SYMBOL_SUFFIX=64_ -DHAVE_BLAS_ILP64", CXXFLAGS="-DBLAS_SYMBOL_SUFFIX=64_ -DHAVE_BLAS_ILP64", OPENBLAS64_="/usr/local", NPY_USE_BLAS_ILP64="1", CC="clang", CXX = "clang++", RUNNER_OS="macOS"} + + [tool.cibuildwheel.windows] +-environment = { OPENBLAS64_="openblas", OPENBLAS="", NPY_USE_BLAS_ILP64="1", CFLAGS="-DBLAS_SYMBOL_SUFFIX=64_", LDFLAGS="" } ++environment = { OPENBLAS64_="openblas", OPENBLAS="", NPY_USE_BLAS_ILP64="1", CFLAGS="-DBLAS_SYMBOL_SUFFIX=64_ -DHAVE_BLAS_ILP64", CXXFLAGS="-DBLAS_SYMBOL_SUFFIX=64_ -DHAVE_BLAS_ILP64", LDFLAGS=""} + + [[tool.cibuildwheel.overrides]] + select = "*-win32" + +From ffcd334bd9da7ce4779e79636ecd047e2f20dd5b Mon Sep 17 00:00:00 2001 +From: mattip <matti.picus@gmail.com> +Date: Sun, 11 Jun 2023 23:17:00 +0300 +Subject: [PATCH 11/11] disable pypy builds, move PKG_CONFIG_PATH for windows + +--- + pyproject.toml | 4 ++-- + 3 files changed, 4 insertions(+), 5 deletions(-) + +diff --git a/pyproject.toml b/pyproject.toml +index 32bde348d7d..55065d1362f 100644 +--- a/pyproject.toml ++++ b/pyproject.toml +@@ -161,11 +161,11 @@ test-skip = "*_universal2:arm64" + environment = { CFLAGS="-std=c99 -fno-strict-aliasing -DBLAS_SYMBOL_SUFFIX=64_ -DHAVE_BLAS_ILP64", CXXFLAGS="-DBLAS_SYMBOL_SUFFIX=64_ -DHAVE_BLAS_ILP64", OPENBLAS64_="/usr/local", NPY_USE_BLAS_ILP64="1", CC="clang", CXX = "clang++", RUNNER_OS="macOS"} + + [tool.cibuildwheel.windows] +-environment = { OPENBLAS64_="openblas", OPENBLAS="", NPY_USE_BLAS_ILP64="1", CFLAGS="-DBLAS_SYMBOL_SUFFIX=64_ -DHAVE_BLAS_ILP64", CXXFLAGS="-DBLAS_SYMBOL_SUFFIX=64_ -DHAVE_BLAS_ILP64", LDFLAGS=""} ++environment = { OPENBLAS64_="openblas", OPENBLAS="", NPY_USE_BLAS_ILP64="1", CFLAGS="-DBLAS_SYMBOL_SUFFIX=64_ -DHAVE_BLAS_ILP64", CXXFLAGS="-DBLAS_SYMBOL_SUFFIX=64_ -DHAVE_BLAS_ILP64", LDFLAGS="", PKG_CONFIG_PATH="D:\\a\\numpy\\numpy\\openblas\\lib\\pkgconfig;"} + + [[tool.cibuildwheel.overrides]] + select = "*-win32" +-environment = { OPENBLAS64_="", OPENBLAS="openblas", NPY_USE_BLAS_ILP64="0", CFLAGS="-m32", LDFLAGS="-m32" } ++environment = { OPENBLAS64_="", OPENBLAS="openblas", NPY_USE_BLAS_ILP64="0", CFLAGS="-m32", LDFLAGS="-m32", PKG_CONFIG_PATH="D:\\a\\numpy\\numpy\\openblas\\lib\\pkgconfig;"} + + [tool.meson-python.args] + setup = ['--vsenv'] diff --git a/dev-python/numpy/numpy-1.25.0_rc1.ebuild b/dev-python/numpy/numpy-1.25.0_rc1.ebuild new file mode 100644 index 000000000000..870f31cf161f --- /dev/null +++ b/dev-python/numpy/numpy-1.25.0_rc1.ebuild @@ -0,0 +1,122 @@ +# Copyright 1999-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_EXT=1 +DISTUTILS_USE_PEP517=meson-python +PYTHON_COMPAT=( python3_{10..11} ) +PYTHON_REQ_USE="threads(+)" +FORTRAN_NEEDED=lapack + +inherit distutils-r1 flag-o-matic fortran-2 multiprocessing pypi + +DESCRIPTION="Fast array and numerical python library" +HOMEPAGE=" + https://numpy.org/ + https://github.com/numpy/numpy/ + https://pypi.org/project/numpy/ +" + +LICENSE="BSD" +SLOT="0" +IUSE="lapack" +if [[ ${PV} != *_rc* ]] ; then + 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" +fi + +RDEPEND=" + lapack? ( + >=virtual/cblas-3.8 + >=virtual/lapack-3.8 + ) +" +BDEPEND=" + ${RDEPEND} + <dev-python/cython-3[${PYTHON_USEDEP}] + >=dev-python/cython-0.29.30[${PYTHON_USEDEP}] + lapack? ( + virtual/pkgconfig + ) + test? ( + $(python_gen_cond_dep ' + >=dev-python/cffi-1.14.0[${PYTHON_USEDEP}] + ' 'python*') + dev-python/charset_normalizer[${PYTHON_USEDEP}] + >=dev-python/hypothesis-5.8.0[${PYTHON_USEDEP}] + dev-python/pytest-xdist[${PYTHON_USEDEP}] + >=dev-python/pytz-2019.3[${PYTHON_USEDEP}] + ) +" + +PATCHES=( + "${FILESDIR}"/${PN}-1.25.0_rc1-meson-pyproject.toml.patch +) + +distutils_enable_tests pytest + +python_prepare_all() { + append-flags -fno-strict-aliasing + + distutils-r1_python_prepare_all +} + +python_configure_all() { + DISTUTILS_ARGS=( + -Dblas=$(usev lapack cblas) + -Dlapack=$(usev lapack lapack) + ) +} + +python_test() { + local EPYTEST_DESELECT=( + # very disk-and-memory-hungry + lib/tests/test_io.py::test_large_zip + + # precision problems + core/tests/test_umath_accuracy.py::TestAccuracy::test_validate_transcendentals + + # runs the whole test suite recursively, that's just crazy + core/tests/test_mem_policy.py::test_new_policy + + typing/tests/test_typing.py + ) + + if use arm && [[ $(uname -m || echo "unknown") == "armv8l" ]] ; then + # Degenerate case. arm32 chroot on arm64. + # bug #774108 + EPYTEST_DESELECT+=( + core/tests/test_cpu_features.py::Test_ARM_Features::test_features + ) + fi + + if use x86 ; then + EPYTEST_DESELECT+=( + # https://github.com/numpy/numpy/issues/18388 + core/tests/test_umath.py::TestRemainder::test_float_remainder_overflow + # https://github.com/numpy/numpy/issues/18387 + random/tests/test_generator_mt19937.py::TestRandomDist::test_pareto + # more precision problems + core/tests/test_einsum.py::TestEinsum::test_einsum_sums_int16 + ) + fi + + case "${ABI}" in + alpha|arm|hppa|m68k|o32|ppc|s390|sh|sparc|x86) + EPYTEST_DESELECT+=( + # too large for 32-bit platforms + core/tests/test_ufunc.py::TestUfunc::test_identityless_reduction_huge_array + ) + ;; + *) + ;; + esac + + rm -rf numpy || die + epytest -n "$(makeopts_jobs)" --pyargs numpy +} + +python_install_all() { + local DOCS=( LICENSE.txt README.md THANKS.txt ) + distutils-r1_python_install_all +} diff --git a/dev-python/referencing/Manifest b/dev-python/referencing/Manifest new file mode 100644 index 000000000000..4fc1a63e0ccd --- /dev/null +++ b/dev-python/referencing/Manifest @@ -0,0 +1,4 @@ +DIST referencing-0.29.0.tar.gz 34963 BLAKE2B 88fa71124eeb8dd83b62e4f42299acaa55af33265dd474594efb7f71d522b276e8ed0a12dfa5822c9cc1c42acc0fd21d74400ef866c127bbdab85f9d03bfee96 SHA512 69b20b89e65fa58524aeb1bd38305edefcf61d65f785a090b21bcbd48524be45ae39dd7e3d70f403948b27fdb7e43660b7bd2a438ad26f397f5ca2021dd087e2 +DIST referencing-suite-f6fa54deec2ba3ae7326e6c292b2d7c4c20e9eb4.gh.tar.gz 18311 BLAKE2B 69f6a3059842f6ff3438760240126a2033d5287ba6daaff5f9d72e7eee8eb8ac3c72fb0be92c5daf33bf06a54621332c7042e6c8cf11ddbd328e347c9315e224 SHA512 9a7a9c9f8f75391a1589751a83ba5c8153ac41de20ecb2f02fc230ec94b313619bdcf58c5aab580f7825555df68a6d5626b77a92b958b77ebf1fdc16a0b87dd0 +EBUILD referencing-0.29.0.ebuild 991 BLAKE2B defbef73dfdd57128b907835e749966414848690d84d6973ea78dd44f1e20a243a36cd2e7d4207b59555b519ce2bc14b247b5907218afc424d5fd7f7bca7d6d6 SHA512 3b74ab50e1826f0beae3845ac3753e7163ef36d9cc122ea4b7d974df591fd951568a6c415091b2a83c6ffa43c7ebfff27665ba477e5afc123d55545d322f4cbc +MISC metadata.xml 408 BLAKE2B c91390d4742f1bf907ddcc7ba538bdba92c86cc4fadd812dd08161b88b0b8a2e255ace51c83b80256726378b264eb479de0d1cc76a539da72fdf559fc71f60ae SHA512 e54b9a8cd4967343ca43eb6998c57b6248739e8777aa75cf27fdd5027a4656ea4a6f0d8c1928dbc4ed9d9bedbc64d769c88e4cbacc99832f68176191b0d467da diff --git a/dev-python/referencing/metadata.xml b/dev-python/referencing/metadata.xml new file mode 100644 index 000000000000..74e528f33147 --- /dev/null +++ b/dev-python/referencing/metadata.xml @@ -0,0 +1,13 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <maintainer type="project"> + <email>python@gentoo.org</email> + <name>Python</name> + </maintainer> + <stabilize-allarches/> + <upstream> + <remote-id type="github">python-jsonschema/referencing</remote-id> + <remote-id type="pypi">referencing</remote-id> + </upstream> +</pkgmetadata> diff --git a/dev-python/referencing/referencing-0.29.0.ebuild b/dev-python/referencing/referencing-0.29.0.ebuild new file mode 100644 index 000000000000..9350b4f52960 --- /dev/null +++ b/dev-python/referencing/referencing-0.29.0.ebuild @@ -0,0 +1,46 @@ +# Copyright 2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=hatchling +PYTHON_COMPAT=( pypy3 python3_{10..12} ) + +inherit distutils-r1 pypi + +SUITE_COMMIT=f6fa54deec2ba3ae7326e6c292b2d7c4c20e9eb4 +SUITE_P=referencing-suite-${SUITE_COMMIT} + +DESCRIPTION="Cross-specification JSON referencing (JSON Schema, OpenAPI...)" +HOMEPAGE=" + https://github.com/python-jsonschema/referencing/ + https://pypi.org/project/referencing/ +" +SRC_URI+=" + test? ( + https://github.com/python-jsonschema/referencing-suite/archive/${SUITE_COMMIT}.tar.gz + -> ${SUITE_P}.gh.tar.gz + ) +" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64" + +RDEPEND=" + >=dev-python/attrs-22.2.0[${PYTHON_USEDEP}] + >=dev-python/rpds-py-0.7.0[${PYTHON_USEDEP}] +" +BDEPEND=" + dev-python/hatch-vcs[${PYTHON_USEDEP}] + test? ( + dev-python/pytest-subtests[${PYTHON_USEDEP}] + ) +" + +distutils_enable_tests pytest + +python_test() { + local -x REFERENCING_SUITE=${WORKDIR}/${SUITE_P} + epytest +} diff --git a/dev-python/rpds-py/Manifest b/dev-python/rpds-py/Manifest new file mode 100644 index 000000000000..faa34ff4ecc3 --- /dev/null +++ b/dev-python/rpds-py/Manifest @@ -0,0 +1,39 @@ +DIST archery-0.5.0.crate 21685 BLAKE2B b66ea183892b8adba0d9d85fdb7df4c428dc81f1364804c9bf75ad2c0ddf4f7ea3481ae13e1cc4cdddba55862285bea078880a582f9206e8dd030a05c7420b60 SHA512 2f05d48053327dabc92a4f439e7f19aee627cd8ab773e4df8aa0bc4d79e3e4b7deb9da20afb3f5fcc14428a20671257c1ced78cd7e15733793d8705b52880b3e +DIST autocfg-1.1.0.crate 13272 BLAKE2B 7724055c337d562103f191f4e36cab469e578f0c51cc24d33624dea155d108a07578703766341fd6a4cc1ef52acda406e7dba1650d59115f18261281e5b40203 SHA512 df972c09abbdc0b6cb6bb55b1e29c7fed706ece38a62613d9e275bac46a19574a7f96f0152cccb0239efea04ee90083a146b58b15307696c4c81878cd12de28f +DIST bitflags-1.3.2.crate 23021 BLAKE2B eb990bb27b2bdeb66fd7212ce582cb36e1c616debbac85df642d0c82b25439e6bf9b1e811fac76b59e58ea3c1bbea6170d03a61e8f9a395e4334a0e2e2987eda SHA512 3c698f757b5cc62f815f9a1cce365c3d2dd88e4db71f331dff8bba86c2865f755b81cb4c9bfc59bd86b7643b0943f9e09a7c4f8ad75eb2ab0e714803d0129f62 +DIST cfg-if-1.0.0.crate 7934 BLAKE2B e99a5589c11d79d77a4537b34ce0a45d37b981c123b79b807cea836c89fc3926d693458893baca2882448d3d44e3f64e06141f6d916b748daa10b8cc1ae16d1b SHA512 0fb16a8882fd30e86b62c5143b1cb18ab564e84e75bd1f28fd12f24ffdc4a42e0d2e012a99abb606c12efe3c11061ff5bf8e24ab053e550ae083f7d90f6576ff +DIST indoc-1.0.9.crate 13475 BLAKE2B a9696788574e56dd125c3371169fd59d6947d188f76e2669b21c0304692efd6709cd048920f7822e92c6a5620fb178e0e85c7776118cef8ccee0f58398e14abf SHA512 db8aef4a7bb606452dc8ed45aa29a255c7a135357a0bd586fb4429c5f56a1aa2ca9400d6fac39956aeb486a15d25cf5d1b9524967867f2c651d9d563e3e85be8 +DIST libc-0.2.139.crate 638983 BLAKE2B e92b296cf8c916e10e859722ed75f4790401662ff7aa2fe8ed84ef9b94a00538768be33c272f0881e42da887c8c43e1fd44d061343386216492a76fe5d308598 SHA512 ff5fae517c49c382dee9b1d7479b65b0a818780453e5c00c416847d02f42186e2fcf19a8a8dc5e9cc2611300690c6ad324f9c0f0e8172e913a1b781fb7c0b5b4 +DIST lock_api-0.4.9.crate 25685 BLAKE2B 8adf5c3cccebdf6aff6ec977f230cd2a208b0b188ef57deacbbc6019431f0ede1a760b2384ba3cb49c96b8a589dc56c0f46a6359b3e62277e7ae1a1c3f586fa3 SHA512 9215381d9bb6b80d217c73a900db43df043b3e939b5bd7a292a02e9ab911cf0eacd8f883d35bdf72b3a0e78df8f1bc3e843ca4c775294c7a7a03091dc1a74990 +DIST memoffset-0.8.0.crate 8912 BLAKE2B 19ad3abed21fc39461b0382b15a8cc312378aba36f042b1e5335012115d31b350a4e3bc720f1eea300d7d19b9b317f75a28d4ccd78ff3b31defd9e4b3147899c SHA512 47adcae0848ff967035e10543ea599c7af9c5bad387023eb4dc77c9e8d875994ec8139b9941b3ecc4fc17214d80944a47a3be174a45b334661914a5a7382dfbe +DIST once_cell-1.17.1.crate 32856 BLAKE2B 8bde2aaaf9ef45d1f6b8458686179f1fe9295ee8faea269e9b49779583ce26ab9dafe988c3584e841a9e5d05e28430ca967ef3b25e755f48f0120d9c99cdb7bc SHA512 1302d51801e38bfee23e74c0046f1ecb1d3c27309b5fe11c2b6c99553b357db502ce1718695602f9d8b10429e8ff03f91c016d5d604957083728293824c05904 +DIST parking_lot-0.12.1.crate 40967 BLAKE2B 940a112a066e3cbd15e2f6df89bfff37e4ece2194118618a96fa14871813c91798f93181ab0f768d3e1f3d60805508f216724013afb7e3da95678d0d951a42d4 SHA512 07327d3b737a913508dffb66023766348ce7f9d555c224a099cabb05baefd16a28e15fec638e3a148a5169dbd980c4541b0f8820ae9d06dfe0704482838fbd5c +DIST parking_lot_core-0.9.7.crate 32412 BLAKE2B fec3ed2cf28e6d5090aae6a7c0ad583acf3ce6e54e881b78a9cb6721ca1e7040d46c044d405852728e74baff6ff1feaee7a89a64c69d20531f29942dfaafcc72 SHA512 1f232f1a87ba9377621244ba49378663f3113da7192a399fdb70be971ff5e5ca0d0601e1210a3fd8ab75ef464dc8505e719f81902e3448cce5e7848ef4bdbef0 +DIST proc-macro2-1.0.51.crate 41804 BLAKE2B 579e5a157da81cd8350a6407603e5f8102bb9b6618ea8e81ced1692a6a6f4b57bec35aeb965b643f2542f65a3b9965fbbcf7e0ade35cf159270583d34665a628 SHA512 10ad77a5d05437c1b2c40a8f82389d081e64993171aa6259e8dca98d9afb04f5fb870f2037ad626a280d59c1a89fd4482bead701d744d6fb7c893bd9e78dfc1f +DIST pyo3-0.18.1.crate 415128 BLAKE2B c77b956c4c96c4f0356abf5df14f89ef7fbd4d779169c2acccfc827a3a5d2d7980e5e8a467c1f6e73bb00a4500293995bc81014f110853c33b8e30d0698d0a21 SHA512 37e82b2b212de59335f8b5e4129dfc53872ceda156238f4aaee8cf358a8daf2d64cb716aa63d343c4f602fc61344b94bcd3cc8e02bee80256f5b49033a5c5825 +DIST pyo3-build-config-0.18.1.crate 29134 BLAKE2B 288519ea8b17bf81564ea7e91fa548ca5b966cb08939eccd80356935372aa7bbac1c9f1f8780b49010f4f66d1724d698a6197a740b232d62c75df341194c8ac5 SHA512 6277726d3f0faf70453f61f90c547db01ce5d50823ca9ba731d57309edbb33729bcfa3299415716cf6154ec2cb3a4c1e7eabc8ea18e400e746b37324bfca2ec9 +DIST pyo3-ffi-0.18.1.crate 62852 BLAKE2B 86bc534333e05578b1bf890fdd71af685d626aebbd8b4132162c1d29ab89ee493f903497fecb576164a1b23df11b36f20c18cede97ded567428724a702f0529f SHA512 35f2838f6b06bbb1ad6ebdc0d68c750fc8cffc43b62fadf2b76d4a395a4655797e9d93543ffb204ff7ea312f7f37444375c556831a231122f9fc1477ec986bec +DIST pyo3-macros-0.18.1.crate 7174 BLAKE2B 0eb2d106d193cfb14fc8c9cce175458a38bc069f9c232a7bc541e2951bd06ad3dfab483f730ece97a4ca2827ad4dcd0444e77df6a8ff79cc5861c2985d0d2b7a SHA512 baf43c6c5ef8f5fcc91728d693d52453b779de5c48cfdb295449a32ce559c0304e3a93b43bad7b312eee1c44bbe680efc57423d4e38986f3c6eacebf07998609 +DIST pyo3-macros-backend-0.18.1.crate 48618 BLAKE2B 8db09610fd6fc95d1979a4065f89611c507ff7e7f72d9cd64590f85f6d8543ee6d234e772c55db88e3624808ad135389f5ff0edfd2eca6ecf1a29ece332c1c2e SHA512 20aed4aa485d6ffc02b0d08aa4c5fc086e73482aedb5ebce155c3f973d0e058902ef806740d483368eb80caac4ccc163516eaf56a027910d71cedc5bc0ee665c +DIST quote-1.0.23.crate 28058 BLAKE2B 81c483fa26b36b5c4dbe85b386a74f5bfeaa854a99c0d678374507613da916a60e3f5b14d4a4d295e1c9ef0413fa1f16447df8f19a9db8cb0485b7a5c327fdc1 SHA512 3bce6846dda94d285de15771549099e60df39c8395c498b372c90a240f77df31d6d9048127913ec1c7ed8f3a189470ade1db2bede406bb00fa715ea641ec87c2 +DIST redox_syscall-0.2.16.crate 24012 BLAKE2B 9497a52044458b1435ea16e86ee072e379b6b11ee31602ea72d6b6072a4a99426f409c2e58108a4e9c36dc193fa49c83951e71f4fd4e158eafff18c594dc01ad SHA512 63b5d876baaf99f5cf737679bc6ac7a9e3d8a41aa93f5c59416ce7e3841e2513bff678773553cfe62fb452707f82acc384ea63aec932a31bf94679cd1caddd27 +DIST rpds-0.13.0.crate 67994 BLAKE2B 91b4aec7a25b81566288c5fefe5f89a0f8b9eae83caf05cf7a9796394df70ae79b721b64804f72c582bfc41ff59647a9bc0980ba7dc9438412f6445e4a916b5b SHA512 6567eabae407fb2c5eea49395d6901c540dc0b4dbd585d5f93fed1b4a71885a784fb8652f46cca5148acd35957040c4a61ce1d95e871cf494b41db846fd38698 +DIST rpds_py-0.7.1.tar.gz 15355 BLAKE2B 801cdd11b09a49d6769ffeac2340d203351d4b6f85cac1fa06b306e50021d4956601c3e6ca645091157dac70a2619cc00bdd277e57cf7bc3762bff04781a3c76 SHA512 60245d4ef4a1d1b49fdca93c530f5f66ccc7b601bd29ddd04de05a2030914bc55157262f2cda2d4dfe5e735f6f29d99a7edf74e6058eab96668e88540ad0b84c +DIST scopeguard-1.1.0.crate 11470 BLAKE2B f774eb90b7d3ffb2efba47518e9d1dead4017ab4b38a4bd74914daa84a5af4bf9eb63da0496e3924499d79cd0439c37447aeda4a21226f95645bddcd6becfabe SHA512 368fa5726df8f42b599993681579a9ffd0196480ee3cd0f9f671e8493f3bedd1e1779bdf2beb329e77e0005fa09b816e3385f309490c0f2781568db275d4d17d +DIST smallvec-1.10.0.crate 31564 BLAKE2B e3e46a0781d3a7892a739b001592d462d0704f010363984c439e3fe4f75aecb9720648aa1e9bcc56bb3be848dd40cee578212439f78f07a807c9441c3c3e0147 SHA512 a09110184582dcc01d7a0d3fa8f74c17bf726935126d3654667b8e9c4bc43ad16ccfd8fa94feae7d9b31913aa7ee030fe5936e4b44a36302b6ce5fe37372a7ae +DIST static_assertions-1.1.0.crate 18480 BLAKE2B 358dd5ac413d06f62da0388e2016c5fcb8ec68fd7dceb0dbbcb97665c032b7509b7e083c20701648b6a9174485f117c02682ae4bde7ef037e80a85cdf6a0c86e SHA512 46d0e35f77941dee6f60f574c130472248063dc38494c1c4f84f7c048244cc2a58a86fe17c0990e3f0f01406b75ed385a13d00058612b27cf0e867c8d31c92ee +DIST syn-1.0.109.crate 237611 BLAKE2B e827445d00c79a8eeb91eacde472f1987addd6ce9e1df95d7abf6446a77ff4173a8006845f3ae71c1da47193cfb72e0ead9a6d6bad2573be12c17e90735d9ad9 SHA512 12816b9e8cf984024b2fbce9f0ae14cf94d4d2c06f08cc54fb793ce78770bb4cc1288eb7df0ba5e8e937756e1e8e295c53fe07a0c5dde1ea8ddba03b6203b37d +DIST target-lexicon-0.12.6.crate 24357 BLAKE2B 5d9aef958155bdc1b546b9940083cf81ba4c638525e2d46340e50c4274764b39ac19a12214f3ff64a6830524a2ecea9d555db3f07d5d7dbccd7dd809255c4499 SHA512 63ccc047d10ebff55c3b9be400e2deafcaba7beb28ee67bae6d5df58e7c08362b2c4e0004f6daa582928850701969015ad43714c7ad46df665474667ff4db58f +DIST unicode-ident-1.0.6.crate 42158 BLAKE2B 6e4ef61fcac69b4ccbf743a2c2f857a6ea9fcbac9b9890f5b7208cc0732c6892aa5889b3030e87c8c29ce4ce24ddb7adec6bcf47b7aefe9cb5d19f920f12cfbd SHA512 ee1dc78fe535f46bdaf3e19dd8dfc859bf3133d9271026cadf626a07ba586c39caca4e45d905156a6276cf852f9cebef196b2229c3ba4b5e2b26c956fd6cff86 +DIST unindent-0.1.11.crate 7700 BLAKE2B d4d1dde410c4194acb51f74f374cf11fa872e49fad8f5f24b596d72476403e5e312fedf7b0bcb1027384d53c8de565368d63c30eaf70a6e6cd958b82e5288ca3 SHA512 f800d6c37fe72477908c91457a738a73d2b8085bb5ae303d6d954405d6ccd98833b5da16a12c3ad1ab75d32a68dedc706dfaacc0fcbb95571dd829cdc03a356a +DIST windows-sys-0.45.0.crate 2568659 BLAKE2B 6f2d634d121a9bf41e2887e277a73f33aee69b04c7fcfc6ff973d21902787997f1e186f530e9226cddc003ffc3f85a179c069c8a8688de459f617df92d33f94f SHA512 f239346c0141b95aa76e0771e2f4e38b9a592f3cd92c6001de353637cd65cd73b94cbf9917a4eaa9b0c0b2e6e2af920b9cf6b3fccb52770df5160254cffc1c47 +DIST windows-targets-0.42.1.crate 5524 BLAKE2B 755cb6184733417763bb650fb0bd84bc757503aacbf0d91b811d42e9e8efda05434bbe5518006a88937a82a2a607605a9b609df4f34eb58674d09564667d95f3 SHA512 940c85f6214aa4da17787d3bbfe8d6107a9a7fe4f2e2fcf2b1634facf4619620ac2a7a835ebdd0f57970c992c459ba0a780e64e89945005b240c92563c42711a +DIST windows_aarch64_gnullvm-0.42.1.crate 362795 BLAKE2B 722b45789bcd1d973803b327d44072fbf9c904d448e29ae9e56d2f9d1a3e9b64e06883e4bf5ebf141f1e924235858fd1472e07a744cc5b16a0a3a4fc8ec8f6d4 SHA512 51eb9fa7ea441a9fef590c12576a8bbef74932d40fafde8f9e3a28f2734ce5aee6dd5fa478fb3847443241c8c392bb4abbc6014c71260bf924431779f7184f73 +DIST windows_aarch64_msvc-0.42.1.crate 664655 BLAKE2B f4a060b802016a6d77a8ea6ac44c35dfec384acef9c45f932e2b6aca9d3ac48ae031f99e5b58f270d6020b8796e9dd06f7e8ffa7cc5610ea3f69181c2be7adc8 SHA512 f6412bae4b041201ef94e5a159ce90fd6b09816350204d4f573c1afdfb0a6d62d7887fbc2e416b40ec1d4478db521be492edf4703d87482d6d0006a51b827538 +DIST windows_i686_gnu-0.42.1.crate 733428 BLAKE2B c1ca24973aca06b255d9317735cca7a13f7f69293da52dad41df43a5cdf48aac3d40d8b6765cf564905fb71cb548308d757f01167efe7a61da7bd2e2a7080f0a SHA512 61c3271b07df1d4585c875d27cf1686c8f595dcbb79626e8d15ff47228f7b7a4556d3d994566ccceee0d6795a4c76767f85f4579282fc9eed731e04c7e193a57 +DIST windows_i686_msvc-0.42.1.crate 722583 BLAKE2B e03978daa0ac95d7bd9f594b28360dab647a1fe525f0ae4b44e6842d93c5674d9f202e8bbca99a0d30ecf7d138af0c48eec8e69e08bf285db51e32bcf83a2c54 SHA512 8afa4f92cb7bd96d4fdbefbd8e7bcaa37dee52224d5d8b950c5a537d3bb805bf9781097b8bd44d96e8b62b1290e3a3020557502fa3b357a53df6fea36b318932 +DIST windows_x86_64_gnu-0.42.1.crate 697614 BLAKE2B 3cef0a3da3ce142bbdf932dbb54eb6473070c5722c9ec791dc4077efe2d774d51f8b3d06b3321f8f21cc49764f44d54b3432ee7a0d9376925b422b197f5d557e SHA512 f4c16b587fe407dee1f39df029c52302a0fbd5f519816a8d974fe9c2f928043b14037c701c0f3c9cf2e5c765e82430fd4b71615fe63a66a88159f7b15506f892 +DIST windows_x86_64_gnullvm-0.42.1.crate 362788 BLAKE2B fff81e63b86ad04ce22ad3e05ec4cc02c0b791384c93bafb50832f6db9cb7fd9301ad3845339a08dd8cadac1d59f3e8dc9d5f56d7a987989dbfc16b9131af67b SHA512 8cc988b5995a4726bb7518b7fccff528274ad9b2b0160fe247eb240f9ced10db95afe7bff91bfc5a08ebd8237b6821e4a4abad1ff9da45022f1ce7e7586bcf05 +DIST windows_x86_64_msvc-0.42.1.crate 664606 BLAKE2B 6c460cfa392aad0d11add200d652a42ee1a60052570527c4e85405f765255375729d4e26287f5246dcad65fa89ccadea23c5135171b311e6da5027e33149c547 SHA512 a651b1a34f101125f929c1d1f5e933691c7a5c19d0bb0c501fb6812236d2771805428e3bd5e05be7d72715595f5fc9e7978dd7934e5d92e9b78a41c2ece695b2 +EBUILD rpds-py-0.7.1.ebuild 1480 BLAKE2B 190e91d9eaf8a87ae78d8f97b26486d89cfafe5327a3adf25a368ada39e73fa5051923ac11db3042dbf29bd7057df5c46889887332d47776a7c3014e9f32d966 SHA512 fc98d9783d0a4efd8318b6ddfebeec4f64f5110d9b5988305778c24844241c98c2509ff666d059752d4de75c46d3b139add9afc8906a636a0c54e549a5a9e3ac +MISC metadata.xml 364 BLAKE2B 33dc27885605ddf91618cb855a4039c3d978dda6ef80fc1ccbf810d354ad9a8eac78ae5854a3897de0058d63b79ae5075c47f7111150237390f863aa6be67d19 SHA512 5757331989615512c24c0a9276a525a9e5d718ab474f22ff9e81d93568b0be5c95265898ce16442dafcbc3d9a76c83407d1bd460190ba04ace9b45259d19019c diff --git a/dev-python/rpds-py/metadata.xml b/dev-python/rpds-py/metadata.xml new file mode 100644 index 000000000000..e20ec3f8432b --- /dev/null +++ b/dev-python/rpds-py/metadata.xml @@ -0,0 +1,12 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <maintainer type="project"> + <email>python@gentoo.org</email> + <name>Python</name> + </maintainer> + <upstream> + <remote-id type="github">crate-py/rpds</remote-id> + <remote-id type="pypi">rpds-py</remote-id> + </upstream> +</pkgmetadata> diff --git a/dev-python/rpds-py/rpds-py-0.7.1.ebuild b/dev-python/rpds-py/rpds-py-0.7.1.ebuild new file mode 100644 index 000000000000..a055da859c46 --- /dev/null +++ b/dev-python/rpds-py/rpds-py-0.7.1.ebuild @@ -0,0 +1,77 @@ +# Copyright 2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_EXT=1 +DISTUTILS_USE_PEP517=maturin +PYTHON_COMPAT=( pypy3 python3_{10..12} ) + +CRATES=" + archery-0.5.0 + autocfg-1.1.0 + bitflags-1.3.2 + cfg-if-1.0.0 + indoc-1.0.9 + libc-0.2.139 + lock_api-0.4.9 + memoffset-0.8.0 + once_cell-1.17.1 + parking_lot-0.12.1 + parking_lot_core-0.9.7 + proc-macro2-1.0.51 + pyo3-0.18.1 + pyo3-build-config-0.18.1 + pyo3-ffi-0.18.1 + pyo3-macros-0.18.1 + pyo3-macros-backend-0.18.1 + quote-1.0.23 + redox_syscall-0.2.16 + rpds-0.13.0 + scopeguard-1.1.0 + smallvec-1.10.0 + static_assertions-1.1.0 + syn-1.0.109 + target-lexicon-0.12.6 + unicode-ident-1.0.6 + unindent-0.1.11 + windows-sys-0.45.0 + windows-targets-0.42.1 + windows_aarch64_gnullvm-0.42.1 + windows_aarch64_msvc-0.42.1 + windows_i686_gnu-0.42.1 + windows_i686_msvc-0.42.1 + windows_x86_64_gnu-0.42.1 + windows_x86_64_gnullvm-0.42.1 + windows_x86_64_msvc-0.42.1 +" + +inherit cargo distutils-r1 pypi + +DESCRIPTION="Python bindings to Rust's persistent data structures (rpds)" +HOMEPAGE=" + https://github.com/crate-py/rpds/ + https://pypi.org/project/rpds-py/ +" +SRC_URI+=" + $(cargo_crate_uris) +" + +LICENSE="MIT" +# Dependent crate licenses +LICENSE+=" + Apache-2.0 Apache-2.0-with-LLVM-exceptions MIT MPL-2.0 + Unicode-DFS-2016 +" +SLOT="0" +KEYWORDS="~amd64" + +BDEPEND=" + test? ( + dev-python/hypothesis[${PYTHON_USEDEP}] + ) +" + +QA_FLAGS_IGNORED="usr/lib.*/py.*/site-packages/rpds/rpds.*.so" + +distutils_enable_tests pytest |