diff options
author | V3n3RiX <venerix@koprulu.sector> | 2023-05-21 20:55:01 +0100 |
---|---|---|
committer | V3n3RiX <venerix@koprulu.sector> | 2023-05-21 20:55:01 +0100 |
commit | eb509e1a15f595f667e8d177ddb73311084af6c0 (patch) | |
tree | fbc083f793d438d54b7fb4ec3a7e0286701b81bb /dev-python | |
parent | eedf7b9dec39b69b43f7b581da418d37428db449 (diff) |
gentoo auto-resync : 21:05:2023 - 20:55:01
Diffstat (limited to 'dev-python')
31 files changed, 684 insertions, 2 deletions
diff --git a/dev-python/Manifest.gz b/dev-python/Manifest.gz Binary files differindex 3227f3eb214b..06c5754a5f3f 100644 --- a/dev-python/Manifest.gz +++ b/dev-python/Manifest.gz diff --git a/dev-python/cheroot/Manifest b/dev-python/cheroot/Manifest index d33f6c9108f7..3f0c6f7858be 100644 --- a/dev-python/cheroot/Manifest +++ b/dev-python/cheroot/Manifest @@ -1,3 +1,5 @@ +DIST cheroot-10.0.0.tar.gz 148461 BLAKE2B d6a07878b03529be0d7ebefc91096f89b437374f9ede1db357a286bc199403798d35e9695dc1251d5045b6febc37940986693d9b36c89968ac3147ec68a481ea SHA512 02e32e52a596463cbb9874a800dbcdc5680dd7d9dfa95ca6e73c81f9248a488087c514ae70cdba94fe9df1f5d3ab1c68efcb720561cbeb7b667109fe5962f85b DIST cheroot-9.0.0.tar.gz 152562 BLAKE2B 5f5dd172cfc8fdd1318b22fc27060444a34343b6b83bbda4bd40c16d7cb0568c356f5fd14b0a7cdc74895d6707077ec54fcae54fb29b0d16a7c06e2cd36b1ee7 SHA512 86ea0dd2cb4cde25f86b489b1d0bb27e3e7c1ba5449759ccecaae689cdcb349b968fd0c8fb8bc8273deff5e32a078bf40f4342f0c5a1f53bb8d2b968f44a453b +EBUILD cheroot-10.0.0.ebuild 1888 BLAKE2B 6e72df3e6f67b57dda5c0040fab84b802f0549582042aaa78d24d2bde19a8788669d46e3edfb9161f83b5cbeed6fa50bf8c7426ee982f2e842abc47ff696448b SHA512 72f976d0bdef1bb5cd9b3d7d28575bcca9fe4df613ce35782570998c91e007c825ca18204718a143d935890f62563736d7e450039d9840f9395e393c5dedb43a EBUILD cheroot-9.0.0.ebuild 1924 BLAKE2B ecc24418c15d20bbcc2d78076dea44e5437bb94af84dc0b6913326fccb020d7537308baf0ecfb96a77a9c9973a4264cdf4f724657db9ef972ef3bb1238dbe4f4 SHA512 6b80c7d1e5513358638c7ccbeef0f7cbf0669d94069eb583e20039da5f255308207273439fc73cee0efca6a25ac627713d1f8bbe5cede26fc65c2dd9e3de581c MISC metadata.xml 391 BLAKE2B 1c9c2af2c1a8bcd3f1c426a87d1a2a97fb88a9a30f9c2f1802b8885329277fcfde1deadf635e419cd7f85a5685639709be33aa746d9f7a04c3ac7d832d084b42 SHA512 c194e8bed8d082ed4ce3f2a7f608085fdcf2ab8b7c730e5c6ad7438cf177ed1892565cdff0feda564681f59bf6aefc327e3d24da0a543c0f043934af27873e95 diff --git a/dev-python/cheroot/cheroot-10.0.0.ebuild b/dev-python/cheroot/cheroot-10.0.0.ebuild new file mode 100644 index 000000000000..8ecfaae8b79a --- /dev/null +++ b/dev-python/cheroot/cheroot-10.0.0.ebuild @@ -0,0 +1,77 @@ +# Copyright 1999-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=setuptools +PYTHON_COMPAT=( python3_{10..11} pypy3 ) + +inherit distutils-r1 pypi + +DESCRIPTION="High-performance, pure-Python HTTP server used by CherryPy" +HOMEPAGE=" + https://cherrypy.dev/ + https://pypi.org/project/cheroot/ + https://github.com/cherrypy/cheroot/ +" + +LICENSE="BSD" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~ppc ~ppc64 ~riscv ~sparc ~x86" +IUSE="test-rust" + +RDEPEND=" + >=dev-python/more-itertools-2.6[${PYTHON_USEDEP}] + dev-python/jaraco-functools[${PYTHON_USEDEP}] +" +BDEPEND=" + dev-python/setuptools-scm[${PYTHON_USEDEP}] + test? ( + dev-python/jaraco-context[${PYTHON_USEDEP}] + dev-python/jaraco-text[${PYTHON_USEDEP}] + dev-python/portend[${PYTHON_USEDEP}] + dev-python/pytest-forked[${PYTHON_USEDEP}] + >=dev-python/pytest-mock-1.11.0[${PYTHON_USEDEP}] + dev-python/requests-toolbelt[${PYTHON_USEDEP}] + dev-python/requests-unixsocket[${PYTHON_USEDEP}] + dev-python/urllib3[${PYTHON_USEDEP}] + test-rust? ( + dev-python/pyopenssl[${PYTHON_USEDEP}] + dev-python/trustme[${PYTHON_USEDEP}] + ) + ) +" + +distutils_enable_tests pytest + +python_prepare_all() { + sed -e '/--cov/d' \ + -e '/--testmon/d' \ + -e '/--numproc/d' \ + -i pytest.ini || die + + # broken + sed -i -e '/False.*localhost/d' cheroot/test/test_ssl.py || die + # pypytools is py2 stuff + sed -i -e '/pypytools/d' cheroot/test/test_server.py || die + + distutils-r1_python_prepare_all +} + +python_test() { + local EPYTEST_DESELECT=( + # requires pypytools, see above + cheroot/test/test_server.py::test_high_number_of_file_descriptors + ) + + local EPYTEST_IGNORE=() + if ! has_version "dev-python/pyopenssl[${PYTHON_USEDEP}]" || + ! has_version "dev-python/trustme[${PYTHON_USEDEP}]" + then + EPYTEST_IGNORE+=( + cheroot/test/test_ssl.py + ) + fi + + epytest -p no:flaky +} diff --git a/dev-python/clang-python/Manifest b/dev-python/clang-python/Manifest index 540c68393e05..901bf6ee40e8 100644 --- a/dev-python/clang-python/Manifest +++ b/dev-python/clang-python/Manifest @@ -8,6 +8,7 @@ DIST llvm-project-16.0.4.src.tar.xz 117996332 BLAKE2B 2ea3ef25290ce6180d271e42fb DIST llvm-project-16.0.4.src.tar.xz.sig 566 BLAKE2B 43cb2147f12f98f864797158e8efcfed9c6780fae3b5c71c0f1aea19a4131ee91c36bdf5b10e44f478f2370c8d22a9038038ecd607f25a95f2d3e33628eb9ac0 SHA512 c902d1b652e6e144fcf74f550539f56665475b6bdf673ba5bf2f1731c3bb8f5717ed56433d488c54bbf2f429b432da84e0bfb4b5fb5f2b7fa208b4f24f682be7 DIST llvm-project-52882de0e641487329c9e093a90ea3dad01842c8.tar.gz 182953335 BLAKE2B 98682729992d73202e35b540d5d0d87e2acf44e4ab6896a0b6f9ac4a7423f55ad370ae1d7e919a6c86dc7f138a66890ac89b852b03305612d248ab567833f8be SHA512 3685aff0f648e9b477e1e01edebe4799498c21587e2ed5577e2fdef98bb21ea215e206606a11692fbb93a0989fd59fd324faff2c4d97b7afca0851b53f123f05 DIST llvm-project-7d436d56b60b36508b94e39d08761f1405a9c770.tar.gz 183363091 BLAKE2B e0d3520814b3455e33107715697f00d653ad46bb8d8200caf42c42743520f389217ea2e57449bbc2e98126b602b2aa344e4125e4b1f92152f7957a11a9b9a150 SHA512 65a8e30702217e5e1309efe3daeda5115eeb2e8d25238db1fa4e8dcfc729d75655a10b3394f2f70b7e7efb8ea33a31b6e2482065cc81805023101da00584a81e +DIST llvm-project-abbb22cc0c9c33dedb8d53c2bd3e703f92baace7.tar.gz 183193919 BLAKE2B 75c63d39918f7ec0faca0b1d03ba17dbd7d39a6f1d3a031dcb005ae1729933d8481f0bd745ec029ab21779525b2ddaf2989eaca2aed2b0e9b60c50ef71c7fc11 SHA512 f0c1b6fe2e087db202d32de05613b7570bd9a82dfef2e464014c9d4c9ba02c20d423cb783aa40ce5e9c9e074288efb2e5b6d70d55913bd285108e747400f55e7 EBUILD clang-python-14.0.6.ebuild 956 BLAKE2B 0452806a0baf8641d44d86c91b95958fe3bdef74fe62c32e6cb90c90ee8718c61fe9649d2f9ac17b127d65c64cba9093adee742f455be720ca2bf558131cee05 SHA512 5179df9990802cfcedcd59b8a38a6198cdfddb511fb872872c2e4cfc95531f114acb6bb43395c74659c6b46a42da32213e8312e2ed71b6e317a7270a12cfa214 EBUILD clang-python-15.0.7.ebuild 1202 BLAKE2B b655ab7b2fa3a5334666e42d36e1e7773be8910f5a47fe8792be04fafbc0c9889cf74d5ca4671863b5244b874133bb353feb4b1ac119e52486ac18d3ff7c6760 SHA512 eb99a86e826ff46d78e1f97a7db1c867e0fc4c9d0036de31407d83dc4de1b8cf80e36ba186d6d8a825209bbb4312d7120b96cbf59d6cb5cf598a3ffb754bf75d EBUILD clang-python-16.0.3.ebuild 1204 BLAKE2B 7147fb79338449b0a955f7f5010e8fdba34848f9fb84b9df9ceefbcc9c1829def49d7157054ef2f707225d2bff673b67d37b82b2fb373b75355583a205db6b50 SHA512 e99332305557a698a231391bad9ba6c1677c7cf13ab64d9c79e6900029f373face1b89acc55321305b12ab6cd70b946609d6352318467c0c11ea1c5d2efff425 @@ -16,4 +17,5 @@ EBUILD clang-python-16.0.5.9999.ebuild 1181 BLAKE2B 2628ec06a37f501d0fbe285ec294 EBUILD clang-python-17.0.0.9999.ebuild 1181 BLAKE2B 2628ec06a37f501d0fbe285ec294050a999816997028b0813cd68cabab97139abb229688fcdd9d496a4c045fb55907ffbe9f9861ec5cc34d41bba64f8affee89 SHA512 4df861292429fe4bdce21f387db7051172950ece21607fda3a2b11504ae93f7b301a526b2bf44c38e092d046fd6c6542a4169f641731d6197d15b45198d51089 EBUILD clang-python-17.0.0_pre20230502.ebuild 1181 BLAKE2B 2628ec06a37f501d0fbe285ec294050a999816997028b0813cd68cabab97139abb229688fcdd9d496a4c045fb55907ffbe9f9861ec5cc34d41bba64f8affee89 SHA512 4df861292429fe4bdce21f387db7051172950ece21607fda3a2b11504ae93f7b301a526b2bf44c38e092d046fd6c6542a4169f641731d6197d15b45198d51089 EBUILD clang-python-17.0.0_pre20230512.ebuild 1181 BLAKE2B 2628ec06a37f501d0fbe285ec294050a999816997028b0813cd68cabab97139abb229688fcdd9d496a4c045fb55907ffbe9f9861ec5cc34d41bba64f8affee89 SHA512 4df861292429fe4bdce21f387db7051172950ece21607fda3a2b11504ae93f7b301a526b2bf44c38e092d046fd6c6542a4169f641731d6197d15b45198d51089 +EBUILD clang-python-17.0.0_pre20230520.ebuild 1181 BLAKE2B 2628ec06a37f501d0fbe285ec294050a999816997028b0813cd68cabab97139abb229688fcdd9d496a4c045fb55907ffbe9f9861ec5cc34d41bba64f8affee89 SHA512 4df861292429fe4bdce21f387db7051172950ece21607fda3a2b11504ae93f7b301a526b2bf44c38e092d046fd6c6542a4169f641731d6197d15b45198d51089 MISC metadata.xml 299 BLAKE2B 2feead2cd1b35b3a43335ddd7711f8181b52bc63ee7166608914260c67528add5251349063afbef4f8cf0ec09b2cd4c3ffdd90f2c14ed60bb69ebc03888f6333 SHA512 cd745c54ab18d25bdaff18582105072574103a36cfe7c175ef740f266d00e9fc6f44c332904d23b911c939cf5bdf52973b388923099d8dd5dfef3c283b5cb685 diff --git a/dev-python/clang-python/clang-python-17.0.0_pre20230520.ebuild b/dev-python/clang-python/clang-python-17.0.0_pre20230520.ebuild new file mode 100644 index 000000000000..5ec556a2ca20 --- /dev/null +++ b/dev-python/clang-python/clang-python-17.0.0_pre20230520.ebuild @@ -0,0 +1,54 @@ +# Copyright 1999-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +PYTHON_COMPAT=( python3_{9..11} ) +inherit llvm.org python-r1 + +DESCRIPTION="Python bindings for sys-devel/clang" +HOMEPAGE="https://llvm.org/" + +LICENSE="Apache-2.0-with-LLVM-exceptions UoI-NCSA" +SLOT="0" +KEYWORDS="" +IUSE="test" +RESTRICT="!test? ( test )" +REQUIRED_USE="${PYTHON_REQUIRED_USE}" + +# The module is opening libclang.so directly, and doing some blasphemy +# on top of it. +DEPEND=" + >=sys-devel/clang-${PV}:* + !sys-devel/llvm:0[clang(-),python(-)] + !sys-devel/clang:0[python(-)] +" +RDEPEND=" + ${DEPEND} + ${PYTHON_DEPS} +" +BDEPEND=" + ${PYTHON_DEPS} + test? ( + sys-devel/clang:${LLVM_MAJOR} + ) +" + +LLVM_COMPONENTS=( clang/bindings/python ) +llvm.org_set_globals + +python_test() { + # tests rely on results from a specific clang version, so override + # the search path + local -x CLANG_LIBRARY_PATH=${BROOT}/usr/lib/llvm/${LLVM_MAJOR}/$(get_libdir) + local -x CLANG_NO_DEFAULT_CONFIG=1 + "${EPYTHON}" -m unittest discover -v || die "Tests fail with ${EPYTHON}" +} + +src_test() { + python_foreach_impl python_test +} + +src_install() { + python_foreach_impl python_domodule clang +} diff --git a/dev-python/dogpile-cache/Manifest b/dev-python/dogpile-cache/Manifest index cce874725745..84e6203386d2 100644 --- a/dev-python/dogpile-cache/Manifest +++ b/dev-python/dogpile-cache/Manifest @@ -1,5 +1,7 @@ DIST dogpile.cache-1.1.8.tar.gz 394499 BLAKE2B 3371e6ffceb6629200a18095a20a313952b8a246d2ec7580e6409bde0f16851f8332922647b92383b47276933cfeb818dde6df48efd2534df0f94cbbc511e01c SHA512 2bacc111e17ecc706b3389f5c40ded888cc893f6d01c34a4e1e0d8d94c4592369b0c283aa80eb6ebec90dde7a89fd3b7fb9bbcbdd8010f90ad7de4501db13ace DIST dogpile.cache-1.2.0.tar.gz 258021 BLAKE2B 1173023866891a003314df7999ebe2d5a81836bdef0d495c0f6a635ba76678805866c4acdbc42ffaf18a548a298ea41cfbd649c2638e1ce5c4d8d1014d609730 SHA512 a97b851bd9c541004d701e4564cc641e479d40ab60aa08a48c4617f42ee444cf19e4d7551b76ecbfc16ceef1097d3334d15bd1d0a9b3b6ad15ed4e17149e0864 +DIST dogpile.cache-1.2.1.tar.gz 258589 BLAKE2B c271f823f1a57f26c07078edd9af5a899aa6c3793d979f3eb86cbad7814360d51dc26cdfe06f92f6bbc9a14620362332c22379a6024c9adab18f46c1ad3583fe SHA512 407a0b5842b9ae4a8a82da933b4c7a4fec4391b877dcddb4f454c7fdf78ed0d2f6db16650c89c8047e1ec2eb6348c23bdcae99a0998aa2de58cfc00d92e2fa5a EBUILD dogpile-cache-1.1.8.ebuild 707 BLAKE2B a29c76b5035cad6f92a9f2abf26ab220478f761201f53adabbfe6c53fe09eeb5fa4015d2bc911e11a89908bf0586586f1f41ad415e4d67e0464296339acea8e2 SHA512 987f008f3fdb0f9dd88735105ae044837c6448a8303b23a2792b6cdd948f69437602fe5847e552569c0b1463d803a33670e381e51770019bc70d95e83387522c EBUILD dogpile-cache-1.2.0.ebuild 710 BLAKE2B a3d2428b4b772b9e4f23f124b115919e4a9e791d98da53c0dd0acfbee3ab9f5224306f5e28de5d8cbf9c1801535da6be8b73d0bf4fe374066c1b7796eddf4234 SHA512 41ec051cb0c6101162696b318f8b483165f4b78fdaa08073f782333073c3979860e8e523f15d37d7caf752532d27bee161b982ec2b6804c972f16ad6f8577baf +EBUILD dogpile-cache-1.2.1.ebuild 711 BLAKE2B 70569dadc8582ac022187eaff0e73ba58f41778935399d823cf49c942175bc5f3546f07bacc119158220ef141933e6f63ea9be096229f3fa7a719aa7340e7e82 SHA512 d3207326ec838f5c7814a335e5b5cfcc11aead0a9f554bb9b9e76579f2620d8255e87101bbe1d17a60a4764836e1cd453d370772c292bcffc2db99216527bb33 MISC metadata.xml 843 BLAKE2B e0b6ed26300c658bb3f9bdc500bd24c38f26821d3a32ce448c56e5fd129f211efd58ef0faab1a6a9114a96991514de5fb9cf53b26601cb68fedb4c43aab3cdb2 SHA512 992ae84d983cbc06969e888e298cf8124dcf6068871bd5e12dd479a70ca00f5422d8c3cc178a842a340bffc5f72a5b203ce307ccbe49a0a60c0c52a5091052d9 diff --git a/dev-python/dogpile-cache/dogpile-cache-1.2.1.ebuild b/dev-python/dogpile-cache/dogpile-cache-1.2.1.ebuild new file mode 100644 index 000000000000..085c4b3a5d14 --- /dev/null +++ b/dev-python/dogpile-cache/dogpile-cache-1.2.1.ebuild @@ -0,0 +1,33 @@ +# Copyright 1999-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=setuptools +PYPI_NO_NORMALIZE=1 +PYPI_PN=${PN/-/.} +PYTHON_COMPAT=( python3_{10..11} ) + +inherit distutils-r1 pypi + +DESCRIPTION="A locking API for expiring values while a single thread generates a new value" +HOMEPAGE=" + https://github.com/sqlalchemy/dogpile.cache/ + https://pypi.org/project/dogpile.cache/ +" + +LICENSE="Apache-2.0" +SLOT="0" +KEYWORDS="~amd64 ~arm ~arm64 ~riscv ~x86" + +RDEPEND=" + >=dev-python/decorator-4.0.0[${PYTHON_USEDEP}] + >=dev-python/stevedore-3.0.0[${PYTHON_USEDEP}] +" +BDEPEND=" + test? ( + dev-python/mako[${PYTHON_USEDEP}] + ) +" + +distutils_enable_tests pytest diff --git a/dev-python/furo/Manifest b/dev-python/furo/Manifest index 136b1b4d5a73..9d80f5c508b4 100644 --- a/dev-python/furo/Manifest +++ b/dev-python/furo/Manifest @@ -1,3 +1,5 @@ DIST furo-2023.3.27-py3-none-any.whl 327605 BLAKE2B 1368aabdbd497acf181c5b059da6d4bd3ae11e66bb81ec097358e051f7c64b7cffa537d5855ed68293398b26bb7df4d35a183c3eea00d4790b786b0f4bdbc6eb SHA512 7d321f59064d64c205c9c1a207fd62685c22102bc1546f0e063be9565458c6eed887e9f52851160e2658401ac8ed791572183e3c067c2e85c9c1811411e051f6 +DIST furo-2023.5.20-py3-none-any.whl 326767 BLAKE2B cc8eb3816bf99039e1a312f9fed21538b0154ece228e351107df89f5770c382614efc7202bae742d28d2fc8fceabc8b748b2bfbe8a230aeb70f280b622d42c11 SHA512 1a97b37aa9ce55878f34e3276eebeb4b138bd9e397b6711469fed4523ab8dadcd91e77234a1eca20561276f6660410a31f48f34ae320c6772d1055699cdd7125 EBUILD furo-2023.3.27.ebuild 922 BLAKE2B 6b0532f93ce16159f688599a964cd11999f3c56edbb40f10c3d527dafd2c2740af10ff3688a15bf4c62a3e19bfbe748fa06ba0f64a02dc0180aa3b62301b1e93 SHA512 28f0de446cc5e84574513a05577f87559617e11ad94fd8df6a34bdb92496949d2646bcd28be51a8221f74132b6ba212d5683e4b1ce397e0e2d53f5e0e8f7bcde +EBUILD furo-2023.5.20.ebuild 931 BLAKE2B 4c5c793ccd5cc97664e1b785bf6922bbd324bd74c92ab9d3aa19a29cd3ed6e5f7facfad65d4333e599d38fad47521cd448b5dede690cf0d1c8a4f0cf74df00f6 SHA512 f3be9dea2fe42a24a462d5e3a9991e37298d4ce4a1f47dc0658527b377927a5c70124234b08021c9759016fb1d92f31ed595091a90ecc2141238abf9ef7dde50 MISC metadata.xml 436 BLAKE2B 81bb1424cf305f98c15a96afc454de34c0965277a5829c1c299ee6da4c86882aa1d47d45b71cfd3413b82c68b521a0f2b4bcd37c47988a6c171f55ef97f930ef SHA512 63d65b518096cba951f2bdac8b3ff0a602ac23fee7679ba808f27b01644cc612a7223942ba01f26d4c0931f16ccf9be1832be5da650835c6f43396e2076d1d30 diff --git a/dev-python/furo/furo-2023.5.20.ebuild b/dev-python/furo/furo-2023.5.20.ebuild new file mode 100644 index 000000000000..0674aa0b847b --- /dev/null +++ b/dev-python/furo/furo-2023.5.20.ebuild @@ -0,0 +1,36 @@ +# Copyright 2021-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +# sphinx-theme-builder is completely unusable, as it requires pinning +# to a very-specific nodejs version number, and ofc loves fetching +# everything from the Internet + +DISTUTILS_USE_PEP517=standalone +PYTHON_COMPAT=( pypy3 python3_{10..11} ) + +inherit distutils-r1 pypi + +DESCRIPTION="Clean customisable Sphinx documentation theme" +HOMEPAGE=" + https://pypi.org/project/furo/ + https://github.com/pradyunsg/furo/ +" +SRC_URI="$(pypi_wheel_url)" +S=${WORKDIR} + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86" + +RDEPEND=" + dev-python/beautifulsoup4[${PYTHON_USEDEP}] + dev-python/sphinx[${PYTHON_USEDEP}] + dev-python/sphinx-basic-ng[${PYTHON_USEDEP}] +" + +python_compile() { + distutils_wheel_install "${BUILD_DIR}/install" \ + "${DISTDIR}/${P}-py3-none-any.whl" +} diff --git a/dev-python/griffe/Manifest b/dev-python/griffe/Manifest index ce98f677a354..641f4f832a64 100644 --- a/dev-python/griffe/Manifest +++ b/dev-python/griffe/Manifest @@ -1,4 +1,6 @@ AUX griffe-0.27.4-build_backend.patch 224 BLAKE2B c3c05e8c12ca7ae498beef0e0b127e90681f1ff5dac2cbd5def57d95f6ee19131643c3bb15c6d6f0897f117df9340785720de48d6023c76d837e6370fde9643f SHA512 7be1671ba53efaf11d31b03b193838c82f0c26d38bdd6a7f8b2e105d7751fdf015ccc1c98a86d3e22fffbc9a02e5abde208b49767b08c35707bc95357074cfca DIST griffe-0.27.4.gh.tar.gz 154404 BLAKE2B 40c3a67b47561eeaf846a53ee678e3473a4064ab58c1a07b823b914e2fcfda15e43de9dc6bac074eeb238838d27a9c14f4314a481590c83df1e83dcce320525f SHA512 bb927d956b289048950343d087da5be057fbef8e38feff345ce5f46ca1edfeb87a6fe94b8be18d7c76beef84c69dc97a3972177aac69429a4633f1543906b8e5 +DIST griffe-0.28.0.gh.tar.gz 155295 BLAKE2B 8250e34357b15049558bb40193c3e6374ec975842af7e4846124ec4684ffa8a29516230a5ab9ca0c838ca66d4c70822aaae964a7426b0eed594129c63ccbba30 SHA512 ab3361b659ada789ace548786d6fe3ebd7adf2312687c2ac8fb505a8d2026b96dc95985e0c26102a7168c8c46dd4730bf64890ec808ebb45afd3c88f244f154d EBUILD griffe-0.27.4.ebuild 794 BLAKE2B 7fc50de905fd1f993d90ba551afa5aefcb29846f4141273e7125b1aa37045c14bbbc31ede5e71fbbc18e09f711e665d8be28e1c8897636ed1c0f879b5c6664da SHA512 e95631d544ce4b3d8c7e65d7c0313fe2686cdd5b9efcdb82371bd242c3aaeb1fb9b0b8f781a6866a46a5fc6372ab4d466169be28944757d1ba8de112914ea2ac +EBUILD griffe-0.28.0.ebuild 794 BLAKE2B 7fc50de905fd1f993d90ba551afa5aefcb29846f4141273e7125b1aa37045c14bbbc31ede5e71fbbc18e09f711e665d8be28e1c8897636ed1c0f879b5c6664da SHA512 e95631d544ce4b3d8c7e65d7c0313fe2686cdd5b9efcdb82371bd242c3aaeb1fb9b0b8f781a6866a46a5fc6372ab4d466169be28944757d1ba8de112914ea2ac MISC metadata.xml 398 BLAKE2B eb35dbbdd7d3482404991416d9e06e3e87f88a96cc91d481b5a2f53eb732172116b4cfefa1a65f9ba8db44e2b10ed0fd6e4031b7d17382e9e931d1a2eedb322e SHA512 833aac5d52c2584143d67b7ad325e9538cee17d454410b3c4708ad9b47f58d3b2c0875d735b149603bb36ae124d24343b2e456a6db5e5f806da2e13f32c108cc diff --git a/dev-python/griffe/griffe-0.28.0.ebuild b/dev-python/griffe/griffe-0.28.0.ebuild new file mode 100644 index 000000000000..6e5cda463d2c --- /dev/null +++ b/dev-python/griffe/griffe-0.28.0.ebuild @@ -0,0 +1,30 @@ +# Copyright 1999-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +PYTHON_COMPAT=( python3_{10..11} ) +DISTUTILS_USE_PEP517=pdm + +inherit distutils-r1 + +DESCRIPTION="Signature generator for Python programs" +HOMEPAGE="https://mkdocstrings.github.io/griffe/ https://pypi.org/project/griffe/" +# Tests need files absent from the PyPI tarballs +SRC_URI="https://github.com/mkdocstrings/${PN}/archive/refs/tags/${PV}.tar.gz -> ${P}.gh.tar.gz" + +LICENSE="ISC" +SLOT="0" +KEYWORDS="~amd64 ~riscv" + +RDEPEND=">=dev-python/colorama-0.4[${PYTHON_USEDEP}]" +BDEPEND="test? ( + >=dev-python/jsonschema-4.17.3[${PYTHON_USEDEP}] + >=dev-python/pytest-xdist-2.4[${PYTHON_USEDEP}] +)" + +PATCHES=( + "${FILESDIR}"/${PN}-0.27.4-build_backend.patch +) + +distutils_enable_tests pytest diff --git a/dev-python/lit/Manifest b/dev-python/lit/Manifest index fb1c1af7e87d..70dcf56f5a7b 100644 --- a/dev-python/lit/Manifest +++ b/dev-python/lit/Manifest @@ -8,6 +8,7 @@ DIST llvm-project-16.0.4.src.tar.xz 117996332 BLAKE2B 2ea3ef25290ce6180d271e42fb DIST llvm-project-16.0.4.src.tar.xz.sig 566 BLAKE2B 43cb2147f12f98f864797158e8efcfed9c6780fae3b5c71c0f1aea19a4131ee91c36bdf5b10e44f478f2370c8d22a9038038ecd607f25a95f2d3e33628eb9ac0 SHA512 c902d1b652e6e144fcf74f550539f56665475b6bdf673ba5bf2f1731c3bb8f5717ed56433d488c54bbf2f429b432da84e0bfb4b5fb5f2b7fa208b4f24f682be7 DIST llvm-project-52882de0e641487329c9e093a90ea3dad01842c8.tar.gz 182953335 BLAKE2B 98682729992d73202e35b540d5d0d87e2acf44e4ab6896a0b6f9ac4a7423f55ad370ae1d7e919a6c86dc7f138a66890ac89b852b03305612d248ab567833f8be SHA512 3685aff0f648e9b477e1e01edebe4799498c21587e2ed5577e2fdef98bb21ea215e206606a11692fbb93a0989fd59fd324faff2c4d97b7afca0851b53f123f05 DIST llvm-project-7d436d56b60b36508b94e39d08761f1405a9c770.tar.gz 183363091 BLAKE2B e0d3520814b3455e33107715697f00d653ad46bb8d8200caf42c42743520f389217ea2e57449bbc2e98126b602b2aa344e4125e4b1f92152f7957a11a9b9a150 SHA512 65a8e30702217e5e1309efe3daeda5115eeb2e8d25238db1fa4e8dcfc729d75655a10b3394f2f70b7e7efb8ea33a31b6e2482065cc81805023101da00584a81e +DIST llvm-project-abbb22cc0c9c33dedb8d53c2bd3e703f92baace7.tar.gz 183193919 BLAKE2B 75c63d39918f7ec0faca0b1d03ba17dbd7d39a6f1d3a031dcb005ae1729933d8481f0bd745ec029ab21779525b2ddaf2989eaca2aed2b0e9b60c50ef71c7fc11 SHA512 f0c1b6fe2e087db202d32de05613b7570bd9a82dfef2e464014c9d4c9ba02c20d423cb783aa40ce5e9c9e074288efb2e5b6d70d55913bd285108e747400f55e7 EBUILD lit-14.0.6.ebuild 914 BLAKE2B ff939004df0d10a698e942c99ecf3bb11fe8e0c035e3dfb0ac495f2368d83bb89cccb11de0878b3555c4047b8d0e4b969e5cec8aef8891aabf2d16a550696870 SHA512 7be9e5f983bffabf30c954e45ede8fb6b30013b84cbd50f66fa3a2185b0223b4ede7466d40376453283e9ca806da1ae80afe6e6fee001ede95b78226bcc7267d EBUILD lit-15.0.7.ebuild 913 BLAKE2B 38afb1ee0c64d7480ccf1c84c6c1ae0e1ff5f75a0b52272b68d50717a338f143214329245bd650e107d8091ffe1bef6b29293a4b47d147122ea6cea64b448b92 SHA512 fc58e9f0ba65f388830a4e935f448126eb61f2dcf6fa40750e6feaf8a5943fb259bd3c1db3877767e4ba9ade75f6204de8a33c14630176a34fa097e522a0a051 EBUILD lit-16.0.3.ebuild 927 BLAKE2B 2fcc513071d5701cddfeeca945e109b6ea676c4cb8f8c6aa18ed6d1d196c44a118b2c78248ced457dbdd9301c8455247f2eef8df2675fe910fd342a6755354fd SHA512 eebce40ed9c187f89439dca4216a681c8d4bfc6c1f36abcbb73dca3c1a61033ae7967b68e4d2c36ae5c8f37bd352654401eca9b47135200f090bc9d7617c6b2f @@ -16,4 +17,5 @@ EBUILD lit-16.0.5.9999.ebuild 871 BLAKE2B cfd84e2b4e947055d576f1970754ba57228622 EBUILD lit-17.0.0.9999.ebuild 871 BLAKE2B cfd84e2b4e947055d576f1970754ba57228622c3a77d9c599392547b8bb3fb48165a69befde4e8e451cabb92b44917627f15bff46df91aa8825c2ac2c3289daf SHA512 13a9fe1650882edc1439217e401a5b2f0ca0886e44880d7cfcd1b7efda9b29441256a21e5cf0c65af719b0417f7612db0246e76cefe6c41b2442389f7c71b9cf EBUILD lit-17.0.0_pre20230502.ebuild 871 BLAKE2B cfd84e2b4e947055d576f1970754ba57228622c3a77d9c599392547b8bb3fb48165a69befde4e8e451cabb92b44917627f15bff46df91aa8825c2ac2c3289daf SHA512 13a9fe1650882edc1439217e401a5b2f0ca0886e44880d7cfcd1b7efda9b29441256a21e5cf0c65af719b0417f7612db0246e76cefe6c41b2442389f7c71b9cf EBUILD lit-17.0.0_pre20230512.ebuild 871 BLAKE2B cfd84e2b4e947055d576f1970754ba57228622c3a77d9c599392547b8bb3fb48165a69befde4e8e451cabb92b44917627f15bff46df91aa8825c2ac2c3289daf SHA512 13a9fe1650882edc1439217e401a5b2f0ca0886e44880d7cfcd1b7efda9b29441256a21e5cf0c65af719b0417f7612db0246e76cefe6c41b2442389f7c71b9cf +EBUILD lit-17.0.0_pre20230520.ebuild 871 BLAKE2B cfd84e2b4e947055d576f1970754ba57228622c3a77d9c599392547b8bb3fb48165a69befde4e8e451cabb92b44917627f15bff46df91aa8825c2ac2c3289daf SHA512 13a9fe1650882edc1439217e401a5b2f0ca0886e44880d7cfcd1b7efda9b29441256a21e5cf0c65af719b0417f7612db0246e76cefe6c41b2442389f7c71b9cf MISC metadata.xml 340 BLAKE2B c9ca851e49b4ab48c015686e983ec988f60c34ed0af77abd7bc03d046002f79f74b9b463ecb97db89f2230c1593af7acdaf6651fc51fed4aa92a459d07aabf18 SHA512 3fe8262ce6b971364162fbdbac3b02bf02f0a64896c8a2564e2a2998bd6e6bc74463bf9104e3f4ffaa9f5c1a16c877fc864b8a4f056ca0022f741799bc00f217 diff --git a/dev-python/lit/lit-17.0.0_pre20230520.ebuild b/dev-python/lit/lit-17.0.0_pre20230520.ebuild new file mode 100644 index 000000000000..f4b401a77373 --- /dev/null +++ b/dev-python/lit/lit-17.0.0_pre20230520.ebuild @@ -0,0 +1,42 @@ +# Copyright 1999-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=setuptools +PYTHON_COMPAT=( python3_{9..11} ) + +inherit distutils-r1 llvm.org + +DESCRIPTION="A stand-alone install of the LLVM suite testing tool" +HOMEPAGE="https://llvm.org/" + +LICENSE="Apache-2.0-with-LLVM-exceptions UoI-NCSA" +SLOT="0" +KEYWORDS="" +IUSE="test" +RESTRICT="!test? ( test )" + +# Tests require 'FileCheck' and 'not' utilities (from llvm) +BDEPEND=" + test? ( + dev-python/psutil[${PYTHON_USEDEP}] + sys-devel/llvm + ) +" + +LLVM_COMPONENTS=( llvm/utils/lit ) +llvm.org_set_globals + +# TODO: move the manpage generation here (from sys-devel/llvm) + +src_prepare() { + cd "${WORKDIR}" || die + distutils-r1_src_prepare +} + +python_test() { + local -x LIT_PRESERVES_TMP=1 + local litflags=$(get_lit_flags) + ./lit.py ${litflags//;/ } tests || die +} diff --git a/dev-python/llfuse/Manifest b/dev-python/llfuse/Manifest index 3d2e9022527e..41ac9dffeee0 100644 --- a/dev-python/llfuse/Manifest +++ b/dev-python/llfuse/Manifest @@ -1,4 +1,6 @@ AUX llfuse-1.3.5-cflags.patch 662 BLAKE2B 39e0c35ffbb62b4a6b7b7c5592da8c87554ea733d07d879e6f58dd62003f30812cb4320e41484797cae4f113d271dc8c8625fe847270cae7e35085c2ae67a357 SHA512 f66c13ddee81acc63cb65c09f2836c9a2409f24bebc5b7e3b5fea3f7e626aa52e5d19798ef5ab281d0dd31c3efbc4378003bd93461cfda36fcc726fc871aadf4 DIST llfuse-1.4.2.tar.gz 834763 BLAKE2B 60bdfdd4567de4aa6ab5ea6692f48e6d68572bc13976e30fa9850c96b8a2c8a77638d3750df549b827a2bba0cc2dfa2a3f2cac3c4729278515a2703ecde446a1 SHA512 6a368af9e49f8537bbea396dfcd9fc024f8b93b161d3c6167d13c4ffb0ab20b6c8393447e71b5c147c82d4d1ee590ae08c512c93ccb28df78a06ab6833ac3705 +DIST llfuse-1.4.4.tar.gz 293728 BLAKE2B aba684a0b7b06a0cdb97fb8851639ee0c6b5dc100e3d216430e26f122a78ac7933b7d5725f271328804a592b343988d6ceb79bd8c682620464dcef1d26cc20b0 SHA512 3e61f1f82194dc915947e4f0c2edf44ce0e87c4da142e39c2b19bb7db3f387a348f9c1bb02b6d0f2507b57cbfc20ad83c11ce513c685dc276d6a382e4dd449eb EBUILD llfuse-1.4.2.ebuild 1038 BLAKE2B bc26fdd0a018644dcc014fe274e0448ae5beb6765e79edc1315c60b3495ce9ad52f92e8ed67ad9a312fe3a79a5bab7e17e9dca748b6fd505533b0412d9f8f93e SHA512 7113b7a4b5f2bb0ca3d05dba78d3058ed4c748237f716f7484e389a80e884c081f3521a583e9934686ad4aba74dc73a62004b4bff2a643e1f40d2b744df5acb8 +EBUILD llfuse-1.4.4.ebuild 1026 BLAKE2B 344399442600b14bcc494c4760a828cfc79b0f2bcca046ffbd898a6f167ab67f9832afcb46ebcf2ab2048d959658dea22fafc3ecb66b43f18ef27b16b2379f73 SHA512 bdc97c088a73684e7ccc4192a96c50afe82b4da0ad79798e13c97d370a14938d86d19fd41ae24773b4d5856965e116fe184859fd8eaecbb90b99490388df5304 MISC metadata.xml 377 BLAKE2B 8e7aa00ada5481ed2fc9fedf47334ec81ca26e7788ee5f7c6965151cf6f42e305c33d2b1f1a697094d11668ea5939de99e9ae00de7fbe95b75bbc9577adcff9b SHA512 70eaac052525ddf94287b100e7dc6d4429499d49b6aac109659757cf6ca41f6aac220a1b931e4fb196e322b259e9884b1ecf49947b48b1f76c8350434f811aa7 diff --git a/dev-python/llfuse/llfuse-1.4.4.ebuild b/dev-python/llfuse/llfuse-1.4.4.ebuild new file mode 100644 index 000000000000..9c9206538605 --- /dev/null +++ b/dev-python/llfuse/llfuse-1.4.4.ebuild @@ -0,0 +1,58 @@ +# Copyright 1999-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_EXT=1 +DISTUTILS_USE_PEP517=setuptools +PYTHON_COMPAT=( python3_{10..11} pypy3 ) + +inherit distutils-r1 pypi + +DESCRIPTION="Python bindings for the low-level FUSE API" +HOMEPAGE=" + https://github.com/python-llfuse/python-llfuse/ + https://pypi.org/project/llfuse/ +" + +LICENSE="LGPL-2" +SLOT="0" +KEYWORDS="~amd64 ~arm ~arm64 ~ppc64 ~riscv ~x86" +IUSE="doc examples" + +RDEPEND=" + >=sys-fs/fuse-2.8.0:0 +" +DEPEND=" + ${RDEPEND} + sys-apps/attr +" +BDEPEND=" + dev-python/cython[${PYTHON_USEDEP}] + virtual/pkgconfig +" + +PATCHES=( + "${FILESDIR}"/llfuse-1.3.5-cflags.patch +) + +distutils_enable_sphinx rst +distutils_enable_tests pytest + +src_prepare() { + # force regen + rm src/llfuse.c || die + distutils-r1_src_prepare +} + +python_compile() { + if [[ ! -f src/llfuse.c ]]; then + esetup.py build_cython + fi + distutils-r1_python_compile +} + +python_install_all() { + use examples && dodoc -r examples + distutils-r1_python_install_all +} diff --git a/dev-python/mkdocs-ansible/Manifest b/dev-python/mkdocs-ansible/Manifest index 76ebeb5b2918..1728ea824512 100644 --- a/dev-python/mkdocs-ansible/Manifest +++ b/dev-python/mkdocs-ansible/Manifest @@ -1,3 +1,5 @@ DIST mkdocs-ansible-0.1.4.tar.gz 27751 BLAKE2B 33bf7edeadda869dcc620b1625deffad326d7a6296f70360a6138581ec60af8524ab8ccd7571c597b9574092dbb10a4296539eea3c9b586c0cc30c297f2a25cf SHA512 e2e3380e226c618cdcf87449ab76478be537b19b1c1da8bd93aca8791f29c98441b630997c203af3739509714eb2d7d2e1a0d8f07ef71b1c79a67c9651ad4886 +DIST mkdocs-ansible-0.1.5.tar.gz 27864 BLAKE2B b34fac1cb5f1ae960776f60ebb7405c3e8bf6c00bee3df81bfb2c77db03f2b1d7486967a7366e1702c969772ab8dba219a44f7be809563af01c867a5839b1ac6 SHA512 4d177fa532676cee76e7c861c06e920b3446d99bdd5ce062e3cf9d1a555153df197375f822df745619e9140e61a3ec590e046614509f4ec7b97e8e58c49e432a EBUILD mkdocs-ansible-0.1.4.ebuild 466 BLAKE2B 6ff72a9fddb0594f354b5141f36121b160c0153441cabbff0af8c4ece3b6a3bebffc2fd83d033fdf36383d3b36e8377d24819ac0140b951df4b35148afd1a668 SHA512 971c85feb0ee105cf1b5a4264856d6688250294ae1b1c7c0da8630c2857fee86f7dd59b3df3f8a51c2a7ec40d60b3450b74fe8194c703083469dfee1d04f7000 +EBUILD mkdocs-ansible-0.1.5.ebuild 466 BLAKE2B 6ff72a9fddb0594f354b5141f36121b160c0153441cabbff0af8c4ece3b6a3bebffc2fd83d033fdf36383d3b36e8377d24819ac0140b951df4b35148afd1a668 SHA512 971c85feb0ee105cf1b5a4264856d6688250294ae1b1c7c0da8630c2857fee86f7dd59b3df3f8a51c2a7ec40d60b3450b74fe8194c703083469dfee1d04f7000 MISC metadata.xml 409 BLAKE2B 7552f90e363cbe4b38bedae3630074db6b4b3fd75a13d3e34740470490b49f3cc553cb76d87bae5bfdf247b5e8ab57da2888ff12723bac72999c23484350485f SHA512 70fb7dfda89462823c26b7058a941d405015a46bd0445f0c75c5adeb659122d5d558b6e757ab20224725e8eaff5390bc3b0ce7e2bf7b56dd9982c04fc59a59e7 diff --git a/dev-python/mkdocs-ansible/mkdocs-ansible-0.1.5.ebuild b/dev-python/mkdocs-ansible/mkdocs-ansible-0.1.5.ebuild new file mode 100644 index 000000000000..d5f242d2a01f --- /dev/null +++ b/dev-python/mkdocs-ansible/mkdocs-ansible-0.1.5.ebuild @@ -0,0 +1,19 @@ +# Copyright 1999-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +PYTHON_COMPAT=( python3_{10..11} ) +DISTUTILS_USE_PEP517=setuptools +PYPI_NO_NORMALIZE=1 + +inherit distutils-r1 pypi + +DESCRIPTION="Ansible theme for MkDocs" +HOMEPAGE="https://pypi.org/project/mkdocs-ansible/ https://github.com/ansible/mkdocs-ansible" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64 ~riscv" + +RDEPEND="dev-python/mkdocs-material[${PYTHON_USEDEP}]" diff --git a/dev-python/mkdocs-material/Manifest b/dev-python/mkdocs-material/Manifest index 3e29b46d436b..2411cff3f41f 100644 --- a/dev-python/mkdocs-material/Manifest +++ b/dev-python/mkdocs-material/Manifest @@ -3,10 +3,12 @@ DIST mkdocs-material-9.1.10.gh.tar.gz 14174187 BLAKE2B 632f2855945575edc45719472 DIST mkdocs-material-9.1.11.gh.tar.gz 14174425 BLAKE2B 8789f589d80a73d882b9140141f912d64b30879ee52b42cdab49f26ad09e7a1ca68d558d31ff3b2392736147c72a9d3d00f8aefea297f14170e8f4da143d935a SHA512 269ffd9a39431744fc4c6082cd34def57ae91dc6caaed236360c9149973f4ea69233bb28851e7d214f442329aa8bc362bf238d2cb6d0bed172c57d82555bcef0 DIST mkdocs-material-9.1.12.gh.tar.gz 14175053 BLAKE2B 4d19e1a2360d4b60867973843a7d9d45f70410608053a751b4e169e0819ed33f7319f9df29471329268ec26e4db3f046fa7b5f254e88c4f5509f4ab3b1c278a4 SHA512 bb30a68986e2d29fce4c632f5aa72ed6ede3d7a1a8c6ce4725e11c7181ec41feda7d3446241dd3c253e2f6459fa083c948b482bfb43e6f7926103e273cea7375 DIST mkdocs-material-9.1.13.gh.tar.gz 14211447 BLAKE2B 2e7bbe04514cc41a8e4086e9ca7bdac8223bf7105a2a0726a9c5dbcdcbdd88c59a273d716b251aee6183267e855ee12c507860b687734bac79e3db7ce148cbdc SHA512 d85cac68cef50b54f98f4fc2536e12efcfa8d04e62990e11d6bd46b204589063157769ab08c21e4157230241f590982bfe7b2bf698fba9f2ffa5febd92ee3fe6 +DIST mkdocs-material-9.1.14.gh.tar.gz 14213692 BLAKE2B 20bf12cc6f534e3c0167ef275713c5f5eb9a2ca877631c91724f8d7bf5a3314fb2ac64e457218fd84b1cc01f6fd472336e16b7825d932c0366cbaf7f098bc7be SHA512 1f3a203cd41f67ac75573439077c65f98c3ddd803b0b0f09d2c0c590a019ae30dc7ee336372c4221ced77c4d015ebef7cf0c016ce02889a7f4ddb8f43e1d3bbf DIST mkdocs-material-9.1.9.gh.tar.gz 10937664 BLAKE2B ebb893deecbd545496542f714976337b6c57ab0b7413f53ec0e8635e3d3a668ce3b7dbd46ea2517855e077d271f147d1df7c9d838d80a3954ff8a9f63f7f7bce SHA512 0b2a42e8f035375f34ca23a1489d4d76c9733cd28e1dc98f25c8f5461a337ff533eb85c72d9b22a8d2af4694b1e0c74ea61bb62da91827562b1ecb4cf4e8867c EBUILD mkdocs-material-9.1.10.ebuild 1432 BLAKE2B e1aba66e5a5f4c3eda2d0dfa7d6da4702f498249ed5cca4dbadb469c963cd1213880a43afc384ba174b7a75af3d192618a93138d88b79b48d9067933c0c414c9 SHA512 e546e437f8ea3949fc413beeafdfae88060477739dea9b2223cfdc92b40b7e3d20217c516f3f3d8f56cd5e2e1807f6aee70102b98f44755ef866393470924f8c EBUILD mkdocs-material-9.1.11.ebuild 1432 BLAKE2B e1aba66e5a5f4c3eda2d0dfa7d6da4702f498249ed5cca4dbadb469c963cd1213880a43afc384ba174b7a75af3d192618a93138d88b79b48d9067933c0c414c9 SHA512 e546e437f8ea3949fc413beeafdfae88060477739dea9b2223cfdc92b40b7e3d20217c516f3f3d8f56cd5e2e1807f6aee70102b98f44755ef866393470924f8c EBUILD mkdocs-material-9.1.12.ebuild 1549 BLAKE2B d1d1661c9b7743b851efa84c142625c79f2be58470f9d3dc63c9fa03e3c502fcdfedb46b5c433612b67f001bee56301feaf6a02ba9ebc3d450b1c80d33460f45 SHA512 5e0a7ba6e1a371b25824addee3ad8827080cbec7709bc5e1fd1f8a308c73768a0a5ed9e8b90298178a5ff418de6a5c19782f10b7de79ef91bc80641a2d3884f5 EBUILD mkdocs-material-9.1.13.ebuild 1549 BLAKE2B d1d1661c9b7743b851efa84c142625c79f2be58470f9d3dc63c9fa03e3c502fcdfedb46b5c433612b67f001bee56301feaf6a02ba9ebc3d450b1c80d33460f45 SHA512 5e0a7ba6e1a371b25824addee3ad8827080cbec7709bc5e1fd1f8a308c73768a0a5ed9e8b90298178a5ff418de6a5c19782f10b7de79ef91bc80641a2d3884f5 +EBUILD mkdocs-material-9.1.14.ebuild 1549 BLAKE2B d1d1661c9b7743b851efa84c142625c79f2be58470f9d3dc63c9fa03e3c502fcdfedb46b5c433612b67f001bee56301feaf6a02ba9ebc3d450b1c80d33460f45 SHA512 5e0a7ba6e1a371b25824addee3ad8827080cbec7709bc5e1fd1f8a308c73768a0a5ed9e8b90298178a5ff418de6a5c19782f10b7de79ef91bc80641a2d3884f5 EBUILD mkdocs-material-9.1.9.ebuild 1429 BLAKE2B 65de47921e3cabe74c7ecc3c65b07d2c5d3d43a10547a7fa0029643c1b90b2c0f8776ff7deb5027635cdbaba6c2010ae37c9c616a4b9302ec2ca1bf5f179eea5 SHA512 374430e00ecfa6e8349bc87f15570ec90ec3268b64ea8b3feb8902f33ec28a52556621474df28cefae45d0960281f71634c5e2e53ebb74158f0979f710a41cf7 MISC metadata.xml 1146 BLAKE2B c9eb031eb40f303fdcc39f891cdd2d4317075deb030d0f8374f874ecd63bf73960427eb3ee485b5b28515f58689b1e1bf977ee7b565bf8f9275b115853044f2c SHA512 01db399842cb09af4823278f84fcf8c51ed42609a2e61d8e64964e1759e14d22ed2f32ec0565f19184575089a218dad4939337798cd3a5b39f5be55f5f7edb69 diff --git a/dev-python/mkdocs-material/mkdocs-material-9.1.14.ebuild b/dev-python/mkdocs-material/mkdocs-material-9.1.14.ebuild new file mode 100644 index 000000000000..c6eb88bef19a --- /dev/null +++ b/dev-python/mkdocs-material/mkdocs-material-9.1.14.ebuild @@ -0,0 +1,61 @@ +# Copyright 1999-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=hatchling +PYTHON_COMPAT=( python3_{10..11} ) + +DOCS_BUILDER="mkdocs" +DOCS_DEPEND=" + dev-python/mkdocs-material-extensions + dev-python/mkdocs-minify-plugin + dev-python/mkdocs-redirects +" + +inherit distutils-r1 docs + +DESCRIPTION="A Material Design theme for MkDocs" +HOMEPAGE=" + https://github.com/squidfunk/mkdocs-material/ + https://pypi.org/project/mkdocs-material/ +" +SRC_URI=" + https://github.com/squidfunk/${PN}/archive/${PV}.tar.gz + -> ${P}.gh.tar.gz +" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~ppc64 ~riscv ~x86" +IUSE="social" + +RDEPEND=" + >=dev-python/colorama-0.4[${PYTHON_USEDEP}] + >=dev-python/jinja-3.0.2[${PYTHON_USEDEP}] + >=dev-python/markdown-3.2[${PYTHON_USEDEP}] + >=dev-python/mkdocs-1.4.2[${PYTHON_USEDEP}] + >=dev-python/pygments-2.14[${PYTHON_USEDEP}] + >=dev-python/pymdown-extensions-9.9.1[${PYTHON_USEDEP}] + >=dev-python/regex-2022.4.24[${PYTHON_USEDEP}] + >=dev-python/requests-2.26[${PYTHON_USEDEP}] + social? ( + >=dev-python/pillow-9.0[${PYTHON_USEDEP}] + >=media-gfx/cairosvg-2.5[${PYTHON_USEDEP}] + ) +" + +# mkdocs-material-extensions depends on mkdocs-material creating a circular dep +PDEPEND=" + >=dev-python/mkdocs-material-extensions-1.1.0[${PYTHON_USEDEP}] +" + +PATCHES=( + # simplify pyproject to remove extra deps for metadata + "${FILESDIR}/${PN}-8.5.7-simplify-build.patch" +) + +src_prepare() { + echo "__version__ = '${PV}'" > gentoo_version.py || die + distutils-r1_src_prepare +} diff --git a/dev-python/owslib/Manifest b/dev-python/owslib/Manifest index c2aaf5e9f897..d2fca77eb020 100644 --- a/dev-python/owslib/Manifest +++ b/dev-python/owslib/Manifest @@ -1,3 +1,5 @@ DIST OWSLib-0.29.1.gh.tar.gz 960582 BLAKE2B e88446a843113453b116016a4488e1738472b2ff8faf7f0b1647db061e2af4b15e7ca64fb92d3298a9c4e906f8230a03fea664df65113dedba901a75c074da2e SHA512 10fc2d75b60c6a388d4729011e3843d0943e6273c94d628b288c973304c01359d77a4856a7dc74ac28358f26cbe9ffe85a67921ef5eb62475d2143dd20c46e08 +DIST OWSLib-0.29.2.gh.tar.gz 953216 BLAKE2B 3c0204cd62fdf3fe36ca2051a83a00ad165e7f7682d850c3796877c83382f7a3c68d2c02f8dfaa90016909393a9bfd6f2415499f6096de9f4333102b20ccd932 SHA512 66c0c6b4bcae08f0acbf1d4ee4a0e5d2b33996ae0d088ddd01844f050da364c581f7ea2a46d48652b969c75e8b31caf4c721f497ea079fb779d670199dd56746 EBUILD owslib-0.29.1.ebuild 1435 BLAKE2B 28352a9f3093657280d223834206e90a8f889ea88c0d8e6ccf804e1ca45deb0c27f2300db6e17eaf70897a4e9ac38cb0a8349c4dd9539fe60da0081b7b4a8197 SHA512 f384cfe36ffaf181a1ec0bad7d076f403d91dc38d5d35e133551dc237f6f5a2d166570f9a1f7353a4069157d6dffa169421f006bcad358dd326f5b3bcdce8856 +EBUILD owslib-0.29.2.ebuild 1556 BLAKE2B 1836861f351c26e7dbb9c29a6f3cb09e01f7d4ded314d7f8f712a4b702ed9a1dadff744dfc6d837b3b3646dfe083534f192f519c1851b28e3e50211f3f4ce3f6 SHA512 45b07f3ec8147d54c181bdba7932c0f828126dc4c63d8d1f77459f4f13f77c7f661566cf99df15029b44c48069ab8d1ccd3ef5a81d3ed9616f4ed476e031f581 MISC metadata.xml 520 BLAKE2B 01705147ed084a8215d15016b6cc94b2fcdc926eff2755cf2d4c768197d0c39a30a8b0602d93bac7ec221e32c30b9280b37d5736f2f46342ad36e23c1b4a7c1c SHA512 c146cb483caacbde7966a95b899372261493543826cb20d638cd91e7cae245d60f1504bc53f485e35ca5d6c3f83780fc1da211c0838c604dafde27284dd8e40b diff --git a/dev-python/owslib/owslib-0.29.2.ebuild b/dev-python/owslib/owslib-0.29.2.ebuild new file mode 100644 index 000000000000..6b89ed5f6480 --- /dev/null +++ b/dev-python/owslib/owslib-0.29.2.ebuild @@ -0,0 +1,61 @@ +# Copyright 1999-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=setuptools +PYTHON_COMPAT=( python3_{10..11} ) + +inherit distutils-r1 + +MY_P=OWSLib-${PV} +DESCRIPTION="Library for client programming with Open Geospatial Consortium web service" +HOMEPAGE=" + https://geopython.github.io/OWSLib/ + https://github.com/geopython/owslib/ + https://pypi.org/project/OWSLib/ +" +SRC_URI=" + https://github.com/geopython/${PN}/archive/${PV}.tar.gz + -> ${MY_P}.gh.tar.gz +" +S=${WORKDIR}/${MY_P} + +LICENSE="BSD" +SLOT="0" +KEYWORDS="~amd64 ~x86" +RESTRICT="test" +PROPERTIES="test_network" + +RDEPEND=" + dev-python/lxml[${PYTHON_USEDEP}] + dev-python/python-dateutil[${PYTHON_USEDEP}] + dev-python/pytz[${PYTHON_USEDEP}] + dev-python/pyyaml[${PYTHON_USEDEP}] + dev-python/requests[${PYTHON_USEDEP}] +" +BDEPEND=" + test? ( + dev-python/pillow[${PYTHON_USEDEP}] + ) +" + +distutils_enable_tests pytest + +EPYTEST_DESELECT=( + # connection errors + tests/test_wfs_generic.py::test_xmlfilter_wfs_110 + tests/test_wfs_generic.py::test_xmlfilter_wfs_200 + tests/test_ogcapi_records_pycsw.py::test_ogcapi_records_pycsw + tests/test_opensearch_pycsw.py::test_opensearch_creodias + tests/test_ows_interfaces.py::test_ows_interfaces_csw + tests/test_csw3_pycsw.py::test_csw_pycsw + tests/test_csw_pycsw.py::test_csw_pycsw + tests/test_csw_pycsw_skip_caps.py::test_csw_pycsw_skip_caps + # different output from remote service, sigh + tests/test_ogcapi_processes_pygeoapi.py::test_ogcapi_processes_pygeoapi +) + +python_test() { + epytest -o addopts= +} diff --git a/dev-python/pipenv/Manifest b/dev-python/pipenv/Manifest index 3b67e34327e6..a65d2517290c 100644 --- a/dev-python/pipenv/Manifest +++ b/dev-python/pipenv/Manifest @@ -4,5 +4,5 @@ AUX pipenv-2023.4.29-fix-imports.patch 946 BLAKE2B 76cc36b1a60cb600851198340f1b4 AUX pipenv-2023.4.29-fix-toml-dump.patch 732 BLAKE2B 5e1a379ee851763344c642da4c3a9876e0cda4e4f1697becfec63564c404d1070c886df5b9df7e379447bb191e7ecae63fd743bde4a8de8a1ca655ac78a3a23f SHA512 8152e1650d0f2c75c810c0ab64bff9544cfabcd3ff9b342aeddbeeda27549f8a4ee4eacdb71e7ec18945a91443381b5cecc1c5ad8a885a1f162811cd8f09f396 AUX pipenv-2023.4.29-fix-toml-in-vendor.patch 2612 BLAKE2B 8951dc3baefe0d58262d5d8c2f1952331322665f4961ced0dab5ac4109a33a4cd107646d5a9281a6b3685d6885f3f6b256fd675f9308b8c7844b065bcbde3522 SHA512 075fe3a8b69265ea41071407edec1edba945ef38123da970a6ba4553f5bd7491f8b13b07241f6ecd3e77dff1b6542f279943b0a760711c8cb0827837a7daa376 DIST pipenv-2023.4.29.gh.tar.gz 10808706 BLAKE2B 31432b80f82b041969e75d0ec0a28ca90068395be25dac94a7f34526f0b638adfae59e9396b147fa61592ee78af2d9cfb4a1b65dedea9bbb299b2624a6d6e9a1 SHA512 870b33ced4ed909b23b9d345ec788f4b5fffde4b253755e8a41b0629e885ef49ca14e9a68b5919b70074829002603fe427e8b77f41028a7de33d269a910354ff -EBUILD pipenv-2023.4.29.ebuild 4161 BLAKE2B a9b5486d69f30af06517b100771280a9562399257fd599c63787cdd235d9c4e2a1d8c113592d3e61fa972487e3896982b7fe6478c456649e3f48b125437bca92 SHA512 4687a9d3ad00d71db2259615ad4f37b3503b92a742094fdc663ff9b217e3bbf7e5faf05ffe9021a189f7a80b0924a6ebd2b7dcdd3daa633d6c77a2c463e8e3b7 +EBUILD pipenv-2023.4.29-r1.ebuild 4161 BLAKE2B a9b5486d69f30af06517b100771280a9562399257fd599c63787cdd235d9c4e2a1d8c113592d3e61fa972487e3896982b7fe6478c456649e3f48b125437bca92 SHA512 4687a9d3ad00d71db2259615ad4f37b3503b92a742094fdc663ff9b217e3bbf7e5faf05ffe9021a189f7a80b0924a6ebd2b7dcdd3daa633d6c77a2c463e8e3b7 MISC metadata.xml 643 BLAKE2B ff3557d9ae32b553c85455436683e2ca94bc16c6ec7c6d2ceb1113a69dc841b9ac2f0e4b96eec4c6c84ca899ad6a99b0747d7bf3f9289110a8bbdfb80f2cb2eb SHA512 7a611950572c2d700fb1680e0aa307069d80d992528144da781eca9f1fee729defa6f8b28382ddd8f66e58c5f68de9a17815989a4a39473bbf830a7be42ea282 diff --git a/dev-python/pipenv/pipenv-2023.4.29.ebuild b/dev-python/pipenv/pipenv-2023.4.29-r1.ebuild index 123b4de71625..123b4de71625 100644 --- a/dev-python/pipenv/pipenv-2023.4.29.ebuild +++ b/dev-python/pipenv/pipenv-2023.4.29-r1.ebuild diff --git a/dev-python/pulsectl/Manifest b/dev-python/pulsectl/Manifest index 0024b42fa33d..340fe028f103 100644 --- a/dev-python/pulsectl/Manifest +++ b/dev-python/pulsectl/Manifest @@ -1,3 +1,5 @@ DIST pulsectl-22.3.2.tar.gz 40901 BLAKE2B 5b3eb752865e95cfbb70a7228409fea70b4c55c7297d652b4614df7ea4764dcb446f7a3e25bb89f6a55badbf6b300381c7c28c56f0a47e7faf1e63003f39d02c SHA512 7fc11c792a9e586d191a32831e0ef8896c40da1fdeddfd4467d7ec352e5e0ef0c910d7a2e8e82e1a381b16afefa17c9c9db4821be74d4694c934337b2a862f0c +DIST pulsectl-23.5.1.tar.gz 41131 BLAKE2B 4e24a0d79d2f5c5a365a23643019150693862a636115a0fcf26dbc64cf9d80a8637c1f03193f8d2513660e8f5268946ef287d01b93b7fd3a416dbb05b2c619f0 SHA512 69516e1d64cb2e27643de6fcb273b621ab89a03dd5c40eb71a7fa6b846da96f8f10baacf794c73edc3f60f65787c7050c16c234aa5b23169c2d5ae815232372a EBUILD pulsectl-22.3.2.ebuild 577 BLAKE2B 87f6ee5e3c720f91b37598e8a966571c23163135416195fb87997fa741cb0d574bcc9f6014b6120a6d619e5afb104b46e298c485d38e97341ef1f06d3d3b1af8 SHA512 2d1112caf1ca3a5ef2b65c2f36a32d42cb38b72e378e6340ec30cdb014ee56d4818513b565e72c057cf6ee03cc12b57da93b1601366f7c2b56b7d86e61f3fef1 +EBUILD pulsectl-23.5.1.ebuild 577 BLAKE2B 87f6ee5e3c720f91b37598e8a966571c23163135416195fb87997fa741cb0d574bcc9f6014b6120a6d619e5afb104b46e298c485d38e97341ef1f06d3d3b1af8 SHA512 2d1112caf1ca3a5ef2b65c2f36a32d42cb38b72e378e6340ec30cdb014ee56d4818513b565e72c057cf6ee03cc12b57da93b1601366f7c2b56b7d86e61f3fef1 MISC metadata.xml 558 BLAKE2B 6cdebbc1f507bbab92256bbac867a86468b733b40dacfdb71090738f5505ea6ac33b24cbeb06835e10d9845e3fd9189a6c34625176f12c9dc7f4a1511069e8fe SHA512 b15eaa0564bc6dadf8d46eab154d028b4cbde26fa099793aa23df8f82eba86a4125d173eca8a8d2d73359dc67171dca9d8716e1495168c7b6c8ff5c701a21577 diff --git a/dev-python/pulsectl/pulsectl-23.5.1.ebuild b/dev-python/pulsectl/pulsectl-23.5.1.ebuild new file mode 100644 index 000000000000..a13a963b83ea --- /dev/null +++ b/dev-python/pulsectl/pulsectl-23.5.1.ebuild @@ -0,0 +1,30 @@ +# Copyright 1999-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=setuptools +PYTHON_COMPAT=( pypy3 python3_{9..11} ) + +inherit distutils-r1 pypi + +DESCRIPTION="Python high-level interface and ctypes-based bindings for PulseAudio (libpulse)" +HOMEPAGE=" + https://github.com/mk-fg/python-pulse-control/ + https://pypi.org/project/pulsectl/ +" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64 ~x86" + +RDEPEND=" + media-sound/pulseaudio +" +BDEPEND=" + test? ( + media-sound/pulseaudio-daemon + ) +" + +distutils_enable_tests unittest diff --git a/dev-python/pyopencl/Manifest b/dev-python/pyopencl/Manifest index 0d9365bed43f..21fbf21e07e0 100644 --- a/dev-python/pyopencl/Manifest +++ b/dev-python/pyopencl/Manifest @@ -1,3 +1,5 @@ DIST pyopencl-2022.3.1.tar.gz 470441 BLAKE2B 86ec602f3d73a64e34fe77b7985e64db332a685b33231ad7832d7e864f3170e3eee0aed42742b9892f7950a0f672a736e169ccd0ca08a124b7f20738b348dbff SHA512 57944de69bb24f0f22fb2c0165cd4de5265f5329246fead8449d26e6cbe1204fd44ced70df9960aa54e7d285abe81d8f8a802ba62309de5f4865e882177025ae +DIST pyopencl-2023.1.tar.gz 472581 BLAKE2B bfa25646b00b8d5c1a2fb7b98c18383e3013b9aa1573dc1bcbc1e056d3bd50d48fb35b7b74c4d87c079fe9334817ff325edd235bdd0de610373850c3ab057773 SHA512 3a6c61715338b31f9e9c3b9c8afe029e63d2689f9d52174c91cfe7383425643b3d08f5c125ab7e24ca776c86ff19d5adb7bfe56f1bd531ba443f99dcf9449244 EBUILD pyopencl-2022.3.1.ebuild 1999 BLAKE2B d64eb47dc442534e666b141e7d02bde62d80ead50d74cbde05dc32b28b143f20e1e6ceab3c199720ae07fa4e26272c034484ee8cd2962ba98dfc9f5db9cf4346 SHA512 d339449a1043befbf8eacbdb9f6874b16be9b54fcc17c0c1070ac4176fccdc04fb488dcef44555031d5aed30179bb3a74684240ec980dc66c67b7b63be1f34ac +EBUILD pyopencl-2023.1.ebuild 2000 BLAKE2B 1ce9363a3312a5a93a0f970fb9c3cb4dbc87e9e597039a71afcf26833ce7d772bb97abf694ea66472856cb49302a5f8c6d458d52c554c3fdf58aa42fdfe8b3de SHA512 23074496a74fe4f67ec91821a00b7c2cfc360e3cd936c354e581edc0b7a58ea7aaee7d01390cb002be4e8f02c0aefec9f438a7d0e0968b10382ddbeee603d50e MISC metadata.xml 373 BLAKE2B 0de89cb91a5dba1c34bacf04a95d4e2eb9e903bfb55e291f2ed20d579b9736a9a25f27620eed05d19c903c117e0dfbf410f408e9ff4008ce8c93f7b1b004141e SHA512 4ff5643089e5590d1ae4ef413a1ab0fa2772f71922a9da2c8b43ae375ba2e6e3d95ab90a13d51d22fdea49663c112c36352df609eceebd520fdc06590907b0e7 diff --git a/dev-python/pyopencl/pyopencl-2023.1.ebuild b/dev-python/pyopencl/pyopencl-2023.1.ebuild new file mode 100644 index 000000000000..50170e58a2a8 --- /dev/null +++ b/dev-python/pyopencl/pyopencl-2023.1.ebuild @@ -0,0 +1,71 @@ +# Copyright 1999-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +PYTHON_COMPAT=( python3_{9..11} ) +DISTUTILS_USE_PEP517=setuptools + +inherit distutils-r1 multiprocessing pypi + +DESCRIPTION="Python wrapper for OpenCL" +HOMEPAGE=" + https://mathema.tician.de/software/pyopencl/ + https://pypi.org/project/pyopencl/ +" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64 ~ppc64" +IUSE="examples opengl" + +# Running tests on GPUs requires both appropriate hardware and additional permissions +# having been granted to the user running them. Testing on CPUs with dev-libs/pocl +# is in theory possible but has been found to be very fragile, see e.g. Bug #872308. +RESTRICT="test" + +COMMON=">=virtual/opencl-2" +# libglvnd is only needed for the headers +DEPEND="${COMMON} + opengl? ( media-libs/libglvnd )" +RDEPEND="${COMMON} + >=dev-python/mako-0.3.6[${PYTHON_USEDEP}] + dev-python/numpy[${PYTHON_USEDEP}] + >=dev-python/platformdirs-2.2.0[${PYTHON_USEDEP}] + >=dev-python/pytools-2021.2.7[${PYTHON_USEDEP}]" +BDEPEND="dev-python/numpy[${PYTHON_USEDEP}] + >=dev-python/pybind11-2.5.0[${PYTHON_USEDEP}] + test? ( dev-libs/pocl )" + +distutils_enable_tests pytest + +python_configure_all() { + local myconf=() + if use opengl; then + myconf+=(--cl-enable-gl) + fi + + "${EPYTHON}" configure.py \ + "${myconf[@]}" +} + +python_test() { + # Use dev-libs/pocl for testing; ignore any other OpenCL devices that might be present + local -x PYOPENCL_TEST="portable:pthread" + # Set the number of threads to match MAKEOPTS + local -x POCL_MAX_PTHREAD_COUNT=$(makeopts_jobs) + # Change to the 'test' directory so that python does not try to import pyopencl from the source directory + # (Importing from the source directory fails, because the compiled '_cl' module is only in the build directory) + pushd test >/dev/null || die + epytest + popd >/dev/null || die +} + +python_install_all() { + if use examples; then + dodoc -r examples + docompress -x /usr/share/doc/${PF}/examples + fi + + distutils-r1_python_install_all +} diff --git a/dev-python/requests-unixsocket/Manifest b/dev-python/requests-unixsocket/Manifest index 7f2cb479e1ae..ca65ce981e8d 100644 --- a/dev-python/requests-unixsocket/Manifest +++ b/dev-python/requests-unixsocket/Manifest @@ -1,3 +1,5 @@ +AUX requests-unixsocket-0.3.0-urllib3-2.patch 1696 BLAKE2B ff96b72329bf0465c6942058c5e339ff94a72f00d4a01d7b4445fd7b4ae81d3f6b53ffe947585a08a290578413c1d85bc0b8c8ca2dafa329a655365484320d01 SHA512 d8e02ab9e8d32c0d1de92d58575b3fc910da1546a76241c828862164b006b693220047a6d0dc4382cce04ed60acd7a5a05d13ea7b833345a0779391da6b032c2 DIST requests-unixsocket-0.3.0.tar.gz 14478 BLAKE2B 5b46ea051729326498f50ba7a952429d271deb102060f8e3019d259ddc21dbffdca8960e140c7ccb25898034cf37fb90dd143c970e75bdc6e6442e9515f14d6e SHA512 21c887b0c3fa526a2debb3960e0ea4dc3b3015cdd517459b6484501176321408d1b4c87dd2840c7d8b71d08fa9114f655ae03f8bc9ff1fca33c914900ef82f5b -EBUILD requests-unixsocket-0.3.0-r2.ebuild 717 BLAKE2B 2090680f603ca55316d96d2d6a70a2d3450533f7784dd00fc4cb42f61efe88e0c0b5d74363d0fd72a107169a3b21f7f887b702930cc5242be07776195d01d6bb SHA512 cdd6a7bd7a76de8fe4409e03f1ab59fff85bf8aeabada6e2218d20c73b14b1ca9026763d68595b4e6551bfcafbc9609621168ac8f173089a3ce0d9a1102f0a2b +EBUILD requests-unixsocket-0.3.0-r3.ebuild 758 BLAKE2B d0258197452ac948cce007e44c38c53aca2765512b1635b41ccd8e7f440ce7c58d0b9d3ad7d9db3e6ca6f9c1cea66d47383d7ebb28a73c68be72d209ccf9f873 SHA512 ed84a7e1b4d9db45260be9403775ae4cb85b18fa58fdeeae4610acbca5c1215b4dc34cf7951c5ef0f6be8d50ffc9b743cd4d2c93f62df3c2e58a42b60c3f8d1d +EBUILD requests-unixsocket-0.3.0-r4.ebuild 871 BLAKE2B 39b89fd1b6a123e2519cc8e6631d0377bb9972f0167face8851d0fb4b5e0e40f8294307a77297b111d280d0d45439fac6cb96eaddae1fa8385665a4be8a08279 SHA512 42e59ee5ba1d4d9d108d9dd22d26dbff71c4d5acc74aaaba10e964522eea6774b20e2c2101167a43ef37b8f7c159405df91e9964e92febd1095a845c82b29733 MISC metadata.xml 325 BLAKE2B 46a5e54f9d40724197835a3b7b096cb8e79a0909ba761c6821256d7fd12994c8d9c6b01510b707ca84cb38ff1b0f62f0293d50c66303860903d785e4e65650d9 SHA512 dee0ea5e9dc5994c5d93a311f98561d2346e8e48aef4871102b8f75e4e40147c187bee52b5106351fd043bed9fc2d32de23038f62c6b90d2b1b4d60ffdc42ac2 diff --git a/dev-python/requests-unixsocket/files/requests-unixsocket-0.3.0-urllib3-2.patch b/dev-python/requests-unixsocket/files/requests-unixsocket-0.3.0-urllib3-2.patch new file mode 100644 index 000000000000..3cbcd2dd59d3 --- /dev/null +++ b/dev-python/requests-unixsocket/files/requests-unixsocket-0.3.0-urllib3-2.patch @@ -0,0 +1,45 @@ +From 5a614f60e7b3639758a6b77691b4e0c0d6827e94 Mon Sep 17 00:00:00 2001 +From: =?UTF-8?q?Martin=20Roukala=20=28n=C3=A9=20Peres=29?= + <martin.roukala@mupuf.org> +Date: Fri, 5 May 2023 09:23:41 +0300 +Subject: [PATCH] Inherit HTTPConnection through urllib3.connection, not + httplib + +By inheriting from `urllib3.connection.HTTPConnection` (that inherits +from `httplib.HTTPConnection` itself), we can adapt to the internal +changes in urllib3 2.0 that added a `request()` method that is +incompatible with httplib.HTTPConnection.request. + +This fixes the incompatibility between urllib3 2.0 and requests 1.26+, +which was the first version that stopped vendoring urllib3. + +Reference: https://github.com/docker/docker-py/issues/3113#issuecomment-1531570788 +--- + requests_unixsocket/adapters.py | 7 +------ + 1 file changed, 1 insertion(+), 6 deletions(-) + +diff --git a/requests_unixsocket/adapters.py b/requests_unixsocket/adapters.py +index 83e1400..513c243 100644 +--- a/requests_unixsocket/adapters.py ++++ b/requests_unixsocket/adapters.py +@@ -3,11 +3,6 @@ + from requests.adapters import HTTPAdapter + from requests.compat import urlparse, unquote + +-try: +- import http.client as httplib +-except ImportError: +- import httplib +- + try: + from requests.packages import urllib3 + except ImportError: +@@ -16,7 +11,7 @@ + + # The following was adapted from some code from docker-py + # https://github.com/docker/docker-py/blob/master/docker/transport/unixconn.py +-class UnixHTTPConnection(httplib.HTTPConnection, object): ++class UnixHTTPConnection(urllib3.connection.HTTPConnection, object): + + def __init__(self, unix_socket_url, timeout=60): + """Create an HTTP connection to a unix domain socket diff --git a/dev-python/requests-unixsocket/requests-unixsocket-0.3.0-r2.ebuild b/dev-python/requests-unixsocket/requests-unixsocket-0.3.0-r3.ebuild index 6ad0cb32118f..e0077847ef34 100644 --- a/dev-python/requests-unixsocket/requests-unixsocket-0.3.0-r2.ebuild +++ b/dev-python/requests-unixsocket/requests-unixsocket-0.3.0-r3.ebuild @@ -21,6 +21,7 @@ KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~loong ~m68k ~mips ppc ppc64 ~riscv RDEPEND=" dev-python/requests[${PYTHON_USEDEP}] + <dev-python/urllib3-2[${PYTHON_USEDEP}] " BDEPEND=" dev-python/pbr[${PYTHON_USEDEP}] diff --git a/dev-python/requests-unixsocket/requests-unixsocket-0.3.0-r4.ebuild b/dev-python/requests-unixsocket/requests-unixsocket-0.3.0-r4.ebuild new file mode 100644 index 000000000000..e9644e79aedd --- /dev/null +++ b/dev-python/requests-unixsocket/requests-unixsocket-0.3.0-r4.ebuild @@ -0,0 +1,38 @@ +# Copyright 2020-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=setuptools +PYPI_NO_NORMALIZE=1 +PYTHON_COMPAT=( python3_{9..11} pypy3 ) + +inherit distutils-r1 pypi + +DESCRIPTION="Use requests to talk HTTP via a UNIX domain socket" +HOMEPAGE=" + https://github.com/msabramo/requests-unixsocket/ + https://pypi.org/project/requests-unixsocket/ +" + +LICENSE="Apache-2.0" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86" + +RDEPEND=" + dev-python/requests[${PYTHON_USEDEP}] + dev-python/urllib3[${PYTHON_USEDEP}] +" +BDEPEND=" + dev-python/pbr[${PYTHON_USEDEP}] + test? ( + dev-python/waitress[${PYTHON_USEDEP}] + ) +" + +PATCHES=( + # https://github.com/msabramo/requests-unixsocket/pull/69 + "${FILESDIR}/${P}-urllib3-2.patch" +) + +distutils_enable_tests pytest |