diff options
Diffstat (limited to 'dev-python')
40 files changed, 630 insertions, 919 deletions
diff --git a/dev-python/aioquic/aioquic-1.2.0.ebuild b/dev-python/aioquic/aioquic-1.2.0.ebuild index 9b56ec51d9ce..1cc84188669c 100644 --- a/dev-python/aioquic/aioquic-1.2.0.ebuild +++ b/dev-python/aioquic/aioquic-1.2.0.ebuild @@ -1,5 +1,6 @@ -# Copyright 2025 Liguros Authors +# Copyright 2024-2025 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 + EAPI=8 DISTUTILS_EXT=1 @@ -16,12 +17,10 @@ HOMEPAGE=" LICENSE="BSD" SLOT="0" -KEYWORDS="amd64 ~arm64" -IUSE="" +KEYWORDS="amd64 arm arm64 ppc ppc64 ~riscv x86" DEPEND=" dev-libs/openssl:= - " RDEPEND=" ${DEPEND} @@ -33,9 +32,4 @@ RDEPEND=" >=dev-python/service-identity-24.1.0[${PYTHON_USEDEP}] " -src_prepare() { - - default -} - distutils_enable_tests pytest diff --git a/dev-python/aioquic/aioquic-1.3.0.ebuild b/dev-python/aioquic/aioquic-1.3.0.ebuild index b428d3d5c509..1f140eb0e800 100644 --- a/dev-python/aioquic/aioquic-1.3.0.ebuild +++ b/dev-python/aioquic/aioquic-1.3.0.ebuild @@ -1,5 +1,6 @@ -# Copyright 2025 Liguros Authors +# Copyright 2024-2026 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 + EAPI=8 DISTUTILS_EXT=1 @@ -16,12 +17,10 @@ HOMEPAGE=" LICENSE="BSD" SLOT="0" -KEYWORDS="amd64 ~arm64" -IUSE="" +KEYWORDS="amd64 arm arm64 ~loong ~mips ppc ppc64 ~riscv ~s390 ~sparc x86" DEPEND=" dev-libs/openssl:= - " RDEPEND=" ${DEPEND} @@ -33,8 +32,5 @@ RDEPEND=" >=dev-python/service-identity-24.1.0[${PYTHON_USEDEP}] " -src_prepare() { - default -} - +EPYTEST_PLUGINS=() distutils_enable_tests pytest diff --git a/dev-python/aioquic/files/patch-src_aioquic__crypto_c b/dev-python/aioquic/files/patch-src_aioquic__crypto_c deleted file mode 100644 index df7460bbdaae..000000000000 --- a/dev-python/aioquic/files/patch-src_aioquic__crypto_c +++ /dev/null @@ -1,17 +0,0 @@ -Index: src/aioquic/_crypto.c ---- src/aioquic/_crypto.c.orig -+++ src/aioquic/_crypto.c -@@ -407,10 +407,13 @@ PyInit__crypto(void) - PyModule_AddObject(m, "HeaderProtection", HeaderProtectionType); - - // ensure required ciphers are initialised -+ // LibreSSL loads all cipher by default, and doesn't support add_cipher -+#ifndef LIBRESSL_VERSION_NUMBER - EVP_add_cipher(EVP_aes_128_ecb()); - EVP_add_cipher(EVP_aes_128_gcm()); - EVP_add_cipher(EVP_aes_256_ecb()); - EVP_add_cipher(EVP_aes_256_gcm()); -+#endif - - return m; - } diff --git a/dev-python/aioquic/metadata.xml b/dev-python/aioquic/metadata.xml index c684f76978e9..988ae9a6a6fe 100644 --- a/dev-python/aioquic/metadata.xml +++ b/dev-python/aioquic/metadata.xml @@ -2,10 +2,6 @@ <!DOCTYPE pkgmetadata SYSTEM "https://docs.baldeagleos.com/dtd/metadata.dtd"> <pkgmetadata> <maintainer type="project"> - <email>dev@liguros.net</email> - <name>Development</name> - </maintainer> - <maintainer type="project"> <email>python@gentoo.org</email> </maintainer> <origin>baldeagleos-repo</origin> diff --git a/dev-python/certifi/Manifest b/dev-python/certifi/Manifest deleted file mode 100644 index d1f0a434ba44..000000000000 --- a/dev-python/certifi/Manifest +++ /dev/null @@ -1,2 +0,0 @@ -DIST certifi-2026.04.22.tar.gz 137429 BLAKE2B bcfc5769d0a93333c25c9348fc624df023486b32073376bb48b2012d6fb9f9177dddbaf3ff20caab14f72e840acc0c7407d99bfeedc26e144cd79fa2e350a125 SHA512 c4dcc0b585458beb53fb85242feb5bda60a94855f58938c7bf213404fdec559099fe3ebc7707fd88ac834558d8901532594238fe25ec405c22b580e73cd22250 -DIST certifi-2026.05.20.tar.gz 135822 BLAKE2B e10fa6c0d160ff7085b58f8629524985c305927f7b960fa22509a9be886e56bcbf702c161f2aa5818d8160a468c4384eafd670035cf4ded60a86a8ace004760b SHA512 15be1720602a96446f442cca91f2c96ee4fb57612d90f18b68942431bb17a8136e517db550ed0bec01e44d985cb630650018f8d32ddbd77963c8544b5e457b62 diff --git a/dev-python/certifi/certifi-2026.04.22.ebuild b/dev-python/certifi/certifi-2026.04.22.ebuild deleted file mode 100644 index 69cb118cff18..000000000000 --- a/dev-python/certifi/certifi-2026.04.22.ebuild +++ /dev/null @@ -1,38 +0,0 @@ -# Copyright 2021-2026 Liguros Authors -# Distributed under the terms of the GNU General Public License v2 -EAPI=8 - -PYTHON_COMPAT=( python3_{13..14} ) -DISTUTILS_USE_PEP517=setuptools - -inherit distutils-r1 prefix readme.gentoo-r1 - -DESCRIPTION="Python package for providing Mozilla's CA Bundle" -HOMEPAGE="https://pypi.org/project/certifi/" -SRC_URI="https://github.com/certifi/python-certifi/archive/${PV}.tar.gz -> ${P}.tar.gz" - -LICENSE="MPL-2.0" -SLOT="0" -KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~m68k ~mips ppc ppc64 ~riscv s390 sparc x86 ~ppc-aix ~x64-cygwin ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~m68k-mint ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris" -IUSE="" - -RDEPEND="app-misc/ca-certificates" -DEPEND="dev-python/setuptools[${PYTHON_USEDEP}]" -S="${WORKDIR}/python-${P}" -PATCH="$FILESDIR}/${P}-use-system-cacerts.patch" - -python_prepare_all() { - distutils-r1_python_prepare_all - eprefixify certifi/core.py -} - -python_install_all() { - distutils-r1_python_install_all - - local DOC_CONTENTS=" - In Gentoo, we don't use certifi's bundled CA certificates. - Instead we remove bundled cacert.pem and patch certifi - to return system's CA certificates. - " - readme.gentoo_create_doc -} diff --git a/dev-python/certifi/certifi-2026.05.20.ebuild b/dev-python/certifi/certifi-2026.05.20.ebuild deleted file mode 100644 index 69cb118cff18..000000000000 --- a/dev-python/certifi/certifi-2026.05.20.ebuild +++ /dev/null @@ -1,38 +0,0 @@ -# Copyright 2021-2026 Liguros Authors -# Distributed under the terms of the GNU General Public License v2 -EAPI=8 - -PYTHON_COMPAT=( python3_{13..14} ) -DISTUTILS_USE_PEP517=setuptools - -inherit distutils-r1 prefix readme.gentoo-r1 - -DESCRIPTION="Python package for providing Mozilla's CA Bundle" -HOMEPAGE="https://pypi.org/project/certifi/" -SRC_URI="https://github.com/certifi/python-certifi/archive/${PV}.tar.gz -> ${P}.tar.gz" - -LICENSE="MPL-2.0" -SLOT="0" -KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~m68k ~mips ppc ppc64 ~riscv s390 sparc x86 ~ppc-aix ~x64-cygwin ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~m68k-mint ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris" -IUSE="" - -RDEPEND="app-misc/ca-certificates" -DEPEND="dev-python/setuptools[${PYTHON_USEDEP}]" -S="${WORKDIR}/python-${P}" -PATCH="$FILESDIR}/${P}-use-system-cacerts.patch" - -python_prepare_all() { - distutils-r1_python_prepare_all - eprefixify certifi/core.py -} - -python_install_all() { - distutils-r1_python_install_all - - local DOC_CONTENTS=" - In Gentoo, we don't use certifi's bundled CA certificates. - Instead we remove bundled cacert.pem and patch certifi - to return system's CA certificates. - " - readme.gentoo_create_doc -} diff --git a/dev-python/certifi/files/certifi-2020.06.20-use-system-cacerts.patch b/dev-python/certifi/files/certifi-2020.06.20-use-system-cacerts.patch deleted file mode 100644 index 750954fa869c..000000000000 --- a/dev-python/certifi/files/certifi-2020.06.20-use-system-cacerts.patch +++ /dev/null @@ -1,17 +0,0 @@ -diff -urN certifi-2020.6.20.orig/certifi/core.py certifi-2020.6.20/certifi/core.py ---- certifi-2020.6.20.orig/certifi/core.py 2020-08-01 17:50:13.139849550 +0200 -+++ certifi-2020.6.20/certifi/core.py 2020-08-01 17:52:51.614857443 +0200 -@@ -51,10 +51,9 @@ - # If we don't have importlib.resources, then we will just do the old logic - # of assuming we're on the filesystem and munge the path directly. - def where(): -- f = os.path.dirname(__file__) -- -- return os.path.join(f, "cacert.pem") -+ return "@GENTOO_PORTAGE_EPREFIX@/etc/ssl/certs/ca-certificates.crt" - - - def contents(): -- return read_text("certifi", "cacert.pem", encoding="ascii") -+ with open(where(), "r", encoding="ascii") as f: -+ return f.read() diff --git a/dev-python/certifi/metadata.xml b/dev-python/certifi/metadata.xml deleted file mode 100644 index 55f3f3345a49..000000000000 --- a/dev-python/certifi/metadata.xml +++ /dev/null @@ -1,10 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<!DOCTYPE pkgmetadata SYSTEM "https://docs.baldeagleos.com/dtd/metadata.dtd"> -<pkgmetadata> - <maintainer type="project"> - <email>dev@liguros.net</email> - <name>Development</name> - </maintainer> - <origin>baldeagleos-repo</origin> - <stabilize-allarches /> -</pkgmetadata> diff --git a/dev-python/cryptography/Manifest b/dev-python/cryptography/Manifest index fdf017739752..3606b140999b 100644 --- a/dev-python/cryptography/Manifest +++ b/dev-python/cryptography/Manifest @@ -1,37 +1,76 @@ +DIST asn1-0.22.0.crate 47124 BLAKE2B d3ebce2752152968862a957c3bf87291d09dd7895ec1ac8012e4b968174b7a8013c98dde65f54dedf3c4ed4a206d1c306393e93c5b39783af44dbe36bb1b3116 SHA512 403c9fccf8a4c7f487a52528b23fd37790770526b75187b3634744ab9aff072eccdec5bf309e8532df6eb86fe70e60535d0783638c77c248b37296a0993feedf DIST asn1-0.24.1.crate 50502 BLAKE2B ebb6ec767929765aa37a34f25c9ace8cebabc4b01268245c71691a247317d920e3f5dc6ff4026711e1ba99701f55d84eb1b8b66d79e9b88ad50d25606070a746 SHA512 72ab6700bc365456f6038f9d6d5ccb29a3baf378596f538b68e0e11d3668e57cebaabf72145d8fa86b6441d66eafe38aaadab41eb7b61731fd356a75ff5c45ee +DIST asn1_derive-0.22.0.crate 8953 BLAKE2B ef2f3d248b0b5980b2475b4eb8127f4846ac200d2f8c7324757b571359ddf393f664b5b7189020bb12a390840c8fe0c423ab4c58e2359bf667d244d2e8f4e13c SHA512 bbbf3b498d2a59f19f044b627335e1b75a5341ee75b5cb281b09e3ab6e23c9f5a3d5f0eb09435fbeda211daedd9f9a867dbd99400b74e95f192fb0e09e694ab1 DIST asn1_derive-0.24.1.crate 9534 BLAKE2B e498f5af8fef329668554673a2c583b1d0049a235ed70f2a7a26ab724304240b277c44b33995749437600568e084aaf018430b96c7011d8483bb6965ba0e9bfa SHA512 00990444fb13a033ea831f0688611ecbe33f8cdb63717382cdbccaa0834f953302383f05ae425525d8c336908780d7b80be0db430e1f233bded0544f32c9c199 +DIST autocfg-1.5.0.crate 18729 BLAKE2B 27580e39b366c6fca02c9db09997b6415c409f12068f1249184268bf96fd85ba659e25ec730f99e10caf452f96c486f3d7442bf09c4552b5f39519b21d6f88cc SHA512 f279856f234d39d369623576acf9546a1ca24d7fe449f36d4fb93ea75a7efaf2c4015b9616a69bbbed358c5e5882e16b045352f046aa4c049b3d13b1e8257b08 DIST base64-0.22.1.crate 81597 BLAKE2B 6f216a560bd36e6e6b74e908344b457594cc768d9763070e269b56a14b150cbfc4b7f599d4c2a0a5f783638170ee132f0796fefb14fcac7fd73c58db0791007a SHA512 91cf2e4e7fc8815f9b8a86a7fa722a20eee3dc1dd57111b29e420de87ce7836bcdb1db01d3cafb9a977710ef63e7cc41b7772762323e68e0e832156858aace20 DIST bitflags-2.11.1.crate 49082 BLAKE2B c9c875b54e0a12115ecd846ef0a66bc7070d38892285a4142f1b1f26b07d407fa440a2943f310046f5fbc9a2428fcc56f2e44d06360e551d4b27c9b8cf93eab0 SHA512 c91b5a8b420d8e875a0906ef9b518a392487fba5399355aa5e908132149ddea7cc4222dd271cd5072e50dd9abd6e56420f4205652ba32a57af46bf07636604b7 +DIST bitflags-2.9.4.crate 47950 BLAKE2B b880246b54377ef161c54a811f09ced975d1f2049400c1bbba944712b8ef8b9ea79599d2354cc2a9ccd4c1b1329faad78738ed4e051735b14b642a9451ce68ae SHA512 a832e01985551db9d700ba177bb2ffe436e78e3bdcf7b2d8e86fc7cb885674d5656fce05bffb5a4cbe0df7b015dcfa6df8dbc1351c097d2c3a3dac199d3f37b1 +DIST cc-1.2.37.crate 90111 BLAKE2B c97656ab4642b180af1adf16736de03b5117774a2fd85d3cbbeb06744ab14a1f20accf8eb59c43dfc7fd803c59f92f30ccd7b2a6e3b53d8ecf45c8a2adb71483 SHA512 062bf65f73e5ae092391efaad510af39c96913d5647073eaa32e9475b34b6d87d2e4448f0dd54ecdf9b979a84819f861d05daf7fdbc06885f6b41162d55bb81f DIST cc-1.2.60.crate 97051 BLAKE2B 292350c3fe7dc3e023fe4f7cd07b3a5a7233996963b42391243948f834a17cf69781bab32cf46d62722c45437f50123450811dce8aa0e96ee63f35480cc15d90 SHA512 d67fd7400bd1d20f26f7a6743ac02ad09dba0b8002172b87907f4a7ae2487ee41feb2f24fe375ca91a3ac4fde1dc8b48b6703b74297c9eb42bd1e91ac8fe4e80 DIST cc-1.2.61.crate 97163 BLAKE2B d46641d905e44c60e36c3918c6fb666c7d5f19316a1415e5f51909f79a00773bd763784a71aa7ee85a4c058177596a06a5c4a807904bbd2340c31103312d415d SHA512 4728983b06cf6cfb8a042759b7da2d9123939cb3c87fd78d3d7dc565871b5a4aa522afe515bbfff62218d8ef5ca16ed88f777c30b746820c13c9a6bf98dc7ddd +DIST cfg-if-1.0.3.crate 8719 BLAKE2B 5cd0ac122110740895b45cdf8e0f738f2de1882d5a06c696d08e906765e4ddcd72a866dcc115da52d9fece205c9ad15dc25ad98dff36b32517012a7586e986ee SHA512 afe424a191c2aaaffec3d114e0116d0324d12117aeb22df78e47ad6752444bc5acb074ab0a174476b71e584a37743f9dcc2b0e8036d590fcc5afc7c55f86122b DIST cfg-if-1.0.4.crate 9360 BLAKE2B beadbfb273ee97cbb6e3740891fbace57511399ad203459b66b397587d794677a9515cde4e9ec4320c3795518bf1551d72b9a889f8ac4b225168f493288b7c19 SHA512 176e04df7ba783b7143bb84397b777f5c5a1305c08a5c3a218d4a66830620be89ed68992ba27686165bcd3fb2f34b2daf80b2a1d4b481ecc267c988e84d28e9d +DIST cryptography-46.0.7.tar.gz 750652 BLAKE2B f7b929d9eafe32d76fd497823309f227895cef18684a9fd90e1740302fa12e039690d5425b4a7d2bd0fcf81322d456d9ee4c230157c7cdc1d109bc283d6191ef SHA512 9176c9d2a5b1930735acb63b97335cd4e3d514cfd66664a3f16ad895a92f155282098cae97c35df97c74dae61c88698f5f94f548c5172a7c1867480225eeff40 +DIST cryptography-46.0.7.tar.gz.provenance 9275 BLAKE2B 6d3cb97787775582d3e477aebdf4900d5dae1cb5659f94e71b164d1224a27e8fd18bf89f51af2505901f231985c0baf2e4b1893a72e86c6962b778f0b330f9fe SHA512 60aad2ce095f7b875127a08170535f68140bf5950c0462bec6345a601a6fa9cf867a2af283ff581e55bf16cbf445f9d0934987a7f1a0b6b35f38124309695703 DIST cryptography-47.0.0.tar.gz 830863 BLAKE2B fa4f148133c23025ede6bdfcbbce65288dbe61f0a28e3792ef9e1a7143ae05bd7e42947e0ffa3f70d027b7d2064f8d755eb9a83e4719c83ae4f4c79490e0c49e SHA512 0d2fd9de7b6cfafef5f66e4fb10b7eaa8712bc0ed7bca19a017963b8ea707813a7bdc841f7d4aa512da7963eff3707792d46cb93058875fcc447961256c32d9e +DIST cryptography-47.0.0.tar.gz.provenance 9322 BLAKE2B 9107587d781c2fc6eaa26d40f96b404a054bcf317f56974f2efc5f88111f4ed9ab1aa6fc91b2101ae3c5b66467b43858e0a0010df18001999a4a904773ef97df SHA512 744b8be907b623b44c3b4e0aba8ffdb61fa54df5161c20c946da272e0d5ec4cd23a242edb7d2378b8783d50a610be7e6e902ef02acac25a90b67b7908ab5f01d DIST cryptography-48.0.0.tar.gz 832984 BLAKE2B 100bbd35411874c4b9a6fb855fa19dd5271c753daa28cd6c52fac0b926dbcee6b4dce37a59c28b5ff435028965a60fa898e501f6215e837cc28e056c1b8a4680 SHA512 4d04983e25eb5fc856705f63e8cca32a357ef0a369c4596b1beb2e0befa2b3dcd763eb4e9baed4230bd75aa6738790ec56b107a45d5e02ce09f78fc1851c2ff9 +DIST cryptography-48.0.0.tar.gz.provenance 9676 BLAKE2B a61479b36aae65fd67c0622f6483da49bbd2666131a2f5b016796125168bae24d7bedfcfa7987e89ae8fa051c2e0875ac6b6d8e60f736186812a7909d3fcad7d SHA512 0053d20118f0b427ee0fc9e787e938a4e8e78467a693403fb3118a5a1577dbea7f613b2cf72d2a79620ca966d850e33ba4f565b69a1217c1a834dac751076fd6 +DIST cryptography_vectors-46.0.7.tar.gz 33809310 BLAKE2B 879746285546b1d099e52f58fa15668147557e9099867c0eeda0fa100ead69a7168085f28d322d8938d40f0802acefc9a3810cbce94fd373481bb2f7264df58f SHA512 d16ac5bd0e263761d856b7e6be7101ea2417ba0fe2e3acb42ccb6b3bb98e8695bb81404a05b36bd1b5e426e6ef31e692b140bd5e152c44b98075d63e4d5d0bb4 +DIST cryptography_vectors-46.0.7.tar.gz.provenance 9283 BLAKE2B 25dad799e1654365825f43c7bc3374bef296ae664e7855b9899938c8a597d0f57076170d064b67642dbcaa22dc29792156850b7c2f3425ac1a2e9c3380925479 SHA512 4772b27a74f4c0345c8f9959762571b0ff1d8e1fa08a24e68adc6d008f3abb21f16731fbf369cbc0907977f583f17796dc209ea3e591345dfaaa5a0cbd2c0068 +DIST cryptography_vectors-47.0.0.tar.gz 54877496 BLAKE2B f8c24d09bb84557a4ad9f5c885da47a95853948104c49b0e4e877e62c35e8c826fa0c470e8450c230c727de19102a8c80992b52aa51aee051267ab43e966535b SHA512 82fbad5a395879ba4dac4aa015271522a832da126f7ec204274821d78100ed17c4047bf4d1526f82e7785bdf9d375741eecfe4cd24f3c5dcdcabc2c7cd01f67d +DIST cryptography_vectors-47.0.0.tar.gz.provenance 9377 BLAKE2B 55019d10ba343cb445dc6d0934c12cfc6909ffb2b016520a9d75c485223175ba1fd7ea71bb2da9af37489c4bfda4c4956fc272acedbe5cd3276c2999c198bbb1 SHA512 6adbd02d17f64a7e4fa6bbe453f7eca936683f0e569dc1978a6a8db861eaec93600bf5c1198c0d25e200913a85d5f74ba44616cf05775c44fb042cc20c258cdd +DIST cryptography_vectors-48.0.0.tar.gz 54877461 BLAKE2B 1a8dbe98ff653f8f6ccf90843e8fbecfc6ed7123d9b78db2f34203336613c62083ab7e0803a95a0d3cdbf6b78f837302bc8ab927fc244e54a809f9a321cda67a SHA512 282d6bee83649ee2d80d4c4d51a0ca5de63d1af978e93d3cff2eee20a5aecede2c13e9164cd79e45af0b72fd7bacedf73653986d93032ed148ef55614f9751cb +DIST cryptography_vectors-48.0.0.tar.gz.provenance 9735 BLAKE2B 08065c55da5deeae8c41c7be9c35b1840834454d9fc18db789c5e696e66245c77fb910913465f6bfb242d5a3166113d3186ac1cfc61c3f83335b9e6f8a72204c SHA512 b0aa45486fe08563135739ba2fc3572a70f88bdf27eb4765e52fa0d1a7d8aff305c0076606c91d2325c07374310537c8d8f7f28b462e0f9cfebda6a973250e25 +DIST find-msvc-tools-0.1.1.crate 30228 BLAKE2B 9f6d84697a0310021a59789a0aebcf5895490e4dd719a2ef820ddf2f225ecd13c814e2c03e8d4de4089a2d1599b469a900c0c1072f9b57dcce9fb8634dcea6b2 SHA512 cc91ce79858db4a6feb3ff0fe24d7b29a523285247116a42b27affacc3f034afc0d458ac8716922f5fec5f23deafd62e875ec899d4ea58531d028535c22e137e DIST find-msvc-tools-0.1.9.crate 31493 BLAKE2B 4137592addf8b58f4e4c02be537a72b132b38cecc1c263c2569fe40e2cfe4377e7141679f32661f44ed467cf9723343ab13732b3d6f4a2a84c610d0958e7e30b SHA512 729b3c1c1d520dffe5d88fc8b58e47fb7e86dc26e568fc317eea5ca8de0ee953fbafaa20ab34a6bfb43173bab39a90ff6954c11dab8d545e902305dafc8cd3de DIST foreign-types-0.3.2.crate 7504 BLAKE2B 520818b702d990d296ecd31a8646850202509ccfa18edd0e1b260289619a6c351e758f317ec0824bd76eccb209b6f087057c25f1bd01a47897715013dd834867 SHA512 bf27b8243ed482c202d120383374f19ff09422535e24b9c1aebccc66529bf300ca17b8bbc76d67f98ac092e614497afe3add9dc68aa69c93074df05762f91232 DIST foreign-types-shared-0.1.1.crate 5672 BLAKE2B d2e42e04b6657e7a69fe0bd20c672176629c743e49a55fd007bb30e289710b70045d445ae9cae0eeaa747ee708c90e8abd9b5fc39bad8ec0666befe1b696d4f1 SHA512 bafdb2143e136fb0818e2ffd90b5c862b7181647d6568947d4e4531012bbf7a57b597221ec7056c1b562dfc0c3b5dead26d1a4111ebc15e7863737a873518a4a DIST heck-0.5.0.crate 11517 BLAKE2B 5365ec43b2239a76b33a174f1a4292ece4147f9d382a68c6c60db78fdc8bad0afb1d51a65bcb25e96675372faa4ea37c318265030b0546ba51942f7c929e1835 SHA512 f044fc9c3d22466629fd8f772ec0555350fd611c0cfadca51d99a3d2f10e155f77c1091916c8a95a6b9b499f366c2e99a5fbf45b010f988bfb9b2501bf9f6a76 +DIST indoc-2.0.6.crate 17164 BLAKE2B 1a6cff95bc12ea885ef36b935bf4f1c7870d65be0ff31ffc67dcab904fa80215c1254c1803c5d0c5686252addfad3512e9e1ec79d3edcba026a879f4706926d1 SHA512 e2ea2e5c8226c802bbe0631c1a99d2edd088cbafbf978b2a7b71c7c7f47754c6d4653f466e286441b61cc46def1c7f7a02d4785caab93a61dd785211dba7d1a9 +DIST itoa-1.0.15.crate 11231 BLAKE2B 17c261baf95bff2f6cf0dbc33ab78ebbab0cf5dc56aeb7f8977377af868deb5957918f1763c2fe8c080e931489ea89ebcc16b3ebd976eeeb7663ff74989a1071 SHA512 158ca5dd4b04cb12d9292a4df63c72443adaf5aab1bd9aacdb964dc58878d847a64251f84897cb25c34648d4c973b44fef5b4c175d7c04cabc2c13b4631c2e42 DIST itoa-1.0.18.crate 15935 BLAKE2B 8e41446056ccd94979f6f5a8fe8c48d6c47abaab99a41715cca31816f859b56e0cbacb998f300b62be8b719a6470f8a087f1439b72f2f6662d1cdd3d552ede5b SHA512 8dbad156e2863c28e2b380901a92414ef00e39f1fcdb06d91a0f3fb73108c2f7f36b699ccd93287808c24c29cca7f1783d48d5ca95f2173502963c0abcb2d09c +DIST libc-0.2.175.crate 788728 BLAKE2B dfbcc891a6da7d327916883deec54dbcb0ee5e7fda0b805926f06088dbbbef0520a838c07a62ea075d6a5a035994ea8130efbbc88e08b928c13b06bc5cf75bb9 SHA512 02fa1b6e61ecec3b626f3c802b53e7f46c98558f6e8c810b46d7322c2e4825f1be87068942ac81c07a2188356c6e2b6836b0dddd784396e43ab3712a62cd17ea DIST libc-0.2.186.crate 821883 BLAKE2B ebe7aac5f8937a8064c64a0d4dc72e5fc794080e09b96c6d245bdec0fd9a19d49ab38e25306e22e47564764cf5dcde45855237cffc70230a143eca2626bd5c3c SHA512 6a58e671ec6811dff9a0d7d4db8f37d38bcbca9efff20dad4706190e5cdb77b426567754bcf0ef0f2d0c31d6506401f724f3ca500b9bed57bb8605b1141ed690 +DIST memoffset-0.9.1.crate 9032 BLAKE2B 0aab55fe084134bb599c52d77c96400db40949b1013e7037747ada4fcec8dc4a124b6f3755f04b36e057eb2fb4a6bd6f07d6eebcf166f8a71405ef434d802fbf SHA512 3a236c0f481e36973b9f805e454c2efe4dd375e6b4ee406b57145136c70d5fbf4e1183d563ebf3b5fbde7363bbf5f08f0d88e507aae5bda4cc75664ecd0e33aa +DIST once_cell-1.21.3.crate 34534 BLAKE2B 3578aaef305cad2fdffdc40c392775a3540bfab3f3aeafd22466d9507bf8346b9fcc200929d48525b051070c0aaa423ecbcaa12868b34dca007991effb224166 SHA512 32a87506c6f4598f3ca2c88556014ef2093d5db9a08602335e847caa537a866492fa74c894e7e1da2e4289a1d3dbffcb90a9e37a4a1453203832f434b8206990 DIST once_cell-1.21.4.crate 35010 BLAKE2B 9117ed1d478e626b7b7be2e3ff8b68a382b051112c7ca4425367bdae86977671f8b5c576131c82fb437740b6d98b72501f718f4172d39781decac2385e8fbd4d SHA512 af67669b0107f44268ba74c355200cb2ed1aab235a6989a8bc54323eb2c9a45677010f8672e7790edadd4c981e939436e0c3a099d33c06dce9c14fd5ede86155 +DIST openssl-0.10.74.crate 285425 BLAKE2B 2d736aa20701a97230f10f4a75b3c3c0cea0a86b52facbb639dfe425ea052a4bd0abf494708ab96aad276000736ab4ce7dd8c47951f01181cd17c6e0be692107 SHA512 02f60bf13826a4225b4c849d7dee33fbb648c173bc32bc2139a50c38fdf5aeb9d5cfb092d86edeb6f281206454ccf2b41cc23c7af74ed976423b933eefe50867 DIST openssl-0.10.78.crate 292622 BLAKE2B 17ec5a5efd1fa997a8179bb107912c62c47ea901d93df1c8c0c63e548427a01e57d79c23f0d4a7d614f0d2059c6c07097a4047aa91dfbc4d224c942615eb3587 SHA512 fc27483ebf36daf4b97a43aab2b347255a35e03268c4424df133c714da41a415025be7e6d12579590ab03d237eebaacf89c056d722a66591a7e77c1f45297b4d DIST openssl-0.10.79.crate 307119 BLAKE2B c282a190830e6970bf4617d0a41cb12db34625c827c19ac02575635c2ff375ca2fc1ca5d2206a296af733c1fd5c5d4e962325820a3dd643e8913145385c9026b SHA512 da9b6025324499bef777f8a7caa3705e3857ddf0aa80c659da5adcc6b6518e8734ccdbe10410a578003bde1dec2006e8d7b84224d635d03003f4a91f2e71406d DIST openssl-macros-0.1.1.crate 5601 BLAKE2B 69dc1c1f3b7bc4f934cae0dce64c3efa501162e5279efd6af3b74f7a7716c04b6996b306b310f1c045cfa2eff2895314a47ecbb020a817e461c6d77d0bc11e92 SHA512 57e75c84f78fb83f884eeaedb0dd135ecb40192dad2facd908e6a575c9b65b38a2c93bca4630e09ea5a82c77d8bc8364cb2f5778cbfe9d8f484cafe3346b883c +DIST openssl-sys-0.9.110.crate 80412 BLAKE2B c59794f0b31013231829db4c9b495a5083b4adcaed5779b4ee013bafe4667fdcee12ef7e2a0c30d4abbe340ef036dbf8c40a41e8293231d7f4137c9bc7bfa820 SHA512 8e43f0cc67ebb084c18df410322df75bc384adfcf8fcafe2b0febcd6ee47a1825037db880012c7076c7b11153a101d6d0006437ba0d53a7182f1bcdf51af8d65 DIST openssl-sys-0.9.114.crate 75617 BLAKE2B f4c313dae993116f249d27d9b161263e8ed770ea8ba0446738aa9fcb2f94d2aebb069f6a713f94ed64e99350f3241b095ef6f433b0e4f75cc3de2b0916d04a75 SHA512 a1404b613d77b039fee2e2195867f8db75520aaa558d125c99f1a6694e513e15454914dd8ab84ab1ef4ab729afd53eac8ddf5f3c42d152f758faa1d0c1fbd258 DIST openssl-sys-0.9.115.crate 75821 BLAKE2B 56de1b3874f67e0e5771d7b0227246a143ef862301769086dc10bece0b772cc08bf3f6169462b01bf9b90c5691ddd406531cb48104fe4619bbe8f1d19d9fa271 SHA512 2a5c46d20f8d194e92785311f3866cca4ccf8b0e1b665afd49768f230eee76e1e00f04415b4b2f2b8f449dbf9f11a62b56cb639dfdc1d4783ee8bb256864dd05 +DIST pem-3.0.5.crate 18140 BLAKE2B 1a19acf6c5d4dafb4411688d87b668d2ea1abe8f561dc2d5de8894066c06e32c5c1392d0e6963d07bab27368a1b39a4f0520485500a1312e2ae43b5c0959ab16 SHA512 09b4a75bda0df6153799e56cdf175d88b7c88b49fda3e19fffba5aa821e433bf3bc9f254f5016131d3dd2d3146c3f6b73e71e04b81ac7d52b581c638cd60d0ff DIST pem-3.0.6.crate 18362 BLAKE2B 0cdd4855872e51d70bf6f3031a28ed9580c0fbad3ec7680938f121753e637f925a57ccb67ed5b85f3c0dff8b4c1fe936aa3ab4b4067ab9a3a3dd17dec02680cd SHA512 4d485bc3a14d7480b6fd0627869d4093124f173a3aeaeaff4ed69a37ba50a8327e6e9325a92d1a5c8ef337b7ca812de2e74ac786eaa94a644de8daf15619de15 +DIST pkg-config-0.3.32.crate 21370 BLAKE2B 74ded191f066bc223739b3d4afec58f23de57566e7604e3dd62001d9a095a7b6a3633fdb01fdc46960c8134a694d6bf097d9ecec62b38c4f14acafbbabd6e893 SHA512 59569110185fa665f76a13e884a67ad1578c55246abacfc18cb9f037b2d2d9ec3f2078a3adfe5cc82a451892c9ad55f918ee01362a741f57dc9ff6846a4e32e5 DIST pkg-config-0.3.33.crate 21590 BLAKE2B 576349a975cd4b9ff08c7f797f300cb2774425c72ed7baced19e0ba6231246f4479939c61bcc9efeb9174a2d6917bf009f02e93c26800c65e798b9e51ccf4d8b SHA512 af931d889e72f51e0ae41c880a1f5aa6215b93148cf7041378664e4ba013d0c83d654e560a73c9d7b301b5a008c221e48ac81b413d1123786e003c97f7fff63a +DIST portable-atomic-1.11.1.crate 185506 BLAKE2B 953bb1f2059dc1d891305eb89945f1f6a172fa50972725aee499de72b5dd9b4ad8ccefe4e891183ff8e6b64f4d1bb45ec33b06e0f5af34c940f817b290f746d9 SHA512 4c037ae0b4aef43077bdbf803389bc078d963f20d023e2e1d339a54f67fa9b27c174e7c1b6eca8881ecf301e30c431632d2c0dcedfb5b19552892fac0f81e2e1 DIST portable-atomic-1.13.1.crate 197001 BLAKE2B 6d0898c2a537a9bf204b7749cca5f5fddf280772b56eb7ce8fdd9cf7d71561137b26ef89f415c40277a1c89981333eef78e5bb4624515a294ba28fdaeb4c70ea SHA512 2a1b31ac9814af884640b3398ab824a9795c72d260527a0966b193113808cfbb3345d50cd1beaebb45863437c3d06c8706d34b26efecceefc649319a4bc274a3 +DIST proc-macro2-1.0.101.crate 53886 BLAKE2B db566c4fb6a197e0aa45cc074310853eaa24ceeafe9fb91f2014ba47cf6b1cbc34e4e9391456c946587540c8e270e1a37f5195cf03bd15ea5d4f171bba9772db SHA512 3171c807d24371da2931f9c706fb3129bb9bf3ac40418e5d14cfc372baf96e5fee9ede72091163858e3ba0b4f88594efa1031b0bb7128ca68e7b847dead6856c DIST proc-macro2-1.0.106.crate 59765 BLAKE2B 87f95795621c4c992c370dc3a1240a2d5580e3362356525efe640f8f26ad0492b3c88755d575c080ff7db11376b0d82f31141bf6f86c895249b85e46c081220f SHA512 b726e2c92af434bfa88cd4f53c3fe6db647503567675fb439890dee3d15f5111137e3242b28d164114ce081c10acf3fd11950753ddb349190c87ee04e7d97744 +DIST pyo3-0.26.0.crate 1151579 BLAKE2B bcc8236785502928bf4a0b7a320e0a8f3d6140c562de4351a52d015aaebb8dd6b4d68fe607c8ea13ec66941c8f01d2c18c4249adfacb521355d4bf158667f3a3 SHA512 e073a4d893f88aa0301ef0ead78048137515edd93c490e6dccbc301ff65a208534c65c1d216b04639d4b1ec1e4b69bc87bd34974e5d0659134c28dcce589c194 DIST pyo3-0.28.3.crate 1204476 BLAKE2B 8540a1c51bac4fbe04ea34d5ce38471c13d5a3f0759e60cf21d67e846b00feb8316e70f32cb8dc6b74d09f0901ffc83d5f41b1a06da6d34790ef13e4cefcad45 SHA512 f955957eec4b95cc9337d331bba3bba52b4754b301cf86cd974601e64eb20c2424023b19be89a224661fe2e185de646cd3d0d00705b6b5cbd139856c9443a247 +DIST pyo3-build-config-0.26.0.crate 34309 BLAKE2B 5ea8b51da2f425674cd3bfcc1090ffdd08da01d2161dc66b08995c20cc859422f9f84077c545e5a0580182910aeb9dbba97838915148a82b86948d1cca3c8722 SHA512 a982d0a0baa4af58c2cef7c0c4b2671e3f559ca7f30586eda9fbd05e842efa2bfea0089ddbc729225b848871f6a25f85e86576e1dff519192ba289cd92c6aa8b DIST pyo3-build-config-0.28.3.crate 35961 BLAKE2B 61a0101913c6d563721049ca99256c2aefd89b017a7e18c82f4a6aceca0aefeaa71fd559cd43adfb5034ce076c904e5188f8f73961ea217287fbfd12caab9401 SHA512 78f85696901b16540d42187d10e888bd929b9f23415faeb73f9798abda1af3506a308145dd4113b070521271c72624d7930fb4b19bad25aa1afd3082030c9126 +DIST pyo3-ffi-0.26.0.crate 78247 BLAKE2B 65f1c399bc763bf8afc36ccac27d28242ebcccebd08ab8d9b3165ca5c9abb10f76e76fe5a250aa1e0cdc1d1e8a613160660f07bc0dbc2812675acb9dfc8e89c2 SHA512 91c2ae828e997dee5e48d839794727e94576228e9329c358a3bc77a59f8f37fa0ae6c2579229782b3f46ab90725844ce9194b9de4d3849d824adf1d40743bf7e DIST pyo3-ffi-0.28.3.crate 80881 BLAKE2B 4ac7066c911e2aec18aa9245efed00585d063f81d69910e6a146f8efbf2939ab5de519bbf2a3dde78b40c264e97c62490db80e9b2e84aaf080d63659a6676459 SHA512 ec49b5cc67d19f46c9daea76b37b4988af0f63b9ed67c71190f015a0aa9691d4a8ffd4128413de430928428e1e8e26d44c3103f561e6b71b7e8c4597ab602d9f +DIST pyo3-macros-0.26.0.crate 8906 BLAKE2B 60eef72d27b5bc922b75f71ae24bb6f380288cb3a619bf2940b0de47b27e86cce0ffdb1fbdc9c0540d3f15c9df4884497aa1e6efec0f1579ac722b414818a428 SHA512 07bcddba0926c3dff7629da3260f9a38593fbb337b6a68d55c223f5944d912885e5319cd635ae1785026fed4adea1fcc19695ae83aca5bea127c5a8868fd2c43 DIST pyo3-macros-0.28.3.crate 8963 BLAKE2B ca9967cfba565b873ed77565ff6eb8408473c227d191797e9db8c6b5cbc89abc17ffd57ae71e28877088fe19373da2f503cdefeae6b0a47796f6abcf62044f08 SHA512 57d178bd9b53dd98916e60c89bc26c34f9949829dc17bf7d6cc15b704bba7c874d85d6bd3c827d401268660a79230a6e32711048da939ec4e22342f3e08046d1 +DIST pyo3-macros-backend-0.26.0.crate 81809 BLAKE2B 73885035855daf00b001e97e0a5ebe09412d212c8f01aa4db6638ef09990bf1bccbacf2e5a7e6ec21929bb1c2beba06587ecdb6ee954eda9e9c51c6c276cea95 SHA512 4146011a8ef18ecaa44b425eebe6e5e1370945063b98aaa83452e57b66aefbf5d483367b1d4d44aa5091303c4ba7f568c6428ecec0cfa6c90ba41631d4e99367 DIST pyo3-macros-backend-0.28.3.crate 88063 BLAKE2B a484b12bbab3031838f61149ab9f08b9e460a2bd02089e08e58dac2cb747afbc0cdfe64018ed4c8cb0bbbd1d22e3eb05a6a72b020da6b71a584ec51ca8d24292 SHA512 45ce31ed64ee4fd0249736d480c9840a756bc45934d6803ae11e0680057ecf4cc74c71b47ccf9241fc3ab5c1e0b9c758426f08bd523d1ace92fc308302ea3c84 +DIST quote-1.0.40.crate 31063 BLAKE2B 09036ff3e5ebbd775c466bb936de91d4c070481eb4b98c62a4cddcda57cd7b67d63f979b321f6ec64aabee3f5da6c28e7a3efb83f4647768ba578f1bd0bd0bdb SHA512 45a76e22a2b0bec47e4ba73c3b73cc41d821dfcce9876134c5d8eed514da214aee4ce7612e372c8709f888c0d8b9b7e5442f27adb7a59f3571f0339ed7e2ac99 DIST quote-1.0.45.crate 31564 BLAKE2B 1b2c2c3e6ebabfe10affa4c43ca0bfd1f52d8fd49e1df463e13e63a82de41272089c8e09e4c02e8a33cfee768ace26d4d42a50752de8fb5a776c59806139ad5d SHA512 df96ede01ebd0ed642b758bf1d0862d0e116fc2b3343e14edb657ce5438ccabe743dec4a0a40de4dee98c134d169af9aba459faadf9c7a832b26377e755d49b0 +DIST self_cell-1.2.0.crate 16883 BLAKE2B 56bd187fabc138c530aa23dfc69a330a7d0a8f86609801924fd1f4b0cefc43a99a8ba21d05e59272c9d32b83405b4c980df4f01e529772b760a9564dd8eb0c0a SHA512 41addc9b737d0379c0236b1821d6051d31dca6a76f463e6e56c3bac9015da4243f9fedc3d57e051f68f6f0aa610383a0b2cade07b1ea17e92173e2088a625af0 DIST self_cell-1.2.2.crate 23264 BLAKE2B dd4208f060b09e673178d0c66ba98670187d613fd903254d17e711ed2538c4ce6cdca7c0d65482a163ed2c91c8aa9b19d7f29df025b9964d69ba0fab3a6c7d6d SHA512 b47fb19bc623b5d670c21a2b1c32dd298934e295cc5b965b2b244ff4a076a7de4c652e4d820db32e68301b4124334ebd25837b55c610b75dc60bdd95a6ef9420 DIST shlex-1.3.0.crate 18713 BLAKE2B 18800c364d3a628f1a3125097ea82fe6286550c2997235df0bf8483a3906aacabc81308cb239887d46ba2f457cc6f8acd5aca78316707eea5098cd5666aea67d SHA512 5c8cedbe666a14b8a0874defb9208146ce64579cde52ed483e4a794cac5dde6a24bf8d684404edff582f842e1fd4fa3fbeddbe074f191e4ec4aa517aa456fe8a +DIST syn-2.0.106.crate 301514 BLAKE2B 6b28b30ee067c23dc4bd1b38365d14c1700245c974e785173965b0822301966d642b36bdda25210d61f17a99fc71eb81e29a56c89d1649773908bae32778fb1f SHA512 e07e1058770fa3f1039eaf335340cefb597c0dd11bb90fec9fa777ca5815d0e0bb1711bb4db52cac77e205dd68fbe2bce0e1aa9895c2a52a1ea6d7758d13424c DIST syn-2.0.117.crate 306011 BLAKE2B bbaec02c4322f522bdfc87caa4ce6fd1e09bbf8f4a102d9ed8728efacdd843a2750f616dce5b2d3a3e46bbb7d57439fbd10e328bc1d4a01e980986cd815798af SHA512 035c2e63542592b6a4058a2a82d4c2c1f5793f84fb1b04cbd393337a26fcf661a1f3bea439ce98a1fe943b1c4d36d2bda16df3bbc3fa6ca35e1548d530dc8416 +DIST target-lexicon-0.13.3.crate 28498 BLAKE2B 397315667737abde41949081f8377f704c3a1105790162249a9f0c08b60f012e67d66550e9063d900ac98f5191d13c5ed23d1a8045f99373e7a673a3cfc029e7 SHA512 23422df6edb2a8cb0a9f048864faf76ccb27d6e97fbed7b208b77206941b196f155896a0381150e387142e976439a0a296dcf4cbb4df6bc0e11c65f97f979443 DIST target-lexicon-0.13.5.crate 26928 BLAKE2B f8c62cb91f68a635e6ce3fc254df9ce378b5e8f62c1147404c967484b9ed97fb33d7993b4671611db76566063e999d658d201f856f70196ec678d72cc758cf6d SHA512 956df27c01e1186c5356117ffd07810fc0b62fb919d5bfd215955ba85be00ef675212a3c0dc36679986be7b825442fec5c93c7643b7e1e19c04572e6463546fc +DIST unicode-ident-1.0.19.crate 47480 BLAKE2B d1b9d26833fcd1f3a8498abe2f4ba4202e4547315e48aa927c0f6e4a760c6c7000ff0c18d0cf45af362323c42843d745958c1b0419835f39e13dbc1559487026 SHA512 b17fcf6bffdb4745e0b1bf4983a0dcc4c84f8b4e2c2c618eefbbeae83f94ec75df87b55f9e2dede8c3b4c6e22107fcfc589475c0cbc2c58dfb8630db8d362183 DIST unicode-ident-1.0.24.crate 49298 BLAKE2B 34ba2906a3ebc06f52a4ba77dff96a8f3fb977718d260886fa9e051c5830765641b65a63977110f3a79f31fa177b385f81b01d56c80f6a0324d36eae72e2ebf0 SHA512 7be712d8d0075ac9341790180e312f66264d3e0255c91b38df0951baa5e446dec24551bb2125a66a1cb9b6ca2f1ea37c0cc15fa3dd74f398ecf4d5302c7dc259 +DIST unindent-0.2.4.crate 7422 BLAKE2B 2e7870cd4f78240dbb1e5fb9c0f9b55c57bb40242fe668f105a0e862f1d6300e31efbffe0cdff676a5f96a8d19dfb148f88bfef1cd8a710556d777fd0f4ee37f SHA512 58bd4fd20a0b0a7200e0ea3ea70553cea135a5a8f7a2fb178520c41228f435becce4b9981019b7c73a17df87a2ee9b2a47c4cec29a3011bfe848d48b2473761b DIST vcpkg-0.2.15.crate 228735 BLAKE2B 6b6bacd9a7fa38919241f45a97f58cae957e58d3aac99df208a26aa718e4f1644f4ccefa31b09151e5c1952288e0e5837c363918b98c7f55079a948a952c1c50 SHA512 7322a21e8811b2fe4e79e09dc321458068ecdf1953f05d36233f3278ecc0b1dfc64194db7010dd46fcf692285f42475beb090c6c6cac0c8f9fe0eb5c770e3172 diff --git a/dev-python/cryptography/cryptography-46.0.7.ebuild b/dev-python/cryptography/cryptography-46.0.7.ebuild new file mode 100644 index 000000000000..aa6ae2859c68 --- /dev/null +++ b/dev-python/cryptography/cryptography-46.0.7.ebuild @@ -0,0 +1,147 @@ +# Copyright 1999-2026 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +CARGO_OPTIONAL=yes +DISTUTILS_EXT=1 +DISTUTILS_USE_PEP517=maturin +PYPI_VERIFY_REPO=https://github.com/pyca/cryptography +PYTHON_COMPAT=( python3_{13..14} ) +PYTHON_REQ_USE="threads(+)" + +CRATES=" + asn1@0.22.0 + asn1_derive@0.22.0 + autocfg@1.5.0 + base64@0.22.1 + bitflags@2.9.4 + cc@1.2.37 + cfg-if@1.0.3 + find-msvc-tools@0.1.1 + foreign-types-shared@0.1.1 + foreign-types@0.3.2 + heck@0.5.0 + indoc@2.0.6 + itoa@1.0.15 + libc@0.2.175 + memoffset@0.9.1 + once_cell@1.21.3 + openssl-macros@0.1.1 + openssl-sys@0.9.110 + openssl@0.10.74 + pem@3.0.5 + pkg-config@0.3.32 + portable-atomic@1.11.1 + proc-macro2@1.0.101 + pyo3-build-config@0.26.0 + pyo3-ffi@0.26.0 + pyo3-macros-backend@0.26.0 + pyo3-macros@0.26.0 + pyo3@0.26.0 + quote@1.0.40 + self_cell@1.2.0 + shlex@1.3.0 + syn@2.0.106 + target-lexicon@0.13.3 + unicode-ident@1.0.19 + unindent@0.2.4 + vcpkg@0.2.15 +" + +inherit cargo distutils-r1 flag-o-matic pypi + +VEC_P=cryptography_vectors-$(ver_cut 1-3) +DESCRIPTION="Library providing cryptographic recipes and primitives" +HOMEPAGE=" + https://github.com/pyca/cryptography/ + https://pypi.org/project/cryptography/ +" +SRC_URI+=" + ${CARGO_CRATE_URIS} + test? ( + $(pypi_sdist_url cryptography_vectors "$(ver_cut 1-3)") + $(pypi_provenance_url "${VEC_P}.tar.gz" cryptography_vectors "$(ver_cut 1-3)") + -> ${VEC_P}.tar.gz.provenance + ) +" + +LICENSE="|| ( Apache-2.0 BSD ) PSF-2" +# Dependent crate licenses +LICENSE+=" + Apache-2.0 Apache-2.0-with-LLVM-exceptions BSD MIT Unicode-3.0 +" +SLOT="0" +KEYWORDS="amd64 arm arm64 ~loong ~mips ppc ppc64 ~riscv ~s390 ~sparc x86" + +RDEPEND=" + >=dev-libs/openssl-1.0.2o-r6:0= + $(python_gen_cond_dep ' + >=dev-python/cffi-2.0.0:=[${PYTHON_USEDEP}] + ' 'python*') +" +DEPEND=" + ${RDEPEND} +" + +BDEPEND=" + ${RUST_DEPEND} + >=dev-util/maturin-1.9.4[${PYTHON_USEDEP}] + dev-python/setuptools[${PYTHON_USEDEP}] + test? ( + dev-python/certifi[${PYTHON_USEDEP}] + dev-python/iso8601[${PYTHON_USEDEP}] + dev-python/pretend[${PYTHON_USEDEP}] + dev-python/pyasn1-modules[${PYTHON_USEDEP}] + dev-python/pytz[${PYTHON_USEDEP}] + ) +" + +# Files built without CFLAGS/LDFLAGS, acceptable for rust +QA_FLAGS_IGNORED="usr/lib.*/py.*/site-packages/cryptography/hazmat/bindings/_rust.*.so" + +EPYTEST_PLUGINS=( hypothesis pytest-subtests ) +EPYTEST_XDIST=1 +distutils_enable_tests pytest + +PATCHES=( + # https://github.com/pyca/cryptography/pull/14319 + "${FILESDIR}/${PN}-46.0.5-stray-files.patch" +) + +src_unpack() { + if use verify-provenance; then + pypi_verify_provenance "${DISTDIR}/${P}.tar.gz"{,.provenance} + use test && pypi_verify_provenance "${DISTDIR}/${VEC_P}.tar.gz"{,.provenance} + fi + + cargo_src_unpack +} + +src_prepare() { + distutils-r1_src_prepare + + sed -i -e 's:--benchmark-disable::' pyproject.toml || die + + # work around availability macros not supported in GCC (yet) + if [[ ${CHOST} == *-darwin* ]] ; then + local darwinok=0 + if [[ ${CHOST##*-darwin} -ge 16 ]] ; then + darwinok=1 + fi + sed -i -e 's/__builtin_available(macOS 10\.12, \*)/'"${darwinok}"'/' \ + src/_cffi_src/openssl/src/osrandom_engine.c || die + fi +} + +python_configure_all() { + filter-lto # bug #903908 +} + +python_test() { + local -x PYTHONPATH="${PYTHONPATH}:${WORKDIR}/${VEC_P}" + local EPYTEST_IGNORE=( + tests/bench + ) + epytest +} diff --git a/dev-python/cryptography/cryptography-47.0.0.ebuild b/dev-python/cryptography/cryptography-47.0.0.ebuild index b0090423b0f8..7e9dc3629f91 100644 --- a/dev-python/cryptography/cryptography-47.0.0.ebuild +++ b/dev-python/cryptography/cryptography-47.0.0.ebuild @@ -1,14 +1,16 @@ -# Copyright 2021-2026 Liguros Authors +# Copyright 1999-2026 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 + EAPI=8 -CARGO_OPTIONAL=yes DISTUTILS_EXT=1 DISTUTILS_USE_PEP517=maturin +PYPI_VERIFY_REPO=https://github.com/pyca/cryptography PYTHON_COMPAT=( python3_{13..14} ) PYTHON_REQ_USE="threads(+)" - +CARGO_OPTIONAL=yes +RUST_MIN_VER="1.83.0" CRATES=" asn1@0.24.1 asn1_derive@0.24.1 @@ -44,7 +46,7 @@ CRATES=" vcpkg@0.2.15 " -inherit cargo distutils-r1 multiprocessing +inherit cargo distutils-r1 flag-o-matic pypi VEC_P=cryptography_vectors-$(ver_cut 1-3) DESCRIPTION="Library providing cryptographic recipes and primitives" @@ -52,9 +54,14 @@ HOMEPAGE=" https://github.com/pyca/cryptography/ https://pypi.org/project/cryptography/ " -SRC_URI=" - https://github.com/pyca/cryptography/archive/refs/tags/${PV}.tar.gz -> ${P}.tar.gz - $(cargo_crate_uris ${CRATES})" +SRC_URI+=" + ${CARGO_CRATE_URIS} + test? ( + $(pypi_sdist_url cryptography_vectors "$(ver_cut 1-3)") + $(pypi_provenance_url "${VEC_P}.tar.gz" cryptography_vectors "$(ver_cut 1-3)") + -> ${VEC_P}.tar.gz.provenance + ) +" LICENSE="|| ( Apache-2.0 BSD ) PSF-2" # Dependent crate licenses @@ -62,12 +69,10 @@ LICENSE+=" Apache-2.0 Apache-2.0-with-LLVM-exceptions BSD MIT Unicode-3.0 " SLOT="0" -KEYWORDS="~amd64 arm arm64 ~loong ~mips ppc ppc64 ~riscv ~s390 ~sparc ~x86" -IUSE="" +KEYWORDS="amd64 arm arm64 ~loong ~mips ppc ppc64 ~riscv ~s390 ~sparc x86" RDEPEND=" >=dev-libs/openssl-1.0.2o-r6:0= - $(python_gen_cond_dep ' >=dev-python/cffi-2.0.0:=[${PYTHON_USEDEP}] ' 'python*') @@ -75,6 +80,7 @@ RDEPEND=" DEPEND=" ${RDEPEND} " + BDEPEND=" ${RUST_DEPEND} >=dev-util/maturin-1.9.4[${PYTHON_USEDEP}] @@ -96,6 +102,11 @@ EPYTEST_XDIST=1 distutils_enable_tests pytest src_unpack() { + if use verify-provenance; then + pypi_verify_provenance "${DISTDIR}/${P}.tar.gz"{,.provenance} + use test && pypi_verify_provenance "${DISTDIR}/${VEC_P}.tar.gz"{,.provenance} + fi + cargo_src_unpack } diff --git a/dev-python/cryptography/cryptography-48.0.0.ebuild b/dev-python/cryptography/cryptography-48.0.0.ebuild index 461739efaae9..05a756e9d8ce 100644 --- a/dev-python/cryptography/cryptography-48.0.0.ebuild +++ b/dev-python/cryptography/cryptography-48.0.0.ebuild @@ -1,14 +1,16 @@ -# Copyright 2021-2026 Liguros Authors +# Copyright 1999-2026 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 + EAPI=8 -CARGO_OPTIONAL=yes DISTUTILS_EXT=1 DISTUTILS_USE_PEP517=maturin +PYPI_VERIFY_REPO=https://github.com/pyca/cryptography PYTHON_COMPAT=( python3_{13..14} ) PYTHON_REQ_USE="threads(+)" - +CARGO_OPTIONAL=yes +RUST_MIN_VER="1.83.0" CRATES=" asn1@0.24.1 asn1_derive@0.24.1 @@ -44,7 +46,7 @@ CRATES=" vcpkg@0.2.15 " -inherit cargo distutils-r1 multiprocessing +inherit cargo distutils-r1 flag-o-matic pypi VEC_P=cryptography_vectors-$(ver_cut 1-3) DESCRIPTION="Library providing cryptographic recipes and primitives" @@ -52,9 +54,14 @@ HOMEPAGE=" https://github.com/pyca/cryptography/ https://pypi.org/project/cryptography/ " -SRC_URI=" - https://github.com/pyca/cryptography/archive/refs/tags/${PV}.tar.gz -> ${P}.tar.gz - $(cargo_crate_uris ${CRATES})" +SRC_URI+=" + ${CARGO_CRATE_URIS} + test? ( + $(pypi_sdist_url cryptography_vectors "$(ver_cut 1-3)") + $(pypi_provenance_url "${VEC_P}.tar.gz" cryptography_vectors "$(ver_cut 1-3)") + -> ${VEC_P}.tar.gz.provenance + ) +" LICENSE="|| ( Apache-2.0 BSD ) PSF-2" # Dependent crate licenses @@ -62,12 +69,10 @@ LICENSE+=" Apache-2.0 Apache-2.0-with-LLVM-exceptions BSD MIT Unicode-3.0 " SLOT="0" -KEYWORDS="~amd64 arm arm64 ~loong ~mips ppc ppc64 ~riscv ~s390 ~sparc ~x86" -IUSE="" +KEYWORDS="~amd64 ~arm ~arm64 ~loong ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86" RDEPEND=" >=dev-libs/openssl-1.0.2o-r6:0= - $(python_gen_cond_dep ' >=dev-python/cffi-2.0.0:=[${PYTHON_USEDEP}] ' 'python*') @@ -75,6 +80,7 @@ RDEPEND=" DEPEND=" ${RDEPEND} " + BDEPEND=" ${RUST_DEPEND} >=dev-util/maturin-1.9.4[${PYTHON_USEDEP}] @@ -91,11 +97,16 @@ BDEPEND=" # Files built without CFLAGS/LDFLAGS, acceptable for rust QA_FLAGS_IGNORED="usr/lib.*/py.*/site-packages/cryptography/hazmat/bindings/_rust.*.so" -EPYTEST_PLUGINS=( hypothesis pytest-subtests ) +EPYTEST_PLUGINS=( hypothesis ) EPYTEST_XDIST=1 distutils_enable_tests pytest src_unpack() { + if use verify-provenance; then + pypi_verify_provenance "${DISTDIR}/${P}.tar.gz"{,.provenance} + use test && pypi_verify_provenance "${DISTDIR}/${VEC_P}.tar.gz"{,.provenance} + fi + cargo_src_unpack } @@ -124,5 +135,10 @@ python_test() { local EPYTEST_IGNORE=( tests/bench ) + local EPYTEST_DESELECT=( + # OOMs depending on overcommit setting and available memory + tests/hazmat/primitives/test_argon2.py::TestArgon2::test_argon2_malloc_failure + ) + epytest } diff --git a/dev-python/cryptography/metadata.xml b/dev-python/cryptography/metadata.xml index 1aeaf3618766..621add906b84 100644 --- a/dev-python/cryptography/metadata.xml +++ b/dev-python/cryptography/metadata.xml @@ -2,18 +2,11 @@ <!DOCTYPE pkgmetadata SYSTEM "https://docs.baldeagleos.com/dtd/metadata.dtd"> <pkgmetadata> <maintainer type="project"> - <email>dev@liguros.net</email> - <name>Development</name> - </maintainer> - <maintainer type="project"> <email>python@gentoo.org</email> <name>Python</name> </maintainer> <upstream> - <remote-id type="cpe">cpe:/a:python-cryptography_project:python-cryptography</remote-id> + <remote-id type="cpe">cpe:/a:cryptography_project:cryptography</remote-id> </upstream> - <use> - <flag name="idna">enable support for the old, deprecated IDNA specification (RFC 3490)</flag> - </use> <origin>baldeagleos-repo</origin> </pkgmetadata> diff --git a/dev-python/fastapi/Manifest b/dev-python/fastapi/Manifest index 3ceb1c1acf6b..d9322adec108 100644 --- a/dev-python/fastapi/Manifest +++ b/dev-python/fastapi/Manifest @@ -1,3 +1 @@ -DIST fastapi-0.135.1.tar.gz 394962 BLAKE2B 95e002ac88880562fb19c51d6a9fa5b3a10f58ebfed32d70f8e4fcb9dd2e3c3366c5cbdefc3b4a8cd4d0fee8dc2e64dd9b1f5393d479cb6b3a62d5ee9b34abca SHA512 bd9b2789dbf98fbf566f340f9c890229ccb6f283066df54a82fab62763bd417a08b5fe3aa287409f224c30dbb4879b78f48e0a90d2261303879926621f4bc326 -DIST fastapi-0.135.2.tar.gz 395833 BLAKE2B 2177788bea82b840256beb46b1b15414a4aa26753c727107a3528101dd51f1f5f05e02f3603d4076df07c62824ba76d769aa72ad41c023c52072fa3e7c02d5b1 SHA512 62744ff30649569e74ee067c8d8fc96308f17a4d9ed055cb70b61cb38b7f0d0dd6d06a218294e2e6b96bd41a7b8b54947d75a56534f4b65af41e89c5cb108760 -DIST fastapi-0.135.3.tar.gz 396524 BLAKE2B 83ad655935be38c602c3a851910ab02dcc5e744241bb0e8f90864d97d37304a65e6d93790dbf8d7f05cc2d8e65e7d4ff1e5f934b4b272bbec43229db2a78e2d9 SHA512 3813ef68b3b090bb37970acdc43b29e468f9d17f48ebd960422188cc73854204eb425f743c13e84df622926475b971c74dacfac062f8392e1608b3ee1a47511c +DIST fastapi-0.136.3.tar.gz 396410 BLAKE2B eb55e632fea8e59a5f133b0b4c18dd158a8427bbcb8ecfd1656e019fb3c117598b18286afab6e1c27492ca3d8e0b5eb286d027428707890097ca5ea5d4e7a354 SHA512 a97358391f0c86f370949296c3c79e31086fc8faa8b721d216ac47fdce0b6052ab7fce0b4448e89c3faeb8b500dface43b86a4084c599e7d19fcc6dfca7a54d3 diff --git a/dev-python/fastapi/fastapi-0.135.1.ebuild b/dev-python/fastapi/fastapi-0.135.1.ebuild deleted file mode 100644 index e06dff5edb46..000000000000 --- a/dev-python/fastapi/fastapi-0.135.1.ebuild +++ /dev/null @@ -1,117 +0,0 @@ -# Copyright 2024-2026 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -DISTUTILS_USE_PEP517=pdm-backend -PYTHON_COMPAT=( python3_{13..14} ) - -inherit distutils-r1 optfeature - -DESCRIPTION="FastAPI framework, high performance, easy to learn, ready for production" -HOMEPAGE=" - https://fastapi.tiangolo.com/ - https://pypi.org/project/fastapi/ - https://github.com/fastapi/fastapi -" - -if [[ ${PV} == 9999 ]]; then - inherit git-r3 - EGIT_REPO_URI="https://github.com/fastapi/fastapi.git" -else - inherit pypi - KEYWORDS="~amd64" -fi - -LICENSE="MIT" -SLOT="0" - -RDEPEND=" - >=dev-python/annotated-doc-0.0.2[${PYTHON_USEDEP}] - >=dev-python/pydantic-2.7.0[${PYTHON_USEDEP}] - >=dev-python/starlette-0.46.0[${PYTHON_USEDEP}] - >=dev-python/typing-extensions-4.8.0[${PYTHON_USEDEP}] - >=dev-python/typing-inspection-0.4.2[${PYTHON_USEDEP}] -" -BDEPEND=" - test? ( - dev-python/aiosqlite[${PYTHON_USEDEP}] - >=dev-python/anyio-3.2.1[${PYTHON_USEDEP}] - dev-python/argon2-cffi[${PYTHON_USEDEP}] - <dev-python/a2wsgi-2.0.0[${PYTHON_USEDEP}] - >=dev-python/a2wsgi-1.9.0[${PYTHON_USEDEP}] - dev-python/dirty-equals[${PYTHON_USEDEP}] - dev-python/email-validator[${PYTHON_USEDEP}] - <dev-python/flask-4.0.0[${PYTHON_USEDEP}] - >=dev-python/flask-3.0.0[${PYTHON_USEDEP}] - >=dev-python/inline-snapshot-0.21.1[${PYTHON_USEDEP}] - >=dev-python/jinja2-3.1.5[${PYTHON_USEDEP}] - >=dev-python/orjson-3.9.3[${PYTHON_USEDEP}] - >=dev-python/pwdlib-0.2.1[${PYTHON_USEDEP}] - >=dev-python/pydantic-extra-types-2.0.0[${PYTHON_USEDEP}] - >=dev-python/pydantic-settings-2.0.0[${PYTHON_USEDEP}] - dev-python/pyjwt[${PYTHON_USEDEP}] - >=dev-python/python-multipart-0.0.18[${PYTHON_USEDEP}] - <dev-python/pyyaml-7.0.0[${PYTHON_USEDEP}] - >=dev-python/pyyaml-5.3.1[${PYTHON_USEDEP}] - <dev-python/strawberry-graphql-1.0.0[${PYTHON_USEDEP}] - >=dev-python/strawberry-graphql-0.200.0[${PYTHON_USEDEP}] - dev-python/sqlmodel[${PYTHON_USEDEP}] - dev-python/trio[${PYTHON_USEDEP}] - dev-python/typer[${PYTHON_USEDEP}] - >=dev-python/ujson-5.8.0[${PYTHON_USEDEP}] - dev-python/uvicorn[${PYTHON_USEDEP}] - ) -" -# brotli and zstd due to starlette based tests expecting it - -# Hung once -: ${EPYTEST_TIMEOUT:=60} -EPYTEST_PLUGINS=( anyio ) -distutils_enable_tests pytest - -EPYTEST_DESELECT=( - # Depends on coverage - "tests/test_fastapi_cli.py::test_fastapi_cli" - # Test result affected by unrelated packages such as brotli and zstd - # https://github.com/fastapi/fastapi/blob/7c6f2f8fde68f488163376c9e92a59d46c491298/tests/test_tutorial/test_header_param_models/test_tutorial001.py#L77 - "tests/test_tutorial/test_header_param_models/test_tutorial001.py::test_header_param_model_invalid" - "tests/test_tutorial/test_header_param_models/test_tutorial003.py::test_header_param_model_invalid" - "tests/test_tutorial/test_header_param_models/test_tutorial003.py::test_header_param_model_no_underscore" - # https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6afa196ca0cb1604875847b1b84fa64896a06f6e - "tests/test_multipart_installation.py::test_incorrect_multipart_installed_form" - "tests/test_multipart_installation.py::test_incorrect_multipart_installed_file_upload" - "tests/test_multipart_installation.py::test_incorrect_multipart_installed_file_bytes" - "tests/test_multipart_installation.py::test_incorrect_multipart_installed_multi_form" - "tests/test_multipart_installation.py::test_incorrect_multipart_installed_form_file" - "tests/test_multipart_installation.py::test_no_multipart_installed" - "tests/test_multipart_installation.py::test_no_multipart_installed_file" - "tests/test_multipart_installation.py::test_no_multipart_installed_file_bytes" - "tests/test_multipart_installation.py::test_no_multipart_installed_multi_form" - "tests/test_multipart_installation.py::test_no_multipart_installed_form_file" - "tests/test_multipart_installation.py::test_old_multipart_installed" - # Hangs with network-sandbox - "tests/test_tutorial/test_websockets/test_tutorial003_py39.py::test_websocket_handle_disconnection" - -) - -python_prepare_all() { - # Dont install fastapi executable as fastapi-cli is supposed to handle it - sed -i -e '/\[project.scripts\]/,/^$/d' pyproject.toml || die - - distutils-r1_python_prepare_all -} - -pkg_postinst() { - optfeature "commandline interface" dev-python/fastapi-cli - optfeature "test client" dev-python/httpx - optfeature "templates" dev-python/jinja2 - optfeature "forms and file uploads" dev-python/python-multipart - optfeature "validate emails" dev-python/email-validator - optfeature "uvicorn with uvloop" dev-python/uvicorn - optfeature "settings management" dev-python/pydantic-settings - optfeature "extra Pydantic data types" dev-python/pydantic-extra-types - optfeature_header "Alternative JSON responses" - optfeature "ORJSONResponse" dev-python/orjson - optfeature "UJSONResponse" dev-python/ujson -} diff --git a/dev-python/fastapi/fastapi-0.135.2.ebuild b/dev-python/fastapi/fastapi-0.135.2.ebuild deleted file mode 100644 index e032286d80d2..000000000000 --- a/dev-python/fastapi/fastapi-0.135.2.ebuild +++ /dev/null @@ -1,117 +0,0 @@ -# Copyright 2024-2026 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -DISTUTILS_USE_PEP517=pdm-backend -PYTHON_COMPAT=( python3_{13..14} ) - -inherit distutils-r1 optfeature - -DESCRIPTION="FastAPI framework, high performance, easy to learn, ready for production" -HOMEPAGE=" - https://fastapi.tiangolo.com/ - https://pypi.org/project/fastapi/ - https://github.com/fastapi/fastapi -" - -if [[ ${PV} == 9999 ]]; then - inherit git-r3 - EGIT_REPO_URI="https://github.com/fastapi/fastapi.git" -else - inherit pypi - KEYWORDS="~amd64" -fi - -LICENSE="MIT" -SLOT="0" - -RDEPEND=" - >=dev-python/annotated-doc-0.0.2[${PYTHON_USEDEP}] - >=dev-python/pydantic-2.9.0[${PYTHON_USEDEP}] - >=dev-python/starlette-0.46.0[${PYTHON_USEDEP}] - >=dev-python/typing-extensions-4.8.0[${PYTHON_USEDEP}] - >=dev-python/typing-inspection-0.4.2[${PYTHON_USEDEP}] -" -BDEPEND=" - test? ( - dev-python/aiosqlite[${PYTHON_USEDEP}] - >=dev-python/anyio-3.2.1[${PYTHON_USEDEP}] - dev-python/argon2-cffi[${PYTHON_USEDEP}] - <dev-python/a2wsgi-2.0.0[${PYTHON_USEDEP}] - >=dev-python/a2wsgi-1.9.0[${PYTHON_USEDEP}] - dev-python/dirty-equals[${PYTHON_USEDEP}] - dev-python/email-validator[${PYTHON_USEDEP}] - <dev-python/flask-4.0.0[${PYTHON_USEDEP}] - >=dev-python/flask-3.0.0[${PYTHON_USEDEP}] - >=dev-python/inline-snapshot-0.21.1[${PYTHON_USEDEP}] - >=dev-python/jinja2-3.1.5[${PYTHON_USEDEP}] - >=dev-python/orjson-3.9.3[${PYTHON_USEDEP}] - >=dev-python/pwdlib-0.2.1[${PYTHON_USEDEP}] - >=dev-python/pydantic-extra-types-2.0.0[${PYTHON_USEDEP}] - >=dev-python/pydantic-settings-2.0.0[${PYTHON_USEDEP}] - dev-python/pyjwt[${PYTHON_USEDEP}] - >=dev-python/python-multipart-0.0.18[${PYTHON_USEDEP}] - <dev-python/pyyaml-7.0.0[${PYTHON_USEDEP}] - >=dev-python/pyyaml-5.3.1[${PYTHON_USEDEP}] - <dev-python/strawberry-graphql-1.0.0[${PYTHON_USEDEP}] - >=dev-python/strawberry-graphql-0.200.0[${PYTHON_USEDEP}] - dev-python/sqlmodel[${PYTHON_USEDEP}] - dev-python/trio[${PYTHON_USEDEP}] - dev-python/typer[${PYTHON_USEDEP}] - >=dev-python/ujson-5.8.0[${PYTHON_USEDEP}] - dev-python/uvicorn[${PYTHON_USEDEP}] - ) -" -# brotli and zstd due to starlette based tests expecting it - -# Hung once -: ${EPYTEST_TIMEOUT:=60} -EPYTEST_PLUGINS=( anyio ) -distutils_enable_tests pytest - -EPYTEST_DESELECT=( - # Depends on coverage - "tests/test_fastapi_cli.py::test_fastapi_cli" - # Test result affected by unrelated packages such as brotli and zstd - # https://github.com/fastapi/fastapi/blob/7c6f2f8fde68f488163376c9e92a59d46c491298/tests/test_tutorial/test_header_param_models/test_tutorial001.py#L77 - "tests/test_tutorial/test_header_param_models/test_tutorial001.py::test_header_param_model_invalid" - "tests/test_tutorial/test_header_param_models/test_tutorial003.py::test_header_param_model_invalid" - "tests/test_tutorial/test_header_param_models/test_tutorial003.py::test_header_param_model_no_underscore" - # https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6afa196ca0cb1604875847b1b84fa64896a06f6e - "tests/test_multipart_installation.py::test_incorrect_multipart_installed_form" - "tests/test_multipart_installation.py::test_incorrect_multipart_installed_file_upload" - "tests/test_multipart_installation.py::test_incorrect_multipart_installed_file_bytes" - "tests/test_multipart_installation.py::test_incorrect_multipart_installed_multi_form" - "tests/test_multipart_installation.py::test_incorrect_multipart_installed_form_file" - "tests/test_multipart_installation.py::test_no_multipart_installed" - "tests/test_multipart_installation.py::test_no_multipart_installed_file" - "tests/test_multipart_installation.py::test_no_multipart_installed_file_bytes" - "tests/test_multipart_installation.py::test_no_multipart_installed_multi_form" - "tests/test_multipart_installation.py::test_no_multipart_installed_form_file" - "tests/test_multipart_installation.py::test_old_multipart_installed" - # Hangs with network-sandbox - "tests/test_tutorial/test_websockets/test_tutorial003_py39.py::test_websocket_handle_disconnection" - -) - -python_prepare_all() { - # Dont install fastapi executable as fastapi-cli is supposed to handle it - sed -i -e '/\[project.scripts\]/,/^$/d' pyproject.toml || die - - distutils-r1_python_prepare_all -} - -pkg_postinst() { - optfeature "commandline interface" dev-python/fastapi-cli - optfeature "test client" dev-python/httpx - optfeature "templates" dev-python/jinja2 - optfeature "forms and file uploads" dev-python/python-multipart - optfeature "validate emails" dev-python/email-validator - optfeature "uvicorn with uvloop" dev-python/uvicorn - optfeature "settings management" dev-python/pydantic-settings - optfeature "extra Pydantic data types" dev-python/pydantic-extra-types - optfeature_header "Alternative JSON responses" - optfeature "ORJSONResponse" dev-python/orjson - optfeature "UJSONResponse" dev-python/ujson -} diff --git a/dev-python/fastapi/fastapi-0.135.3.ebuild b/dev-python/fastapi/fastapi-0.135.3.ebuild deleted file mode 100644 index e032286d80d2..000000000000 --- a/dev-python/fastapi/fastapi-0.135.3.ebuild +++ /dev/null @@ -1,117 +0,0 @@ -# Copyright 2024-2026 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -DISTUTILS_USE_PEP517=pdm-backend -PYTHON_COMPAT=( python3_{13..14} ) - -inherit distutils-r1 optfeature - -DESCRIPTION="FastAPI framework, high performance, easy to learn, ready for production" -HOMEPAGE=" - https://fastapi.tiangolo.com/ - https://pypi.org/project/fastapi/ - https://github.com/fastapi/fastapi -" - -if [[ ${PV} == 9999 ]]; then - inherit git-r3 - EGIT_REPO_URI="https://github.com/fastapi/fastapi.git" -else - inherit pypi - KEYWORDS="~amd64" -fi - -LICENSE="MIT" -SLOT="0" - -RDEPEND=" - >=dev-python/annotated-doc-0.0.2[${PYTHON_USEDEP}] - >=dev-python/pydantic-2.9.0[${PYTHON_USEDEP}] - >=dev-python/starlette-0.46.0[${PYTHON_USEDEP}] - >=dev-python/typing-extensions-4.8.0[${PYTHON_USEDEP}] - >=dev-python/typing-inspection-0.4.2[${PYTHON_USEDEP}] -" -BDEPEND=" - test? ( - dev-python/aiosqlite[${PYTHON_USEDEP}] - >=dev-python/anyio-3.2.1[${PYTHON_USEDEP}] - dev-python/argon2-cffi[${PYTHON_USEDEP}] - <dev-python/a2wsgi-2.0.0[${PYTHON_USEDEP}] - >=dev-python/a2wsgi-1.9.0[${PYTHON_USEDEP}] - dev-python/dirty-equals[${PYTHON_USEDEP}] - dev-python/email-validator[${PYTHON_USEDEP}] - <dev-python/flask-4.0.0[${PYTHON_USEDEP}] - >=dev-python/flask-3.0.0[${PYTHON_USEDEP}] - >=dev-python/inline-snapshot-0.21.1[${PYTHON_USEDEP}] - >=dev-python/jinja2-3.1.5[${PYTHON_USEDEP}] - >=dev-python/orjson-3.9.3[${PYTHON_USEDEP}] - >=dev-python/pwdlib-0.2.1[${PYTHON_USEDEP}] - >=dev-python/pydantic-extra-types-2.0.0[${PYTHON_USEDEP}] - >=dev-python/pydantic-settings-2.0.0[${PYTHON_USEDEP}] - dev-python/pyjwt[${PYTHON_USEDEP}] - >=dev-python/python-multipart-0.0.18[${PYTHON_USEDEP}] - <dev-python/pyyaml-7.0.0[${PYTHON_USEDEP}] - >=dev-python/pyyaml-5.3.1[${PYTHON_USEDEP}] - <dev-python/strawberry-graphql-1.0.0[${PYTHON_USEDEP}] - >=dev-python/strawberry-graphql-0.200.0[${PYTHON_USEDEP}] - dev-python/sqlmodel[${PYTHON_USEDEP}] - dev-python/trio[${PYTHON_USEDEP}] - dev-python/typer[${PYTHON_USEDEP}] - >=dev-python/ujson-5.8.0[${PYTHON_USEDEP}] - dev-python/uvicorn[${PYTHON_USEDEP}] - ) -" -# brotli and zstd due to starlette based tests expecting it - -# Hung once -: ${EPYTEST_TIMEOUT:=60} -EPYTEST_PLUGINS=( anyio ) -distutils_enable_tests pytest - -EPYTEST_DESELECT=( - # Depends on coverage - "tests/test_fastapi_cli.py::test_fastapi_cli" - # Test result affected by unrelated packages such as brotli and zstd - # https://github.com/fastapi/fastapi/blob/7c6f2f8fde68f488163376c9e92a59d46c491298/tests/test_tutorial/test_header_param_models/test_tutorial001.py#L77 - "tests/test_tutorial/test_header_param_models/test_tutorial001.py::test_header_param_model_invalid" - "tests/test_tutorial/test_header_param_models/test_tutorial003.py::test_header_param_model_invalid" - "tests/test_tutorial/test_header_param_models/test_tutorial003.py::test_header_param_model_no_underscore" - # https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6afa196ca0cb1604875847b1b84fa64896a06f6e - "tests/test_multipart_installation.py::test_incorrect_multipart_installed_form" - "tests/test_multipart_installation.py::test_incorrect_multipart_installed_file_upload" - "tests/test_multipart_installation.py::test_incorrect_multipart_installed_file_bytes" - "tests/test_multipart_installation.py::test_incorrect_multipart_installed_multi_form" - "tests/test_multipart_installation.py::test_incorrect_multipart_installed_form_file" - "tests/test_multipart_installation.py::test_no_multipart_installed" - "tests/test_multipart_installation.py::test_no_multipart_installed_file" - "tests/test_multipart_installation.py::test_no_multipart_installed_file_bytes" - "tests/test_multipart_installation.py::test_no_multipart_installed_multi_form" - "tests/test_multipart_installation.py::test_no_multipart_installed_form_file" - "tests/test_multipart_installation.py::test_old_multipart_installed" - # Hangs with network-sandbox - "tests/test_tutorial/test_websockets/test_tutorial003_py39.py::test_websocket_handle_disconnection" - -) - -python_prepare_all() { - # Dont install fastapi executable as fastapi-cli is supposed to handle it - sed -i -e '/\[project.scripts\]/,/^$/d' pyproject.toml || die - - distutils-r1_python_prepare_all -} - -pkg_postinst() { - optfeature "commandline interface" dev-python/fastapi-cli - optfeature "test client" dev-python/httpx - optfeature "templates" dev-python/jinja2 - optfeature "forms and file uploads" dev-python/python-multipart - optfeature "validate emails" dev-python/email-validator - optfeature "uvicorn with uvloop" dev-python/uvicorn - optfeature "settings management" dev-python/pydantic-settings - optfeature "extra Pydantic data types" dev-python/pydantic-extra-types - optfeature_header "Alternative JSON responses" - optfeature "ORJSONResponse" dev-python/orjson - optfeature "UJSONResponse" dev-python/ujson -} diff --git a/dev-python/fastapi/fastapi-0.136.3.ebuild b/dev-python/fastapi/fastapi-0.136.3.ebuild new file mode 100644 index 000000000000..30bfda36d0bd --- /dev/null +++ b/dev-python/fastapi/fastapi-0.136.3.ebuild @@ -0,0 +1,91 @@ +# Copyright 2025-2026 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=pdm-backend +PYTHON_COMPAT=( python3_{13..14} ) +#may be not stricly required +PYTHON_REQ_USE="threads(+)" + +inherit distutils-r1 optfeature pypi + +DESCRIPTION="High performance framework, easy to learn, fast to code, ready for production" +HOMEPAGE="https://fastapi.tiangolo.com/ https://pypi.org/project/fastapi/" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64" + +RDEPEND=" + >=dev-python/annotated-doc-0.0.4[${PYTHON_USEDEP}] + >=dev-python/starlette-0.46.0[${PYTHON_USEDEP}] + >=dev-python/pydantic-2.9.0[${PYTHON_USEDEP}] + >=dev-python/typing-extensions-4.8.0[${PYTHON_USEDEP}] + >=dev-python/typing-inspection-0.4.2[${PYTHON_USEDEP}] +" + +#FIXME: add missing deps +BDEPEND="test? ( + dev-python/a2wsgi[${PYTHON_USEDEP}] + dev-python/dirty-equals[${PYTHON_USEDEP}] + dev-python/flask[${PYTHON_USEDEP}] + dev-python/inline-snapshot[${PYTHON_USEDEP}] + dev-python/pytest-timeout[${PYTHON_USEDEP}] + dev-python/python-multipart[${PYTHON_USEDEP}] + dev-python/sqlalchemy[${PYTHON_USEDEP}] + dev-python/typer[${PYTHON_USEDEP}] +)" + +# 3k tests+, so use xdist to speed them up +EPYTEST_XDIST=1 +distutils_enable_tests pytest + +# There are some JSON response tests that will exercise orjson or ujson if they are available. +# These are properly skipped if the optional dependencies are not installed at the cost of a little spam. +python_test() { + local EPYTEST_IGNORE=( + # python/strawberry-graphql (in guru, test dep only) + tests/test_tutorial/test_graphql/test_tutorial001.py + # dev-python/sqlmodel (in guru, test dep only) + tests/test_tutorial/test_sql_databases/test_tutorial001.py + tests/test_tutorial/test_sql_databases/test_tutorial002.py + # dev-python/fastapi-cli (missing, test and optfeature) + tests/test_fastapi_cli.py + # dev-python/pwdlib (in guru, test dep only) + tests/test_tutorial/test_security/test_tutorial004.py + tests/test_tutorial/test_security/test_tutorial005.py + # Wants dev-python/multipart _just_ to complain that it's not the right multipart lib. + tests/test_multipart_installation.py + # scripts/tests use CliRunner.isolated_filesystem() removed in recent typer + scripts/tests + ) + local EPYTEST_DESELECT=( + # Requires investigation - missing ./image.png test file (?) + tests/test_tutorial/test_additional_responses/test_tutorial004.py::test_path_operation_img + ) + epytest +} + +pkg_postinst() { + # not part of any upstream extra + optfeature "alternative JSON library" "dev-python/ujson" # orjson, too but it's deprecated + + # pyproject.toml:project.optional-dependencies.standard + # Following optfeatures should be exposed, but missing deps + # optfeature "fastAPI CLI" "dev-python/fastapi-cli" - missing - depends on this package! + # optfeature "compressed file support" "dev-python/fastar" - missing + # optfeature "pydantic extra types support" "dev-python/pydantic-extra-types" - in guru + optfeature_header "standard extras" + optfeature "ASGI server support" "dev-python/uvicorn" + optfeature "email validation support" "dev-python/email-validator" + optfeature "TestClient for testing FastAPI applications" "dev-python/httpx" + optfeature "templating support" "dev-python/jinja2" + optfeature "multipart form data support" "dev-python/python-multipart" + optfeature "settings management support" "dev-python/pydantic-settings" + + # pyproject.toml:project.optional-dependencies.all - includes all the above plus: + optfeature_header "all extras" + optfeature "session middleware support" "dev-python/itsdangerous" + optfeature "YAML support" "dev-python/pyyaml" +} diff --git a/dev-python/fastapi/metadata.xml b/dev-python/fastapi/metadata.xml index 35625086ffdf..7b4b286e100f 100644 --- a/dev-python/fastapi/metadata.xml +++ b/dev-python/fastapi/metadata.xml @@ -2,9 +2,8 @@ <!DOCTYPE pkgmetadata SYSTEM "https://docs.baldeagleos.com/dtd/metadata.dtd"> <pkgmetadata> <maintainer type="person"> - <email>negril.nx+gentoo@gmail.com</email> - <name>Paul Zander</name> + <email>kangie@gentoo.org</email> + <name>Matt Jolly</name> </maintainer> - <stabilize-allarches /> <origin>baldeagleos-repo</origin> </pkgmetadata> diff --git a/dev-python/grpcio/Manifest b/dev-python/grpcio/Manifest index 7ff9b8d7527b..94d0a3122deb 100644 --- a/dev-python/grpcio/Manifest +++ b/dev-python/grpcio/Manifest @@ -1,5 +1,6 @@ -DIST grpcio-1.74.0.tar.gz 12756048 BLAKE2B 943f9b438985193e13d72cd3e270f8b0bb311e548a226803e62619fb30ce50fa9f14bdcccec8aa6cf57704bdc7ef8706509d987c3ed9806a4e26f5360492124b SHA512 2f8bf61bf28b0b53422041f43fb226a7e4af0cd3c1942b58b84284a5d542e3224c3f54b40dc5346424dd0c260e1416b857732d8ee02fbca28384a15702f07ae0 -DIST grpcio-1.75.1.tar.gz 12731327 BLAKE2B 1cca575fefd42584fa1ce1d20ae875b2f894a1cc4f3c7eefbd64e51014bd8709f70d8ac8750cd06d9572a7867fb0ac514af098bb7b88c574f006957df4d7c082 SHA512 025554fc885859e0e484ec0c205ba19abe21d4fc7b6632eac7d4aa1fb7513b57235e38444a01b417c2f70549c79696b08fb4f2a673689cbca2810b21363d3fa5 -DIST grpcio-1.76.0.tar.gz 12785182 BLAKE2B dbd3bf849ac2a721a114087e484d8f759bc4799e2e8a4ea58236a6bcf926ccf1ee183bc61f616f7acbbff59418b9e39de921e50aa6b890e6a642f2969f9513cf SHA512 f6cd5bb70d839c7f0a17da9635c3363d1073f590fb53518a2c603a1a93f03742e135f86105494852ae343c699a9de8a3286fd150ef9074d8a51727c61c5a55c5 -DIST grpcio-1.78.1.tar.gz 12835760 BLAKE2B 45c2c811d5970731e88539ab60d8f99f4477a6cd6f9e64a85dee618a56709c8bd8c7476849dff9bf4d5af75e5dd845bd9a7e1259cb345394a9e8add7ededc6db SHA512 5e123927cf9dd6cbee6c623f88007c6b89e3c0cd67ad911f9fc594546597a3a98542f04ee54b431660eaf6be5248fef67af256400209af1df61e01b1b2222829 +DIST grpc-1.80.0.gh.tar.gz 15772645 BLAKE2B 48f3acc5c3268f651dc865ce3095c306ad3fa0a4eacf6e6eea499d961c0e001e2ab43fe8f0d53713d19998f28ce0184045ad2a8ef4cdc41aee31e2fe70e2b53e SHA512 5ef6ec2277dcb2257f8ac7546057e9a3da6668676a3a4ff64e08e66abb465b5705103c4aa0b41955535ee437d4feef5b811aa3e31636c4cb76bf68c52caaccf7 +DIST grpc-1.81.0.gh.tar.gz 15840050 BLAKE2B 01defbe7386b8f7752b4abe9b3081fc09801a0d4cbccc083ac45dea63b3d32a6c4c7b87b57de9a33f7d82d3bc7ee173e0e291742a8b09aaf3a70bfef033c2473 SHA512 38966090a498392b727ea7d8149b59fbcb2fe630a8cada1a78d57e54359d125ca9b5e6d528efcdff05392f01c8418f25798fe823c900d480a3b768943c17a621 DIST grpcio-1.80.0.tar.gz 12978905 BLAKE2B 2583bbdfcb05aaced115b4a4ab7d26b95efbe35bf7c2bd7989d9791d50553e05ba3e6323ce8b52c78459b34b5daeb1566ffd1e2b17c14208a13e4a06f0a2a6d5 SHA512 04ef676d6847f3d2820998c07d9f80585c105dc43e3f754b517566e86a92af94328ecdecba0b772e0abe2a53eb49102a12db93099b50d5bee576ac69cb928db5 +DIST grpcio-1.81.0.tar.gz 13032272 BLAKE2B 55ecfd288602cbdc44b11b9ac4afb90b79d8feae773bfd5bb7df1057e4af9b5657d6151b71f8e73e028c92e07f7e105859b8814e781ca3afdf05e4b7eca699b3 SHA512 f57e7c370455028b91574804c511181919c6de23e4213ef35d798c310734f41ab30eabbef00b183cbc2085e22b05b9616109eff8c49443c03932a5b6f8339502 +DIST grpcio_tools-1.80.0.tar.gz 6133212 BLAKE2B 9bf051314482ff946aa6edd4f8b517dec63c1188914d76a2b4d130b68408ee5ec3ec3b5a2075b7ec2257e92ee9dbad37c18c425a2b947b81640f67cadd284df6 SHA512 7d9e17cee024af6731a8b75da6de0c26b554f2c50d75acfefc7708545935af4ab8f60fe0e16550c4c2943eb6c3414c49c38dc1a71df948c87c6c743ee72fff68 +DIST grpcio_tools-1.81.0.tar.gz 6235718 BLAKE2B 08cd6c49329349fbfa9e26efe4b3894095801319e41bafda9907f98ae823bf5f4de17db6f02780c31aef9a781d2b0463c88825dae073e5d0617b346c1c39dbca SHA512 0925b13fa8b00483d124ef6c2b6e3ebe6e4116a11fe5c306d158edd9a2f5d4743257bcd2ae04c1f29dd1e562e44f1e76c0d1168a07e4fd2f87ae31066ab2555b diff --git a/dev-python/grpcio/grpcio-1.74.0.ebuild b/dev-python/grpcio/grpcio-1.74.0.ebuild deleted file mode 100644 index 7670f76f0070..000000000000 --- a/dev-python/grpcio/grpcio-1.74.0.ebuild +++ /dev/null @@ -1,51 +0,0 @@ -# Copyright 2022-2025 LiGurOs Authors -# Distributed under the terms of the GNU General Public License v2 -EAPI=8 - -DISTUTILS_EXT=1 -DISTUTILS_USE_PEP517=setuptools -PYTHON_COMPAT=( python3_{13..14} ) - -inherit distutils-r1 multiprocessing prefix pypi - -DESCRIPTION="High-performance RPC framework (python libraries)" -HOMEPAGE="https://grpc.io https://pypi.org/project/grpcio/" - -LICENSE="Apache-2.0" -SLOT="0" -KEYWORDS="amd64 ~arm arm64 ~ppc64 ~riscv x86" -IUSE="" - -RDEPEND=" - >=dev-libs/openssl-1.1.1:0=[-bindist(-)] - >=dev-libs/re2-0.2021.11.01:= - dev-python/cython[${PYTHON_USEDEP}] - >=dev-libs/protobuf-25.0 - dev-python/protobuf[${PYTHON_USEDEP}] - dev-python/six[${PYTHON_USEDEP}] - net-dns/c-ares:= - sys-libs/zlib:= -" - -DEPEND="${RDEPEND}" - -src_prepare() { - default -} - -python_prepare_all() { - distutils-r1_python_prepare_all - hprefixify setup.py -} - -python_configure_all() { - export GRPC_BUILD_WITH_BORING_SSL_ASM=9 - export GRPC_PYTHON_BUILD_SYSTEM_OPENSSL=1 - - export GRPC_PYTHON_DISABLE_LIBC_COMPATIBILITY=1 - export GRPC_PYTHON_BUILD_SYSTEM_CARES=1 - export GRPC_PYTHON_BUILD_WITH_SYSTEM_RE2=1 - export GRPC_PYTHON_BUILD_SYSTEM_ZLIB=1 - export GRPC_PYTHON_BUILD_WITH_CYTHON=1 - export GRPC_PYTHON_BUILD_EXT_COMPILER_JOBS="$(makeopts_jobs)" -} diff --git a/dev-python/grpcio/grpcio-1.75.1.ebuild b/dev-python/grpcio/grpcio-1.75.1.ebuild deleted file mode 100644 index 7670f76f0070..000000000000 --- a/dev-python/grpcio/grpcio-1.75.1.ebuild +++ /dev/null @@ -1,51 +0,0 @@ -# Copyright 2022-2025 LiGurOs Authors -# Distributed under the terms of the GNU General Public License v2 -EAPI=8 - -DISTUTILS_EXT=1 -DISTUTILS_USE_PEP517=setuptools -PYTHON_COMPAT=( python3_{13..14} ) - -inherit distutils-r1 multiprocessing prefix pypi - -DESCRIPTION="High-performance RPC framework (python libraries)" -HOMEPAGE="https://grpc.io https://pypi.org/project/grpcio/" - -LICENSE="Apache-2.0" -SLOT="0" -KEYWORDS="amd64 ~arm arm64 ~ppc64 ~riscv x86" -IUSE="" - -RDEPEND=" - >=dev-libs/openssl-1.1.1:0=[-bindist(-)] - >=dev-libs/re2-0.2021.11.01:= - dev-python/cython[${PYTHON_USEDEP}] - >=dev-libs/protobuf-25.0 - dev-python/protobuf[${PYTHON_USEDEP}] - dev-python/six[${PYTHON_USEDEP}] - net-dns/c-ares:= - sys-libs/zlib:= -" - -DEPEND="${RDEPEND}" - -src_prepare() { - default -} - -python_prepare_all() { - distutils-r1_python_prepare_all - hprefixify setup.py -} - -python_configure_all() { - export GRPC_BUILD_WITH_BORING_SSL_ASM=9 - export GRPC_PYTHON_BUILD_SYSTEM_OPENSSL=1 - - export GRPC_PYTHON_DISABLE_LIBC_COMPATIBILITY=1 - export GRPC_PYTHON_BUILD_SYSTEM_CARES=1 - export GRPC_PYTHON_BUILD_WITH_SYSTEM_RE2=1 - export GRPC_PYTHON_BUILD_SYSTEM_ZLIB=1 - export GRPC_PYTHON_BUILD_WITH_CYTHON=1 - export GRPC_PYTHON_BUILD_EXT_COMPILER_JOBS="$(makeopts_jobs)" -} diff --git a/dev-python/grpcio/grpcio-1.76.0.ebuild b/dev-python/grpcio/grpcio-1.76.0.ebuild deleted file mode 100644 index 7670f76f0070..000000000000 --- a/dev-python/grpcio/grpcio-1.76.0.ebuild +++ /dev/null @@ -1,51 +0,0 @@ -# Copyright 2022-2025 LiGurOs Authors -# Distributed under the terms of the GNU General Public License v2 -EAPI=8 - -DISTUTILS_EXT=1 -DISTUTILS_USE_PEP517=setuptools -PYTHON_COMPAT=( python3_{13..14} ) - -inherit distutils-r1 multiprocessing prefix pypi - -DESCRIPTION="High-performance RPC framework (python libraries)" -HOMEPAGE="https://grpc.io https://pypi.org/project/grpcio/" - -LICENSE="Apache-2.0" -SLOT="0" -KEYWORDS="amd64 ~arm arm64 ~ppc64 ~riscv x86" -IUSE="" - -RDEPEND=" - >=dev-libs/openssl-1.1.1:0=[-bindist(-)] - >=dev-libs/re2-0.2021.11.01:= - dev-python/cython[${PYTHON_USEDEP}] - >=dev-libs/protobuf-25.0 - dev-python/protobuf[${PYTHON_USEDEP}] - dev-python/six[${PYTHON_USEDEP}] - net-dns/c-ares:= - sys-libs/zlib:= -" - -DEPEND="${RDEPEND}" - -src_prepare() { - default -} - -python_prepare_all() { - distutils-r1_python_prepare_all - hprefixify setup.py -} - -python_configure_all() { - export GRPC_BUILD_WITH_BORING_SSL_ASM=9 - export GRPC_PYTHON_BUILD_SYSTEM_OPENSSL=1 - - export GRPC_PYTHON_DISABLE_LIBC_COMPATIBILITY=1 - export GRPC_PYTHON_BUILD_SYSTEM_CARES=1 - export GRPC_PYTHON_BUILD_WITH_SYSTEM_RE2=1 - export GRPC_PYTHON_BUILD_SYSTEM_ZLIB=1 - export GRPC_PYTHON_BUILD_WITH_CYTHON=1 - export GRPC_PYTHON_BUILD_EXT_COMPILER_JOBS="$(makeopts_jobs)" -} diff --git a/dev-python/grpcio/grpcio-1.78.1.ebuild b/dev-python/grpcio/grpcio-1.78.1.ebuild deleted file mode 100644 index 13c7fde34b09..000000000000 --- a/dev-python/grpcio/grpcio-1.78.1.ebuild +++ /dev/null @@ -1,51 +0,0 @@ -# Copyright 2022-2026 LiGurOs Authors -# Distributed under the terms of the GNU General Public License v2 -EAPI=8 - -DISTUTILS_EXT=1 -DISTUTILS_USE_PEP517=setuptools -PYTHON_COMPAT=( python3_{13..14} ) - -inherit distutils-r1 multiprocessing prefix pypi - -DESCRIPTION="High-performance RPC framework (python libraries)" -HOMEPAGE="https://grpc.io https://pypi.org/project/grpcio/" - -LICENSE="Apache-2.0" -SLOT="0" -KEYWORDS="amd64 ~arm arm64 ~ppc64 ~riscv x86" -IUSE="" - -RDEPEND=" - >=dev-libs/openssl-1.1.1:0=[-bindist(-)] - >=dev-libs/re2-0.2021.11.01:= - dev-python/cython[${PYTHON_USEDEP}] - >=dev-libs/protobuf-25.0 - dev-python/protobuf[${PYTHON_USEDEP}] - dev-python/six[${PYTHON_USEDEP}] - net-dns/c-ares:= - sys-libs/zlib:= -" - -DEPEND="${RDEPEND}" - -src_prepare() { - default -} - -python_prepare_all() { - distutils-r1_python_prepare_all - hprefixify setup.py -} - -python_configure_all() { - export GRPC_BUILD_WITH_BORING_SSL_ASM=9 - export GRPC_PYTHON_BUILD_SYSTEM_OPENSSL=1 - - export GRPC_PYTHON_DISABLE_LIBC_COMPATIBILITY=1 - export GRPC_PYTHON_BUILD_SYSTEM_CARES=1 - export GRPC_PYTHON_BUILD_WITH_SYSTEM_RE2=1 - export GRPC_PYTHON_BUILD_SYSTEM_ZLIB=1 - export GRPC_PYTHON_BUILD_WITH_CYTHON=1 - export GRPC_PYTHON_BUILD_EXT_COMPILER_JOBS="$(makeopts_jobs)" -} diff --git a/dev-python/grpcio/grpcio-1.80.0.ebuild b/dev-python/grpcio/grpcio-1.80.0.ebuild index 13c7fde34b09..c468eb77cafc 100644 --- a/dev-python/grpcio/grpcio-1.80.0.ebuild +++ b/dev-python/grpcio/grpcio-1.80.0.ebuild @@ -1,51 +1,135 @@ -# Copyright 2022-2026 LiGurOs Authors +# Copyright 2024-2026 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_{13..14} ) -inherit distutils-r1 multiprocessing prefix pypi +inherit distutils-r1 flag-o-matic multiprocessing pypi -DESCRIPTION="High-performance RPC framework (python libraries)" -HOMEPAGE="https://grpc.io https://pypi.org/project/grpcio/" +MY_P=grpc-${PV} +DESCRIPTION="HTTP/2-based RPC framework" +HOMEPAGE=" + https://grpc.io/ + https://github.com/grpc/grpc/ + https://pypi.org/project/grpcio/ +" +# Tests need other packages from the source tree, so use a GitHub +# archive. sdist provides bundled library sources (git submodules). +SRC_URI+=" + test? ( + https://github.com/grpc/grpc/archive/v${PV}.tar.gz + -> ${MY_P}.gh.tar.gz + $(pypi_sdist_url grpcio_tools) + ) +" LICENSE="Apache-2.0" SLOT="0" -KEYWORDS="amd64 ~arm arm64 ~ppc64 ~riscv x86" -IUSE="" +KEYWORDS="amd64 arm64 x86" -RDEPEND=" - >=dev-libs/openssl-1.1.1:0=[-bindist(-)] - >=dev-libs/re2-0.2021.11.01:= - dev-python/cython[${PYTHON_USEDEP}] - >=dev-libs/protobuf-25.0 - dev-python/protobuf[${PYTHON_USEDEP}] - dev-python/six[${PYTHON_USEDEP}] +DEPEND=" + dev-libs/openssl:= net-dns/c-ares:= - sys-libs/zlib:= + virtual/zlib:= +" +RDEPEND=" + ${DEPEND} + >=dev-python/typing-extensions-4.12.2[${PYTHON_USEDEP}] +" +# TODO: try to remove coverage dep +BDEPEND=" + >=dev-python/cython-3.1.1[${PYTHON_USEDEP}] + test? ( + dev-python/coverage[${PYTHON_USEDEP}] + >=dev-python/protobuf-6.31.1[${PYTHON_USEDEP}] + ) " -DEPEND="${RDEPEND}" +EPYTEST_PLUGINS=() +# signal handling tests hang often +EPYTEST_RERUNS=5 +: ${EPYTEST_TIMEOUT=15} +EPYTEST_XDIST=1 +distutils_enable_tests pytest src_prepare() { - default -} + distutils-r1_src_prepare -python_prepare_all() { - distutils-r1_python_prepare_all - hprefixify setup.py + sed -i -e '/INSTALL_REQUIRES/s:~=:>=:' setup.py || die } -python_configure_all() { - export GRPC_BUILD_WITH_BORING_SSL_ASM=9 - export GRPC_PYTHON_BUILD_SYSTEM_OPENSSL=1 +src_configure() { + # -Werror=odr -Werror=lto-type-mismatch + # https://bugs.gentoo.org/856775 + # https://github.com/grpc/grpc/issues/36158 + filter-lto - export GRPC_PYTHON_DISABLE_LIBC_COMPATIBILITY=1 + export GRPC_PYTHON_BUILD_EXT_COMPILER_JOBS="$(makeopts_jobs)" + # system abseil-cpp crashes with USE=-debug, sigh + # https://bugs.gentoo.org/942021 + #export GRPC_PYTHON_BUILD_SYSTEM_ABSL=1 export GRPC_PYTHON_BUILD_SYSTEM_CARES=1 - export GRPC_PYTHON_BUILD_WITH_SYSTEM_RE2=1 + export GRPC_PYTHON_BUILD_SYSTEM_OPENSSL=1 + # re2 needs to be built against the same abseil-cpp version + #export GRPC_PYTHON_BUILD_SYSTEM_RE2=1 export GRPC_PYTHON_BUILD_SYSTEM_ZLIB=1 export GRPC_PYTHON_BUILD_WITH_CYTHON=1 - export GRPC_PYTHON_BUILD_EXT_COMPILER_JOBS="$(makeopts_jobs)" + + # copied from setup.py, except for removed -std= that does not apply + # to C code and causes warnings + export GRPC_PYTHON_CFLAGS="-fvisibility=hidden -fno-wrapv -fno-exceptions" + # required by abseil-cpp + append-cxxflags -std=c++17 + # silence a lot of harmless noise from bad quality code + append-cxxflags -Wno-attributes +} + +python_test() { + local EPYTEST_DESELECT=( + # Internet + tests/unit/_dns_resolver_test.py::DNSResolverTest::test_connect_loopback + # not a test + tests/unit/_compression_test.py::test_compression + tests_aio/unit/channel_argument_test.py::test_if_reuse_port_enabled + # expects grpcio-admin + tests/unit/test_all_modules_installed.py::TestAllModulesInstalled::test_import_all_modules + # TODO + tests_py3_only/unit/_simple_stubs_test.py::SimpleStubsTest::test_default_ssl + ) + local EPYTEST_IGNORE=( + # not a test + tests/unit/test_common.py + # requires oauth2client + tests/unit/beta/_implementations_test.py + ) + + cp -a "${BUILD_DIR}"/{install,test} || die + local -x PATH=${BUILD_DIR}/test/usr/bin:${PATH} + + # grpcio proper builds against system libs + # grpcio_tools supports bundled libs only, and requires different + # flags + unset GRPC_PYTHON_CFLAGS + cd "${WORKDIR}/grpcio_tools-${PV}" || die + distutils_pep517_install "${BUILD_DIR}"/test + + cd "${WORKDIR}/${MY_P}" || die + local protodir=src/proto/grpc/testing + local testdir=src/python/grpcio_tests + "${EPYTHON}" -m grpc_tools.protoc -I. --python_out="${testdir}" \ + "${protodir}"/{empty,messages}.proto || die + "${EPYTHON}" -m grpc_tools.protoc -I. --grpc_python_out="${testdir}" \ + "${protodir}"/test.proto || die + + cd "${testdir}" || die + "${EPYTHON}" -m grpc_tools.protoc -I. --python_out=. \ + tests/testing/proto/{requests,services}.proto || die + "${EPYTHON}" -m grpc_tools.protoc -I. --grpc_python_out=. \ + tests/testing/proto/services.proto || die + + # TODO: aio tests are failing randomly, so we're skipping them entirely + epytest tests{_py3_only,}/unit } diff --git a/dev-python/grpcio/grpcio-1.81.0.ebuild b/dev-python/grpcio/grpcio-1.81.0.ebuild new file mode 100644 index 000000000000..6e9fb2ecc763 --- /dev/null +++ b/dev-python/grpcio/grpcio-1.81.0.ebuild @@ -0,0 +1,137 @@ +# Copyright 2024-2026 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_{13..14} ) + +inherit distutils-r1 flag-o-matic multiprocessing pypi + +MY_P=grpc-${PV} +DESCRIPTION="HTTP/2-based RPC framework" +HOMEPAGE=" + https://grpc.io/ + https://github.com/grpc/grpc/ + https://pypi.org/project/grpcio/ +" +# Tests need other packages from the source tree, so use a GitHub +# archive. sdist provides bundled library sources (git submodules). +SRC_URI+=" + test? ( + https://github.com/grpc/grpc/archive/v${PV}.tar.gz + -> ${MY_P}.gh.tar.gz + $(pypi_sdist_url grpcio_tools) + ) +" + +LICENSE="Apache-2.0" +SLOT="0" +KEYWORDS="~amd64 ~arm64 ~x86" + +DEPEND=" + dev-libs/openssl:= + net-dns/c-ares:= + virtual/zlib:= +" +RDEPEND=" + ${DEPEND} + >=dev-python/typing-extensions-4.12.2[${PYTHON_USEDEP}] +" +# TODO: try to remove coverage dep +BDEPEND=" + >=dev-python/cython-3.1.1[${PYTHON_USEDEP}] + test? ( + dev-python/coverage[${PYTHON_USEDEP}] + >=dev-python/protobuf-6.33.5[${PYTHON_USEDEP}] + ) +" + +EPYTEST_PLUGINS=() +# signal handling tests hang often +EPYTEST_RERUNS=5 +: ${EPYTEST_TIMEOUT=15} +EPYTEST_XDIST=1 +distutils_enable_tests pytest + +src_prepare() { + distutils-r1_src_prepare + + sed -i -e '/INSTALL_REQUIRES/s:~=:>=:' setup.py || die +} + +src_configure() { + # -Werror=odr -Werror=lto-type-mismatch + # https://bugs.gentoo.org/856775 + # https://github.com/grpc/grpc/issues/36158 + filter-lto + + export GRPC_PYTHON_BUILD_EXT_COMPILER_JOBS="$(makeopts_jobs)" + # system abseil-cpp crashes with USE=-debug, sigh + # https://bugs.gentoo.org/942021 + #export GRPC_PYTHON_BUILD_SYSTEM_ABSL=1 + export GRPC_PYTHON_BUILD_SYSTEM_CARES=1 + export GRPC_PYTHON_BUILD_SYSTEM_OPENSSL=1 + # re2 needs to be built against the same abseil-cpp version + #export GRPC_PYTHON_BUILD_SYSTEM_RE2=1 + export GRPC_PYTHON_BUILD_SYSTEM_ZLIB=1 + export GRPC_PYTHON_BUILD_WITH_CYTHON=1 + + # copied from setup.py, except for removed -std= that does not apply + # to C code and causes warnings + export GRPC_PYTHON_CFLAGS="-fvisibility=hidden -fno-wrapv -fno-exceptions" + # required by abseil-cpp + append-cxxflags -std=c++17 + # silence a lot of harmless noise from bad quality code + append-cxxflags -Wno-attributes +} + +python_test() { + local EPYTEST_DESELECT=( + # Internet + tests/unit/_dns_resolver_test.py::DNSResolverTest::test_connect_loopback + # not a test + tests/unit/_compression_test.py::test_compression + tests_aio/unit/channel_argument_test.py::test_if_reuse_port_enabled + # expects grpcio-admin + tests/unit/test_all_modules_installed.py::TestAllModulesInstalled::test_import_all_modules + # TODO + tests_py3_only/unit/_simple_stubs_test.py::SimpleStubsTest::test_default_ssl + tests/unit/_cython/_channel_test.py::ChannelTest::test_multiple_channels_lonely_connectivity + tests/unit/_cython/_channel_test.py::ChannelTest::test_single_channel_lonely_connectivity + ) + local EPYTEST_IGNORE=( + # not a test + tests/unit/test_common.py + # requires oauth2client + tests/unit/beta/_implementations_test.py + ) + + cp -a "${BUILD_DIR}"/{install,test} || die + local -x PATH=${BUILD_DIR}/test/usr/bin:${PATH} + + # grpcio proper builds against system libs + # grpcio_tools supports bundled libs only, and requires different + # flags + unset GRPC_PYTHON_CFLAGS + cd "${WORKDIR}/grpcio_tools-${PV}" || die + distutils_pep517_install "${BUILD_DIR}"/test + + cd "${WORKDIR}/${MY_P}" || die + local protodir=src/proto/grpc/testing + local testdir=src/python/grpcio_tests + "${EPYTHON}" -m grpc_tools.protoc -I. --python_out="${testdir}" \ + "${protodir}"/{empty,messages}.proto || die + "${EPYTHON}" -m grpc_tools.protoc -I. --grpc_python_out="${testdir}" \ + "${protodir}"/test.proto || die + + cd "${testdir}" || die + "${EPYTHON}" -m grpc_tools.protoc -I. --python_out=. \ + tests/testing/proto/{requests,services}.proto || die + "${EPYTHON}" -m grpc_tools.protoc -I. --grpc_python_out=. \ + tests/testing/proto/services.proto || die + + # TODO: aio tests are failing randomly, so we're skipping them entirely + epytest tests{_py3_only,}/unit +} diff --git a/dev-python/grpcio/metadata.xml b/dev-python/grpcio/metadata.xml index dae5cf903b8e..acfe7097587e 100644 --- a/dev-python/grpcio/metadata.xml +++ b/dev-python/grpcio/metadata.xml @@ -2,12 +2,8 @@ <!DOCTYPE pkgmetadata SYSTEM "https://docs.baldeagleos.com/dtd/metadata.dtd"> <pkgmetadata> <maintainer type="project"> - <email>dev@liguros.net</email> - <name>Development</name> - </maintainer> - <maintainer type="person"> - <email>gyakovlev@gentoo.org</email> - <name>Georgy Yakovlev</name> + <email>python@gentoo.org</email> + <name>Python</name> </maintainer> <origin>baldeagleos-repo</origin> </pkgmetadata> diff --git a/dev-python/mysqlclient/Manifest b/dev-python/mysqlclient/Manifest index cdc899c17a40..fb9f43b598aa 100644 --- a/dev-python/mysqlclient/Manifest +++ b/dev-python/mysqlclient/Manifest @@ -1,2 +1 @@ -DIST mysqlclient-2.2.7.tar.gz 91383 BLAKE2B a09735acfb00abb5dd8dc46265aa3daa756217763593143cc3ea31cfbb01e08b2e51f00845e8806a6a4d1cb9c04c40c2228e41cfad3a3b4f45a82f6dcb752950 SHA512 085141575d4b1ce87a1fa1d69c235a6f0ad3b57c3aebac83739dddbe86a2cca8321cfa99332efafd8ac76f1d0dd3bcf03232756a1c26da02616a8adf9db57e29 DIST mysqlclient-2.2.8.tar.gz 92287 BLAKE2B 371050f4c670668dd44fa53e67ddab8111355d6ca9f0eb2349927d2e5edc1f9f259d6e04bc6c0c0a975fe782a4e9cf9e98f695128098d8436463692af253f685 SHA512 113043e722896bba4bbd6c510c58d11336e916cda2e00fd261ce8b8db929e6a59427a125083626fc069e0f6cf524be730efe5b3250f0296a616f6670b91bcf67 diff --git a/dev-python/mysqlclient/metadata.xml b/dev-python/mysqlclient/metadata.xml index e3a8210c3341..d66b6578f6f7 100644 --- a/dev-python/mysqlclient/metadata.xml +++ b/dev-python/mysqlclient/metadata.xml @@ -1,10 +1,6 @@ <?xml version="1.0" encoding="UTF-8"?> <!DOCTYPE pkgmetadata SYSTEM "https://docs.baldeagleos.com/dtd/metadata.dtd"> <pkgmetadata> - <maintainer type="project"> - <email>dev@liguros.net</email> - <name>Development</name> - </maintainer> <maintainer type="person"> <email>prometheanfire@gentoo.org</email> <name>Matthew Thode</name> diff --git a/dev-python/mysqlclient/mysqlclient-2.2.7-r1.ebuild b/dev-python/mysqlclient/mysqlclient-2.2.7-r1.ebuild deleted file mode 100644 index 7b82d955540d..000000000000 --- a/dev-python/mysqlclient/mysqlclient-2.2.7-r1.ebuild +++ /dev/null @@ -1,89 +0,0 @@ -# Copyright 2025 Liguros Authors -# Distributed under the terms of the GNU General Public License v2 -EAPI=8 - -DISTUTILS_EXT=1 -DISTUTILS_USE_PEP517=setuptools -PYTHON_COMPAT=( python3_{13..14} ) - -inherit distutils-r1 pypi - -DESCRIPTION="Python interface to MySQL" -HOMEPAGE=" - https://pypi.org/project/mysqlclient/ - https://github.com/PyMySQL/mysqlclient/ -" - -LICENSE="GPL-2+" -SLOT="0" -KEYWORDS="amd64 ~arm arm64 ~hppa ~ppc ppc64 ~riscv ~s390 ~sparc x86 ~amd64-linux ~x86-linux" - -DEPEND=" - dev-db/mariadb-connector-c:0= -" -RDEPEND=" - ${DEPEND} -" -BDEPEND=" - test? ( - dev-db/mariadb[server] - ) -" - -EPYTEST_PLUGINS=() -distutils_enable_sphinx doc \ - dev-python/sphinx-rtd-theme -distutils_enable_tests pytest - -src_test() { - rm -r src || die - - local datadir="${T}/mysql" \ - install_log="${T}/mysqld_install.log" \ - pidfile="${T}/mysqld.pid" \ - socket="${T}/mysqld.sock" \ - log="${T}/mysqld.log" - einfo "Creating test MySQL instance ..." - if ! mysql_install_db \ - --no-defaults \ - --auth-root-authentication-method=normal \ - --basedir="${EPREFIX}/usr" \ - --datadir="${datadir}" >& "${install_log}" - then - cat "${install_log}" - die "Failed to create database" - fi - - einfo "Starting test MySQL instance ..." - mysqld \ - --no-defaults \ - --character-set-server=utf8 \ - --pid-file="${pidfile}" \ - --socket="${socket}" \ - --skip-networking \ - --datadir="${datadir}" >& "${log}" & - - local i timeout=10 - einfo "Waiting for MySQL to start for up to ${timeout} seconds ..." - for i in seq 1 ${timeout}; do - [[ -S "${socket}" ]] && break - sleep 1 - done - if [[ ! -S "${socket}" ]]; then - cat "${log}" - die "MySQL failed to start in ${timeout} seconds" - fi - - cat > "${T}/mysql.cnf" <<- EOF - [MySQLdb-tests] - socket = ${socket} - user = root - database = test - EOF - - local -x TESTDB="${T}/mysql.cnf" - distutils-r1_src_test - - einfo "Stopping test MySQL instance ..." - pkill -F "${pidfile}" &>/dev/null -} diff --git a/dev-python/mysqlclient/mysqlclient-2.2.8.ebuild b/dev-python/mysqlclient/mysqlclient-2.2.8.ebuild index 5207e85227af..c38ab85de5fe 100644 --- a/dev-python/mysqlclient/mysqlclient-2.2.8.ebuild +++ b/dev-python/mysqlclient/mysqlclient-2.2.8.ebuild @@ -1,5 +1,6 @@ -# Copyright 2025-2026 Liguros Authors +# Copyright 1999-2026 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 + EAPI=8 DISTUTILS_EXT=1 @@ -16,10 +17,10 @@ HOMEPAGE=" LICENSE="GPL-2+" SLOT="0" -KEYWORDS="amd64 ~arm arm64 ~hppa ~ppc ppc64 ~riscv ~s390 ~sparc x86 ~amd64-linux ~x86-linux" +KEYWORDS="amd64 ~arm arm64 ~hppa ~ppc ppc64 ~riscv ~s390 ~sparc x86" DEPEND=" - dev-db/mariadb-connector-c:0= + dev-db/mysql-connector-c:0= " RDEPEND=" ${DEPEND} diff --git a/dev-python/pyinotify/metadata.xml b/dev-python/pyinotify/metadata.xml index a91a1b954a63..5e95859f915a 100644 --- a/dev-python/pyinotify/metadata.xml +++ b/dev-python/pyinotify/metadata.xml @@ -2,8 +2,9 @@ <!DOCTYPE pkgmetadata SYSTEM "https://docs.baldeagleos.com/dtd/metadata.dtd"> <pkgmetadata> <maintainer type="project"> - <email>core@baldeagleos.com</email> - <name>Development</name> + <email>python@gentoo.org</email> + <name>Python</name> </maintainer> + <stabilize-allarches /> <origin>baldeagleos-repo</origin> </pkgmetadata> diff --git a/dev-python/pyinotify/pyinotify-0.9.6-r2.ebuild b/dev-python/pyinotify/pyinotify-0.9.6-r1.ebuild index 583c44408ed1..d54642ed2829 100644 --- a/dev-python/pyinotify/pyinotify-0.9.6-r2.ebuild +++ b/dev-python/pyinotify/pyinotify-0.9.6-r1.ebuild @@ -20,13 +20,15 @@ SRC_URI=" LICENSE="MIT" SLOT="0" -KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~loong ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86" +KEYWORDS="~alpha amd64 arm arm64 ~hppa ~loong ~mips ppc ppc64 ~riscv ~s390 ~sparc x86" IUSE="examples" PATCHES=( "${FILESDIR}/${P}-py312.patch" ) +distutils_enable_tests import-check + python_install_all() { if use examples; then dodoc -r python3/examples diff --git a/dev-python/python3-xapp/metadata.xml b/dev-python/python3-xapp/metadata.xml index a91a1b954a63..d47e66179ed4 100644 --- a/dev-python/python3-xapp/metadata.xml +++ b/dev-python/python3-xapp/metadata.xml @@ -1,9 +1,14 @@ <?xml version="1.0" encoding="UTF-8"?> <!DOCTYPE pkgmetadata SYSTEM "https://docs.baldeagleos.com/dtd/metadata.dtd"> <pkgmetadata> - <maintainer type="project"> - <email>core@baldeagleos.com</email> - <name>Development</name> + <maintainer type="person" proxied="yes"> + <email>sparky@bluefang-logic.com</email> + <name>Matthew Turnbull</name> </maintainer> + <maintainer type="project" proxied="proxy"> + <email>proxy-maint@gentoo.org</email> + <name>Proxy Maintainers</name> + </maintainer> + <stabilize-allarches /> <origin>baldeagleos-repo</origin> </pkgmetadata> diff --git a/dev-python/python3-xapp/python3-xapp-3.0.2.ebuild b/dev-python/python3-xapp/python3-xapp-3.0.2.ebuild index 9e43b39287a5..a8f716797a21 100644 --- a/dev-python/python3-xapp/python3-xapp-3.0.2.ebuild +++ b/dev-python/python3-xapp/python3-xapp-3.0.2.ebuild @@ -13,18 +13,23 @@ SRC_URI="https://github.com/linuxmint/python3-xapp/archive/${PV}.tar.gz -> ${P}. LICENSE="LGPL-2+" SLOT="0" -KEYWORDS="~amd64 ~arm64 ~loong ~ppc64 ~riscv ~x86" +KEYWORDS="amd64 arm64 ~loong ~ppc64 ~riscv x86" REQUIRED_USE="${PYTHON_REQUIRED_USE}" +# There are no tests, and src_test() needs to be overridden +# using python_foreach_impl otherwise theres an error. +RESTRICT="test" + DEPEND=" $(python_gen_cond_dep ' - >=x11-libs/xapp-2.8.4[introspection,${PYTHON_USEDEP}] + >=x11-libs/xapp-3.2.2[introspection,${PYTHON_USEDEP}] ') " RDEPEND=" ${DEPEND} ${PYTHON_DEPS} dev-python/psutil[${PYTHON_USEDEP}] + x11-themes/xapp-symbolic-icon-theme " src_configure() { @@ -39,10 +44,6 @@ src_compile() { python_foreach_impl meson_src_compile } -src_test() { - python_foreach_impl meson_src_test -} - src_install() { installing() { meson_src_install diff --git a/dev-python/scrypt/Manifest b/dev-python/scrypt/Manifest index 2436c601b288..921891a363fd 100644 --- a/dev-python/scrypt/Manifest +++ b/dev-python/scrypt/Manifest @@ -1,2 +1 @@ -DIST scrypt-0.8.29.tar.gz 55866 BLAKE2B 2f9ae625943545967974430c59a57b584092cc58f7e2ef1205466890e4e24c09323cfa5e4c6c9835ed5ffb3cff22616dc6c457344f796944ea5a12bb18de7d8e SHA512 af463b078c6558aac535dbe133caf9acd41e355e7e8377d3860114cea4fe0cdf401d951ded52f8c24bb8dbd688369b994a361267a75c4ca104f84b19877f9eda DIST scrypt-0.9.4.tar.gz 84526 BLAKE2B 931248115785312749b8b2499d32bced0feb942851041c5f90bf573bba80ed0088b13cab8b0d2a624296d02ab92d3edcaad01a2618aa466637b1e370700bb61d SHA512 a208ea43460f1c964eaae8d7f211f73817639b8b72a2a0b72e234425bdc203001157e3de4dfe2799c2955d78a2a765c4bd510d2f9720ef2af53146867825ca56 diff --git a/dev-python/scrypt/metadata.xml b/dev-python/scrypt/metadata.xml index 1ed01c481f8d..21f304f4d584 100644 --- a/dev-python/scrypt/metadata.xml +++ b/dev-python/scrypt/metadata.xml @@ -1,10 +1,6 @@ <?xml version="1.0" encoding="UTF-8"?> <!DOCTYPE pkgmetadata SYSTEM "https://docs.baldeagleos.com/dtd/metadata.dtd"> <pkgmetadata> - <maintainer type="project"> - <email>dev@liguros.net</email> - <name>Development</name> - </maintainer> <maintainer type="person"> <email>chutzpah@gentoo.org</email> <name>Patrick McLean</name> diff --git a/dev-python/scrypt/scrypt-0.8.29.ebuild b/dev-python/scrypt/scrypt-0.8.29.ebuild deleted file mode 100644 index a171c19738dd..000000000000 --- a/dev-python/scrypt/scrypt-0.8.29.ebuild +++ /dev/null @@ -1,26 +0,0 @@ -# Copyright 2021-2025 Liguros Authors -# Distributed under the terms of the GNU General Public License v2 -EAPI=8 - -DISTUTILS_EXT=1 -DISTUTILS_USE_PEP517=setuptools -PYTHON_COMPAT=( python3_{13..14} ) - -inherit distutils-r1 - -DESCRIPTION="Bindings for the scrypt key derivation function library" -HOMEPAGE="https://github.com/holgern/py-scrypt/" -SRC_URI="https://github.com/holgern/py-scrypt/archive/refs/tags/v${PV}.tar.gz -> ${P}.tar.gz" - -LICENSE="BSD-2" -KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~mips ppc ppc64 ~riscv sparc x86 ~x64-macos" -SLOT="0" -IUSE="" - -RDEPEND=" - dev-libs/openssl:0= - -" -DEPEND="${RDEPEND}" - -distutils_enable_tests unittest diff --git a/dev-python/scrypt/scrypt-0.9.4.ebuild b/dev-python/scrypt/scrypt-0.9.4.ebuild index a171c19738dd..e5c997799058 100644 --- a/dev-python/scrypt/scrypt-0.9.4.ebuild +++ b/dev-python/scrypt/scrypt-0.9.4.ebuild @@ -1,26 +1,31 @@ -# Copyright 2021-2025 Liguros Authors +# Copyright 1999-2026 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_{13..14} ) -inherit distutils-r1 +inherit distutils-r1 pypi DESCRIPTION="Bindings for the scrypt key derivation function library" -HOMEPAGE="https://github.com/holgern/py-scrypt/" -SRC_URI="https://github.com/holgern/py-scrypt/archive/refs/tags/v${PV}.tar.gz -> ${P}.tar.gz" +HOMEPAGE=" + https://github.com/holgern/py-scrypt/ + https://pypi.org/project/scrypt/ +" LICENSE="BSD-2" -KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~mips ppc ppc64 ~riscv sparc x86 ~x64-macos" SLOT="0" -IUSE="" +KEYWORDS="~alpha amd64 arm arm64 ~hppa ~loong ~m68k ~mips ppc ppc64 ~riscv ~s390 ~sparc x86 ~x64-macos" -RDEPEND=" +DEPEND=" dev-libs/openssl:0= - " -DEPEND="${RDEPEND}" +RDEPEND=" + ${DEPEND} +" -distutils_enable_tests unittest +EPYTEST_PLUGINS=() +EPYTEST_XDIST=1 +distutils_enable_tests pytest |
