diff options
author | V3n3RiX <venerix@koprulu.sector> | 2023-10-26 14:43:50 +0100 |
---|---|---|
committer | V3n3RiX <venerix@koprulu.sector> | 2023-10-26 14:43:50 +0100 |
commit | 7e8f2c69a019131eaeb989242d022260ea5a84ff (patch) | |
tree | ce769e693cf5ee40c03b9eb7ee9ea91e24645947 /dev-python | |
parent | 1e8bc3b2037289b8577740cea9321c37c52a49a2 (diff) |
gentoo auto-resync : 26:10:2023 - 14:43:50
Diffstat (limited to 'dev-python')
42 files changed, 1095 insertions, 8 deletions
diff --git a/dev-python/Manifest.gz b/dev-python/Manifest.gz Binary files differindex a2c96409e118..3d52929c458b 100644 --- a/dev-python/Manifest.gz +++ b/dev-python/Manifest.gz diff --git a/dev-python/asttokens/Manifest b/dev-python/asttokens/Manifest index 654bbf1d4dea..8c71cf515348 100644 --- a/dev-python/asttokens/Manifest +++ b/dev-python/asttokens/Manifest @@ -1,3 +1,5 @@ DIST asttokens-2.4.0.gh.tar.gz 56965 BLAKE2B 60adc46bd30f5c2fee368362f655bb6a83d2394f2c0badfc191f91335decd523a2f1523927b4ce3cdbe1a557cfb335635c68c20acbb33384cf9c3a816bbb6743 SHA512 183321c6eef3493e49289834425d4ec59dec5fdc496d27e4d89ab5ca2a830306367e0464dba25856da612e018f8d6cefedf7c2349488884031f02a91acc73cd4 +DIST asttokens-2.4.1.gh.tar.gz 57358 BLAKE2B dff2bdbbb62ed0c99f620284e4ad4abe418c315356caee26988ed7722a9aec77be4fe79b877e350cf632e076cd7c421f6ec824e7ffdda1d6684b03fffb15e7b2 SHA512 62263e50e14953e98236cdcbd75121ff5f6a3dc949170412a97f17af9b2572415373971d2286c4821b03249404b5a4c53ef5c7f1ec37aa9e2bf4a743d16de1da EBUILD asttokens-2.4.0.ebuild 1002 BLAKE2B 40a06622ffba6b10a086435c010318c15e3094f776c9bb787b320be7f4a8be256c68bdcc54f849487e8e051a5b5022450be7deb30537dd119850909142335a28 SHA512 f59d005bf1c073c3b0f58682bac0df3917405552734269997bd7c4907570f981b83a0f52702362da2aa0f60bfcfb8c64e922070bc8d514ae8478cbb556592653 +EBUILD asttokens-2.4.1.ebuild 839 BLAKE2B d7a28211e4086d569a0efdafb9c195387b5573d6b5e5627b60a4f0e47991a7174a646d57d6c64a45c735f92a3f204ef64983e2e59ab530f418cd6a19ff9f9d37 SHA512 dcf2f7eac5b89068bdf5068f88925d60c33dcf25ecbed16e4962ecd14b4e110e2e0e8c1978c3e67abe9c508c9a395546851d90d0567f764e150b02e9e1c31524 MISC metadata.xml 350 BLAKE2B c05dcff93454660cb741def5cb0ca82e56f0cba84bddb9604153b6d70625e4dfc9e15743c3448a0cb68d9b5ccf0778f8126390872bd8689df0e0ab2bed7e6582 SHA512 521762b1e8a542c5f3156014884c3d845b6fe882e819c924aa8023f8dff32a94490e64a1d1f700f5127bd867c60c4f0f7c4aed5c39f78e52bd8ebabd113403cf diff --git a/dev-python/asttokens/asttokens-2.4.1.ebuild b/dev-python/asttokens/asttokens-2.4.1.ebuild new file mode 100644 index 000000000000..e02fe9c103c0 --- /dev/null +++ b/dev-python/asttokens/asttokens-2.4.1.ebuild @@ -0,0 +1,37 @@ +# Copyright 2020-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=setuptools +PYTHON_COMPAT=( python3_{10..12} ) + +inherit distutils-r1 + +DESCRIPTION="Annotate Python AST trees with source text and token information" +HOMEPAGE=" + https://github.com/gristlabs/asttokens/ + https://pypi.org/project/asttokens/ +" +SRC_URI=" + https://github.com/gristlabs/asttokens/archive/v${PV}.tar.gz + -> ${P}.gh.tar.gz +" + +LICENSE="Apache-2.0" +SLOT="0" +KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~arm64-macos ~x64-macos" + +RDEPEND=" + dev-python/six[${PYTHON_USEDEP}] +" +BDEPEND=" + dev-python/setuptools-scm[${PYTHON_USEDEP}] + test? ( + dev-python/astroid[${PYTHON_USEDEP}] + ) +" + +distutils_enable_tests pytest + +export SETUPTOOLS_SCM_PRETEND_VERSION=${PV} diff --git a/dev-python/cryptography/Manifest b/dev-python/cryptography/Manifest index 9ff390305a5d..cee1be90b457 100644 --- a/dev-python/cryptography/Manifest +++ b/dev-python/cryptography/Manifest @@ -58,6 +58,6 @@ DIST windows_x86_64_gnu-0.42.2.crate 699373 BLAKE2B 01c70809d564b16b268656e47295 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 cryptography-41.0.3.ebuild 3422 BLAKE2B 14b468cc902a594d49a1d023354671a94a29de5bc0a7a7f22e77341b2625da4996dfaae4d89ca1e5c18992d8e73d4324b6489c3da35f248cda76e92d77af3ecc SHA512 39c2188ea76a13710e107219a8edd797274e2f0cf431ab9ed48f383f39520962f86ba8f5a03535ff9edb8a7b630e8aa1ba78e20934bb9d94511d7b6af9a4a441 -EBUILD cryptography-41.0.4.ebuild 3424 BLAKE2B 07f43b3cebddea38468c33d1a380bae07859d1c9ca3059c3daed0410c6a64da29d8398e72a95a53d4ceb56ce4d6c1445c2adb0789f85de194551b078331b2805 SHA512 0ac763ab9cb8725b09708e7209e74dc33ec1127b2a7104531017649c56b54248fa908f0951e2a2214354e413147cbd7c0a6049b56c35673bc3aaea947edf0602 +EBUILD cryptography-41.0.4.ebuild 3423 BLAKE2B 26a8e3daeb6978b1e2d2f69bebb2a5917225b7fc0b59d0b66ffdf13941c6734ff8ecb158ecd0eb9532db0a9c5bf30afea2347fd1092b4cf274c44c1faca13237 SHA512 08413aaa0d24053b48b00d34a08292d9ba0b7eff79be6879b6f60ae40bb23ee2472f50e04e27cd1a649284140c8902f442914cdd4f8f4db9f657a04f8f691cb0 EBUILD cryptography-41.0.5.ebuild 3429 BLAKE2B 29114783d7d76a3a425f2eb10a13615ecb8b4e47c34a3cc9091e22664e08310eb2fb3d8a6d3c6c0c81914d17a28487f8eda03411d0a12fb7c13997de4c8ca078 SHA512 8e6e275a9ed1d38d974907790ed792f00532969b59b9dd8203e94cce78ee3e76c6011f4d95ca5069f0a716ef5a056467fea07e99f23583f7831aaa849542a4b2 MISC metadata.xml 464 BLAKE2B 96c0bd97b83c9718910d129260402fdc37e88a96ac6002c8f6dd19fb21d6daf31211b83ff7423036811e27954811ebdc810c8328f18c620682bd9428f42ba1f9 SHA512 2f36a186bb195a8cbafe1d8dd6630fadf0ea56b22906ebaf3c90954adb8b66e1017f599169e2b1ca386e1113c1a6b834fff90f2bec527bed53f62985120732d6 diff --git a/dev-python/cryptography/cryptography-41.0.4.ebuild b/dev-python/cryptography/cryptography-41.0.4.ebuild index 1a10ca759f9a..2c63b8ebd4a5 100644 --- a/dev-python/cryptography/cryptography-41.0.4.ebuild +++ b/dev-python/cryptography/cryptography-41.0.4.ebuild @@ -87,7 +87,7 @@ LICENSE+=" Unicode-DFS-2016 " SLOT="0" -KEYWORDS="amd64 arm ~arm64 ~loong ppc ~ppc64 ~riscv ~s390 sparc x86" +KEYWORDS="amd64 arm ~arm64 ~loong ppc ppc64 ~riscv ~s390 sparc x86" RDEPEND=" >=dev-libs/openssl-1.0.2o-r6:0= diff --git a/dev-python/cypari2/Manifest b/dev-python/cypari2/Manifest new file mode 100644 index 000000000000..7663579594c2 --- /dev/null +++ b/dev-python/cypari2/Manifest @@ -0,0 +1,4 @@ +AUX cypari2-2.1.4-regen-bindings-for-each-python.patch 1337 BLAKE2B e3223252db7834088400d9b1856ef9c15a63e3375847445cdcfd3d8a9e735c1d238e508ff2913825f4a0834e1e4e8b9468151d5bb77a2ed087309d54b183cc7c SHA512 a4588ffa8d9d2ec6e9bcab76876540e5e0da2bb9b56f927825737d030bf938e5fe10f84bca61dc2277f9842bca02db2c87c46c136565e5ef37b2190ce45d9029 +DIST cypari2-2.1.4.gh.tar.gz 127038 BLAKE2B 0d4998841a9a630ea062d7096845771a9a250ed66b68f99988ded6442724559089e8dbbce13ef5c6ad467705c65b2ac9fc5889fa9c40b9665083af558280b81a SHA512 b5926281037aebb899c1a433a0ca106cdfafcb8cb7abb863268ff8151dbc52ee21dbe1d09dde632de1640a4cc4d37f59bebb0e379d61ac2fbdf9fffcf3ba4775 +EBUILD cypari2-2.1.4.ebuild 928 BLAKE2B 33e3954ee8bdeb3917999bfa254f2bf7d5432884d1e2714c41bfbf6f86328717d63e3b66c9671799f3bbcd6c04ce076f3e51c925fd8fded77bf2c47448f32dc8 SHA512 bc6d5199926b0eaa7cb0c0c27b65fabe54dd694bd39130a2059a288fbbe172bc6c63b0a89caeeae0063524dfc8a7b1a77e91b83f60a271d4ab5c4b93c32919bb +MISC metadata.xml 763 BLAKE2B bd41f69c681be66fb8d70d606f9dcaf586fd5b37399a1ce9bbb97eb3b2042272f681ed15d9f8e0654b34323672aaff784582a81c28f40e41385450ab233000ab SHA512 c9d7fc5d6ea9f9b4d995710f642aad46d83b3ba3222f089b601d4653e7e79966803c8d0b82683df232e44c2aee79219c4bf3965cff63265bbe480f4dcd03cf02 diff --git a/dev-python/cypari2/cypari2-2.1.4.ebuild b/dev-python/cypari2/cypari2-2.1.4.ebuild new file mode 100644 index 000000000000..97c339f4b723 --- /dev/null +++ b/dev-python/cypari2/cypari2-2.1.4.ebuild @@ -0,0 +1,39 @@ +# Copyright 1999-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +PYTHON_COMPAT=( python3_{10..12} ) +DISTUTILS_USE_PEP517=standalone +DISTUTILS_EXT=1 + +inherit distutils-r1 + +DESCRIPTION="Cython interface to PARI" +HOMEPAGE="https://github.com/sagemath/cypari2" + +# We're only using Github for v2.1.4 because PyPI is lagging: +# https://github.com/sagemath/cypari2/issues/143 +SRC_URI="https://github.com/sagemath/${PN}/releases/download/${PV}/${P}.tar.gz -> ${P}.gh.tar.gz" + +LICENSE="GPL-2+" +SLOT="0" +KEYWORDS="~amd64" +IUSE="" + +DEPEND="sci-mathematics/pari[gmp,doc] + dev-python/cysignals[${PYTHON_USEDEP}]" +RDEPEND="${DEPEND}" +BDEPEND="dev-python/cython[${PYTHON_USEDEP}]" + +PATCHES=( "${FILESDIR}/${P}-regen-bindings-for-each-python.patch" ) + +python_test(){ + cd "${S}"/tests || die + "${EPYTHON}" rundoctest.py || die +} + +python_install() { + distutils-r1_python_install + python_optimize +} diff --git a/dev-python/cypari2/files/cypari2-2.1.4-regen-bindings-for-each-python.patch b/dev-python/cypari2/files/cypari2-2.1.4-regen-bindings-for-each-python.patch new file mode 100644 index 000000000000..cb9ba55fdd29 --- /dev/null +++ b/dev-python/cypari2/files/cypari2-2.1.4-regen-bindings-for-each-python.patch @@ -0,0 +1,40 @@ +Ensure that the file auto_paridecl.pxd is both (re)generated with and +installed for each python implementation. + +From 248d26e3e6b1c02fdd3391f033e29d7012189d9e Mon Sep 17 00:00:00 2001 +From: =?UTF-8?q?Fran=C3=A7ois=20Bissey?= <frp.bissey@gmail.com> +Date: Tue, 28 Apr 2020 09:42:39 +1200 +Subject: [PATCH] move rebuild out of build_ext so it is run before everything + +--- + setup.py | 7 ++++--- + 1 file changed, 4 insertions(+), 3 deletions(-) + +diff --git a/setup.py b/setup.py +index 099ed3b..473fe12 100755 +--- a/setup.py ++++ b/setup.py +@@ -13,6 +13,10 @@ from autogen.paths import include_dirs, library_dirs + + ext_kwds = dict(include_dirs=include_dirs(), library_dirs=library_dirs()) + ++# Generate auto-generated sources from pari.desc ++# This needs to be done before build/build_ext so the generated pxd is moved ++# to the build directory and installed with newer setuptools. ++rebuild() + + if "READTHEDOCS" in os.environ: + # When building with readthedocs, disable optimizations to decrease +@@ -29,9 +33,6 @@ if "READTHEDOCS" in os.environ: + # Adapted from Cython's new_build_ext + class build_ext(_build_ext): + def finalize_options(self): +- # Generate auto-generated sources from pari.desc +- rebuild() +- + self.directives = { + "autotestdict.cdef": True, + "binding": True, +-- +2.26.2 + diff --git a/dev-python/cypari2/metadata.xml b/dev-python/cypari2/metadata.xml new file mode 100644 index 000000000000..f70554e6dfce --- /dev/null +++ b/dev-python/cypari2/metadata.xml @@ -0,0 +1,27 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <maintainer type="person"> + <email>mjo@gentoo.org</email> + </maintainer> + + <maintainer type="person" proxied="yes"> + <email>frp.bissey@gmail.com</email> + <name>François Bissey</name> + </maintainer> + + <maintainer type="project" proxied="proxy"> + <email>proxy-maint@gentoo.org</email> + <name>Proxy Maintainers</name> + </maintainer> + + <maintainer type="project"> + <email>sci-mathematics@gentoo.org</email> + <name>Gentoo Mathematics Project</name> + </maintainer> + + <upstream> + <remote-id type="pypi">cypari2</remote-id> + <remote-id type="github">sagemath/cypari2</remote-id> + </upstream> +</pkgmetadata> diff --git a/dev-python/cysignals/Manifest b/dev-python/cysignals/Manifest new file mode 100644 index 000000000000..e50d0bbe944a --- /dev/null +++ b/dev-python/cysignals/Manifest @@ -0,0 +1,3 @@ +DIST cysignals-1.11.4.tar.gz 105100 BLAKE2B c21c5cae69332885dd4b9f13d0fbe9ab836466dd699f0d51908d129107ce4922f4076fafa8dce3650983fd69d25182464f9831545a8da3535699d36d198ec6a7 SHA512 b083a62bcca71634cdd21ca6c8d1363e7754ed97d6f2ad0280b0ae97fdf1264be3dc202acf67added4c12a0815420d9641269da1212b83472ea304883d3b85ab +EBUILD cysignals-1.11.4.ebuild 687 BLAKE2B 5ac2ea65e9e2f2df4eecf8a208daabc9e24fc3d66f550e40c545965d4af8ec80f8f54dd114b5dd753c66ffd4b1879856df1c53b6f2d7b92beb68e398dd6fbeea SHA512 f3d936193098fe0e5ed859feed45bd7004438c052d0c6fad9aa553de89fab37db49eb85d877fc720ff5273981c2b6a243b112babe51a343144a151f8e74f05dc +MISC metadata.xml 1135 BLAKE2B e5b09338d238c7f65d9bc4878a969e66b6d29fc6dffe67b3d0d1776199c14b1717a5459776cd1afe9e11db3c1a72786c96d9b0add57b353aec564c937f6156bd SHA512 b79fdd39d4ad90cd68c224bd79398e50a6879b7c38602b50f8034f32dae1c4eaf7e8beffab5eb997a4368091fa3f52635a9e655906a27d8a6ff290ace548101c diff --git a/dev-python/cysignals/cysignals-1.11.4.ebuild b/dev-python/cysignals/cysignals-1.11.4.ebuild new file mode 100644 index 000000000000..2a8a65ea37c8 --- /dev/null +++ b/dev-python/cysignals/cysignals-1.11.4.ebuild @@ -0,0 +1,30 @@ +# Copyright 1999-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +PYTHON_COMPAT=( python3_{10..12} ) +DISTUTILS_USE_PEP517=setuptools +DISTUTILS_EXT=1 + +inherit distutils-r1 pypi + +DESCRIPTION="Interrupt and signal handling for Cython" +HOMEPAGE="https://pypi.org/project/cysignals/ + https://github.com/sagemath/cysignals" + +# setup.py has "or later" +LICENSE="LGPL-3+" +SLOT="0" +KEYWORDS="~amd64" +IUSE="" + +DEPEND="sci-mathematics/pari:=" +RDEPEND="${DEPEND}" +BDEPEND=">=dev-python/cython-3.0.0[${PYTHON_USEDEP}]" + +python_test(){ + PATH="${BUILD_DIR}/scripts:${PATH}" \ + "${EPYTHON}" -B "${S}"/rundoctests.py \ + "${S}"/src/cysignals/*.pyx || die +} diff --git a/dev-python/cysignals/metadata.xml b/dev-python/cysignals/metadata.xml new file mode 100644 index 000000000000..abe39229c92a --- /dev/null +++ b/dev-python/cysignals/metadata.xml @@ -0,0 +1,35 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <maintainer type="person"> + <email>mjo@gentoo.org</email> + </maintainer> + + <maintainer type="person" proxied="yes"> + <email>frp.bissey@gmail.com</email> + <name>François Bissey</name> + </maintainer> + + <maintainer type="project" proxied="proxy"> + <email>proxy-maint@gentoo.org</email> + <name>Proxy Maintainers</name> + </maintainer> + + <maintainer type="project"> + <email>sci-mathematics@gentoo.org</email> + <name>Gentoo Mathematics Project</name> + </maintainer> + + <longdescription lang="en"> + When writing Cython code, special care must be taken to ensure that + the code can be interrupted with CTRL-C. Since Cython optimizes for + speed, it normally does not check for interrupts. The cysignals + package provides mechanisms to handle interrupts (and other signals + and errors) in Cython code. + </longdescription> + + <upstream> + <remote-id type="pypi">cysignals</remote-id> + <remote-id type="github">sagemath/cysignals</remote-id> + </upstream> +</pkgmetadata> diff --git a/dev-python/fpylll/Manifest b/dev-python/fpylll/Manifest new file mode 100644 index 000000000000..403c33e0aaa9 --- /dev/null +++ b/dev-python/fpylll/Manifest @@ -0,0 +1,3 @@ +DIST fpylll-0.6.0.tar.gz 1084736 BLAKE2B de4fc2ef762a1dc931e728cae4857da34828fb929eec0cf05c076bce5b3f7475492871d016d94f9cac4515a04a7f652440511f4ba8f1b724c351a403d5375ea0 SHA512 e21ed21362cb9256dbc828f4d628602cd8b5c1a8640116f1c137e85056cedc89a73cab58c28ea12212ee92f4ed36b99796c5dbd30c55159baf9b33770b1a9aab +EBUILD fpylll-0.6.0.ebuild 698 BLAKE2B 082fe0af2030a3c14381aca6a05ae8490110e93be706a88e82b958f07be220bc71b6e05c2968834d28f3158828affdad8db6ce10c6569e6b9feb057b2aff5056 SHA512 65e57df87f05ea5979cc7ad9e00e0825908dabbbc802e6c6051639b2860bb25e2becbc2cefabdfc449fcfab9035a2646455936d07078ffb191391e89ac394a42 +MISC metadata.xml 758 BLAKE2B a283c782701551a3b5de845a4707090b14a1671d311cef927cc50b89dee4e3428b02332e487232073034c821f6ea2e5cfdcbd86a827654746f060b0cfeb36d80 SHA512 89cfd778ab84ec1217e36e15e7fe1508b8c5344b2a94e8d99aa884115948e64ff88cd029060f0a64568587ce21ca328799514210c39b3b3650647e5f6f1353b8 diff --git a/dev-python/fpylll/fpylll-0.6.0.ebuild b/dev-python/fpylll/fpylll-0.6.0.ebuild new file mode 100644 index 000000000000..f2feb1f4ee5c --- /dev/null +++ b/dev-python/fpylll/fpylll-0.6.0.ebuild @@ -0,0 +1,32 @@ +# Copyright 1999-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +PYTHON_COMPAT=( python3_{10..12} ) +DISTUTILS_USE_PEP517=setuptools +DISTUTILS_EXT=1 + +inherit distutils-r1 pypi + +DESCRIPTION="Python bindings for sci-libs/fplll" +HOMEPAGE="https://pypi.org/project/fpylll/ + https://github.com/fplll/fpylll" + +# setup.py says "or later" +LICENSE="GPL-2+" +SLOT="0" +KEYWORDS="~amd64" +IUSE="test" + +RDEPEND="sci-libs/fplll + dev-python/cysignals[${PYTHON_USEDEP}] + dev-python/numpy[${PYTHON_USEDEP}]" +DEPEND="${RDEPEND}" +BDEPEND="dev-python/cython[${PYTHON_USEDEP}]" + +distutils_enable_tests pytest + +src_test(){ + PY_IGNORE_IMPORTMISMATCH=1 distutils-r1_src_test +} diff --git a/dev-python/fpylll/metadata.xml b/dev-python/fpylll/metadata.xml new file mode 100644 index 000000000000..7b1fe28d3519 --- /dev/null +++ b/dev-python/fpylll/metadata.xml @@ -0,0 +1,27 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <maintainer type="person"> + <email>mjo@gentoo.org</email> + </maintainer> + + <maintainer type="person" proxied="yes"> + <email>frp.bissey@gmail.com</email> + <name>François Bissey</name> + </maintainer> + + <maintainer type="project" proxied="proxy"> + <email>proxy-maint@gentoo.org</email> + <name>Proxy Maintainers</name> + </maintainer> + + <maintainer type="project"> + <email>sci-mathematics@gentoo.org</email> + <name>Gentoo Mathematics Project</name> + </maintainer> + + <upstream> + <remote-id type="pypi">fpylll</remote-id> + <remote-id type="github">fplll/fpylll</remote-id> + </upstream> +</pkgmetadata> diff --git a/dev-python/memory_allocator/Manifest b/dev-python/memory_allocator/Manifest new file mode 100644 index 000000000000..8c8c15ecf9ef --- /dev/null +++ b/dev-python/memory_allocator/Manifest @@ -0,0 +1,3 @@ +DIST memory_allocator-0.1.3.tar.gz 19692 BLAKE2B e3e33b4d35455c7cf38eede4f8acfb5bddada59364de53c8ac37fc18e0824a947b85b4c6e3ce9b2f817948c6e83709c17cdf68fa3ebbe6b562d315420235f0cf SHA512 41cb850346b1aead18c82b0eca48791336315b5da8c2beeccec4eae90f55425f545a7cfd42c8cb9bd9f8c25a3a31b7334e304c0d726fdd848df26ae72ec7b7a7 +EBUILD memory_allocator-0.1.3.ebuild 986 BLAKE2B a4897da65735dd9fa34a2b8d0ae21f3ef599e350274ddf4e87de51a9ae983f255f9486c25c6efdcd6a1b0c2433ff4a1a7b29aa709860236079fd620fa536816a SHA512 24b9622a0cfc7f2e6cb034fb21a6d08b6b662d6ea5a8b8ae68c13e718844736ad0577ce6a775026b7fba7ba9292f351f4c872aeea9d0ed0a4e01d5207c52ed6b +MISC metadata.xml 1092 BLAKE2B 495f160cb60544af5d379c32016e61ecd451b174223c0c919c782180aa6474e9e2dce8150f43be5174e3d8a55cab492469f7aafb5d5cb19e469435d672fcb143 SHA512 7118041702e4cd3226632896df70032054dbbbc9aa985a51b83d513ff451b5123d8adb58c80f353dbdd0ee5d783dc378bb417bfc75b2dce935e2d15edc2e4c4e diff --git a/dev-python/memory_allocator/memory_allocator-0.1.3.ebuild b/dev-python/memory_allocator/memory_allocator-0.1.3.ebuild new file mode 100644 index 000000000000..0f679f1e9867 --- /dev/null +++ b/dev-python/memory_allocator/memory_allocator-0.1.3.ebuild @@ -0,0 +1,31 @@ +# Copyright 2021-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +PYTHON_COMPAT=( python3_{10..12} ) +DISTUTILS_USE_PEP517=setuptools +DISTUTILS_EXT=1 +inherit distutils-r1 pypi + +DESCRIPTION="An extension class for memory allocation in cython" +HOMEPAGE="https://pypi.org/project/memory-allocator/ + https://github.com/sagemath/memory_allocator" + +LICENSE="GPL-3" +SLOT="0" +KEYWORDS="~amd64" + +BDEPEND="dev-python/cython[${PYTHON_USEDEP}]" + +python_test() { + # The test script tries to "import memory_allocator.test" which, so + # long as a memory_allocator directory exists inside CWD, will look + # for a memory_allocator/test.py there. But there is no such file; + # the "test" module is a compiled extension. To let the search fall + # back to the correct location, we temporarily rename the directory + # that misleads it. + mv memory_allocator mv_memory_allocator || die + ${EPYTHON} test.py || die + mv mv_memory_allocator memory_allocator || die +} diff --git a/dev-python/memory_allocator/metadata.xml b/dev-python/memory_allocator/metadata.xml new file mode 100644 index 000000000000..402080770fc8 --- /dev/null +++ b/dev-python/memory_allocator/metadata.xml @@ -0,0 +1,34 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <maintainer type="person"> + <email>mjo@gentoo.org</email> + </maintainer> + + <maintainer type="person" proxied="yes"> + <email>frp.bissey@gmail.com</email> + <name>François Bissey</name> + </maintainer> + + <maintainer type="project" proxied="proxy"> + <email>proxy-maint@gentoo.org</email> + <name>Proxy Maintainers</name> + </maintainer> + + <maintainer type="project"> + <email>sci-mathematics@gentoo.org</email> + <name>Gentoo Mathematics Project</name> + </maintainer> + + <longdescription lang="en"> + This package provides a single MemoryAllocator class that makes + memory allocation easier in Cython. The class has familiar (cdef) + methods like malloc and realloc, and all allocated memory is freed + when the MemoryAllocator object is destroyed. + </longdescription> + + <upstream> + <remote-id type="pypi">memory-allocator</remote-id> + <remote-id type="github">sagemath/memory_allocator</remote-id> + </upstream> +</pkgmetadata> diff --git a/dev-python/meson-python/Manifest b/dev-python/meson-python/Manifest index e7a54307ed9b..7f81d1cb6e4f 100644 --- a/dev-python/meson-python/Manifest +++ b/dev-python/meson-python/Manifest @@ -1,3 +1,5 @@ DIST meson-python-0.14.0.gh.tar.gz 72523 BLAKE2B d0fd66dee8a5efd73e617033aec3f14eb66affe72cd84c30a740820f5a0c34a4ae4ffd31e1df26312513b312940f62af436b9870216ee93d7543b4f02dec6637 SHA512 f40963a9c2bca8edf0f5651f9f4f1fab8df89cca715dd8dc0dec11ac53a591ee19d2d06edead917f15382410a51a37cd4efcee2c52696eb10a546b080bac2ad8 +DIST meson-python-0.15.0.gh.tar.gz 73063 BLAKE2B 280c01b08fb8264d268797d199b59f7d02cac88e49333de4a38f9e22a1e724586b7ffcddc4e9a411c0d660560892134cb742136334aad8caacd9db37580fce8f SHA512 f1fce89bb0a3d279b9900c4ecec78e5f24da92d72f64ebf6c27648b4201a75a65204c3fac08aaa3e8d70dbeef245c3235e39994c7c0b9cba27c0df528211c7f7 EBUILD meson-python-0.14.0.ebuild 1611 BLAKE2B 0cfd4d572d1627ca60e14977df5aa358725f585c2354f9abab5ccb8be9c5eaba20328ff16b6506244390865b4e744354850007d1eaeff73b8cc145ca327fdd39 SHA512 ed27710e3794e953dabda0409ded6fe5e80049769e388bfa23ee3366db38a33686dff04198b799b546685c140194293efa8fbfdb738ba30a34855e5ee344ae0d +EBUILD meson-python-0.15.0.ebuild 1619 BLAKE2B 3c0087ac1d894cf15caab38510317aadd8206add066a1ffc5011c91e1d0e07462f801fcafde25bf47857d67530b9e4d9e3c282174df138fd23d7f54ad518c4f8 SHA512 607f27daed4c8f33dddaf08b8374212220d56d9fd24a3b5f43e97ba63a206483a05e7c293b53f990205e87794b613d12f010fd2d296a1bfd11f5075e555db110 MISC metadata.xml 357 BLAKE2B c2b5fd8c6ad39e92970a5e6c1db8950b4850660c9a95a84063504ab75e5dd69e3ab844fcef23cb51f33493b7e522a6d26227ff48dd893c92c422badc70f3c962 SHA512 1402ace4da543de7320a1d97f44177593807d5be9f1891d8a53190581877569508c46fe6b4ce63516c7fee2d2165d59d39f44343dde18438570883da3f4ad28c diff --git a/dev-python/meson-python/meson-python-0.15.0.ebuild b/dev-python/meson-python/meson-python-0.15.0.ebuild new file mode 100644 index 000000000000..0ff76a5dc1a6 --- /dev/null +++ b/dev-python/meson-python/meson-python-0.15.0.ebuild @@ -0,0 +1,66 @@ +# Copyright 2022-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=standalone +PYTHON_COMPAT=( python3_{10..12} pypy3 ) + +inherit distutils-r1 + +DESCRIPTION="Meson PEP 517 Python build backend" +HOMEPAGE=" + https://pypi.org/project/meson-python/ + https://github.com/mesonbuild/meson-python/ +" +SRC_URI=" + https://github.com/mesonbuild/meson-python/archive/${PV}.tar.gz + -> ${P}.gh.tar.gz +" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~m68k ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~arm64-macos ~x64-macos" + +RDEPEND=" + >=dev-python/pyproject-metadata-0.7.1[${PYTHON_USEDEP}] + >=dev-util/meson-0.63.0[${PYTHON_USEDEP}] + !kernel_Darwin? ( dev-util/patchelf ) + $(python_gen_cond_dep ' + >=dev-python/tomli-1.0.0[${PYTHON_USEDEP}] + ' 3.10) +" +BDEPEND=" + >=dev-python/cython-0.29.34[${PYTHON_USEDEP}] + test? ( + dev-python/pytest-mock[${PYTHON_USEDEP}] + ) +" + +distutils_enable_tests pytest + +python_test() { + local EPYTEST_DESELECT=( + # requires network access + tests/test_pep518.py::test_pep518 + # requires git repo + # https://github.com/mesonbuild/meson-python/issues/397 + tests/test_project.py::test_user_args + ) + unset NINJA + + if [[ ${EPYTHON} == pypy3 ]]; then + EPYTEST_DESELECT+=( + # broken venv usage that copies pypy3 executable, making it + # unable to find lib_pypy + tests/test_editable.py::test_editable_install + tests/test_editable.py::test_editble_reentrant + tests/test_examples.py::test_spam + tests/test_wheel.py::test_local_lib + ) + fi + + epytest + + rm -rf docs/examples/spam/build/ || die # remove artifacts +} diff --git a/dev-python/outcome/Manifest b/dev-python/outcome/Manifest index b3ec0c3cdff0..7872535228b4 100644 --- a/dev-python/outcome/Manifest +++ b/dev-python/outcome/Manifest @@ -1,5 +1,7 @@ DIST outcome-1.2.0.gh.tar.gz 18147 BLAKE2B 19e99c8beb1c537a15040211e2fb2f30e425dbb6c81225f2b44720d52e26d8065f434949cd22f97d3a44b64d404077118842a7c85d38f1b7b01ec60d26ddaa39 SHA512 ac8f8738b000e50ace5fbf2c373c9d28f05e88fe40a11602dbb08c48d369f28651ca6c1269ce9ba4ebf1aa9701525e966c061f75313d8650e739934e3ad15003 DIST outcome-1.3.0.gh.tar.gz 20685 BLAKE2B 5bc6bd82a855cdd009b5613bcdf371d7f946b58567c436ec89db4511fa17ac15508498bfac90ec4ee4e1e60abe80f662c1e75f6da03ca087cca2264988a0b488 SHA512 0f8278db3dee0c15f82b08a172a6b1b2f360f5bd91d894338b24c6eb38884bf59f0a18d29af51b87857c41b25a81079fbffd87190392002ec9250c2d97b71965 +DIST outcome-1.3.0.post0.gh.tar.gz 20749 BLAKE2B d094f1c7c67b890fff20b81ee77d9b06616e0e3e89ce62b3936b6d2a6964cc95355f81feb82acf8d9a3f63c6af4b219bc4abafe1c329d2a5963936a9d3a7a827 SHA512 d01f6d74e883b112cd589f9e8ed05770db9b1f9ae48e84e2cbb1138c33c1496d3bae559e2627a4fe736496740866c1a9589cfc611d1c8218add1ad27f8f033ed EBUILD outcome-1.2.0.ebuild 826 BLAKE2B 79d399c4d2e222f2eb55834549a70869c4430f6a2542e6a092aab45898838b48293ccd65903c16acf6c4ffdd0c0c310f2dc5be73989037b897734934f78a46cc SHA512 7b25c2b67babb686bc3389914513eca151e67409299e428fb671d9d6f56341d25ec77626c962c271c604194ba7931aa63327f989588e114a78a58207e3119f01 EBUILD outcome-1.3.0.ebuild 834 BLAKE2B c28b35a0a6fd7f384c68a1bf7a35e5c68b3e913a5d31e21125a6aa03a274c31e36471c3223855773d193e3f16e550b09f3ee8161e6f8339c4d265033ad7271ee SHA512 f7686173a5b788371b1a3243ada02c252e8da10d1821a9f09fa0debe4dad8e9e3bd58b452296546abe0a4f3c2573adcda4edebd343a4ef85553d4e297a2cf616 +EBUILD outcome-1.3.0_p0.ebuild 894 BLAKE2B a314c24890f400f404337ab2e6cefdb1180d0bfb7869c8a32c6979eb8a11ba78d7d01716d1a6f3f39fdd010efcad2b55e024311bd146902a1fa56aae73b5bbec SHA512 4c019c9dda6bb7f3bac86a399a1a795eb03e6af7b9281adbe69040e13128df6e013a1681477c178184cac8bd6257a5ce301dd5e81414215c78cd95e587e943da MISC metadata.xml 413 BLAKE2B 375ed97b3bcb2ba5392f09962f6376e5ec8ecb842a70eb8c94647968f2f59e326ddacba74f0e65b7bb5733a05779d464b38d589f3a3dd364ba510bec2825eb5c SHA512 b9b9b94031580858aae25d0733688ce39f5026b4c1a59415370ed50dc27b63654927c36536d4c4cdf6389e68db0b397ddaa7e0aeb786713fdffca4bddaa217d2 diff --git a/dev-python/outcome/outcome-1.3.0_p0.ebuild b/dev-python/outcome/outcome-1.3.0_p0.ebuild new file mode 100644 index 000000000000..b04944710329 --- /dev/null +++ b/dev-python/outcome/outcome-1.3.0_p0.ebuild @@ -0,0 +1,39 @@ +# Copyright 1999-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=setuptools +PYTHON_COMPAT=( pypy3 python3_{10..12} ) + +inherit distutils-r1 + +MY_P=${P/_p/.post} +DESCRIPTION="Capture the outcome of Python function calls" +HOMEPAGE=" + https://github.com/python-trio/outcome/ + https://pypi.org/project/outcome/ +" +SRC_URI=" + https://github.com/python-trio/outcome/archive/v${PV/_p/.post}.tar.gz + -> ${MY_P}.gh.tar.gz +" +S=${WORKDIR}/${MY_P} + +LICENSE="|| ( Apache-2.0 MIT )" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86" + +RDEPEND=" + dev-python/attrs[${PYTHON_USEDEP}] +" +BDEPEND=" + test? ( + dev-python/pytest-asyncio[${PYTHON_USEDEP}] + ) +" + +distutils_enable_tests pytest +distutils_enable_sphinx docs/source \ + dev-python/sphinxcontrib-trio \ + dev-python/sphinx-rtd-theme diff --git a/dev-python/pdm/Manifest b/dev-python/pdm/Manifest index 9bcb81858c2a..acf4091d56c9 100644 --- a/dev-python/pdm/Manifest +++ b/dev-python/pdm/Manifest @@ -1,7 +1,9 @@ +DIST pdm-2.10.0.tar.gz 2587521 BLAKE2B 599262212b4e62d4039d4ea31be849717330ab0bf53c68e43132542eb39d36fbc82dd8eec3f2760793afa03338f0d687a073942e981be01a43d4331704efa07d SHA512 734d9c120de9390c0929ff9664acdcd681773a264a4aba1da294429574b8ae67ced74265227b1db0403e4acb9c4134555fd6fb780df47abc5935c1a24b9f816f DIST pdm-2.8.2.tar.gz 3014401 BLAKE2B a541339582944988b7a30d2991066287e0293845d4f15c7f6cb2fef7a8709dba537f190e5493bd3b06e7ef86fca601a9d1aab7af6ca6ae55269b374a7464ca17 SHA512 396e27902f74773070cf49c3857d93702e6678a46221b54dc03e84e2b8ccf211cbba9d24eba6bfc47ff36cbd4eb504ada5bf82071c884347026ba85c123058e9 DIST pdm-2.9.1.tar.gz 3017895 BLAKE2B 944a1cd9571f7ad2ec6b4212b29db7b6c7c5e8b12591c73dae19f099f9d511f0db3f0698d48e2e42fc81f30c876caa7c9e43467d23eee26876595e6fd6ff197e SHA512 979bf9d078747c7b8dd56555d499053b978ddf289af4bf889b2f2805255049c24bf48607b3704509d914eec59904cbdb9983af396c68ff7211cc216fd4b40118 DIST pdm-2.9.2.tar.gz 3018730 BLAKE2B 83eeab7b70efe61a515ed262e8bd1de911f111aaa22704fcce2e46824a236be663ba831cce8bb440e612e711b8cf0627b1a416e966b06b51dc6e25feb2e856b0 SHA512 1d3193dc31065a05989e9dc36518fac0d45f86945d68ff2b5e03473b97c70b0f9586849a1e2208e740921927857733c76c44b512213cb17fc6608f9d0d7bcbd9 DIST pdm-2.9.3.tar.gz 2578245 BLAKE2B f3916294d83e4731514f7009fd9e71fbd06614f46f1eeed9ad1d591e34c09877815d75b09dbb58f5765011a2e75e4182571a446c3cb8061d2408cecd272f6c75 SHA512 110e6488f8b161f7d77b9f0b1f34964f1c93ae7e8e9b2109057cfe1f507c914c9c72b3d787c768c9d371a80d8d79bbf6cad006eca2fe88e33b22f4415f2d276e +EBUILD pdm-2.10.0.ebuild 2593 BLAKE2B f2bd06ef778582faead6a673ad3ec780eddd53da490253ce89f262e05027689ea8fcc1abb296998f392fa3c8cda9421df5e380950af83633a1cab80de6d8fbf5 SHA512 dd907eeacab9cdf9ae4f589569ea333165345c435cfcc2a39cafcd8b7915cfd93d7152af61e0933f400c7ce780b12ec1246765ca286fa0e28f66d9cb149038e7 EBUILD pdm-2.8.2.ebuild 2243 BLAKE2B 793f8516d6f341fecb38d0f4f02d43290c600b67fcb7e6f9b0fabb7688a5d10d518760e21721d4731704a7eecab605eaa7cedddc79866a5d816639db65cc477b SHA512 0adae8c6ccc867216928457c705c24f0ecbf2d3b4ebb1e5c2f53968beac3379dd6aed8741d78b79e9b545891bcdf8eb57cc22f17616af828d51a83058d438d76 EBUILD pdm-2.9.1.ebuild 2284 BLAKE2B 585cb2f5262f9857cd4b0247992488a0b9af093bd053a41250348931334de29a120c309f4479cf921bf979b9538e2326672729ea278e5ce4ee8104a003ddf682 SHA512 78252feb137b368bf20da328ee9a4cb8b8032698d50fbdcc1479cbb018aafa0f8b4fc898f668b8f783ae5af5baa2482552c71c5df7813972e090b260fd0eb774 EBUILD pdm-2.9.2.ebuild 2476 BLAKE2B 1953ff32916aad5942e315711aa16a05b6a3e02172cffe674b1e1c5775a2eb449decd297d688ee762c6fe09ac1cb1bd209c6ca573db9ece87f9ff2327d11ecac SHA512 478a488e1f1aec038ac7ffdee0fbb946d818acb21fb066a1cf1fa13701647b61120676d90fd6c5ffb93f739f72d43f44814ce511b7aeac646227cda56ba64417 diff --git a/dev-python/pdm/pdm-2.10.0.ebuild b/dev-python/pdm/pdm-2.10.0.ebuild new file mode 100644 index 000000000000..67faee70f040 --- /dev/null +++ b/dev-python/pdm/pdm-2.10.0.ebuild @@ -0,0 +1,76 @@ +# Copyright 2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=pdm-backend +PYTHON_COMPAT=( python3_{10..11} ) + +inherit distutils-r1 pypi + +DESCRIPTION="Python package and dependency manager supporting the latest PEP standards" +HOMEPAGE=" + https://pdm.fming.dev/latest/ + https://github.com/pdm-project/pdm/ + https://pypi.org/project/pdm/ +" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64" + +RDEPEND=" + dev-python/blinker[${PYTHON_USEDEP}] + dev-python/certifi[${PYTHON_USEDEP}] + dev-python/packaging[${PYTHON_USEDEP}] + dev-python/platformdirs[${PYTHON_USEDEP}] + dev-python/rich[${PYTHON_USEDEP}] + dev-python/truststore[${PYTHON_USEDEP}] + dev-python/virtualenv[${PYTHON_USEDEP}] + dev-python/pyproject-hooks[${PYTHON_USEDEP}] + dev-python/requests-toolbelt[${PYTHON_USEDEP}] + >=dev-python/unearth-0.12.1[${PYTHON_USEDEP}] + <dev-python/findpython-1[${PYTHON_USEDEP}] + >=dev-python/findpython-0.4.0[${PYTHON_USEDEP}] + dev-python/tomlkit[${PYTHON_USEDEP}] + dev-python/shellingham[${PYTHON_USEDEP}] + dev-python/python-dotenv[${PYTHON_USEDEP}] + >=dev-python/resolvelib-1.0.1[${PYTHON_USEDEP}] + dev-python/installer[${PYTHON_USEDEP}] + dev-python/cachecontrol[${PYTHON_USEDEP}] + $(python_gen_cond_dep 'dev-python/tomli[${PYTHON_USEDEP}]' pypy3 python3_10) +" +BDEPEND=" + ${RDEPEND} + test? ( + dev-python/pytest-mock[${PYTHON_USEDEP}] + dev-python/pytest-httpserver[${PYTHON_USEDEP}] + ) +" + +distutils_enable_tests pytest + +python_test() { + local EPYTEST_DESELECT=( + # Internet + 'tests/cli/test_build.py::test_build_with_no_isolation[False]' + tests/test_project.py::test_access_index_with_auth + tests/cli/test_others.py::test_build_distributions + 'tests/models/test_candidates.py::test_expand_project_root_in_url[demo @ file:///${PROJECT_ROOT}/tests/fixtures/artifacts/demo-0.0.1.tar.gz]' + 'tests/models/test_candidates.py::test_expand_project_root_in_url[-e file:///${PROJECT_ROOT}/tests/fixtures/projects/demo-#-with-hash#egg=demo]' + # hangs on interactive keyring prompts + tests/cli/test_config.py::test_repository_overwrite_default + tests/cli/test_config.py::test_hide_password_in_output_repository + tests/cli/test_config.py::test_hide_password_in_output_pypi + # junk output, sigh + tests/cli/test_others.py::test_info_command_json + # why does it try to use python 2.7?! + tests/cli/test_run.py::test_import_another_sitecustomize + ) + [[ ${EPYTHON} != python3.10 ]] && EPYTEST_DESELECT+=( + # test seems hardcoded to 3.10 + tests/test_project.py::test_project_packages_path + ) + + epytest -m "not network and not integration and not path" +} diff --git a/dev-python/pip-run/Manifest b/dev-python/pip-run/Manifest index 31405ead7b33..05269f69e0b7 100644 --- a/dev-python/pip-run/Manifest +++ b/dev-python/pip-run/Manifest @@ -9,5 +9,5 @@ EBUILD pip-run-12.1.0.ebuild 1466 BLAKE2B 38f3a7cc312d49547fef7535268bd07ddc5500 EBUILD pip-run-12.2.0.ebuild 1435 BLAKE2B 7702c4930541e182376a8c80ed23f0a77fbdd9f05fb12e8b819bf51178d69ad77c46486dc960450305d5e2f89116af6b8b141cd73feb8e9581cd80fa0b3646af SHA512 2743360fb150d1157bc125fade2d584134c009b9bd9d0ca36f7c25791701d5ba6cf5d17ff1e96596616ead138dfbd951f47f06005d9ac9834a886370e0513fe5 EBUILD pip-run-12.2.2.ebuild 1435 BLAKE2B 7702c4930541e182376a8c80ed23f0a77fbdd9f05fb12e8b819bf51178d69ad77c46486dc960450305d5e2f89116af6b8b141cd73feb8e9581cd80fa0b3646af SHA512 2743360fb150d1157bc125fade2d584134c009b9bd9d0ca36f7c25791701d5ba6cf5d17ff1e96596616ead138dfbd951f47f06005d9ac9834a886370e0513fe5 EBUILD pip-run-12.3.1.ebuild 1435 BLAKE2B 7702c4930541e182376a8c80ed23f0a77fbdd9f05fb12e8b819bf51178d69ad77c46486dc960450305d5e2f89116af6b8b141cd73feb8e9581cd80fa0b3646af SHA512 2743360fb150d1157bc125fade2d584134c009b9bd9d0ca36f7c25791701d5ba6cf5d17ff1e96596616ead138dfbd951f47f06005d9ac9834a886370e0513fe5 -EBUILD pip-run-12.4.0.ebuild 1428 BLAKE2B ddc253e58d37ec1d57ccf5f8c4d7b6f31f1205768b72ba6643169e29b3ecccd29b513c71c29004194e91cade9b3cb162a2fa75d87300213dc8d9fe779abcbb0d SHA512 d25d40862022f326c316093e8dd082608a26be967280082da0cdc38ed118715a1b935e758e609f1cb7ae7f2471cc14d7167f8c75bdb5638ce4cf3e18dd78a977 +EBUILD pip-run-12.4.0.ebuild 1427 BLAKE2B e862f9868436f6c87c5b8302d9891063617ee2bf5069bec1876ef5a3b283ae5f7907556e21a19236563d61e9bbd61d3471535a0d65ab681ff9e1c2af2ad19f5d SHA512 9ae8dd5fc8a382cec0b5c17b78a1f8cf6d4cb1f35bc317b6b89f5ae6534da5db128de030f4aa5fb9faf1471fd3a212a16a901ce5994eeecee7e09f2e3c17e97e MISC metadata.xml 389 BLAKE2B bc573b4f57b4f8371ecef97266b8441d47e66d551f7088a7f312ca049f7debd90e989d24d59d7aff182795ae27e553d131f3875c789dc793532ff9c812bcaf20 SHA512 00b81cba684e7118a3ce79ec5cb6a27d6ad67064a2745ffead8dec51c7786c9441139b800868cad8854ff39d7e38163ab2c8fa5c7d3f328390b628f8342fb0ca diff --git a/dev-python/pip-run/pip-run-12.4.0.ebuild b/dev-python/pip-run/pip-run-12.4.0.ebuild index 39a7e2d47eda..b6bb7613891b 100644 --- a/dev-python/pip-run/pip-run-12.4.0.ebuild +++ b/dev-python/pip-run/pip-run-12.4.0.ebuild @@ -17,7 +17,7 @@ HOMEPAGE=" LICENSE="MIT" SLOT="0" -KEYWORDS="amd64 arm arm64 hppa ~ia64 ~loong ~m68k ppc ~ppc64 ~riscv ~s390 sparc x86" +KEYWORDS="amd64 arm arm64 hppa ~ia64 ~loong ~m68k ppc ppc64 ~riscv ~s390 sparc x86" RDEPEND=" dev-python/autocommand[${PYTHON_USEDEP}] diff --git a/dev-python/pplpy/Manifest b/dev-python/pplpy/Manifest new file mode 100644 index 000000000000..19aa2df73851 --- /dev/null +++ b/dev-python/pplpy/Manifest @@ -0,0 +1,3 @@ +DIST pplpy-0.8.9.tar.gz 66017 BLAKE2B 90da3b4c3e992d0ca969925d8142b114fbbfd5214a768f2e56825d8689e2c4aa2e68a3fa45da9df68168a28413153eb189df277157823e88503668be5c26505c SHA512 618a0a1d603e2859313ad4f71b3cc40156a06371c6b8971fdab8275f6676fc19510e3927828c641819399b5ea6646e954738309fbf8c10fba5733c7410ed75fc +EBUILD pplpy-0.8.9.ebuild 1178 BLAKE2B 63640d1d033c68dd82e5424c3e7a2d12666be93d9f809b6edda53a2ef0d3b49987321c5a94f09749452c28c2379ce9f1843e82932c63aea0daaa2a2ac564141a SHA512 03459c27bc6947d5d62c56a3ef1bc29866ac17de2565ca17c063409f44db3e1082d0aae94d7363597e3618c4374403195df4119e9ac006e7d1a6e424f5312c5b +MISC metadata.xml 759 BLAKE2B 0c4fcc6e475fae1a8565c392dd82261d796b96aad68d614790e07271057b46eec4b4f89fe3be2185bc9793e828568a85df488ce568daf84555638e0516898086 SHA512 773f95dbb5635a1ffcbff57d00e6af93e173945738e67deb79bb4c628abde3793488b889bb96e9a74832d0b8c42e7274edb479c64e726ddde10ef5297be979a7 diff --git a/dev-python/pplpy/metadata.xml b/dev-python/pplpy/metadata.xml new file mode 100644 index 000000000000..18bf8b9ca3a9 --- /dev/null +++ b/dev-python/pplpy/metadata.xml @@ -0,0 +1,27 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <maintainer type="person"> + <email>mjo@gentoo.org</email> + </maintainer> + + <maintainer type="person" proxied="yes"> + <email>frp.bissey@gmail.com</email> + <name>François Bissey</name> + </maintainer> + + <maintainer type="project" proxied="proxy"> + <email>proxy-maint@gentoo.org</email> + <name>Proxy Maintainers</name> + </maintainer> + + <maintainer type="project"> + <email>sci-mathematics@gentoo.org</email> + <name>Gentoo Mathematics Project</name> + </maintainer> + + <upstream> + <remote-id type="pypi">pplpy</remote-id> + <remote-id type="github">sagemath/pplpy</remote-id> + </upstream> +</pkgmetadata> diff --git a/dev-python/pplpy/pplpy-0.8.9.ebuild b/dev-python/pplpy/pplpy-0.8.9.ebuild new file mode 100644 index 000000000000..91a965367055 --- /dev/null +++ b/dev-python/pplpy/pplpy-0.8.9.ebuild @@ -0,0 +1,49 @@ +# Copyright 1999-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +PYTHON_COMPAT=( python3_{9..11} ) +DISTUTILS_USE_PEP517=setuptools +DISTUTILS_EXT=1 + +inherit distutils-r1 pypi + +DESCRIPTION="Python bindings for the Parma Polyhedra Library (PPL)" +HOMEPAGE="https://pypi.org/project/pplpy/ + https://github.com/sagemath/pplpy" + +# The file headers under ppl/ contain the "or later" bit +LICENSE="GPL-3+" + +# API/ABI changes in point releases +SLOT="0/${PV}" +KEYWORDS="~amd64" +IUSE="doc" + +DEPEND="dev-libs/ppl + dev-python/cysignals[${PYTHON_USEDEP}] + dev-python/gmpy[${PYTHON_USEDEP}]" +RDEPEND="${DEPEND}" +BDEPEND="dev-python/cython[${PYTHON_USEDEP}] + doc? ( dev-python/sphinx[${PYTHON_USEDEP}] )" + +python_compile() { + # Parallel build breaks the test suite somehow. This should be + # reported upstream but first someone will need to figure out + # how to reproduce it outside of Gentoo. + distutils-r1_python_compile -j 1 +} + +python_compile_all() { + use doc && emake -C docs html +} + +python_install_all(){ + use doc && local HTML_DOCS=( docs/build/html/. ) + distutils-r1_python_install_all +} + +python_test(){ + "${EPYTHON}" setup.py test || die +} diff --git a/dev-python/primecountpy/Manifest b/dev-python/primecountpy/Manifest new file mode 100644 index 000000000000..a4066fac2342 --- /dev/null +++ b/dev-python/primecountpy/Manifest @@ -0,0 +1,3 @@ +DIST primecountpy-0.1.0.tar.gz 16070 BLAKE2B e14b0d4bdd27cf4757e796853ec8d260c40a5f01740dc60e2e16f1251434533c5aa0bbd66a9c6de6ad3f69a5010dd77703305b3d1d9262207489e25c552e6225 SHA512 c279fb2bec9d2108960510a25cf645c605618359649dd0a4b6b707aee01047937cbd02fe89c249693dc152e44b85cb960803e378a05e6a52b50c6cba6124c3d5 +EBUILD primecountpy-0.1.0.ebuild 608 BLAKE2B 7455e63be049d8571777cdb83ae8f5b5ada1d32716bf61e6d5d08a1d10934648389307902b34752597bfc876fc4a45e3d4b49808c87865e6d90c78e9ab048876 SHA512 382dad51d505756f179f2053e184242e221ff6400f70680327f1748a270c796194df1560443ea2a1135f4daf3395dc7d5d94afc6b7ae5185e8082602b079bb10 +MISC metadata.xml 772 BLAKE2B 6e7df14a9c5579baa4e9b1d7a1260538f7818be9fb131e39ed089b43254b07865509492081ea5e3de7860bc530b709b81cbae6da802bad936e2aa7778d9ac796 SHA512 18895fd1f43bf7d9b7db3d60054f3defd0fffadb98b30e682d40a0677d2d123fecf4ea33f636dcd1e40e33a0ff28d2765e094e196461c06a90c6a8de750bfd46 diff --git a/dev-python/primecountpy/metadata.xml b/dev-python/primecountpy/metadata.xml new file mode 100644 index 000000000000..b7f899eb0f3e --- /dev/null +++ b/dev-python/primecountpy/metadata.xml @@ -0,0 +1,27 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <maintainer type="person"> + <email>mjo@gentoo.org</email> + </maintainer> + + <maintainer type="person" proxied="yes"> + <email>frp.bissey@gmail.com</email> + <name>François Bissey</name> + </maintainer> + + <maintainer type="project" proxied="proxy"> + <email>proxy-maint@gentoo.org</email> + <name>Proxy Maintainers</name> + </maintainer> + + <maintainer type="project"> + <email>sci-mathematics@gentoo.org</email> + <name>Gentoo Mathematics Project</name> + </maintainer> + + <upstream> + <remote-id type="pypi">primecountpy</remote-id> + <remote-id type="github">dimpase/primecountpy</remote-id> + </upstream> +</pkgmetadata> diff --git a/dev-python/primecountpy/primecountpy-0.1.0.ebuild b/dev-python/primecountpy/primecountpy-0.1.0.ebuild new file mode 100644 index 000000000000..bf4ae5b5ea2a --- /dev/null +++ b/dev-python/primecountpy/primecountpy-0.1.0.ebuild @@ -0,0 +1,24 @@ +# Copyright 2020-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +PYTHON_COMPAT=( python3_{10..12} ) +DISTUTILS_USE_PEP517=setuptools +DISTUTILS_EXT=1 +inherit distutils-r1 pypi + +DESCRIPTION="Cython interface to sci-mathematics/primecount" +HOMEPAGE="https://pypi.org/project/primecountpy/ + https://github.com/dimpase/primecountpy" + +# LICENSE clarification in README.md +LICENSE="GPL-2+" +SLOT="0" +KEYWORDS="~amd64" +IUSE="" + +DEPEND="sci-mathematics/primecount + dev-python/cysignals[${PYTHON_USEDEP}]" +RDEPEND="${DEPEND}" +BDEPEND="dev-python/cython[${PYTHON_USEDEP}]" diff --git a/dev-python/pyopenssl/Manifest b/dev-python/pyopenssl/Manifest index 0885bca88ccb..c926e0329ce0 100644 --- a/dev-python/pyopenssl/Manifest +++ b/dev-python/pyopenssl/Manifest @@ -1,3 +1,5 @@ DIST pyOpenSSL-23.2.0.tar.gz 185132 BLAKE2B 06330623bf5934b89cf88dee508c2c4bdd170f805a111f082624b2f8c59fd56e48d5954ef7d9f98768e88aaabaa9e04594ea717784a86401e6e64433e699c9b8 SHA512 a467801bf94959a067d9d3551b47d17d4798bf0b87d253d41a89cac9cdb1731a967a98bda3e83ab8a560ed5fdc0a17f34604f3c6e0f6789bc4c920bc49f520c9 +DIST pyOpenSSL-23.3.0.tar.gz 183043 BLAKE2B 63ef42c63ec96db320e85b8aae8441ff8378b3ed3b5ad780d7d7f4b07bd70649da2d1f0d433bee7c162c6c8b6c430e9547b695af0851cd38f8b1d14649577da5 SHA512 e75ffd9922798d7bb08be50782a2185aaf69cdc41e4c83e0c904d7b7b3b5da3bbfe73abe965eb0bfe1b325de79eb9f72f16a05444f0310ebfaf8f5bf8ce1fe87 EBUILD pyopenssl-23.2.0.ebuild 1510 BLAKE2B f8973cb7183fbd757288b9613b57cd4099fcb0918af279d1c9f9c26cdd15295372f4639a694c46f2f7ac91946c1d691f04037529de34532b43a1302f142fb86e SHA512 c18420f02195b8e2a7cfb6e5dffa04210c27ccef673fb66593dbb87101479c9aafd3e9eceff6208a249cbeb4ff37f367b19892c0e13420024583f2d1867e7ef0 +EBUILD pyopenssl-23.3.0.ebuild 1517 BLAKE2B cad1432fe0394d8af230525a02424156027aef51ae1b3d198e7e6f8be45b55c69dfc4b0a6e643446cfac8ee13fa8ebba84a68405075652208cca473b3b312a70 SHA512 a20c2ce920481bd619befcec0b6ad9336f2993f4eb485a90041327003c346c2107a83ccb00e9b95fc05b30f2539df020b92c164ea965ec01f256c1a12611fa35 MISC metadata.xml 536 BLAKE2B 86db822042b6fb3e965ece87b6b15dcabf76cdfbfa76ba285a491208ad5c6a2a196ca7144a1a73b152decc4df1641ad4c57a1cbde9f90d09d25eef1f6f4da39a SHA512 996d0e20291e744c6c20b38fd750d242920541aca7d92de63ca5b1dcc2f1c10308545797ccf499f38e50dfd04db2bb031e93b02c7c1705908f2363c813294ff1 diff --git a/dev-python/pyopenssl/pyopenssl-23.3.0.ebuild b/dev-python/pyopenssl/pyopenssl-23.3.0.ebuild new file mode 100644 index 000000000000..e88cdc417eed --- /dev/null +++ b/dev-python/pyopenssl/pyopenssl-23.3.0.ebuild @@ -0,0 +1,66 @@ +# Copyright 1999-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=setuptools +PYTHON_COMPAT=( python3_{10..12} pypy3 ) +PYTHON_REQ_USE="threads(+)" + +PYPI_NO_NORMALIZE=1 +PYPI_PN=pyOpenSSL + +inherit distutils-r1 toolchain-funcs pypi + +DESCRIPTION="Python interface to the OpenSSL library" +HOMEPAGE=" + https://www.pyopenssl.org/ + https://github.com/pyca/pyopenssl/ + https://pypi.org/project/pyOpenSSL/ +" + +LICENSE="Apache-2.0" +SLOT="0" +KEYWORDS="~amd64 ~arm ~arm64 ~loong ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86" + +RDEPEND=" + <dev-python/cryptography-42[${PYTHON_USEDEP}] + >=dev-python/cryptography-41.0.5[${PYTHON_USEDEP}] +" +BDEPEND=" + test? ( + $(python_gen_cond_dep ' + dev-python/cffi[${PYTHON_USEDEP}] + ' 'python*') + dev-python/flaky[${PYTHON_USEDEP}] + dev-python/pretend[${PYTHON_USEDEP}] + ) +" + +distutils_enable_sphinx doc \ + dev-python/sphinx-rtd-theme +distutils_enable_tests pytest + +src_test() { + local -x TZ=UTC + local EPYTEST_DESELECT=( + tests/test_ssl.py::TestContext::test_set_default_verify_paths + ) + + # test for 32-bit time_t + "$(tc-getCC)" ${CFLAGS} ${CPPFLAGS} -c -x c - -o /dev/null <<-EOF &>/dev/null + #include <sys/types.h> + int test[sizeof(time_t) >= 8 ? 1 : -1]; + EOF + + if [[ ${?} -eq 0 ]]; then + einfo "time_t is at least 64-bit long" + else + einfo "time_t is smaller than 64 bits, will skip broken tests" + EPYTEST_DESELECT+=( + tests/test_crypto.py::TestX509StoreContext::test_verify_with_time + ) + fi + + distutils-r1_src_test +} diff --git a/dev-python/qiskit-aer/Manifest b/dev-python/qiskit-aer/Manifest index 876d54d2f194..dec853d35c17 100644 --- a/dev-python/qiskit-aer/Manifest +++ b/dev-python/qiskit-aer/Manifest @@ -3,6 +3,8 @@ AUX qiskit-aer-0.11.2-terra-test.patch 1728 BLAKE2B bafee3006858ff064285f95a6c27 AUX qiskit-aer-0.12.0-remove-cmake-dependency.patch 504 BLAKE2B 3b64e7cc3e8b3144fc6983e1c5e99cb25197a555d76a79f4d3f32afca017d43c82c96ce4cdd9fe847eb95b3a0ded1fe9efa7569e23ce0032495c1aaedc460c7c SHA512 927715515b98e617648afa869aef56a5d86607c3ef829b7fd01bc7e9df0a626827f576d0ca7579a7d75415a3d82cadbefbb697b363a584c8c2e549306057c5c6 DIST qiskit-aer-0.11.2.gh.tar.gz 6707283 BLAKE2B ae32a469d23a31f202b9f970c59e9efb76c290243bce6179b0a58590d671f6dec0428245131e7cb2966b818dae9fbe7e7078a63fac107572e9e7d4a66e47a539 SHA512 48b28f6c54c898bb3984062ec772373e90899fd436c8e00f0c4abd57b6b98ea6c647283445fe551bd516483b66d25c9861ef519f01a0d1ddc6b3ddbce07bc56a DIST qiskit-aer-0.12.2.gh.tar.gz 6979559 BLAKE2B c7f12c9b8f53a9031844e123b8ef6d723e0099be028c5cfba03143fb8b3c7269768ade99d3ef3b4b82c0b36756bf8e82971a3f70c0f5735891eb77a78a6d9512 SHA512 2a9ed6777e5e4d60a393d5a1b21b44ea3fa90fb791aeafda8bbb4ca8b55c7e8161cd5a275fd14bf968a22537cede099dbd419d1a3c5edebe85fdb82501c4de90 +DIST qiskit-aer-0.13.0.gh.tar.gz 6976422 BLAKE2B ca38dc3ec718a2e1c29bb54e69b0c327e8b0b3b7be5de41aef92c45c4e192565e43e9a21bd53bd2fa55cff4b0259052c59112d45d413d4eb3ba091e1855de4ca SHA512 3e9b8c46dcd655f44a790c6c704f8fa4adb734e4adcb5e6b7b24d7d2f126bfe55340de9814b6b7a7fc276f510dd6fd9fed8525cc42a236ed97f48199435cebe5 EBUILD qiskit-aer-0.11.2-r1.ebuild 3034 BLAKE2B 259fd84cda2e9a4ae2d7ad425f49a1fabc3330537616e9b23e6e0493fae7bc55252039a5eaaba3cb731cae293c5f43af87a124521baa6ab226ff157f96c179e4 SHA512 2c2e457ba55c25762158b5ad37878484ec857eb0445456472d279ba6a5ac9d2fd771b4e654ef72b5901f28b3b1f96eeaabfe86e0ca3a09f5dea38d9fee256f6c EBUILD qiskit-aer-0.12.2.ebuild 4271 BLAKE2B eb52bb05864e090dac7960fe95690e812eb865953229c4b0907d23c2c8bf22f0a85045edbf12c77f9a8b4ee21e0c285eb115f63d60bf9bc6b29a65a54c0259f9 SHA512 24db6a0783a47e68df22e7a9a34895051a7be8476b00b91a18831f9d5e3f877536dbc1f5aa4448ddba36f9d95a638dde4c28581ec59f8d6a9fb200bdea87d3a7 +EBUILD qiskit-aer-0.13.0.ebuild 4271 BLAKE2B eb52bb05864e090dac7960fe95690e812eb865953229c4b0907d23c2c8bf22f0a85045edbf12c77f9a8b4ee21e0c285eb115f63d60bf9bc6b29a65a54c0259f9 SHA512 24db6a0783a47e68df22e7a9a34895051a7be8476b00b91a18831f9d5e3f877536dbc1f5aa4448ddba36f9d95a638dde4c28581ec59f8d6a9fb200bdea87d3a7 MISC metadata.xml 1049 BLAKE2B e2118dc211ac8f42115959dde943a32331b4186524ef4a5a1343d8798a329e1d0de5f9a52a9c1212ec6af39392993378c6422424488782747ffbf4ab1e63d25e SHA512 bc4c9a19376938e973bedbdff0bbe95edb98c78b75d03f2a12985558a5cd5d0ceb934c43371438dd597a8d4fb8879d5483aeb8d806ac4d9b73b704d1232086b8 diff --git a/dev-python/qiskit-aer/qiskit-aer-0.13.0.ebuild b/dev-python/qiskit-aer/qiskit-aer-0.13.0.ebuild new file mode 100644 index 000000000000..9224a7dcb613 --- /dev/null +++ b/dev-python/qiskit-aer/qiskit-aer-0.13.0.ebuild @@ -0,0 +1,128 @@ +# Copyright 2022-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_EXT=1 +DISTUTILS_USE_PEP517=setuptools +PYTHON_COMPAT=( python3_{10..11} ) + +inherit distutils-r1 multiprocessing + +DESCRIPTION="High performance simulator for quantum circuits that includes noise models" +HOMEPAGE=" + https://github.com/Qiskit/qiskit-aer/ + https://pypi.org/project/qiskit-aer/ +" +SRC_URI=" + https://github.com/Qiskit/qiskit-aer/archive/${PV}.tar.gz + -> ${P}.gh.tar.gz +" + +LICENSE="Apache-2.0" +SLOT="0" +KEYWORDS="~amd64" + +# The reference implementation of BLAS/CBLAS is not compatible with qiskit-aer right now, +# because importing library causes an error. +# /usr/lib/python3.9/site-packages/qiskit/providers/aer/backends/controller_wrappers.cpython-39-x86_64-linux-gnu.so: undefined symbol: slamch_ +# Using sci-libs/openblas instead here, +# with the option to switch between reference/openblas implementation runtime (eselect-ldso). +# +# <nlohmann_json-3.10.3 for https://github.com/Qiskit/qiskit-aer/issues/1742 +DEPEND=" + >=dev-python/numpy-1.16.3[${PYTHON_USEDEP}] + <dev-cpp/nlohmann_json-3.10.3 + >=dev-cpp/nlohmann_json-3.1.1 + >=dev-libs/spdlog-1.9.2:= + >=dev-cpp/muParserX-4.0.8 + virtual/cblas[eselect-ldso] + sci-libs/openblas[eselect-ldso] +" +RDEPEND=" + ${DEPEND} + >=dev-python/qiskit-terra-0.25.1-r1[${PYTHON_USEDEP}] + >=dev-python/scipy-1.0[${PYTHON_USEDEP}] +" +BDEPEND=" + >=dev-util/cmake-3.17 + >=dev-python/scikit-build-0.11.0[${PYTHON_USEDEP}] + >=dev-python/pybind11-2.6[${PYTHON_USEDEP}] + test? ( + dev-python/ddt[${PYTHON_USEDEP}] + dev-python/fixtures[${PYTHON_USEDEP}] + dev-python/pytest-xdist[${PYTHON_USEDEP}] + ) +" + +PATCHES=( + # Remove cmake dependency from setup.py because of + # invalid dependency description. We put this dependency check in BDEPEND. + "${FILESDIR}"/${PN}-0.12.0-remove-cmake-dependency.patch +) + +distutils_enable_tests pytest + +check_openblas() { + local libdir=$(get_libdir) me="openblas" + + # check blas + local current_blas=$(eselect blas show ${libdir} | cut -d' ' -f2) + if [[ ${current_blas} != "${me}" ]]; then + eerror "Current eselect: BLAS/CBLAS ($libdir) -> [${current_blas}]." + eerror "To use qiskit-aer, you have to issue (as root):" + eerror "\t eselect blas set ${libdir} ${me}" + return 1 + fi + return 0 +} + +pkg_setup() { + if use test; then + check_openblas + if [[ $? -ne 0 ]]; then + die "Set blas implementation to openblas using 'eselect blas set openblas'!" + fi + fi +} + +python_prepare_all() { + export DISABLE_CONAN="ON" + export DISABLE_DEPENDENCY_INSTALL="ON" + export SKBUILD_CONFIGURE_OPTIONS="-DTEST_JSON=1" + + distutils-r1_python_prepare_all +} + +python_test() { + local EPYTEST_DESELECT=( + # TODO + test/terra/states/test_aer_state.py::TestAerState::test_appply_diagonal + test/terra/states/test_aer_state.py::TestAerState::test_appply_measure + test/terra/states/test_aer_state.py::TestAerState::test_appply_reset + + # TODO: GLIBCXX_ASSERTIONS, bug #897758 + test/terra/backends/aer_simulator/test_algorithms.py::TestAlgorithms::test_extended_stabilizer_sparse_output_probs + test/terra/backends/aer_simulator/test_options.py::TestOptions::test_mps_options + test/terra/backends/aer_simulator/test_fusion.py::TestGateFusion::test_parallel_fusion_diagonal + + # requires qiskit_qasm3_import + test/terra/backends/aer_simulator/test_save_statevector.py::TestSaveStatevector::test_save_statevector_for_qasm3_circuit_1___automatic____CPU__ + test/terra/backends/aer_simulator/test_save_statevector.py::TestSaveStatevector::test_save_statevector_for_qasm3_circuit_2___statevector____CPU__ + test/terra/backends/aer_simulator/test_save_statevector.py::TestSaveStatevector::test_save_statevector_for_qasm3_circuit_3___matrix_product_state____CPU__ + test/terra/backends/aer_simulator/test_save_statevector.py::TestSaveStatevector::test_save_statevector_for_qasm3_circuit_4___extended_stabilizer____CPU__ + ) + + # From tox.ini/tests.yml in CI + # Needed to suppress a warning in jupyter-core 5.x by eagerly migrating to + # a new internal interface that will be the default in jupyter-core 6.x. + # This variable should become redundant on release of jupyter-core 6. + local -x JUPYTER_PLATFORM_DIRS=1 + + rm -rf qiskit_aer || die + epytest -n "$(makeopts_jobs)" -s +} + +pkg_postinst() { + check_openblas +} diff --git a/dev-python/setuptools-rust/Manifest b/dev-python/setuptools-rust/Manifest index e73299cdaa0a..bb318fcdcff4 100644 --- a/dev-python/setuptools-rust/Manifest +++ b/dev-python/setuptools-rust/Manifest @@ -11,9 +11,11 @@ DIST dtoa-short-0.3.3.crate 8198 BLAKE2B aaece640d0f8b231081bb1534c3188dd4f9780e DIST futf-0.1.5.crate 11344 BLAKE2B 2cc5e5f5d4ace47e9273546e46c500432da47f246cee18f24607432305dec9481ec3d02b8a9bff4724efe05ea1d235294c52ee4eeb2f5f285ce56c2987b62d24 SHA512 4cee071c067c879742839d3d32192ca94ee2f9241468656357c3aed116cb7c656bf81722f32b67d60214b7db66858dca6443f0d52f0ff2114fc70971bdddd2d3 DIST fxhash-0.2.1.crate 4102 BLAKE2B efade6722efed1cff0bcf307ababd9c9031af297baf410367212758411a21d61a473456c7f9b5cb15e444d115a62120f140c082e70dd360a3ae83f2f71bec9e6 SHA512 638e1c0a4e7f365483a329e715afbc2e57e47c03b32e0e1818c879baa96996e81dce8ab39320e24a3e1633f73dec1e5f18a06c37f3ad38043002fc99b55efc38 DIST getrandom-0.1.16.crate 25077 BLAKE2B 0cbe96c27e78100c181a064e5fe524efa9a7a267fe60f8336d2ae0125883acd5d575ff17d1d56607255d9b2c30cb9d962026fdea1a5c3c29a5e0760d27c3136a SHA512 c5450c522c07c7a38b326f9a9062bac7d089630219d577ea4b55abad4e0c31d17b7cde385fc43912dfa100b42334e7a52422c55fda8b738caae428c6f9addb53 +DIST heck-0.4.1.crate 11567 BLAKE2B 520aeea740cfa30b0cca12f73594ffa655f32959673b1c9caaca1ea0162e455546ae3033881394c0ba0516bcd5c9a997da02162e1585522d665813b9096eabd9 SHA512 8c80e959d2f10a2893f9a71994720f90747742bb5b61fc0a539eed3ea5679b140c48fd7f7690d7122cd6af5f7f20a19d412e3569fe741c6d31f6b2ce1e0b80e8 DIST html5ever-0.25.1.crate 73165 BLAKE2B 70bee0c77337b2fee3fedda6fc475969b5e9a20342bf6890819fa9a69be8cac66e0dfc0a608f5cd6ba789a780f403ee736dbde1af52cb800a599b0113801dc99 SHA512 2b946224a0c5859436a57a507a89601adeffc12092376fe47429c5c5a61bd1d00b3271f0be7dea82ba1dce93a1cb820f72df8ba4c90fd13bd1ec408cff6ca660 DIST indoc-1.0.4.crate 13122 BLAKE2B f7a352bc2d19f3f2d1479b6add45daf841e02bba563ce9af115118b9bacea6bd39ab2a663bc992b2302de73b52bac1024130aab3dcd79c5b4286c93dd7305928 SHA512 b2d90f074f9a34e330d7d6e6313bd569cd857c791b8ff79191a70f19064fa53ea2ede30bbd16587fb438e69ccce4c3e2fbb127610ba8e470daf076d7373f0213 DIST indoc-1.0.9.crate 13475 BLAKE2B a9696788574e56dd125c3371169fd59d6947d188f76e2669b21c0304692efd6709cd048920f7822e92c6a5620fb178e0e85c7776118cef8ccee0f58398e14abf SHA512 db8aef4a7bb606452dc8ed45aa29a255c7a135357a0bd586fb4429c5f56a1aa2ca9400d6fac39956aeb486a15d25cf5d1b9524967867f2c651d9d563e3e85be8 +DIST indoc-2.0.4.crate 14311 BLAKE2B 8d604e20825ae64530014081c627abe4ecec6447e1e214408743aca79ed217531baad4bd7021137ae6628555d769a248f06acc556cc3254d2626074aab110a44 SHA512 ef1b8d19d89d848c1133f2865247e0ce23cbe5552454805910ed0478ac4acb11b11629aa4a5ce8756d0ed5cbc0644abedeac0246f433166c68f47cf58cf4487a DIST instant-0.1.12.crate 6128 BLAKE2B 728923f757c1ee4e4a7afb90e460eed81392068961240a538e5c6468e15a0b6491f590fb5f6cc46e6d78901ca232351f65abb9f2f230d8f4983c5e58c4011902 SHA512 fae494c00111c51c840f9dd6a10febe403e27ebb933dd16633a213e9c20f2bc11adeb431c71f8a6713bf88f270a010941e15d83df294e658791934f83a5d2407 DIST itoa-0.4.8.crate 11926 BLAKE2B e5a648b490908d0ffa3a0832342ad11264eb4357939bb39aad014aed3938bb60e82703b7e31929a458525061e9bc40539d33753bdbd722a03b6804e57dd1f70c SHA512 6911d269ff3ed7350e4f0dcfc6e9e0d70e25833e1e7cfcc57d5b8aff1f47b8be4f2e9baf1b92e5517cff63492be489b6d29b48dd9bb642e428acaa431216b68e DIST kuchiki-0.8.1.crate 22153 BLAKE2B f5e887c70e755f99faba569a2ceb3e9942d4dff50e884af1764b6cb557b90d4d89c8a800dd397898fd87c4f9e5d7a6b162b2964c8518a397e38c3919689efcf3 SHA512 68f668032cd6e1152e3eab196d7bdbc0a835daabb0de6b7ced7f463ea56224c35bdb18cc0dd7e57a90461d1ee5e0349e8488df7390580e7eea570997fb4029e3 @@ -47,18 +49,25 @@ DIST precomputed-hash-0.1.1.crate 1640 BLAKE2B 64a37ef3edd317f771e833bb394f7c19b DIST proc-macro-hack-0.5.19.crate 15556 BLAKE2B 98c22fc3e5f5fa8b6f44d15de42b6ffcc82ba3f98a07ffa48bcbc5d3abcfca6af136c5d0d8c7f1ca34261ed8f8c9c17a394231f97a4c342c81aa7f8b9e74b203 SHA512 9e4cbec41056438287f5b23086264c86e2f0cdc193064006556736377b2954229de13a585149b9995002c9aee3334ee2a80ae4afdcc96cabe7ed2bf718476952 DIST proc-macro2-1.0.36.crate 41411 BLAKE2B d7d99aed41080b65680736d92dd027e21c9e9e0b03601915c000f5dea8f2b2d9126b116af32f2fb04b4fa407775f0131423055d0b62fdbfe87fa4ba7ec098beb SHA512 f31b0f2356af2746321c4f808ac9af87d21a5657c103ed6bc1383855e40caf49246cc8ec1edff58eacf193424abfc2163148b7298e527714e65e602f14b2e50a DIST proc-macro2-1.0.66.crate 43575 BLAKE2B 9eb3e816b00fcf625c280ba14ad269f5893d0523473a24de07c21945f6f932fbd08efb3c339b35d903245510e3f065e1478439b024a325f2bb9f97bc7bcbb18d SHA512 85f5a762f9411142e5ac28144bd380f07f0633ed2e44d8a2545be9fb8f42abaca6b5d45631b4be83b8e8b9beca7438bc52f25615c3a410a3a1249474b1aca407 +DIST proc-macro2-1.0.69.crate 44271 BLAKE2B 9d1531a0b123e6238363d574bee03ad050454b65710b9800c12597f3a9ae2f9bf50c617da0472b7ac0b549afaca19c546ccd6519e648598500efda9c0db2ef6d SHA512 d197cbe9b6100c3193a01fd7dd6b4e49d440290012ababb5d9f139409f0afe816f213d67a03abeb1f3227228e0a1f2446d1dc0a2775363a15d1237c38b45d6a1 DIST pyo3-0.18.2.crate 418755 BLAKE2B a45c27639d9c4c5a4e017b7e8d7580aba285ee11295f344809e30ac23b70e4541f2cb765dfeee20fdf4d441e1449f5cad4bd6308a52822eea3595305081d4b77 SHA512 b97ebc10939418d7fe3d6219921875cc7253f3aa7cd9d06b1486f8757c6d102377eb851b3a669c670423af2c80e389b736f0ce04a6cecb716c952413d06fe434 DIST pyo3-0.19.2.crate 418228 BLAKE2B ee018b33383fada78cd22643aea9231a8c8a2f19d1eb297f40eec9206c5220f322fff4c926d939a93a24ac6d231a207ebb25afcc0709191151c7ed9af7465efa SHA512 58698183e0f2f0507f8f765bf3e90185c933e78d62f0a9be65c4b1ce8eea19a98fe0341abe7c58cafdacb63a012ec417876dccb7be6facc1360fcb22796fcaf9 +DIST pyo3-0.20.0.crate 431766 BLAKE2B 104bc21ce2c6931753ca0c7b2d91693f454c964260ca3c4628a899fc8e7edbe4238db913ed7356f3beff154d88a60a17c0e252b655768e75483e1d9d9b86f40b SHA512 85d9533c75f905752c62f6a4898582ae48daf085e287b44949c47260301205a5f00477927877ce46300d2801d22fbc04a958c058a37eb28374c834fff27feca1 DIST pyo3-build-config-0.18.2.crate 29138 BLAKE2B ad37bacda5f0e5c8eaf382b3371de251b83c721dc2378a0bd3700462bb65273bcd4277589084f6af0a2959f17b370fe5e6a5699c8689107220333c57387bf0ae SHA512 01f544938d83a8283f5101f69673f8a39d2052186e7c712709be25c5ae17a11e7d68c2fd9b4bc7661fff9343ebf3ccc196c1259321061f048c59696692601ae1 DIST pyo3-build-config-0.19.2.crate 29206 BLAKE2B 5b1cd80d643e448cf8f1d28a514333526061c178121b9a0dcb5bff6082f402ecfd166536d94d42065f6dc1f108a73f12bbb78eedf9ea053a6aa2e9c80ac00ddf SHA512 ccc73061ec1989258921c5b5800689170635fa5503d74a4ac458baef903dd31efa41995d238783f1e099ece1f66d0a0e95c4fcb4b772b9f653dbb20e838b4e28 +DIST pyo3-build-config-0.20.0.crate 29534 BLAKE2B eb1d5f75276533483c52c6fcae49b294d6d8edf504859dae18811c1ef695dc6d0a055f2a34bea305975e4c1492c312433d2dcb7753484f793376c62cd59c8e40 SHA512 a01d06ebeb4b9cfe6ff6731046101e9437498453ca5aa68ec53df3bfb2f34665a489f8072636c2da16c1e867f536032fd293f05a43561117fd131bde5fe5aac7 DIST pyo3-ffi-0.18.2.crate 62903 BLAKE2B 31e52b73705c1e5f44e419f314b1674a722a604fb52be5d5e5ff2ae9881ec9f204c1f51760570ed4c210ea530bd9295a27beaf9b5631ef02370d42d3e4c0be18 SHA512 495dcf45154ce89b8cd3a3fe193938e199465cf510df1713f7ad82e0a138ac2f8f1b73ec80f8af72f79a4ed26a9f4e4e93d52357ad4f41a213ec0c7b602734b9 DIST pyo3-ffi-0.19.2.crate 66500 BLAKE2B b4139fba31ef17017b6b60784e41ccda34931a072c2638af1eed8d02d7af701c46fe38b12772d2301cff41d10a433ff0f00a69d79d40233eadafe82abe585f8d SHA512 789191bca537998dd23d72dce4f185b84bbe700f4171c47de35b9bbca15a180ad214392b4f465cc1ecb0be955ebec1cf5a3c497815073be18035bd8bf8c51a32 +DIST pyo3-ffi-0.20.0.crate 64220 BLAKE2B dfe75b9459b4a564d1dd9f907166b76d00c5b50ba027db65d11540a7b993f3ef4e19e574135b538635ebb9c9eba66115c09198c7b6071b0b82fd94faccb1bb63 SHA512 a68f0b1380f2ac3d3034ac8b3788cd6573850137c6678694cbcc3e814b619510b9b21b11704c2e702d4eb7433d8b1d3a6dac663501b6db5197a409407802b714 DIST pyo3-macros-0.18.2.crate 7173 BLAKE2B dfa5792be03b3b1164471ef9ff4ee672fe8e57d0fc169ca04da1542d86262e7e526be079e303b8a4899bfa4b0680d38604f80263c71b33ead5bf0a60871f473c SHA512 a2c367b4b1556b16304ef0da4ed8961cc760d259da9fbdabf791ac910de4f1e9f193227f10ea4215a52c701bd0ee92311dc91d272b9364017e2f6ebde5698f72 DIST pyo3-macros-0.19.2.crate 7173 BLAKE2B 8862f42a30929579b0b0bc2ba7f0b416518724480e197fa13288e49324e851f964183e1529b7f31bf5d4fe0ae194a412723b6b401100e66fba98bbcd9c283866 SHA512 852cc2792aa3d30d9ab8802a451be5617cae6536adced1bf0dde71704a3c7c1bfe862fba751b6d045249819a8ba5d87dfc50914d142a0b662f046498c06f8c2e +DIST pyo3-macros-0.20.0.crate 7678 BLAKE2B 03fdc0cc9c735086ca2d27e0bcd197e69538c3640ba7f87bc3d65907db374ac7283f61bdb67a1d45b66ce972072ddcb3b1daed4aeb9a66100d11bba6515cdc86 SHA512 79b61f55010dad60dda2c5061c9736bef3f6805f28db230726937340a5c40a3fcfb727a0db7779c3eb094ebd45492f7af4f40a3fcaef42f160989a8ef6174e7e DIST pyo3-macros-backend-0.18.2.crate 48722 BLAKE2B 662822ae71702cb7d173c1ac7ead49cecde0dc4545bc3f5f30fd9ef7fab5537c13509bc8f18b2a8d05d7fa7f6fc8d0378a44d67b85edadfdf6ca153fc698a7d4 SHA512 433d9287bf3cdf84291c8d04ca5b24ecab2186379db554d6b2cf271e8716a890dcdc0717b2a00267e85dc637520559ef8e883bde2e2b16dd8cd580c1468c2dc3 DIST pyo3-macros-backend-0.19.2.crate 49962 BLAKE2B 9d8a032c2205f55d2431b6bbc40df153339e08479df3a8a65506ade7d1f3d17cfaf664cbd09eaec9acff3f5a248598e37427d0c5a531eaf527137803adf49834 SHA512 fd708e6fdbd54ef7c676bedc62070175bac6b8f7ae11231578196dbf552b163a8a2499a1266f786bb6bfb85517fe83610902137d59a5c42efcb1a27c4235a07e +DIST pyo3-macros-backend-0.20.0.crate 49383 BLAKE2B a239042abdfcf5ad38505b57bc6b858ba346bf8681e24acf2e433f53e4a40bf0b28928b434b96f596d12acbb602b14b7e1bbf4be1e5789e6d9c754368db00a1e SHA512 c823caba48b4a30aaf84c23f80934f0172f2c76a41b538b69ebc25afcb61611b54b8fbb4ab6cac1c7a78b4e6f9f909f22748a2cd279b508d3897b74b17021d56 DIST quote-1.0.16.crate 27566 BLAKE2B 3352f4ed2158cb8d29947d5435b7414ed223088887718f9d258f1f5d555034a4fbb79cbfb3cb772be4868be366853feabec777fba7f275ac36d8091eb3b371c7 SHA512 489f4dcaa8a8a2041b39fc8fc815fa7943c0a456881283398e4eb65f7b50f220a6e5493d60d1d5019a48b189ca217fd8c62056b552bf94b9329ec963cce01c74 DIST quote-1.0.32.crate 28037 BLAKE2B 7b243ac7929f3b2e1d91a51a2dc2b11dd29bc017be9db588c83bd137609e2f991a4f3ff8682c7c11c177153e517c4f818285cce3237f435aa43ad0126c4bab6d SHA512 13cae36920dcbd0ad1978be63f20b35b8424d02b4d9992032fa78c7770d61d1fa7ec1532a48793cab48e703236b7bee7843041253b9e83700903228078b4c025 +DIST quote-1.0.33.crate 28090 BLAKE2B 77c4b166f1200e1ee2ab94a5014acd334c1fe4b7d72851d73768d491c56c6779a0882a304c1f30c88732a6168351f0f786b10516ae537cff993892a749175848 SHA512 c1e76c3c017e8554eebe309f8167fd56fce931981c06798aa85a0cc6d64a9cba6ab103f5a1324e69c6f9ca5dc47a8e31ff2e847850542748697afcd265b5939c DIST rand-0.7.3.crate 112246 BLAKE2B ecc7c1bd70ac874c03bd8b7faa3016bb2d5ee5c19603280a12a45a81598f706e445971ee081e6ca410ab6f0f5f7a06d9315848cd556a2d8522a82024f6ff91e4 SHA512 f9b68ef9446f1ca2c8092c50990f15c1b4cb5529eeeac4df8d69755e0b7253c663c587775e7cb0a7298c31edb444975dda34926759306541f6d43d0d3cf57b7e DIST rand_chacha-0.2.2.crate 13267 BLAKE2B 7908867ceac98243ade22e1b38f1903fe0249324484d91c948a5058a1e099e5213f325c5ba3400898c8319158ed69f4ed064164f235470856a8191bd990d5a10 SHA512 1e2117442e4ffdd834dcbf0ea1829e73202c0ff9041d5969d81a59330242145f2753f2a56de2fdbff65f26cf0d227c7d08b2094ab2f946b764aef88106a6ac84 DIST rand_core-0.5.1.crate 21116 BLAKE2B e74791f941a79971f2741172d489d546373c9abcb0dfbffcb7b97b858ec800b2e0c97df4ac636f3aa1b8dd6c14685edf317336d577f31b5c6cb7d89a157e547a SHA512 4f7500b35e165e6c817fdd67a50745d5497d24e554bb554705097e37258751e8755c4d6b8a69fcb5e1977708ba78620bc35d640e4e018fcd4e88d9dbdbebdcbf @@ -75,6 +84,7 @@ DIST serde-1.0.136.crate 76158 BLAKE2B 44603c8eede428dce4211350497a443385ff0ddb0 DIST servo_arc-0.1.1.crate 9817 BLAKE2B 88586ca0c969df8bfb3a04ba4a689606995876434877a2cd48a72b26451deb6fdcf65273aa9b03948adcbc66b2450301840910e5c4162b993535d69585c62128 SHA512 59d531dcf7a9191b8462ce395e713194994714b65275c0af412186f862be169d0c6fc5d86603332a1aacd8af9ace934dc78531b9cb576cf8179ec35709225447 DIST setuptools-rust-1.6.0.gh.tar.gz 294915 BLAKE2B 1b59e917a951a0a60f7e2bb723c136bc8f7a2c92dcdf816dcf52c55bf2075e323766c3c0f6c61e9e9d519236f496a5462396ff35ae760afc1680664c0c0a9da0 SHA512 93945d06e8cb38c5764fa8ec12b039111b3ee677dfe66350a4f554f1c1622885a0dcef34a1b429172859bca1081df8b82c05ce81b6714c6d43cfa073ade75785 DIST setuptools-rust-1.7.0.gh.tar.gz 301019 BLAKE2B 8186e12c916019861d32ae2c1987d5a1266ab925972f2e248cc8d40926f7e7cd507976ccd9b3e1a4a6b8961dbcdcb43287ebb42ecb5c602b4518e8013d0c315a SHA512 08e24de0962591f98abc72d3acfe76f66784e7dd491618ae33682138cdbc714af0d030c6880d907f2be7fd56bb550a599e684374b9fa40d70766d8435f92c508 +DIST setuptools-rust-1.8.0.gh.tar.gz 305788 BLAKE2B 77343da330e1f105e511d6cc640b50e7cf343462e179bddd9db525424d921c715e8cba80e4c2f57070b827efe2fe5522d57d71617868b79500f016f936272b91 SHA512 3e98724d03f8a3c21151d2f30fd99cfcd981b46f5b76c4ba468b82090bf1331abcfe5697a4ebfc98106f02d042707e81078cad50b4ff415741569cfeda11f288 DIST siphasher-0.3.10.crate 9889 BLAKE2B e5dd6d265340b4c9e4266ab1ff3a20f1fb87fd493b2d7b5fba32d26421cc858b38929e4ab96941d0c055375b8acebbd04236d994cadca324500ed05064b9bfc9 SHA512 f90425a2cccc9575d377bb92a765d34653ddef1ac12b7c63dc6d700aaa74b525787e11609061c2d3e44ea56fe0e4b8f93f7b13f0279b5de2e0f710c5caffd4ce DIST smallvec-1.11.0.crate 34680 BLAKE2B e54d56f6bbffbfa7ce5fe5f04e325b2e5cf19d290e4be278bc00a136e26284625b9c18c7c2b10b7fb8fad0ea7e3770f3cdbcfbaa913f5ac08d0a2f8b4e0de188 SHA512 41bfbecbc2c244497568a41724d65791ec3fd6d8057813d521367cca316c09c2b28fb3973826236b01c1f5d2f905d8d22b0c3c47f957a9ff5d7685591f15ccd7 DIST smallvec-1.8.0.crate 27992 BLAKE2B d02897eb4d3901805be86cafd5d3dc6768b31c2ee4d0a9d7eb455e2a21be2864ea83589f4ffde102dbbafb66e3c197707af770b5ef184b8e244d992189644b84 SHA512 17687cfa6aaf95a1df063adc3a412a7c41918a0d003eaac90f7d9e859fb8fa1d652eedee17a4cb3aaae9b33a2043f89e796519e3a7a3992b292f04049bf80b0c @@ -83,27 +93,40 @@ DIST string_cache-0.8.3.crate 16261 BLAKE2B 6c94d4158c095bbb82bc2daf071a698e4dd9 DIST string_cache_codegen-0.5.1.crate 8243 BLAKE2B 3ce7bd89edfdd58260fb58e7b954eec503dab2562d13274f401a0af5f7e5152a660298e9884f578e361557225c67c80c0342e5c71d47aad7ec43a47ea91c617c SHA512 c3aeb752cbdbcb78cee6156b726264d182e77b3d6ac89066c366d87d8bdffc32d83e6e59a40471f07d7c827717db25fa6fb489dbd3a650f2fc252a7c85f4ecae DIST syn-1.0.109.crate 237611 BLAKE2B e827445d00c79a8eeb91eacde472f1987addd6ce9e1df95d7abf6446a77ff4173a8006845f3ae71c1da47193cfb72e0ead9a6d6bad2573be12c17e90735d9ad9 SHA512 12816b9e8cf984024b2fbce9f0ae14cf94d4d2c06f08cc54fb793ce78770bb4cc1288eb7df0ba5e8e937756e1e8e295c53fe07a0c5dde1ea8ddba03b6203b37d DIST syn-1.0.89.crate 235966 BLAKE2B 8f0e5be9f04f5faeb080fc94d13df0926f03a15ff702a2a88e5eb3194215441882c6f2795506ea05cbafc66f6844de3dc61aef720495932f4675c34be0ef6ee0 SHA512 6b2a9411c015b2b0ed5c5e18cae67f357d1a735e184416c6f8533be191ba65c0963dc9341ba3829195c6616ce71d4a79cbc7768fdbaa98b798b8f67746c6ab4a +DIST syn-2.0.32.crate 242504 BLAKE2B 2c2938c0d711c684c9baf95538e2e76220418646590474b2b654d9242d2818aa7c3e5990208fe231ef64903df17edbbf6cc930e6224c964cad4eae5aeaeae781 SHA512 609f125f8138d17b1185760b1a63f3713079f5214fb56c23012229a56d10ac1c12654466c9ad1ecd6b2aff1126d125abfb0a42bd7f669635e5024b962b0cb0af +DIST syn-2.0.38.crate 243284 BLAKE2B 660de454989016dbb352c262d5d066ddc663eafcb928a2f62f61e6faf14cceed5cfbc37559e3795e1ce7886c78842be71eaa82ddced0cd6dd99ad99f95ab8ca4 SHA512 84fd4f4bc6de97cdb63a1ee9161daf8fb8fd1fa0f3c3bba4a29c463cd62cffd292c45b8cf17fd0911e580098cadc7b167e4e686595d31d72e7b53ee7df6d5f04 DIST target-lexicon-0.12.11.crate 24594 BLAKE2B cf06720caecb5b5758f05c6375fa600da9260aac04017458060406a042dc578d51a2c5b6f189345d45dacea42ba01fbe46853d07f70d7b37cba17d87aa101f9a SHA512 f38701a8e9dd17b7db591b1b4c82c3b75d317e003262bb7b09b9cabd3afab5ab79c02a7dd524910b6941ada3a8f1378ea9e199b2b5938f8f01ee75bb0eae8718 DIST target-lexicon-0.12.3.crate 22990 BLAKE2B 7ca04aab44917345e51c7212e8f9d24cc0c7b759cba6031313c2a6f5bf4139b34be27e65ad150fd83f14b440a8e4ce125d156634409cbb2ec01cd370b213e738 SHA512 4ba0de71cf27c4ee330c9b61fc0318cfa3e179b57a7b0a79f296e0b33602c664c4ee2a676d09e0e104add2e0b56144cb5ddcc096a16f332f67862ee94b052f86 DIST tendril-0.4.3.crate 37210 BLAKE2B 0a70926644e8dc492247d49b8939169702903c2458d7b2c0fea2e6ed54166909f484e8e876eddc8ff7491642ec24a200c5d1e51412c6a7c26ee60f1f4164e98c SHA512 53f074aec6e59717fca280b1764f6c2e0a1c073336f48d012ff268a7189697d42d24a91a6a549c7d9e1fe8b0006e34c219f4dba3cc95247d3905c6f8a6a8186f DIST thin-slice-0.1.1.crate 4484 BLAKE2B 7efcd3c30dd24c22641139288b0c530ffe56dd82f26c2c31f557f1fa09ced695cf12b645fa6bc4c12324af0b9b05792a9cff422b6deee3bbb06b57a7cec06f47 SHA512 27b9e6b2a8485b3f89f659d80d67ccb96370f3371996e39f97784c40bdd7fef5429fb96f48d9c045eec5906051708f169fe4ca8f5f546a25e5f6859cafa42925 DIST unicode-ident-1.0.11.crate 42067 BLAKE2B 3c7cac3d2bf1cbf1cf04716a482f130123e8e6940f7a90a17bc62fca44ac0069688165538f5329b95a72f735b594cfb85e3250738393ffd1b53cb0cd95077d89 SHA512 9682bbee339fb987c9d0bb6a54406d37b28b5c3587372d406402e4341900fec97e3234cd03b5c98b90b6378fd533dc452cac3de90d3ade19c4b09657e4abf6df +DIST unicode-ident-1.0.12.crate 42168 BLAKE2B 4cede03c08758ccd6bf53a0d0057d7542dfdd0c93d342e89f3b90460be85518a9fd24958d8b1da2b5a09b5ddbee8a4263982194158e171c2bba3e394d88d6dac SHA512 bc1824e1e4452a40732fc69874d7e1a66f7803717a314790dcf48867eba34bc9441331ef031e386912e52c385645c25b6ed39d4f149973b5b97371b1b96b1920 DIST unicode-xid-0.2.2.crate 14955 BLAKE2B 6c6da49ac08dbd8b3248272224d6bff96b9cd1f36029b1937a58a0b929c3a48326053305ed49e73edd70f572f5abbc4817cedc899c69e3457805ad056669f6af SHA512 92ffd0dd34e3ca235ecf110b38c447d3ec1faa23d76c112457f28d432f92fa6b5f428bc5e1bfd278f361f55426dd96e19ecb0d3eff6cf250892f069c52bd89a8 DIST unindent-0.1.11.crate 7700 BLAKE2B d4d1dde410c4194acb51f74f374cf11fa872e49fad8f5f24b596d72476403e5e312fedf7b0bcb1027384d53c8de565368d63c30eaf70a6e6cd958b82e5288ca3 SHA512 f800d6c37fe72477908c91457a738a73d2b8085bb5ae303d6d954405d6ccd98833b5da16a12c3ad1ab75d32a68dedc706dfaacc0fcbb95571dd829cdc03a356a DIST unindent-0.1.8.crate 8326 BLAKE2B 3123c6b540b152d89cc7a9a76ff1315549f973c6a26adc6ca1b40518973fcc95a9f8da94d1c52ee551f2870181a265aac7e4339a3d46ba5280021b49ad842df2 SHA512 7752f4a29306b3c43f768bc400d610d1537457b22cceae8a5ebba31c857e219dc433a10a676d3cf94316a7cd6c7013c8960c825c6f1f9db5a3c2edd0a60591a8 +DIST unindent-0.2.3.crate 7306 BLAKE2B a57407b117e99c230750c7d4a2a0899586c8271e4ba88ecb409c976905c014f42885372c234a75fbfbedf71dbed779f95f735975d150adacdcb61152a49db4c2 SHA512 2f1eb420ea3653b00d3e5fa0c2c105da8fd8a37cb3e699373c168604b799fccd5f0faf0cddce4212d119c2afb0c86b41efc3a50752b83ff7beda2bd84d360505 DIST utf-8-0.7.6.crate 10422 BLAKE2B 296690040895ba9da9e69d527aea415f4bd6bd3c010e67a08f9cffd2f4cd92a99f9ddde77512f9ef5a0db069ac9ac3cd6fd91aa18f0bcadf870ed212fdd76f2b SHA512 6bf0787cc297a1ac4e47389464d05ef6850602f549621687e776618bec96c1f7bacbb1ac8faaa63e5d28d975b850db8d6c784eb66e2466128f0521b91c14015b DIST wasi-0.9.0+wasi-snapshot-preview1.crate 31521 BLAKE2B 716bdd2ec46d0bc9911c5e5e29fc783840559931b2563d8619675fc11da9527ddbe653a0f1ce0b782ee0c5f7a3131aba2b0867d415f003aa9c2389357569e7dc SHA512 dbe641f796ee3a5daafcaafc911ecc6dff170340f477c2df7a61fb4858a85aefc2637c9e61973ecce66a987aa8e08a736273a4aad3ef47eaf61ed4268dbf9c47 DIST winapi-0.3.9.crate 1200382 BLAKE2B cb5799749ccd935ea2d7068d953cecf19f543d9db7dc16ad4584bb7005373ada34937a3ced7225544d8bc765da599911c7a3190efefb3a25b7c1bb7123b4f673 SHA512 ff8b7b78065f3d8999ec03c725a0460ebc059771bf071c7a3df3f0ecd733edf3b0a2450024d4e24e1aedddaecd9038ce1376c0d8bbf45132068cf45cf4a53a97 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 DIST windows-targets-0.48.1.crate 6902 BLAKE2B 8e6cd47dea52131c66983cbf4982e88f7bd30416dfae4e380f7afb39f67ee0ac88d40769668dd5aba40d4415f9f00cbc2ac98d598506fed26029f5ec4df3a2c5 SHA512 e48179620cce528292167f1d5ee2deea0659569c996dc90eb4ab62b9ea8baee6c0bea3ab739e06d8793c9690bfc895545ed0039cb633ca39293de79c42ea9de2 +DIST windows-targets-0.48.5.crate 6904 BLAKE2B 7396bb210f37bd51da86f39fca3425c8f6610721d5c4e94f9fafa0a8a8046303b3fcc6979146bcfaa32f4406d242a0455f6cbb220f84c6ff84650e755acf5223 SHA512 e079eeef255a046be7f8e6a31c14f7b230254ebcf05eed2944827bb3d2a0dc30940d87593cf544d5e7ef35f6312b99430efcfb01421d91b02bb9c4bef7d98709 DIST windows_aarch64_gnullvm-0.48.0.crate 366543 BLAKE2B 9b10f65089fe6da3ff38a1061783f635644ae84f567f891eaced280af68f7ff3919b34289e8850aa34554bb0346903273ff0a7fa743ca8794c2d23a9f1b0185f SHA512 80c5aa74c5669f7acff3882a8e7575f15e8d7cc58c11a1cb731ff423eb9cc9ba43cc6b80e52803c0d44e6a9001655ba87de6f43a9fe858da6d6e3a5c983a2711 +DIST windows_aarch64_gnullvm-0.48.5.crate 418492 BLAKE2B 5c6f7d73ad05740f0bac304ed1ef9b2ea63b0d6ca8f875552ae299a0b73b1557e8fe996f1c2b69be9f2df350c9288690f49ee62239a2896991364331d6c55462 SHA512 20158d31454488f6053d3ad7b97d7fc6eae6cf37e4ba0e50c28bd29b368505eed64199ae31104d5f97b66846be54e5ed25c0ad31ea850819205c573a31ac0996 DIST windows_aarch64_msvc-0.48.0.crate 671479 BLAKE2B 0c80f210437628e1d878d1d14e884fea532c7539b3030aa76d46f27d02372c715c6e33d7efdbbd770666472b44a66c30711a33d819ede9cdcd51c96355802d45 SHA512 617e47a7202f1db4dbd3ecea509682135ccd85e3a458c0331b9bc7aa1d84e5756b59c881cb098d5c6d4c951248d13c8253a8e8a50938e1997bd19ceba77262df +DIST windows_aarch64_msvc-0.48.5.crate 798483 BLAKE2B 60c466d6536426425a34b5ca20da97c8127ebeb4fb9b1363911165bada484f8913fcd50e90410b5661e0c27dbfe8f4eeaa62fb17d1f3566bfc82b6255e11619b SHA512 223f016c6f1a44dbc5c8a8428b39438f75380ea06951b7c26ed0877b19d79410c6fde5e4c7f2c839b6e76159131f39a1230e0e3a208dfc425ba9117e3665c4ff DIST windows_i686_gnu-0.48.0.crate 741490 BLAKE2B 5a4a584f8d8ee5bbd2d4c5b6749a66f2d43fc9e4ef90faab2227709b270f0d46fc26578c029edd96877c71309316ddb32d91c39f46d88f9a484c614f866e3dbe SHA512 15149fdd48b61b6d993acd392dbd353d0280d984ea88745217e4207937174bb90cdd9701f69ff0fe06a842f03607cbb57937d20d79ab577181e605a8a8fadc68 +DIST windows_i686_gnu-0.48.5.crate 844891 BLAKE2B fdc37cd74a4982056bf22fdb7b84e1c55dc838f3cb19ff3648730a77e673ef4ecc0380b3e4277bb8df2fcfa25f57b69014713d9e3ed27c28e19b25b3ea2ab774 SHA512 931ba5c1e4eb8ae73248e00d9611298d1c4b4b0dae719fdeb9243930cd420a103a7bc2738e0a4887c42c8f25728d6c5d64ad141dc092bc3f1d0f35dbe37d303a DIST windows_i686_msvc-0.48.0.crate 730056 BLAKE2B 4e4ad6ed94948145199c2ed50fc65e4af08455a0fd058bb0f763d481f30b029f99a2b8dbac087b29e762500a19270f6683baf62ba99d141eb002a5b0b5c8ea05 SHA512 11a50800e709712dbea907275bc0faa46d2eb2969118445ed5b932d9c5957a09592a5b26a40e554c1f5fd56c6d074a07637e6f88eedd2224e1001e62df7b469b +DIST windows_i686_msvc-0.48.5.crate 864300 BLAKE2B 3d3ea8be55e2d6ced0eeda18abe1dffb925a1a78f456d683e4450d9f2fd287ad2e8494d65b2b770c677a12b3a60d10f0435e16c61880e3867c3657fd44892442 SHA512 70e2fb4fdb006a4cbd43ab2c7e940b277a15fb1790dfa2d1fc1f1fd18bead4886f6dc046e44326603e4894d988578917b8932aba5d9a6a4cc8424911cad9dc7e DIST windows_x86_64_gnu-0.48.0.crate 703595 BLAKE2B b227efb78a99c43d0538cceadada3fa1840df29adc665787fdcf845b73e77d782da8a9f9aa602e1da61401b550d0107176feb6c397c922a6240b38cc8f04a180 SHA512 38eff1164fb37dbd2bbe53404b20cba92de84cbbd5e4eb9ad60d51fb43d6fdb8b87a1488e2c88ebd4b3ff3b708f93fdc05df4b14a285d3ff11c33ff0d9828602 +DIST windows_x86_64_gnu-0.48.5.crate 801619 BLAKE2B aa7e7e6a6ff9f9553ada3a0a39a9aa798e9d995a8eef36e0b6fdb2a0db93ddecee5548970575271fe43aec74797a420d0ee231d503b5bad1bd999059261e0e33 SHA512 1d6056fae430b3d042bdff3c6217c76be4b8b9f5dada9bad06beaac2db7d7ab9b0a82e44f498ec88e61afa73e99f56d84d445dc3847732b9ce5d947e08485f74 DIST windows_x86_64_gnullvm-0.48.0.crate 366536 BLAKE2B 295dc3aef18c604d1579978045f4058b1a315083a8ab842bddf5800ec3460b1530ad88c3464acab712a229290aca235810de8a3b6a253859a354d9fa97277e58 SHA512 8d82fad4c8445030844708aa026a62f1ca43362b8e15f14b0d226c7e9cda04ffa0715087b6a025dbb738e8891de24fcc4a2df071a532917cf03c4a46f934f396 +DIST windows_x86_64_gnullvm-0.48.5.crate 418486 BLAKE2B 12a2199d434617c1df1a839e9f435620ad64b40c579f6d0c3677553ad7a48e5765d12c266b04946402e15c92cff2e4ac4979ce2130750ef426e2672119680284 SHA512 c016d5b5e73832b61ff67929d92fa8c16e154656294357266ad29ce1f44db4ca2d2935dba31a6b571187dc838b1d22f1e3b41fefffd1d719a338439adf1646aa DIST windows_x86_64_msvc-0.48.0.crate 671422 BLAKE2B abb063610dcc38581657133182b7d9efeed5553df67bd2bd6f30f1668a645186e4824f9ef556a5abc84ace10b1b437b6325bbda6df5a64ce880d7dcb743ac786 SHA512 6e598b8e3ac54912a8ebac01b0dd2c58fd282072527d7fedc7f6ebecdfb7dcb09ae46c22293bc0117849437f8b053db5e90406e7a38276f0f0afd06be3966795 +DIST windows_x86_64_msvc-0.48.5.crate 798412 BLAKE2B 8abc0721e2fb337fe17c91d278947d36122d9045b839ba0cf3e690202d242265b676f23cc301da5f9d98c56ca4ecb76f7d6f072ee71bf986a1deca87020b90e5 SHA512 fa1c5cd14ca2ff0082e2504cf59d317dc4dc6f7138d35c12f95d4476a9c13d8b7f5537d0ee251eee7c99411ad31b22263171b7fbd391daa5d3ea3488ceaa61a0 EBUILD setuptools-rust-1.6.0.ebuild 3314 BLAKE2B 0de9475e1796667f681e291876d7fb162078ed35ea66e7962b4585e3701cd67bcfaf02f6204507e25055f221096c42a8a88352470e7e9199b0de674c374d340c SHA512 d87dcb839bac363c98490cfe4fee34e88b03afb0095bda5a151a333b054674103abc20a4caa38ba27d8a307d4a90af05beca3a53bf9fb778ed725946beb50263 EBUILD setuptools-rust-1.7.0.ebuild 3809 BLAKE2B 3a8d546d54f27a018e1754a2b94664495c53b511d5e652e96d3ba049f7cce632352056de8be63e5cb973a4927a3ec351b70ab35b3fd8d0c246ca550e6d94182a SHA512 fa51dea1cebbd0e4990d8e26255a3f1ba6d577b41aecd2e6ef0cc45d7a6f34563c0c83a7a5d4d05f7a48922b30ebfe670bfd01b4a869163bad93cd4d6ec564b6 +EBUILD setuptools-rust-1.8.0.ebuild 4141 BLAKE2B 0314e2dcc47fab7e0f26a397305b2f839527f30496837079b11c0a01d0beba5c698b9bd2d382b302dd5a2719bc46eddcfaadb76ec8255c812b475096110a1656 SHA512 6674578ebad3d2938d89bc31650e1fecbe0cd84b8a978223eb870892b50615a4e189733308706e89ce9cebe8f55f2eda0727d06a97061bdb3e8cd41bddf22982 MISC metadata.xml 476 BLAKE2B c8f0ef0779f0a4412a7d9b97e1bb03e3bfb3c031209f489a100b30402d99224014e379712989afd0cb76c85be301dcf9a51e21e8f9195262c5920dd1db0703d1 SHA512 af74755e9e8fb61cbded2dc3e63cd20f95393ef2650bed9f81e299f7759ae79c63b45df8048cd0fe25397ec7db10156be681fa5278606a20481f78d5279b815b diff --git a/dev-python/setuptools-rust/setuptools-rust-1.8.0.ebuild b/dev-python/setuptools-rust/setuptools-rust-1.8.0.ebuild new file mode 100644 index 000000000000..6cb7508ab8ea --- /dev/null +++ b/dev-python/setuptools-rust/setuptools-rust-1.8.0.ebuild @@ -0,0 +1,199 @@ +# Copyright 1999-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +CARGO_OPTIONAL=yes +DISTUTILS_USE_PEP517=setuptools +PYTHON_COMPAT=( python3_{10..12} pypy3 ) + +CRATES=" + autocfg@1.1.0 + bitflags@1.3.2 + byteorder@1.4.3 + cfg-if@1.0.0 + convert_case@0.4.0 + cssparser-macros@0.6.0 + cssparser@0.27.2 + derive_more@0.99.17 + dtoa-short@0.3.3 + dtoa@0.4.8 + futf@0.1.5 + fxhash@0.2.1 + getrandom@0.1.16 + heck@0.4.1 + html5ever@0.25.1 + indoc@1.0.9 + indoc@2.0.4 + instant@0.1.12 + itoa@0.4.8 + kuchiki@0.8.1 + lazy_static@1.4.0 + libc@0.2.121 + libc@0.2.147 + lock_api@0.4.10 + lock_api@0.4.6 + log@0.4.14 + mac@0.1.1 + markup5ever@0.10.1 + matches@0.1.9 + memoffset@0.9.0 + new_debug_unreachable@1.0.4 + nodrop@0.1.14 + once_cell@1.10.0 + once_cell@1.18.0 + parking_lot@0.11.2 + parking_lot@0.12.1 + parking_lot_core@0.8.5 + parking_lot_core@0.9.8 + phf@0.8.0 + phf_codegen@0.8.0 + phf_generator@0.8.0 + phf_macros@0.8.0 + phf_shared@0.10.0 + phf_shared@0.8.0 + ppv-lite86@0.2.16 + precomputed-hash@0.1.1 + proc-macro-hack@0.5.19 + proc-macro2@1.0.66 + proc-macro2@1.0.69 + pyo3-build-config@0.19.2 + pyo3-build-config@0.20.0 + pyo3-ffi@0.19.2 + pyo3-ffi@0.20.0 + pyo3-macros-backend@0.19.2 + pyo3-macros-backend@0.20.0 + pyo3-macros@0.19.2 + pyo3-macros@0.20.0 + pyo3@0.19.2 + pyo3@0.20.0 + quote@1.0.32 + quote@1.0.33 + rand@0.7.3 + rand_chacha@0.2.2 + rand_core@0.5.1 + rand_hc@0.2.0 + rand_pcg@0.2.1 + redox_syscall@0.2.11 + redox_syscall@0.3.5 + rustc_version@0.4.0 + scopeguard@1.1.0 + scopeguard@1.2.0 + selectors@0.22.0 + semver@1.0.6 + serde@1.0.136 + servo_arc@0.1.1 + siphasher@0.3.10 + smallvec@1.11.0 + smallvec@1.8.0 + stable_deref_trait@1.2.0 + string_cache@0.8.3 + string_cache_codegen@0.5.1 + syn@1.0.109 + syn@1.0.89 + syn@2.0.32 + syn@2.0.38 + target-lexicon@0.12.11 + target-lexicon@0.12.3 + tendril@0.4.3 + thin-slice@0.1.1 + unicode-ident@1.0.11 + unicode-ident@1.0.12 + unicode-xid@0.2.2 + unindent@0.1.11 + unindent@0.2.3 + utf-8@0.7.6 + wasi@0.9.0+wasi-snapshot-preview1 + winapi-i686-pc-windows-gnu@0.4.0 + winapi-x86_64-pc-windows-gnu@0.4.0 + winapi@0.3.9 + windows-targets@0.48.1 + windows-targets@0.48.5 + windows_aarch64_gnullvm@0.48.0 + windows_aarch64_gnullvm@0.48.5 + windows_aarch64_msvc@0.48.0 + windows_aarch64_msvc@0.48.5 + windows_i686_gnu@0.48.0 + windows_i686_gnu@0.48.5 + windows_i686_msvc@0.48.0 + windows_i686_msvc@0.48.5 + windows_x86_64_gnu@0.48.0 + windows_x86_64_gnu@0.48.5 + windows_x86_64_gnullvm@0.48.0 + windows_x86_64_gnullvm@0.48.5 + windows_x86_64_msvc@0.48.0 + windows_x86_64_msvc@0.48.5 +" + +inherit distutils-r1 cargo + +DESCRIPTION="A plugin for setuptools to build Rust Python extensions" +HOMEPAGE=" + https://github.com/PyO3/setuptools-rust/ + https://pypi.org/project/setuptools-rust/ +" +SRC_URI=" + https://github.com/PyO3/setuptools-rust/archive/v${PV}.tar.gz + -> ${P}.gh.tar.gz + test? ( ${CARGO_CRATE_URIS} ) +" + +# crates are used at test time only, update via pycargoebuild -L -i ... +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64 ~arm ~arm64 ~loong ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86" +IUSE="test" +RESTRICT="!test? ( test )" + +RDEPEND=" + virtual/rust + <dev-python/semantic-version-3[${PYTHON_USEDEP}] + >=dev-python/semantic-version-2.8.2[${PYTHON_USEDEP}] + >=dev-python/setuptools-62.4[${PYTHON_USEDEP}] +" +BDEPEND=" + >=dev-python/setuptools-62.4[${PYTHON_USEDEP}] + test? ( + ${RDEPEND} + dev-python/beautifulsoup4[${PYTHON_USEDEP}] + $(python_gen_cond_dep ' + dev-python/cffi[${PYTHON_USEDEP}] + ' 'python*') + dev-python/lxml[${PYTHON_USEDEP}] + dev-python/pytest[${PYTHON_USEDEP}] + ) +" + +src_unpack() { + cargo_src_unpack +} + +python_test() { + local examples=( + html-py-ever + namespace_package + rust_with_cffi + ) + for example_dir in ${examples[@]}; do + pushd examples/${example_dir} >/dev/null || die + einfo "Running ${example_dir} test" + esetup.py build --build-lib=build/lib + + case ${example_dir} in + html-py-ever) + pushd tests >/dev/null || die + local -x PYTHONPATH=../build/lib + ${EPYTHON} run_all.py || die "Tests failed with ${EPYTHON}" + popd >/dev/null || die + ;; + *) + pushd build/lib >/dev/null || die + epytest ../../tests + popd >/dev/null || die + ;; + esac + + rm -rf build || die + popd >/dev/null || die + done +} diff --git a/dev-python/subunit/Manifest b/dev-python/subunit/Manifest index 5e7b6d0f22b4..7506198c8716 100644 --- a/dev-python/subunit/Manifest +++ b/dev-python/subunit/Manifest @@ -2,5 +2,5 @@ AUX subunit-1.4.0-werror.patch 1307 BLAKE2B e714e82827c0c30b514ea9f43dfcff1702bd DIST subunit-1.4.2.gh.tar.gz 112283 BLAKE2B 195318de120f1fd7cff7173ba056bf5b37983db3527ca7d0f6be7ae9889b99e9c143c92a71d7bd1bada9458b7af402bfbee4153292e58a546e88ca2212ee547b SHA512 21413f0ed26f5f0572249ff4bcf948ea25d9185a1df73421836b9b21e11f323300f93a0275f0d64dc7c81a8e038fa0661a34f818bb038abf79c0637e051bc69e DIST subunit-1.4.3.gh.tar.gz 105275 BLAKE2B a203d1fc7851cbfe50c419dd9547353912dac2f49f6182f56f424dd839e635aefa00080d1476e589249286215b53f3393a654a062e4c264ddd8915ee4bc6f929 SHA512 831d435963de9e5e58961b0d97b628ac48855fd956c3618ba53b5e372a967e33a2572755869838f9d5e1ff2b206ffc5b93fecb0738b922d23dfb9c7216efdcf1 EBUILD subunit-1.4.2.ebuild 2041 BLAKE2B 71672a989cc930cc579300645a0b56da9be4ff5427582ee12593a4c4da23cc848faca229ff564642d723138ba5f4e396cd44677cc0056f3aaa38c6196f5cf611 SHA512 ed10b7fc8d9a95b9dadbc296942e4513ea6fe906055c55c92320b2578728e37e6ba3787145ed44cb26460ea6641356b3d17646cdbb206f150022947c82c34960 -EBUILD subunit-1.4.3.ebuild 1921 BLAKE2B 259d471d5e413678534a5d210742d7858d3bc082515e3a934bc518d0dc710ec9c6a41d701bc24101d07d6668db918095c5a22859aa4fc1d8979e9d88a140e0b7 SHA512 d998998e649220393f89adad663690eb252e73720f3ce1a38540764ce6297d27695a912a7b2d72207b7dc54ec9bce993eb03de61e0777cb08dec11255e69504d +EBUILD subunit-1.4.3.ebuild 1920 BLAKE2B 0873a74df4469db951afc865873e8742af84482b8129f268b0aeace7473b636200d689939c6eb13355a5b8f47bfe2238004ebc3e78c3ebd7a32262a58e683aaa SHA512 aa4d26e776dcf68cf3afa12a4db7c9f599850cd871d2f788d7db7de3664b95f99572540fd98dd6f83c4817dad101e4e0a96f50690dfe6edbdfc945363dad37ff MISC metadata.xml 536 BLAKE2B a2d8868bf91b862ea393f908c5ae6924dc70fcfa5e2d58692d61c1a45ae33bb9301c82fc032c5951491857da923bdba56f2ed11c149df7b11a4fd9037d1e5a23 SHA512 15d6a7804d14048e959dcaee03bcb2069110ab930368b2b9c31c78b610fd35beb1f714e3d109de2903dba62600b0013d6ef7f5794e828dcc6b34755e35d1836f diff --git a/dev-python/subunit/subunit-1.4.3.ebuild b/dev-python/subunit/subunit-1.4.3.ebuild index 86c321187762..5530709ef362 100644 --- a/dev-python/subunit/subunit-1.4.3.ebuild +++ b/dev-python/subunit/subunit-1.4.3.ebuild @@ -20,7 +20,7 @@ SRC_URI=" LICENSE="Apache-2.0 BSD" SLOT="0" -KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~loong ~m68k ~mips ppc ~ppc64 ~riscv ~s390 sparc x86" +KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~loong ~m68k ~mips ppc ppc64 ~riscv ~s390 sparc x86" IUSE="static-libs test" RESTRICT="!test? ( test )" diff --git a/dev-python/typeguard/Manifest b/dev-python/typeguard/Manifest index 3f885407caf0..f45052281320 100644 --- a/dev-python/typeguard/Manifest +++ b/dev-python/typeguard/Manifest @@ -1,5 +1,5 @@ DIST typeguard-4.1.4.tar.gz 68958 BLAKE2B 92147b2d8e2c444d4e8085ebe337aee4e1be771678ef84c7fca14aef8a3b18c51dd694948fa0b0a4c3bfa1a6e1c11fe38d1990cd734cfbc358a8a54a731e018a SHA512 fc1b8c154d3e26f83241eda5e7781a8d09ac7cb5d5da5809bebf40db7a1691afe008384bdaafbfca4f3eb619e452c8bb841d5691e90bcabb95ab00b710d03c98 DIST typeguard-4.1.5.tar.gz 69228 BLAKE2B 2af39b1cb179483e167b8cfbf053e633f5947b3a17c496aaa2bdf22f3a69f7b41e2c9f317534eb12ffb781364cf81d117ced9fafd389aadd85d16d05e42bff0b SHA512 50bf3760246dba5de2e98038c78acbd6f2fd2d69ae8c688c3efeface5ef6cc4c2521f82d6084dabc1258286ac589ff94f1b9e3c9b67e9b019d725bf13884fce2 EBUILD typeguard-4.1.4.ebuild 942 BLAKE2B 51d767682bdbea3e1b694fb3f2c816d145c815e157d8df1858cc73d992af74423a248b2a0038f06e653e4f21dbe9526f542d0c8c9d4597d1188da795de12f7ad SHA512 61cbfd90af8325f3cac03b2fe49cf69475f682be54783f88f8d04298ee12e6cee5d8e61cbd6cb7f0007756b4e259c363805169e96aab3cb3738abb557647b255 -EBUILD typeguard-4.1.5.ebuild 943 BLAKE2B fa2fe76f733e6ea39c292439c52afe130f402809a05190a37b6c160f417e6d19b0c2ef2b6fcf11a738fa0c0fc79a806624e3353b6457ac6df30a68d6e8265bdc SHA512 1e47479161f85ed9ab5f2673708830f5a1e04f89bef606d37349b2f443c2a936d4986670dccbe06e468185cdf0f6d42205de95fd1941416fdb5adec1fdc738ab +EBUILD typeguard-4.1.5.ebuild 942 BLAKE2B 51d767682bdbea3e1b694fb3f2c816d145c815e157d8df1858cc73d992af74423a248b2a0038f06e653e4f21dbe9526f542d0c8c9d4597d1188da795de12f7ad SHA512 61cbfd90af8325f3cac03b2fe49cf69475f682be54783f88f8d04298ee12e6cee5d8e61cbd6cb7f0007756b4e259c363805169e96aab3cb3738abb557647b255 MISC metadata.xml 350 BLAKE2B 78dc7293e08dae7974b38d84ce457ceddc5888a7278c1b149b8ba3057f07130b2e002dd78a9df91fd09d85b7ebc26272b4c78dd96c6cdd3938cff67b9c451366 SHA512 1fe4c4164b0732bd294815dacdd46a70ace6e8886343491232fb59b6b3697316c3eac5dd72e2e4758d87fd093d845f4453b8f278009be640ca1555413f47e869 diff --git a/dev-python/typeguard/typeguard-4.1.5.ebuild b/dev-python/typeguard/typeguard-4.1.5.ebuild index b20954b320d3..fcb8380128ee 100644 --- a/dev-python/typeguard/typeguard-4.1.5.ebuild +++ b/dev-python/typeguard/typeguard-4.1.5.ebuild @@ -16,7 +16,7 @@ HOMEPAGE=" LICENSE="MIT" SLOT="0" -KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~loong ~mips ppc ~ppc64 ~riscv ~s390 sparc x86" +KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~loong ~mips ppc ppc64 ~riscv ~s390 sparc x86" RDEPEND=" $(python_gen_cond_dep ' |