diff options
Diffstat (limited to 'dev-python')
64 files changed, 1328 insertions, 115 deletions
diff --git a/dev-python/Manifest.gz b/dev-python/Manifest.gz Binary files differindex 2b84018a7c6b..209cc3333057 100644 --- a/dev-python/Manifest.gz +++ b/dev-python/Manifest.gz diff --git a/dev-python/PyQt6/Manifest b/dev-python/PyQt6/Manifest index 97bd100fd61b..5d77486ad705 100644 --- a/dev-python/PyQt6/Manifest +++ b/dev-python/PyQt6/Manifest @@ -1,3 +1,3 @@ DIST PyQt6-6.7.1.tar.gz 1051212 BLAKE2B 9c1c619b08cc14e0a92ea22812c14d5a3cb47e45eea917d50ab63918d8433d54b354f26b885f2567b9c6e2f0380e819972d055d1a1751f6646ebb5e6cf72b228 SHA512 1e0fec009e1823b06460fd96eddc00ed31388c20f6d832aa0ebaa130baf06d83514df43af7961c3cb2872570d27e539d6db7bf6143ccdfd61a19da7521be2c7e -EBUILD PyQt6-6.7.1-r1.ebuild 5663 BLAKE2B 6f657b09e3da1a3b3b10804368a09b54cd4b1e8e57243c88cbe75ed5db2548fc7121b3f4f3c4bdcd174ce40c29316c24c740d379002fd945143ceaece52b42b2 SHA512 e609fdfd4c03c20fb1086d1d6e7f0a43c8a020d31b6adc4e8253fafbbf9bebdd20097d020a11dba7edce554b4499a13d34b403a298c636f1b93c90cbee052e0b -MISC metadata.xml 2391 BLAKE2B 16eecbd105ced07699632a4b294f7da74b59ff931e39afb8a21f67f073bfc90ff613d753a67bcd303ea9f2bf35d7b91c1c7a56ece044c421c4e45b5951f5efe3 SHA512 1d595e07e201891c8c7d5635d39db36ccb65c7333cb27c1cd5384a76029b987959df05795283a4474a41a997bf951e577570b7d3a52a9a2975d563767651efae +EBUILD PyQt6-6.7.1-r1.ebuild 5767 BLAKE2B 389ba6cc1fbb49188c12971d375c137c29ba292a5f1a4950695795cec2e57b112d739ca364083fbe1a887171fa43acd9e263b59ae667b3eb7d038621eac68093 SHA512 d5ab49c81639a471b9a504d2b324b32742cf286fff6a8c558c2f4236f806d8580d92b78950d889ceeeaf9fa970adfd0f15eed2d53d2791dd0f685d557c4dde71 +MISC metadata.xml 2473 BLAKE2B a86705641a5b20eda9edb08d129e98e848586ff3d6ddc5adfb52c26269d84cf1ebbbcc1cfd967b31403fb12f5a3fb021785c9f3651087240344fa0eb5e403082 SHA512 d985e7e96b9263072165fb323e4efdf1e04f6decace4ea52228ed822d0be730596e8e4e46627e8111574b0703e86f27c82d9a2ec72661edba5583d3e49efc1f4 diff --git a/dev-python/PyQt6/PyQt6-6.7.1-r1.ebuild b/dev-python/PyQt6/PyQt6-6.7.1-r1.ebuild index 90c7fdd340d6..a4399f8665cb 100644 --- a/dev-python/PyQt6/PyQt6-6.7.1-r1.ebuild +++ b/dev-python/PyQt6/PyQt6-6.7.1-r1.ebuild @@ -23,8 +23,8 @@ KEYWORDS="amd64 arm arm64 ~loong ~ppc ppc64 ~riscv x86" IUSE=" bluetooth +dbus debug designer examples gles2-only +gui help multimedia +network nfc opengl pdfium positioning +printsupport - qml quick quick3d serialport sensors spatialaudio speech +sql - +ssl svg testlib webchannel websockets +widgets +xml + qml quick quick3d remoteobjects serialport sensors spatialaudio + speech +sql +ssl svg testlib webchannel websockets +widgets +xml " # see `grep -r "%Import " sip` and `grep qmake_QT project.py` REQUIRED_USE=" @@ -37,6 +37,7 @@ REQUIRED_USE=" qml? ( network ) quick3d? ( gui qml ) quick? ( gui qml ) + remoteobjects? ( network ) spatialaudio? ( multimedia ) sql? ( widgets ) svg? ( gui ) @@ -68,6 +69,7 @@ DEPEND=" qml? ( >=dev-qt/qtdeclarative-${QT_PV}[widgets?] ) quick3d? ( >=dev-qt/qtquick3d-${QT_PV} ) quick? ( >=dev-qt/qtdeclarative-${QT_PV}[opengl] ) + remoteobjects? ( >=dev-qt/qtremoteobjects-${QT_PV} ) sensors? ( >=dev-qt/qtsensors-${QT_PV} ) serialport? ( >=dev-qt/qtserialport-${QT_PV} ) speech? ( @@ -141,7 +143,7 @@ python_configure_all() { $(pyqt_use_enable quick QtQuick \ $(usev widgets QtQuickWidgets)) $(pyqt_use_enable quick3d QtQuick3D) - --disable=QtRemoteObjects # not packaged + $(pyqt_use_enable remoteobjects QtRemoteObjects) $(pyqt_use_enable sensors QtSensors) $(pyqt_use_enable serialport QtSerialPort) $(pyqt_use_enable spatialaudio QtSpatialAudio) diff --git a/dev-python/PyQt6/metadata.xml b/dev-python/PyQt6/metadata.xml index 58da8019ee6e..4672aed86173 100644 --- a/dev-python/PyQt6/metadata.xml +++ b/dev-python/PyQt6/metadata.xml @@ -21,6 +21,7 @@ <flag name="qml">Build bindings for the QtQml module and enable the qml plugin</flag> <flag name="quick">Build bindings for the QtQuick module</flag> <flag name="quick3d">Build bindings for the QtQuick3D module</flag> + <flag name="remoteobjects">Build bindings for the QtRemoteObjects module</flag> <flag name="sensors">Build bindings for the QtSensors module</flag> <flag name="serialport">Build bindings for the QtSerialPort module</flag> <flag name="spatialaudio">Build bindings for the QtSpatialAudio module</flag> diff --git a/dev-python/aiohappyeyeballs/Manifest b/dev-python/aiohappyeyeballs/Manifest index 16d02e537edd..12f99d3a1716 100644 --- a/dev-python/aiohappyeyeballs/Manifest +++ b/dev-python/aiohappyeyeballs/Manifest @@ -1,3 +1,5 @@ DIST aiohappyeyeballs-2.4.0.gh.tar.gz 55452 BLAKE2B 11e34818ed652b2904e78c7a48726d68118a6ecb811be8dcd5008acefd96093b8a2bf25bf92ebb79cdac4735100cec9ca05c856034900f8cda93f45be4f4d627 SHA512 8c2e931fa8b0423e1958a45ac5a040f35e9c0c4df7e4bd6662b5c0288fd25f64cce556cb386b27d07c7438b901a3468fa993c929a3b9c221fb5a318e7809db5a +DIST aiohappyeyeballs-2.4.2.gh.tar.gz 57136 BLAKE2B 557eb7de33467f05c1b558367b16a9af9a3435bf290b4df3d5f189aeee2f336fa7b4d6fb1e523f04fcac0ccb382100b4976e6577e9e7227fa7b417589fabf8f8 SHA512 c2c4e585a00ddcbc7007779a8d59ceb0d5ce9dcce4f929efce2453b6cf370834ea29ee60769fd2885111130eaa89c3d2084702cd247141052d37833e370bbf6e EBUILD aiohappyeyeballs-2.4.0.ebuild 773 BLAKE2B 66ed0da958fcb6bfdbf447cc7c4a35af19a35c9e88aaa6c634b58fb96e22c60c06741aa966fcf2b69d4719e7a826e1c58c66f728c412607abda043de1e7b45fd SHA512 1141fe88bd707e7bad115762acb3bec3c2c3412e86c2bf589c0f1456ed1b8472355ba8dc4473245525e83c3c7954edf9c992f91611c83e32619ee3b3fe512ac4 +EBUILD aiohappyeyeballs-2.4.2.ebuild 780 BLAKE2B b9d02ece68dcc1ecd7d1d7c36759aef29d1648ee0624ee07128416e6d56f891f56af93b3c92cd6ff7a8f9bc800fda68f919fc9e580cb10aab033131c8b8bd08f SHA512 9fb296ab52a193f4c02d15f1e619e8b1573b9ce44d82d02875f569b48db980bf462c3a7fc8a45bdde240bf9fad2ffb2a52bc1653722c593674d9d13a67cb96c2 MISC metadata.xml 387 BLAKE2B c739dc88d077c51dae10eb7aaa84091c6c7904a782ee3eabb12b6167c7e4ae8528b6464612f891eef5f12add728caa66fd30cd93c3b13e022cedae267c1e9f40 SHA512 65973b766dbcbd20b8c25e8e76c4d662bf5478d6c860f8cfd460be8795fbd141c58fed586a678506360af8ac013ec4c2292cc2e1092a5bbd8a3c54160adadb94 diff --git a/dev-python/aiohappyeyeballs/aiohappyeyeballs-2.4.2.ebuild b/dev-python/aiohappyeyeballs/aiohappyeyeballs-2.4.2.ebuild new file mode 100644 index 000000000000..0aa0cdf41541 --- /dev/null +++ b/dev-python/aiohappyeyeballs/aiohappyeyeballs-2.4.2.ebuild @@ -0,0 +1,36 @@ +# Copyright 2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=poetry +PYTHON_COMPAT=( pypy3 python3_{10..13} ) + +inherit distutils-r1 + +DESCRIPTION="Happy Eyeballs for pre-resolved hosts" +HOMEPAGE=" + https://pypi.org/project/aiohappyeyeballs/ + https://github.com/aio-libs/aiohappyeyeballs/ +" +SRC_URI=" + https://github.com/aio-libs/aiohappyeyeballs/archive/v${PV}.tar.gz + -> ${P}.gh.tar.gz +" + +LICENSE="PSF-2" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~loong ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86" + +BDEPEND=" + test? ( + >=dev-python/pytest-asyncio-0.23.2[${PYTHON_USEDEP}] + ) +" + +distutils_enable_tests pytest + +python_test() { + local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1 + epytest -p asyncio -o addopts= +} diff --git a/dev-python/beartype/Manifest b/dev-python/beartype/Manifest index 28d6154e7329..abefd449b6fa 100644 --- a/dev-python/beartype/Manifest +++ b/dev-python/beartype/Manifest @@ -1,9 +1,5 @@ DIST beartype-0.18.5.tar.gz 1193506 BLAKE2B 497de6f326a3b600992748db8b74ba80d4a14003a0cc484b3eeaf48f0f808864fe64462ef3315d421dc4b5fe5d7060b48585ee00eb822c9f124612f394ab93bb SHA512 114b256619c6c7fc48fbe28db00ae5a8ddea4ce11c5394a06fa026f0317a34907ff12ef0c0009cff7a7b83742e6b66bc8b503b4c0e382c0b6cf79d43780bda5b DIST beartype-0.19.0.tar.gz 1294480 BLAKE2B 7a0d2800a28af49815bf300c93081faee0e01c922497418bc7328c0968cac077a0fdfe984de66c214af610bb972a217224a6d164a2f3aac9c0a2d067c0658fc3 SHA512 9a87086736ba0d3497f3dfc3b57fdfd3ebb33812aaf58d195f1161474a553499e87d6f3f9c12bc66ab33cb3ca1697b00220828d004d568495ac743efb473c1e8 -DIST beartype-0.19.0rc1.tar.gz 1281359 BLAKE2B df124c838891e5bbce62ac8116968631887dc5e5918a1b6a7c46c1705d05fcacf5f4cc4034b39a6d8565a78e2edd99686643a0d1d8c22586cfd797ceb8085b29 SHA512 630fd68a55ab379aca7b49b72161b732e0790835d7f62568239fb53f719fc8295bbe3c942058ab6dfad3226060a5a11820bc87080a2dcfb46c482e1877f775b7 -DIST beartype-0.19.0rc2.tar.gz 1294713 BLAKE2B 7197c8203cd9d1a750df3946a19ad9d0be893b649f89254462edadbabb49adfda3e098b35b21fcc92156c5ea488b2e7760cf6bf18f418530533495be9694b71c SHA512 ea9bd08f9b294382826201e4bded03fb7337e5fd5ed3d63fa741703b49164ad7dd3075ccaf3256011005c31cce4258efb9070f876009eece49bbfd2bffb5196a EBUILD beartype-0.18.5.ebuild 855 BLAKE2B 780c2859946cee302ba87d63141000d6934f01b7013b0e91ff7198e31ebf204c7568464dbc46f796dac6d718a6ff5ed6c6880139ad0be1c1feac688bd9ef511c SHA512 d3f5d208b4ae7946d7e3d729cb401abfaf024b19c499da02647c0777e2a4693a45731c2bfea174bac51efcc43f8ebc2c5416188b31a01480c4e5a6964c1e4cb7 EBUILD beartype-0.19.0.ebuild 856 BLAKE2B 32f851b0ca1ddac04e704c77ebdc93f5cd062f4d4b63096d7782bd3b69275e227d5036936329711471131e1d968cf36cae2fb1423b071a479540e890edebb3fd SHA512 fef336dd428c18d9cc83777a8619ce8e6210774ac9fba91df8238d1e32f83f86a29a284628fa5e75bb3403aede0635b19d32729e192d25d722421aa874aa7b42 -EBUILD beartype-0.19.0_rc1.ebuild 856 BLAKE2B 32f851b0ca1ddac04e704c77ebdc93f5cd062f4d4b63096d7782bd3b69275e227d5036936329711471131e1d968cf36cae2fb1423b071a479540e890edebb3fd SHA512 fef336dd428c18d9cc83777a8619ce8e6210774ac9fba91df8238d1e32f83f86a29a284628fa5e75bb3403aede0635b19d32729e192d25d722421aa874aa7b42 -EBUILD beartype-0.19.0_rc2.ebuild 856 BLAKE2B 32f851b0ca1ddac04e704c77ebdc93f5cd062f4d4b63096d7782bd3b69275e227d5036936329711471131e1d968cf36cae2fb1423b071a479540e890edebb3fd SHA512 fef336dd428c18d9cc83777a8619ce8e6210774ac9fba91df8238d1e32f83f86a29a284628fa5e75bb3403aede0635b19d32729e192d25d722421aa874aa7b42 MISC metadata.xml 393 BLAKE2B f22040a947a67160c9b4c2d41db713ea69ae7a272aba75c04b1620e3f813d62718425acbc8c18716981e4176ebeabc5b60e9376d9927552ea5a36b51b7baccdd SHA512 dea8caeb6e9091672994cee213be075819d593d1034cbc7e2b076f3fc32bd2afde13b6af094956885c9ddaa72f272c6a198f4f92e7b095606fdf900a4cec47ec diff --git a/dev-python/beartype/beartype-0.19.0_rc1.ebuild b/dev-python/beartype/beartype-0.19.0_rc1.ebuild deleted file mode 100644 index 000466fffd5b..000000000000 --- a/dev-python/beartype/beartype-0.19.0_rc1.ebuild +++ /dev/null @@ -1,40 +0,0 @@ -# Copyright 2022-2024 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -DISTUTILS_USE_PEP517=hatchling -PYTHON_COMPAT=( python3_{10..13} ) - -inherit distutils-r1 pypi - -DESCRIPTION="Unbearably fast runtime type checking in pure Python" -HOMEPAGE=" - https://pypi.org/project/beartype/ - https://github.com/beartype/beartype/ -" - -LICENSE="MIT" -SLOT="0" -KEYWORDS="~amd64 ~arm64 ~riscv" - -BDEPEND=" - test? ( - dev-python/mypy[${PYTHON_USEDEP}] - dev-python/numpy[${PYTHON_USEDEP}] - ) -" - -distutils_enable_tests pytest - -python_test() { - local EPYTEST_DESELECT=( - # fragile performance test - beartype_test/a00_unit/a70_decor/test_decorwrapper.py::test_wrapper_fail_obj_large - # test for building docs, apparently broken too - beartype_test/a90_func/z90_lib/a00_sphinx - ) - - local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1 - epytest -} diff --git a/dev-python/beartype/beartype-0.19.0_rc2.ebuild b/dev-python/beartype/beartype-0.19.0_rc2.ebuild deleted file mode 100644 index 000466fffd5b..000000000000 --- a/dev-python/beartype/beartype-0.19.0_rc2.ebuild +++ /dev/null @@ -1,40 +0,0 @@ -# Copyright 2022-2024 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -DISTUTILS_USE_PEP517=hatchling -PYTHON_COMPAT=( python3_{10..13} ) - -inherit distutils-r1 pypi - -DESCRIPTION="Unbearably fast runtime type checking in pure Python" -HOMEPAGE=" - https://pypi.org/project/beartype/ - https://github.com/beartype/beartype/ -" - -LICENSE="MIT" -SLOT="0" -KEYWORDS="~amd64 ~arm64 ~riscv" - -BDEPEND=" - test? ( - dev-python/mypy[${PYTHON_USEDEP}] - dev-python/numpy[${PYTHON_USEDEP}] - ) -" - -distutils_enable_tests pytest - -python_test() { - local EPYTEST_DESELECT=( - # fragile performance test - beartype_test/a00_unit/a70_decor/test_decorwrapper.py::test_wrapper_fail_obj_large - # test for building docs, apparently broken too - beartype_test/a90_func/z90_lib/a00_sphinx - ) - - local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1 - epytest -} diff --git a/dev-python/betterproto/Manifest b/dev-python/betterproto/Manifest new file mode 100644 index 000000000000..287979c8aa59 --- /dev/null +++ b/dev-python/betterproto/Manifest @@ -0,0 +1,9 @@ +AUX betterproto-2.0.0_beta6-pytest-8.patch 1270 BLAKE2B 6459dd686d118d1c66b64dea88fc22bb58cbc376eeff9dc559249c972cfa516585139611216b92080e99139b9897f235235a935e2294f12b529b5fdea5d787b1 SHA512 8c8fda38ab2ac0b730f1e991243e73fc339c67f84aa6d374b9d5ba507a4e66f44a20d96c002490336684b7eba14a14e833867b59a17b65130e77c66df6d2c084 +AUX betterproto-2.0.0_beta7-pytest-8.patch 1698 BLAKE2B 9254d4d505d2d670d2fff1096fc57a1770cfa2f84e1e8978f36b81ec1392eaf4ae87d1864e3aab8e5ae24a6c44fc306bb3f8e3e9aec96c0324ea9ee94a84d40c SHA512 719907a38402fe35e26a0f825ab6f097164e43f7b0363dc7a57811dadf23626d0b66820118b3aa68683d5e7d68dd81e92911bdcfd7c28603ad32406a85bcb309 +DIST python-betterproto-v.2.0.0b6.gh.tar.gz 158969 BLAKE2B ddf269dbef6d0ed4098ec1e84a48ac64431710c26357da86a4f9f1656ce4f4ed8c29097f7e5c50f73ef0d57e3a7eb35ab18aac1864773cd2878e8970f75537a4 SHA512 2622e7d3bac4c6f04fe32d4abeeadf8af0cfcf08a365b3bb6c855763d4ac0528f90eefebfe70866b6431119fc7860bf61d99692411c82e94de9539b4da56543c +DIST python-betterproto-v.2.0.0b6.tests.tar.xz 34652 BLAKE2B 51a419a7de999a954b1392a4ca2800b46f92284ec7e16891fdbf268a9debe33bcbdfb9d3135f162c4549ab5aeebfeb82f136e6e90f596e6eed3cebea44bd4a21 SHA512 4b5aad58fadde59bbf33d792ece212cee89764964cf5060883dc36c6662b1dd5524c6e36479f4f49899b4b77340e032f53649fbbe8210573736bd9e7bb9664c3 +DIST python-betterproto-v.2.0.0b7.gh.tar.gz 217820 BLAKE2B 2ede4c7b106c8c01279e1e57bc34c13c4e274215f077ae1d294108f40b6043682276c31703b1443bac5ab072a761141de306ff95cb34653180a9ee5bebe29b86 SHA512 4ca16c1cd09d76cde69848e6691be6f5716f730b7107f72e4a006c9b5881c815f4f24f9941861a972405d6d08bb47425900428886d1f8a2e37ace370c4514fbe +DIST python-betterproto-v.2.0.0b7.tests.tar.xz 36328 BLAKE2B 43bb385c6e6746602b210fdf10a94bb4508366230461823d96fbdbeb868b1e0952cb1a3a596bfa4bbaa2e71b643e17cabeb4e11546c5eedf47d632e07d4078aa SHA512 a8b090d04e89a57dc8ff3b7775756cbf7d07bb317e47f76e12704cd41583b32a4f5f106a72af8c66f63e6def9bfc22ad93b4c39169b06b92b47a9f386326dfa7 +EBUILD betterproto-2.0.0_beta6.ebuild 1894 BLAKE2B 705d96508c4efe6598c439c3696da12f3d8b9bda089d85e164f344e035ce22d6691d06ef1087408c76232acb4a8e7ab18f04ef15a3f23c13c322535a930d1891 SHA512 0c298d0b9db87d00dbdc58a40239ac33f5af25b4b5b80e32224381097327496448cf71e8165a00945c46490f544c57f1d7eedeed3e2ab953156a5f6c11c9c03a +EBUILD betterproto-2.0.0_beta7.ebuild 1729 BLAKE2B 00aeab4dd25e308bfdd0e635dd3b85c154b1dff61fe79951211ebe0e777bcdf63d7940798e6c579217f29cb6eef4a61d0270ae617c381d2425057b60b1d23c54 SHA512 2d6495a8832f18bfbf2cd18d6a735f129ec449b635bc1030c2c4ee50b606bf2ed6dcecb38adf8c2339fccc868306ba9d557351ecedce9aeeecca0717237139ba +MISC metadata.xml 389 BLAKE2B d8de77106339bf6c5c7d3441249208ca1bcc9b4ce612f1b5b8b367f371b7a8e2c9f803d153e11f1de6c3162bd7ac13d855d345befb7601a9b73ea258f37f84b8 SHA512 b36e88c2a53d3f48e601fb571cb1a638a8571eca1cca1afc8087d50d9fd60b5e3706fbdc6d053ab0c40630d9611f0b7ed0ad979f1ff51a048e1a6470b5f3f08c diff --git a/dev-python/betterproto/betterproto-2.0.0_beta6.ebuild b/dev-python/betterproto/betterproto-2.0.0_beta6.ebuild new file mode 100644 index 000000000000..ec4764c75881 --- /dev/null +++ b/dev-python/betterproto/betterproto-2.0.0_beta6.ebuild @@ -0,0 +1,78 @@ +# Copyright 2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=poetry +PYTHON_COMPAT=( python3_{10..12} ) + +inherit distutils-r1 + +TAG=v.${PV/_beta/b} +MY_P=python-betterproto-${TAG} +DESCRIPTION="A better Protobuf / gRPC generator & library" +HOMEPAGE=" + https://github.com/danielgtaylor/python-betterproto/ + https://pypi.org/project/betterproto/ +" +# no tests in sdist, as of 2.0.0b7 +SRC_URI=" + https://github.com/danielgtaylor/python-betterproto/archive/${TAG}.tar.gz + -> ${MY_P}.gh.tar.gz +" +if [[ ${PKGBUMPING} != ${PVR} ]]; then + # poetry install -E compiler + # poetry run python -m tests.generate -v + # pack tests/output* + SRC_URI+=" + test? ( + https://dev.gentoo.org/~mgorny/dist/${MY_P}.tests.tar.xz + ) + " +fi +S=${WORKDIR}/${MY_P} + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64" + +RDEPEND=" + >=dev-python/black-23.1.0[${PYTHON_USEDEP}] + >=dev-python/grpclib-0.4.1[${PYTHON_USEDEP}] + >=dev-python/isort-5.11.5[${PYTHON_USEDEP}] + >=dev-python/jinja-3.0.3[${PYTHON_USEDEP}] + >=dev-python/python-dateutil-2.8[${PYTHON_USEDEP}] + >=dev-python/typing-extensions-4.7.1[${PYTHON_USEDEP}] +" +BDEPEND=" + test? ( + dev-python/cachelib[${PYTHON_USEDEP}] + dev-python/pydantic[${PYTHON_USEDEP}] + dev-python/tomlkit[${PYTHON_USEDEP}] + dev-python/pytest-asyncio[${PYTHON_USEDEP}] + dev-python/pytest-mock[${PYTHON_USEDEP}] + ) +" + +distutils_enable_tests pytest + +PATCHES=( + # https://github.com/danielgtaylor/python-betterproto/pull/622 + "${FILESDIR}/${P}-pytest-8.patch" +) + +python_test() { + local EPYTEST_IGNORE=( + # broken with current pydantic + tests/inputs/oneof/test_oneof.py + ) + local EPYTEST_DESELECT=( + # TODO: ordering issue? + "tests/test_inputs.py::test_binary_compatibility[map]" + # pydantic + tests/inputs/bool/test_bool.py::test_pydantic_no_value + ) + + local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1 + epytest -p asyncio -p pytest_mock +} diff --git a/dev-python/betterproto/betterproto-2.0.0_beta7.ebuild b/dev-python/betterproto/betterproto-2.0.0_beta7.ebuild new file mode 100644 index 000000000000..8ae0bd22a427 --- /dev/null +++ b/dev-python/betterproto/betterproto-2.0.0_beta7.ebuild @@ -0,0 +1,72 @@ +# Copyright 2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=poetry +PYTHON_COMPAT=( python3_{10..12} ) + +inherit distutils-r1 + +TAG=v.${PV/_beta/b} +MY_P=python-betterproto-${TAG} +DESCRIPTION="A better Protobuf / gRPC generator & library" +HOMEPAGE=" + https://github.com/danielgtaylor/python-betterproto/ + https://pypi.org/project/betterproto/ +" +# no tests in sdist, as of 2.0.0b7 +SRC_URI=" + https://github.com/danielgtaylor/python-betterproto/archive/${TAG}.tar.gz + -> ${MY_P}.gh.tar.gz +" +if [[ ${PKGBUMPING} != ${PVR} ]]; then + # poetry install -E compiler + # poetry run python -m tests.generate -v + # pack tests/output* + SRC_URI+=" + test? ( + https://dev.gentoo.org/~mgorny/dist/${MY_P}.tests.tar.xz + ) + " +fi +S=${WORKDIR}/${MY_P} + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64" + +RDEPEND=" + >=dev-python/black-23.1.0[${PYTHON_USEDEP}] + >=dev-python/grpclib-0.4.1[${PYTHON_USEDEP}] + >=dev-python/isort-5.11.5[${PYTHON_USEDEP}] + >=dev-python/jinja-3.0.3[${PYTHON_USEDEP}] + >=dev-python/python-dateutil-2.8[${PYTHON_USEDEP}] + >=dev-python/typing-extensions-4.7.1[${PYTHON_USEDEP}] +" +BDEPEND=" + test? ( + dev-python/cachelib[${PYTHON_USEDEP}] + dev-python/pydantic[${PYTHON_USEDEP}] + dev-python/tomlkit[${PYTHON_USEDEP}] + dev-python/pytest-asyncio[${PYTHON_USEDEP}] + dev-python/pytest-mock[${PYTHON_USEDEP}] + ) +" + +distutils_enable_tests pytest + +PATCHES=( + # https://github.com/danielgtaylor/python-betterproto/pull/622 + "${FILESDIR}/${P}-pytest-8.patch" +) + +python_test() { + local EPYTEST_DESELECT=( + # TODO: ordering issue? + "tests/test_inputs.py::test_binary_compatibility[map]" + ) + + local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1 + epytest -p asyncio -p pytest_mock +} diff --git a/dev-python/betterproto/files/betterproto-2.0.0_beta6-pytest-8.patch b/dev-python/betterproto/files/betterproto-2.0.0_beta6-pytest-8.patch new file mode 100644 index 000000000000..683daf994f3c --- /dev/null +++ b/dev-python/betterproto/files/betterproto-2.0.0_beta6-pytest-8.patch @@ -0,0 +1,39 @@ +From bfe6592b4f95886bbe395af2c2fa3d9e2a562315 Mon Sep 17 00:00:00 2001 +From: =?UTF-8?q?Micha=C5=82=20G=C3=B3rny?= <mgorny@gentoo.org> +Date: Fri, 27 Sep 2024 19:01:53 +0200 +Subject: [PATCH] Update no-warning tests for pytest-8 + +Replace the deprecated `pytest.warns(None)` with the suggested +replacement (from https://github.com/pytest-dev/pytest/issues/9404) +to make the test suite forward compatible with pytest-8. This works +correctly with pytest-6 as well. +--- + tests/test_deprecated.py | 10 ++++------ + 1 file changed, 4 insertions(+), 6 deletions(-) + +diff --git a/tests/test_deprecated.py b/tests/test_deprecated.py +index 84e08bd..bee14f1 100644 +--- a/tests/test_deprecated.py ++++ b/tests/test_deprecated.py +@@ -32,14 +32,12 @@ def test_message_with_deprecated_field(message): + + + def test_message_with_deprecated_field_not_set(message): +- with pytest.warns(None) as record: ++ with warnings.catch_warnings(): ++ warnings.simplefilter("error") + Test(value=10) + +- assert not record +- + + def test_message_with_deprecated_field_not_set_default(message): +- with pytest.warns(None) as record: ++ with warnings.catch_warnings(): ++ warnings.simplefilter("error") + _ = Test(value=10).message +- +- assert not record +-- +2.46.2 + diff --git a/dev-python/betterproto/files/betterproto-2.0.0_beta7-pytest-8.patch b/dev-python/betterproto/files/betterproto-2.0.0_beta7-pytest-8.patch new file mode 100644 index 000000000000..b311826cf4c9 --- /dev/null +++ b/dev-python/betterproto/files/betterproto-2.0.0_beta7-pytest-8.patch @@ -0,0 +1,50 @@ +From f891957c8f0d355ea7cc20194050f3346fd16006 Mon Sep 17 00:00:00 2001 +From: =?UTF-8?q?Micha=C5=82=20G=C3=B3rny?= <mgorny@gentoo.org> +Date: Fri, 27 Sep 2024 19:01:53 +0200 +Subject: [PATCH] Update no-warning tests for pytest-8 + +Replace the deprecated `pytest.warns(None)` with the suggested +replacement (from https://github.com/pytest-dev/pytest/issues/9404) +to make the test suite forward compatible with pytest-8. This works +correctly with pytest-6 as well. +--- + tests/test_deprecated.py | 15 ++++++--------- + 1 file changed, 6 insertions(+), 9 deletions(-) + +diff --git a/tests/test_deprecated.py b/tests/test_deprecated.py +index c1caead3..ea16d370 100644 +--- a/tests/test_deprecated.py ++++ b/tests/test_deprecated.py +@@ -35,18 +35,16 @@ def test_message_with_deprecated_field(message): + + + def test_message_with_deprecated_field_not_set(message): +- with pytest.warns(None) as record: ++ with warnings.catch_warnings(): ++ warnings.simplefilter("error") + Test(value=10) + +- assert not record +- + + def test_message_with_deprecated_field_not_set_default(message): +- with pytest.warns(None) as record: ++ with warnings.catch_warnings(): ++ warnings.simplefilter("error") + _ = Test(value=10).message + +- assert not record +- + + @pytest.mark.asyncio + async def test_service_with_deprecated_method(): +@@ -58,7 +56,6 @@ async def test_service_with_deprecated_method(): + assert len(record) == 1 + assert str(record[0].message) == f"TestService.deprecated_func is deprecated" + +- with pytest.warns(None) as record: ++ with warnings.catch_warnings(): ++ warnings.simplefilter("error") + await stub.func(Empty()) +- +- assert not record diff --git a/dev-python/betterproto/metadata.xml b/dev-python/betterproto/metadata.xml new file mode 100644 index 000000000000..a610b16cbd3c --- /dev/null +++ b/dev-python/betterproto/metadata.xml @@ -0,0 +1,12 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <maintainer type="project"> + <email>python@gentoo.org</email> + </maintainer> + <stabilize-allarches/> + <upstream> + <remote-id type="github">danielgtaylor/python-betterproto</remote-id> + <remote-id type="pypi">betterproto</remote-id> + </upstream> +</pkgmetadata> diff --git a/dev-python/boto3/Manifest b/dev-python/boto3/Manifest index 2a4d18df9928..f3955122485b 100644 --- a/dev-python/boto3/Manifest +++ b/dev-python/boto3/Manifest @@ -4,10 +4,12 @@ DIST boto3-1.35.24.gh.tar.gz 864653 BLAKE2B e2327ae352d17f0cfabdcca6d7db07e0212e DIST boto3-1.35.25.gh.tar.gz 865483 BLAKE2B 606bff8b084d3b0cd7d773cf840bd817861eed4a832c073f10e90bbfffcc7ca44b05d442131da4b4cc1696bca79e389bc00d78be1d3bc2b593ef3682bea182dd SHA512 71f732bf22ea76f9e364a3a57a1f9b2d7cdbeed28cc951a6a9930d3cfeaeb9086aece0627f34e8223ff100a7607bfd3ea8d97f5a19b504a95bcd4a14153c9878 DIST boto3-1.35.26.gh.tar.gz 865822 BLAKE2B 72df9bc9f7324ad398ef91385fe5ba3ed0349e0d5f8dac6a0e529c7065d74ea4b2652017cae759005b8a332d9b3f868d78b3ca51df3ba172e3a9cef3d568359d SHA512 8f514e09f4e6f12974ac3b85cafd88e0648760d24245fa6ca382b9cd1283b2d03b7624e50bc05589e66bf3ab076ed53743da129746d2ecd7bf41c7114a91b4e5 DIST boto3-1.35.27.gh.tar.gz 866042 BLAKE2B c3cd56e9139843f4633a81d8be04bd667071a318deb12fddf9da349430c1931d25c22ce745f7f5f354babf6edcf7e9d1d34356fda42d1ade3bb39a34ebc5b7ce SHA512 5143cdaf05d2188f45e39f50f68d45cf656122a4f5c9093fcf8f0c8f94ece4e7a82775cf37097e7f1a81535660d8c678be943bba54a027c37323512508456e11 +DIST boto3-1.35.28.gh.tar.gz 867165 BLAKE2B 92b1526b8a9755c2f8f60ed5be23154b410489581410744e000913a63a32d5e960757766dab9ba8426c5eccbad2da6d4cc5bc19550e825f5300a01f2252830a7 SHA512 11d7009c5a938d3b722d158259eebf52e023a9fb67c48b2260c63740b297b1ed0ead75adb27a7a281d83fb5b935535f09c979e71aad08dc53143ce9d3caa3a79 EBUILD boto3-1.35.14.ebuild 1198 BLAKE2B 99a7fa08055cee13f14557124398df39119bae2e4b684265d4647ad0ec83a502bb422365e3797ff5c0440c4b1c9866ede4c62b1876510178dc2e6a0b05ed8781 SHA512 c020cc5535d63c948dd456d9f4af4e97339cb36dc0bb2b2c53d3da0c8c62737e0846ff71d9f85ca9b2936a8a7bfc43b67c3114f91440e75c9870beaa8997107a EBUILD boto3-1.35.19.ebuild 1205 BLAKE2B f1dce08bbfa9b103deaf3f8fcc34e0ff6e7aaa8a7be0ea69727c268ff7da0a1ddfcddc24bde5c654fc3f0f09d3c5a801a23e19c37ae05c3ebcf3bf26ec909b73 SHA512 94863e2208e36b66149792688378242b66b5546735fde1c3ccea6ad4883ab08046a9fd566d9016d5fd9612c035a7af4d5af599b0c18bad7137bdd1db5e6848af EBUILD boto3-1.35.24.ebuild 1205 BLAKE2B f1dce08bbfa9b103deaf3f8fcc34e0ff6e7aaa8a7be0ea69727c268ff7da0a1ddfcddc24bde5c654fc3f0f09d3c5a801a23e19c37ae05c3ebcf3bf26ec909b73 SHA512 94863e2208e36b66149792688378242b66b5546735fde1c3ccea6ad4883ab08046a9fd566d9016d5fd9612c035a7af4d5af599b0c18bad7137bdd1db5e6848af EBUILD boto3-1.35.25.ebuild 1205 BLAKE2B f1dce08bbfa9b103deaf3f8fcc34e0ff6e7aaa8a7be0ea69727c268ff7da0a1ddfcddc24bde5c654fc3f0f09d3c5a801a23e19c37ae05c3ebcf3bf26ec909b73 SHA512 94863e2208e36b66149792688378242b66b5546735fde1c3ccea6ad4883ab08046a9fd566d9016d5fd9612c035a7af4d5af599b0c18bad7137bdd1db5e6848af EBUILD boto3-1.35.26.ebuild 1205 BLAKE2B f1dce08bbfa9b103deaf3f8fcc34e0ff6e7aaa8a7be0ea69727c268ff7da0a1ddfcddc24bde5c654fc3f0f09d3c5a801a23e19c37ae05c3ebcf3bf26ec909b73 SHA512 94863e2208e36b66149792688378242b66b5546735fde1c3ccea6ad4883ab08046a9fd566d9016d5fd9612c035a7af4d5af599b0c18bad7137bdd1db5e6848af EBUILD boto3-1.35.27.ebuild 1205 BLAKE2B f1dce08bbfa9b103deaf3f8fcc34e0ff6e7aaa8a7be0ea69727c268ff7da0a1ddfcddc24bde5c654fc3f0f09d3c5a801a23e19c37ae05c3ebcf3bf26ec909b73 SHA512 94863e2208e36b66149792688378242b66b5546735fde1c3ccea6ad4883ab08046a9fd566d9016d5fd9612c035a7af4d5af599b0c18bad7137bdd1db5e6848af +EBUILD boto3-1.35.28.ebuild 1205 BLAKE2B f1dce08bbfa9b103deaf3f8fcc34e0ff6e7aaa8a7be0ea69727c268ff7da0a1ddfcddc24bde5c654fc3f0f09d3c5a801a23e19c37ae05c3ebcf3bf26ec909b73 SHA512 94863e2208e36b66149792688378242b66b5546735fde1c3ccea6ad4883ab08046a9fd566d9016d5fd9612c035a7af4d5af599b0c18bad7137bdd1db5e6848af MISC metadata.xml 493 BLAKE2B 7d6324fc877ffe1d20c5369c2af0b09a7028f94d28f1841188913d0d8be7ea699c9d3f92c624992c4c96bd69615d3a1211a2483c76c56b7d3082492e43512523 SHA512 44420d8c03d5986f990b76369edfa8dfd7659b4952db3ad946fd05392ec594628a28745ad888d055d4f074d5214f61fcffafe6c04c4ab54109d45ac0371582bd diff --git a/dev-python/boto3/boto3-1.35.28.ebuild b/dev-python/boto3/boto3-1.35.28.ebuild new file mode 100644 index 000000000000..8cba6d95740e --- /dev/null +++ b/dev-python/boto3/boto3-1.35.28.ebuild @@ -0,0 +1,53 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=setuptools +PYTHON_COMPAT=( python3_{10..13} ) + +inherit distutils-r1 + +DESCRIPTION="The AWS SDK for Python" +HOMEPAGE=" + https://github.com/boto/boto3/ + https://pypi.org/project/boto3/ +" +SRC_URI=" + https://github.com/boto/boto3/archive/${PV}.tar.gz + -> ${P}.gh.tar.gz +" + +LICENSE="Apache-2.0" +SLOT="0" +KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~ppc64 ~riscv ~sparc ~x86 ~amd64-linux ~x86-linux" + +RDEPEND=" + >=dev-python/botocore-${PV}[${PYTHON_USEDEP}] + >=dev-python/jmespath-0.7.1[${PYTHON_USEDEP}] + >=dev-python/s3transfer-0.10.0[${PYTHON_USEDEP}] +" + +EPYTEST_XDIST=1 +distutils_enable_tests pytest + +python_prepare_all() { + # don't lock versions to narrow ranges + sed -e '/botocore/ d' \ + -e '/jmespath/ d' \ + -e '/s3transfer/ d' \ + -i setup.py || die + + # do not rely on bundled deps in botocore (sic!) + find -name '*.py' -exec sed -i \ + -e 's:from botocore[.]vendored import:import:' \ + -e 's:from botocore[.]vendored[.]:from :' \ + {} + || die + + distutils-r1_python_prepare_all +} + +python_test() { + local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1 + epytest tests/{functional,unit} +} diff --git a/dev-python/botocore/Manifest b/dev-python/botocore/Manifest index 6ba710fd9957..e0e1a31c489d 100644 --- a/dev-python/botocore/Manifest +++ b/dev-python/botocore/Manifest @@ -4,10 +4,12 @@ DIST botocore-1.35.24.gh.tar.gz 13406391 BLAKE2B ddc1c456e4358b3e28ca8f6a92230fb DIST botocore-1.35.25.gh.tar.gz 13409661 BLAKE2B 49f846dfd62033b320a7b5e1afeae6c18cb94768b9b8dda1b9b373dac35ed846f8958ab5efd183c70f297de1dfb6ed0447503cab6f9b380cd31b8445c760bfd9 SHA512 d6a2ad3db3dda7597d351a1f216feb3453b708055b956a2e4eacd24035298dffe54d906edfe5da3fdb674a9bb44a5ca4096022f3d0a312b1a12b29eea5ea48da DIST botocore-1.35.26.gh.tar.gz 13410309 BLAKE2B da2111d9f6af1795ab1c50332089109b4627a64a7904080f8586bfc5c5c5228896caff703131d864bfde8dd3b8ec2d39eaac2cdc03b4d38febded9ac56b0eaab SHA512 6364e9af0b619961eb2984e34619617a75706c468538c91d375ed5172e85b39a2583e79278cce23fdbc08f68162fe83b4ec7f30d68f18ebf82eea8610d1243f9 DIST botocore-1.35.27.gh.tar.gz 13402723 BLAKE2B e9c21aeff1470a7fdcf02f51b68f6d36c7186effdab2617cd91813d7db013de0131e7b17423f82c7a8bcdc2c8981695c4de3869bad93af2882a74dddfd4c96d0 SHA512 2b8fdba377bdb54ebd6f2a5ce48f38a4c20c8e77b1dff40271fa3d16b6eb69025edc7a7c8cdc4f0b9ab1c0fc584a14db18f366c096cbff11f7348978bb8a9574 +DIST botocore-1.35.28.gh.tar.gz 13402231 BLAKE2B 4f24fb2b95582cc27c95093568baf24ed264f9479af1caa6176c573d4e08e34fec1dffb752efbac5b1b63cbf46f81368cca28937d70243a2ffd59b21c6dfe473 SHA512 a18d33254bae994c2ba48d74aad4cbc0d4d7fffbd8d68a08248427abdb37e797f6db6f136202fee8d12b95a432e58c2bfba3ea656751efcc392110b8e9969c26 EBUILD botocore-1.35.14.ebuild 1665 BLAKE2B 1171f3bdcbe2eada97adf58c2011691cb51300028737903ec51e9fea4d80943dc3e199f4a1671be350ca2cf921e5dbdd4e7c8ca4658261143646cf9c0c82f522 SHA512 db8027472dcb87b167d63ed89910783e104513361b9191f5e2e2928a2904493c22d9629aa206f61206c4f29c6a9c43e8208c57a9b9bf99b031101b915d326674 EBUILD botocore-1.35.19.ebuild 1672 BLAKE2B 8e30dae387821aea270f5db3ece49d58df6706d6e4ced17b2a595e1bc3f40dc49f79811cc9a82ad935b34ab5a053d802ac6afce166fb4cca168affe6b47a6c23 SHA512 23b6b04cba2a0afccc82805c78853bec7ea4568c0c01122edc83e3fea544ce14841a41fb469acb6f5a7b8fc462060bda2e4cba19cd82a799b7261f61df880a5d EBUILD botocore-1.35.24.ebuild 1672 BLAKE2B 8e30dae387821aea270f5db3ece49d58df6706d6e4ced17b2a595e1bc3f40dc49f79811cc9a82ad935b34ab5a053d802ac6afce166fb4cca168affe6b47a6c23 SHA512 23b6b04cba2a0afccc82805c78853bec7ea4568c0c01122edc83e3fea544ce14841a41fb469acb6f5a7b8fc462060bda2e4cba19cd82a799b7261f61df880a5d EBUILD botocore-1.35.25.ebuild 1672 BLAKE2B 8e30dae387821aea270f5db3ece49d58df6706d6e4ced17b2a595e1bc3f40dc49f79811cc9a82ad935b34ab5a053d802ac6afce166fb4cca168affe6b47a6c23 SHA512 23b6b04cba2a0afccc82805c78853bec7ea4568c0c01122edc83e3fea544ce14841a41fb469acb6f5a7b8fc462060bda2e4cba19cd82a799b7261f61df880a5d EBUILD botocore-1.35.26.ebuild 1672 BLAKE2B 8e30dae387821aea270f5db3ece49d58df6706d6e4ced17b2a595e1bc3f40dc49f79811cc9a82ad935b34ab5a053d802ac6afce166fb4cca168affe6b47a6c23 SHA512 23b6b04cba2a0afccc82805c78853bec7ea4568c0c01122edc83e3fea544ce14841a41fb469acb6f5a7b8fc462060bda2e4cba19cd82a799b7261f61df880a5d EBUILD botocore-1.35.27.ebuild 1672 BLAKE2B 8e30dae387821aea270f5db3ece49d58df6706d6e4ced17b2a595e1bc3f40dc49f79811cc9a82ad935b34ab5a053d802ac6afce166fb4cca168affe6b47a6c23 SHA512 23b6b04cba2a0afccc82805c78853bec7ea4568c0c01122edc83e3fea544ce14841a41fb469acb6f5a7b8fc462060bda2e4cba19cd82a799b7261f61df880a5d +EBUILD botocore-1.35.28.ebuild 1672 BLAKE2B 8e30dae387821aea270f5db3ece49d58df6706d6e4ced17b2a595e1bc3f40dc49f79811cc9a82ad935b34ab5a053d802ac6afce166fb4cca168affe6b47a6c23 SHA512 23b6b04cba2a0afccc82805c78853bec7ea4568c0c01122edc83e3fea544ce14841a41fb469acb6f5a7b8fc462060bda2e4cba19cd82a799b7261f61df880a5d MISC metadata.xml 499 BLAKE2B e5aaa7da26f200c09adfdf38b68f656bbccbec627cb5d966b280ac2165334e7eec659c89075bcace748f58e2ec3e7d2998e54a688d56ecea2d30653c67dfd35a SHA512 103c554d5dbd967bf9b6e418b3913d9235e7e910d012160909ce0715134ed2e37b06e6a345395f9d16ce08d1cf51f3ce458bce93c6a978fd3dca6610f2acdbd0 diff --git a/dev-python/botocore/botocore-1.35.28.ebuild b/dev-python/botocore/botocore-1.35.28.ebuild new file mode 100644 index 000000000000..4f1ad852bdc1 --- /dev/null +++ b/dev-python/botocore/botocore-1.35.28.ebuild @@ -0,0 +1,76 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=setuptools +PYTHON_COMPAT=( python3_{10..13} ) + +inherit distutils-r1 + +DESCRIPTION="Low-level, data-driven core of boto 3" +HOMEPAGE=" + https://github.com/boto/botocore/ + https://pypi.org/project/botocore/ +" +SRC_URI=" + https://github.com/boto/botocore/archive/${PV}.tar.gz + -> ${P}.gh.tar.gz +" + +LICENSE="Apache-2.0" +SLOT="0" +KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~ppc64 ~riscv ~sparc ~x86 ~amd64-linux ~x86-linux" + +RDEPEND=" + <dev-python/jmespath-2[${PYTHON_USEDEP}] + dev-python/python-dateutil[${PYTHON_USEDEP}] + >=dev-python/urllib3-1.25.4[${PYTHON_USEDEP}] +" +# unbundled packages +RDEPEND+=" + dev-python/requests[${PYTHON_USEDEP}] + dev-python/six[${PYTHON_USEDEP}] +" +BDEPEND=" + test? ( + dev-python/jsonschema[${PYTHON_USEDEP}] + ) +" + +EPYTEST_XDIST=1 +distutils_enable_tests pytest + +src_prepare() { + # unpin deps + sed -i -e "s:>=.*':':" setup.py || die + + # unbundle deps + rm -r botocore/vendored || die + find -name '*.py' -exec sed -i \ + -e 's:from botocore[.]vendored import:import:' \ + -e 's:from botocore[.]vendored[.]:from :' \ + {} + || die + + distutils-r1_src_prepare +} + +python_test() { + local EPYTEST_DESELECT=( + # rely on bundled six + tests/functional/test_six_imports.py::test_no_bare_six_imports + tests/functional/test_six_threading.py::test_six_thread_safety + ) + + case ${EPYTHON} in + python3.13) + EPYTEST_DESELECT+=( + # memory use tests, probably fragile + tests/functional/leak/test_resource_leaks.py::TestDoesNotLeakMemory + ) + ;; + esac + + local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1 + epytest tests/{functional,unit} +} diff --git a/dev-python/grpclib/Manifest b/dev-python/grpclib/Manifest new file mode 100644 index 000000000000..095f93a5f036 --- /dev/null +++ b/dev-python/grpclib/Manifest @@ -0,0 +1,3 @@ +DIST grpclib-0.4.7.gh.tar.gz 106012 BLAKE2B 9eb351511c4bf5e0be3135734a1d2ce66187a1fef1b35c46cd518199c07cede6f88351b3b56fc211775666c333cafd0a67da2d281b314bc2a8fdb51f9def33bf SHA512 8148edcadb1140973ea54473939744810f156ff719c72e8485534097d7c0efc324f9b5df1c71e1477e624859d068d5ec0a44b22f80717fd7ca8f697d3dfc592a +EBUILD grpclib-0.4.7.ebuild 801 BLAKE2B 75f4f6b6a2269fd1801f9f9596cbfc293ca07d7b058bcd37d910cb78ebd46ad13531e6e0af5c1d141b374fd6e410223e6d2710047fde85a9c81fa605370482aa SHA512 e5d4bb0497e2e4c6976a3b6ac768995310fe0556845a25070aaeae5e8df24add5d7971abaeb91e8f9089940b4652d05213b3426c9a408a7e95e8d6c05188ea40 +MISC metadata.xml 371 BLAKE2B 43ac93446d9416387e0f1b93694e808ef1ecd9a5eee35d932a9d5c3900317e512b0054a176bc8b31804a9ad186a052d87ac154c7e6d0110751b7d12afa3e4e96 SHA512 89c6dce6ae1417b9a18d5976a343c51af7960819ad8eb2d1fb92b43600a07ca78840274c2061ce539d7e20a66963181e2f8495f38011a01594b00331df7efca8 diff --git a/dev-python/grpclib/grpclib-0.4.7.ebuild b/dev-python/grpclib/grpclib-0.4.7.ebuild new file mode 100644 index 000000000000..f4a275cf3a19 --- /dev/null +++ b/dev-python/grpclib/grpclib-0.4.7.ebuild @@ -0,0 +1,38 @@ +# Copyright 2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=setuptools +PYTHON_COMPAT=( python3_{10..13} ) + +inherit distutils-r1 + +DESCRIPTION="Pure-Python gRPC implementation for asyncio" +HOMEPAGE=" + https://github.com/vmagamedov/grpclib/ + https://pypi.org/project/grpclib/ +" +# no tests in sdist, as of 0.4.7 +SRC_URI=" + https://github.com/vmagamedov/grpclib/archive/v${PV}.tar.gz + -> ${P}.gh.tar.gz +" + +LICENSE="BSD" +SLOT="0" +KEYWORDS="~amd64" + +RDEPEND=" + dev-python/certifi[${PYTHON_USEDEP}] + dev-python/googleapis-common-protos[${PYTHON_USEDEP}] + dev-python/protobuf-python[${PYTHON_USEDEP}] +" +BDEPEND=" + test? ( + dev-python/async-timeout[${PYTHON_USEDEP}] + dev-python/Faker[${PYTHON_USEDEP}] + ) +" + +distutils_enable_tests pytest diff --git a/dev-python/grpclib/metadata.xml b/dev-python/grpclib/metadata.xml new file mode 100644 index 000000000000..77422d53444d --- /dev/null +++ b/dev-python/grpclib/metadata.xml @@ -0,0 +1,12 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <maintainer type="project"> + <email>python@gentoo.org</email> + </maintainer> + <stabilize-allarches/> + <upstream> + <remote-id type="github">vmagamedov/grpclib</remote-id> + <remote-id type="pypi">grpclib</remote-id> + </upstream> +</pkgmetadata> diff --git a/dev-python/h5py/Manifest b/dev-python/h5py/Manifest index 94568f873e27..dc364f97972d 100644 --- a/dev-python/h5py/Manifest +++ b/dev-python/h5py/Manifest @@ -1,4 +1,6 @@ DIST h5py-3.10.0-cython3.patch.xz 3868 BLAKE2B 3c0d952bdca5307ebf0bf878c26b94d0593bb89ac538a51017fb94e1e488bffc1583dcf4e713005b87d1b5e20d7b73043b24d65404faf60fb69515e598ca2133 SHA512 a0a0e3d1a9bccad1c89aa7efe3ba1e080eb70cae1f42f8de1021c212817970eaaa7070131e8e39859eea3c18d6c1243a17e7f53f2179f34ff6c406b315bab8fa DIST h5py-3.11.0.tar.gz 406519 BLAKE2B a5568c96290eee1f6da965174b6fa398f94e2e1825ec4ec50efd856b37ccf2bf634cfeb32101c7c53712fe9c68b0617774e9339a3f0d9373d3df24e6763a20cf SHA512 05d99093d5e7c280779b4167bd3594488dfc348b800da95c2275ddc8d77b4208fd1353942bf8863c4859d0208e8aa8bf84e628b3c5942eb947ecdcf0a7d19e88 +DIST h5py-3.12.1.tar.gz 411457 BLAKE2B c8e2bb453b9f7f1a79b9061ec3564bd8f1175c286a163b43f340cb9fc93f0e279131e4ed658066b870237046766aaff1289f22d84ee318108c96840d257baafa SHA512 a96dc5b7a14408c73db3ef758e0d3cff5d4469d6efe19a71af69e049f434aa62f01fbf44464cc5a3d15b89f00b9864cbb42b1b1e59bf3f520b458007f8819cd3 EBUILD h5py-3.11.0-r1.ebuild 1383 BLAKE2B 1061565c3f050996739f1b73c9a1448719c3acb49f856046b09e715c23e059d9b3967886950ce4194235efb1023d6beb4c9f301ea2c47fc1567b27efc409b9e1 SHA512 8ed6a2fc1838be40538075b1c3d3393d46165f8869d0ec5a3fb180febe59a069b640591f43b30e759d5da14b1d2eb1fbbc25601ee2cb692e4d3715b4d7a7a9de +EBUILD h5py-3.12.1.ebuild 1332 BLAKE2B 7d0d53de0e672d25120bd09d7feda40a8b0801d7ff2454fd7082d6743f49a6ec4cc5e8d35b849bf99520716bd71c20388c5235be9f06d7d3432222ece7701b77 SHA512 955255d82375b1fe1a7c7fe5139ebae319f643821245663dd4bb8243a7221d2f038d4f026bef907c2675c6752b6041befad8fb87a35181c4d1eb0153d0306a0e MISC metadata.xml 1069 BLAKE2B 0f3ef8e7af7f4bb493824427a238588c019c04c28fe8a4b9c0b9af1c986158eb3dae3b7d7937713cc4c87374ef80686603ccdbae2baff5b1150d814ab108d973 SHA512 47a6074e383cc922234ebb9f67aaa5863421eaeb2003444587bb8499b3bf845da93ac8d8d267717bea01300691df10f67c9389248fbe228afe07c17fba3a64f3 diff --git a/dev-python/h5py/h5py-3.12.1.ebuild b/dev-python/h5py/h5py-3.12.1.ebuild new file mode 100644 index 000000000000..fae61ce66d1e --- /dev/null +++ b/dev-python/h5py/h5py-3.12.1.ebuild @@ -0,0 +1,63 @@ +# Copyright 1999-2024 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..13} ) + +inherit distutils-r1 pypi + +DESCRIPTION="Simple Python interface to HDF5 files" +HOMEPAGE=" + https://www.h5py.org/ + https://github.com/h5py/h5py/ + https://pypi.org/project/h5py/ +" + +LICENSE="BSD" +SLOT="0" +KEYWORDS="~amd64 ~arm ~arm64 ~riscv ~x86 ~amd64-linux ~x86-linux ~arm64-macos ~x64-macos" +IUSE="examples" + +DEPEND=" + >=dev-python/numpy-1.17.3:=[${PYTHON_USEDEP}] + >=sci-libs/hdf5-1.10.4:=[hl(+)] +" +RDEPEND=" + ${DEPEND} +" + +BDEPEND=" + >=dev-python/cython-0.29.31[${PYTHON_USEDEP}] + >=dev-python/numpy-1.14.5[${PYTHON_USEDEP}] + dev-python/pkgconfig[${PYTHON_USEDEP}] + test? ( + dev-python/QtPy[testlib,${PYTHON_USEDEP}] + ) +" + +distutils_enable_tests pytest +distutils_enable_sphinx docs \ + dev-python/sphinx-rtd-theme + +python_prepare_all() { + # avoid pytest-mpi dep, we do not use mpi anyway + sed -i -e 's:pytest-mpi::' pytest.ini || die + distutils-r1_python_prepare_all + + export H5PY_SETUP_REQUIRES=0 +} + +python_test() { + local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1 + + cd "${BUILD_DIR}/install$(python_get_sitedir)" || die + epytest -m "not mpi" +} + +python_install_all() { + use examples && dodoc -r examples + distutils-r1_python_install_all +} diff --git a/dev-python/id/Manifest b/dev-python/id/Manifest new file mode 100644 index 000000000000..f12168c0cf63 --- /dev/null +++ b/dev-python/id/Manifest @@ -0,0 +1,3 @@ +DIST id-1.4.0.gh.tar.gz 20215 BLAKE2B d6428c27159a05459bfa8bd03f2bfe660a66efe4e19218ac7d567b06804e1c1e9b43b3d4bffc4bd15c0a553317b0f0c4064927519f7de9df59fad21b20f09eb4 SHA512 a10facc39e2ddc558b994f0f598516c52025901277cbbb4224c297d8c5515d3079474c919fe5a6d534f733103095d7837903f5877c6bcb550c85f7842ac59531 +EBUILD id-1.4.0.ebuild 685 BLAKE2B 858335acaf4201c13aa7c956c269927601f80b6fc1c2abf66e21726bb6693090ee16ef982088d8c7f8c22844225894b3c38af7a0074fdc5115097d7f05bf5d84 SHA512 de227773c9ea044570082fea5053d07dff4aa9b38028f8c5deb2515187b5511cd2605b314f310defd292d15d92b31875f0e9d9755aba670fd2085b2328082327 +MISC metadata.xml 353 BLAKE2B 7cfab86630305041777c831de052a12ceb9968cf5d0d8fe3df30ffd47a4671fd0e88cc40ba741d7f332ef5af72d7abfa90f0ae7b3f6831ddd01e9897cd6255aa SHA512 0de4e8f39dae4e2fed193695bf48b488e247c3999035e07a089cbaafb942c076f7c8990d2a7c428574424a395a2e94eac6e7144827fa6cdd1619498318fd3f5d diff --git a/dev-python/id/id-1.4.0.ebuild b/dev-python/id/id-1.4.0.ebuild new file mode 100644 index 000000000000..1f4a7f6c0a69 --- /dev/null +++ b/dev-python/id/id-1.4.0.ebuild @@ -0,0 +1,36 @@ +# Copyright 2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=flit +PYTHON_COMPAT=( python3_{10..13} ) + +inherit distutils-r1 + +DESCRIPTION="A tool for generating OIDC identities" +HOMEPAGE=" + https://github.com/di/id/ + https://pypi.org/project/id/ +" +# no tests in sdist, https://github.com/di/id/issues/286 +SRC_URI=" + https://github.com/di/id/archive/v${PV}.tar.gz + -> ${P}.gh.tar.gz +" + +LICENSE="Apache-2.0" +SLOT="0" +KEYWORDS="~amd64" + +RDEPEND=" + dev-python/pydantic[${PYTHON_USEDEP}] + dev-python/requests[${PYTHON_USEDEP}] +" +BDEPEND=" + test? ( + dev-python/pretend[${PYTHON_USEDEP}] + ) +" + +distutils_enable_tests pytest diff --git a/dev-python/id/metadata.xml b/dev-python/id/metadata.xml new file mode 100644 index 000000000000..97815e5688ab --- /dev/null +++ b/dev-python/id/metadata.xml @@ -0,0 +1,12 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <maintainer type="project"> + <email>python@gentoo.org</email> + </maintainer> + <stabilize-allarches/> + <upstream> + <remote-id type="github">di/id</remote-id> + <remote-id type="pypi">id</remote-id> + </upstream> +</pkgmetadata> diff --git a/dev-python/pipenv/Manifest b/dev-python/pipenv/Manifest index 9736fd06802e..aa7206485bac 100644 --- a/dev-python/pipenv/Manifest +++ b/dev-python/pipenv/Manifest @@ -1,5 +1,8 @@ AUX pipenv-2023.9.8-append-always-install-to-pip-extra-args.patch 1043 BLAKE2B 09a50ba813d21a82333905e098dbd99b11a6c6f07c2ae512eed4189bfee371b0ceb2e27ffff41fb414b336c8ec49014c43903f3a2f12fb9b6323dafdf13f8634 SHA512 c900dc2589b5f4b3f36b15ddf2287d74dcafb1395c96330058a400ac3698a525715b69cd32b5780cc7ec9d71d067f159c623deaf63c9e4c11876cd651c069f87 AUX pipenv-2023.9.8-inject-system-packages.patch 1672 BLAKE2B d803b80a5c46bac67ab7c361f369fad58b1c2a933bc2f78b2d4fa5fa172a23e7e5c026edf48cf398b3232280428eaf40369cafdf4c6c019c3dc9e397e884564d SHA512 5600a8bd7bc5cdf2152d84fc7791359a04df15f38d11f8c9517b709a2793ce05c6fc5acc1d1d8b763078465012e421826699287d2e3ae97838e155a9a1694650 DIST pipenv-2024.0.1.gh.tar.gz 10805446 BLAKE2B d9fc964cc3a204bb45c299595c238e3d37368e53b39d8be0cdbcadcec3ca395adbb03bf7abaa7d5d729ed47443c40b908f74abbff475e4a99c7e6d4436f04ee8 SHA512 67acff8e4c40e18a60e824420752cd2e5633e50c138b64131ca19cce15e97a1e36b9e685b92fed7378eeccce8154d3d36701134854d60b0fbc47e341b18f945e +DIST pipenv-2024.0.2.gh.tar.gz 10812462 BLAKE2B 450c8027b2720188edf284a2644a705a3004ee481553871781d8906f415af56ef87d6cdb5ebb00df96bd36fd4dce8dad29cfc2480d9afe3be6ed6891458c188d SHA512 a414727d6ce5a1af565870cb75dfd57731a0513b97c818f304654867b87cf3d89e857fed45a898d19acc37d272d32897f838328fcd7b780fb4ba3e235c77bbb5 +EBUILD pipenv-2024.0.1-r1.ebuild 4939 BLAKE2B 2d1ac34a44f47cded99578589fa016da082fe0f35c87ebc72c3e1a926ae71821f01069358e4a9b52b63929d08c9ef9d11938fc4dcb6d3515c424953c23dd14c5 SHA512 c299e17a08c124e8972e7d07b2b5e30157b1809483d89d8f62709955d02f392380e8f16a64e75e849047d755a58107db0edcddf10ad0b4310131195a3853ea4b EBUILD pipenv-2024.0.1.ebuild 4938 BLAKE2B db14870f08a080f5ade4871de332e057d887884b630a10e35e699958b789b65fe51b16b2da3482fcede8b2faed82bfdab7866d0f080099e5f7b4bed40a423567 SHA512 a8c0b080275bf30b8db52af0e141ea288d8055173b5778a828b22f29576fe8fbe2526eb1e5a99f0a04ed2e50fb09a17dad145c2f8ff65ab6a6e9eb7feedd7e1c +EBUILD pipenv-2024.0.2.ebuild 4939 BLAKE2B 2d1ac34a44f47cded99578589fa016da082fe0f35c87ebc72c3e1a926ae71821f01069358e4a9b52b63929d08c9ef9d11938fc4dcb6d3515c424953c23dd14c5 SHA512 c299e17a08c124e8972e7d07b2b5e30157b1809483d89d8f62709955d02f392380e8f16a64e75e849047d755a58107db0edcddf10ad0b4310131195a3853ea4b MISC metadata.xml 643 BLAKE2B ff3557d9ae32b553c85455436683e2ca94bc16c6ec7c6d2ceb1113a69dc841b9ac2f0e4b96eec4c6c84ca899ad6a99b0747d7bf3f9289110a8bbdfb80f2cb2eb SHA512 7a611950572c2d700fb1680e0aa307069d80d992528144da781eca9f1fee729defa6f8b28382ddd8f66e58c5f68de9a17815989a4a39473bbf830a7be42ea282 diff --git a/dev-python/pipenv/pipenv-2024.0.1-r1.ebuild b/dev-python/pipenv/pipenv-2024.0.1-r1.ebuild new file mode 100644 index 000000000000..92b2a3583056 --- /dev/null +++ b/dev-python/pipenv/pipenv-2024.0.1-r1.ebuild @@ -0,0 +1,124 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=setuptools +PYTHON_COMPAT=( pypy3 python3_{10..12} ) + +inherit distutils-r1 multiprocessing + +MY_PV=${PV/_beta/b} +DESCRIPTION="Python Development Workflow for Humans" +HOMEPAGE="https://github.com/pypa/pipenv https://pypi.org/project/pipenv/" +SRC_URI="https://github.com/pypa/pipenv/archive/v${MY_PV}.tar.gz -> ${P}.gh.tar.gz" +S="${WORKDIR}"/${PN}-${MY_PV} + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64 ~arm64 ~riscv" + +PATCHES=( + "${FILESDIR}/pipenv-2023.9.8-inject-system-packages.patch" + "${FILESDIR}/pipenv-2023.9.8-append-always-install-to-pip-extra-args.patch" +) + +RDEPEND=" + dev-python/click[${PYTHON_USEDEP}] + dev-python/click-didyoumean[${PYTHON_USEDEP}] + >=dev-python/colorama-0.4.4[${PYTHON_USEDEP}] + dev-python/dparse[${PYTHON_USEDEP}] + >=dev-python/markupsafe-2.0.1[${PYTHON_USEDEP}] + >=dev-python/pexpect-4.8.0[${PYTHON_USEDEP}] + ~dev-python/pipdeptree-2.18.1[${PYTHON_USEDEP}] + ~dev-python/plette-0.4.4[${PYTHON_USEDEP}] + >=dev-python/ptyprocess-0.7.0[${PYTHON_USEDEP}] + dev-python/pyparsing[${PYTHON_USEDEP}] + ~dev-python/pythonfinder-2.1.0[${PYTHON_USEDEP}] + $(python_gen_cond_dep ' dev-python/tomli[${PYTHON_USEDEP}] ' python3_{9..10}) + >=dev-python/python-dateutil-2.8.2[${PYTHON_USEDEP}] + >=dev-python/python-dotenv-0.21.0[${PYTHON_USEDEP}] + ~dev-python/importlib-metadata-8.4.0[${PYTHON_USEDEP}] + >=dev-python/virtualenv-20.0.35[${PYTHON_USEDEP}] + >=dev-python/requests-2.26.0[${PYTHON_USEDEP}] + dev-python/ruamel-yaml[${PYTHON_USEDEP}] + dev-python/shellingham[${PYTHON_USEDEP}] + dev-python/tomli[${PYTHON_USEDEP}] + dev-python/tomlkit[${PYTHON_USEDEP}] +" + +BDEPEND=" + ${RDEPEND} + test? ( + dev-python/flaky[${PYTHON_USEDEP}] + dev-python/mock[${PYTHON_USEDEP}] + dev-python/pytz[${PYTHON_USEDEP}] + ) +" + +distutils_enable_tests pytest + +# IMPORTANT: The following sed command patches the vendor direcotry +# in the pipenv source. Attempts to simply bump the version of the +# package without checking that it works is likely to fail +# The vendored packages should eventually all be removed +# see: https://bugs.gentoo.org/717666 +src_prepare() { + sed --in-place -e "s/import click, plette, tomlkit/import click\n\import tomlkit\nfrom pipenv.vendor import plette/g" pipenv/project.py || die "Failed patching pipenv/project.py" + + local pkgName + local jobs=$(makeopts_jobs) + local packages=( cerberus colorama click click_didyoumean dotenv dparse markupsafe \ + pexpect pep517 pipdeptree plette ptyprocess pydantic pyparsing pythonfinder \ + requests urllib3 shellingham tomli tomlkit importlib_metadata ) + for pkgName in ${packages[@]}; do + find ./ -type f -print0 | \ + xargs --max-procs="${jobs}" --null \ + sed --in-place \ + -e "s/from pipenv.vendor import ${pkgName}/import ${pkgName}/g" \ + -e "s/from pipenv.vendor.${pkgName}\(.*\) import \(\w*\)/from ${pkgName}\1 import \2/g"\ + -e "s/import pipenv.vendor.${pkgName} as ${pkgName}/import ${pkgName}/g" \ + -e "s/from .vendor import ${pkgName}/import ${pkgName}/g" \ + -e "s/from .vendor.${pkgName}/from ${pkgName}/g" || die "Failed to sed for ${pkgName}" + done + + distutils-r1_src_prepare + + # remove vendored versions + for pkgName in ${packages[@]}; do + find ./pipenv/vendor -regextype posix-extended -regex ".*${pkgName}$" -prune -exec rm -rvf {} + || die + # package names can be foo-bar, their module will be however foo_bar + find ./pipenv/vendor -regextype posix-extended -regex ".*${pkgName/_/-}" -prune -exec rm -rvf {} + || die + done + + find ./pipenv/vendor -regextype posix-extended -regex '.*cached[_-]property.*' -prune -exec rm -rvf {} + || die + + find ./ -type f -print0 | \ + xargs --max-procs="${jobs}" --null \ + sed --in-place \ + -e "s/from pipenv\.vendor import plette, toml, tomlkit, vistir/from pipenv\.vendor import plette, toml, vistir\\nimport tomlkit/g" + + # remove python ruaml yaml + sed --in-place -e \ + "s/from pipenv\.vendor\.ruamel\.yaml import YAML/from ruamel\.yaml import YAML/g" \ + pipenv/patched/safety/util.py || die "Failed sed in ruaml-yaml" + sed --in-place -e \ + "s/from pipenv\.vendor\.ruamel\.yaml\.error import MarkedYAMLError/from ruamel\.yaml\.error import MarkedYAMLError/g" \ + pipenv/patched/safety/util.py || die "Failed sed in ruamel-yaml" + + rm -vR pipenv/vendor/ruamel || die "Failed removing ruamel-yaml from vendor" + + for fname in Makefile README.md ruamel.*.LICENSE vendor.txt; do + rm -v pipenv/vendor/$fname || die "Failed removing pipenv/vendor/${fname}" + done + + sed --in-place -e "s/pipenv.vendor.pythonfinder.utils.get_python_version/pythonfinder.utils.get_python_version/g" tests/unit/test_utils.py || die "Failed patching tests" + + rm -Rfv pipenv/vendor || die "Could not vendor" + rm -Rfv examples || die "Could not remove examples" + rm -Rfv docs || die "Could not remove docs" +} + +python_test() { + epytest -m "not cli and not needs_internet" tests/unit/ +} diff --git a/dev-python/pipenv/pipenv-2024.0.2.ebuild b/dev-python/pipenv/pipenv-2024.0.2.ebuild new file mode 100644 index 000000000000..92b2a3583056 --- /dev/null +++ b/dev-python/pipenv/pipenv-2024.0.2.ebuild @@ -0,0 +1,124 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=setuptools +PYTHON_COMPAT=( pypy3 python3_{10..12} ) + +inherit distutils-r1 multiprocessing + +MY_PV=${PV/_beta/b} +DESCRIPTION="Python Development Workflow for Humans" +HOMEPAGE="https://github.com/pypa/pipenv https://pypi.org/project/pipenv/" +SRC_URI="https://github.com/pypa/pipenv/archive/v${MY_PV}.tar.gz -> ${P}.gh.tar.gz" +S="${WORKDIR}"/${PN}-${MY_PV} + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64 ~arm64 ~riscv" + +PATCHES=( + "${FILESDIR}/pipenv-2023.9.8-inject-system-packages.patch" + "${FILESDIR}/pipenv-2023.9.8-append-always-install-to-pip-extra-args.patch" +) + +RDEPEND=" + dev-python/click[${PYTHON_USEDEP}] + dev-python/click-didyoumean[${PYTHON_USEDEP}] + >=dev-python/colorama-0.4.4[${PYTHON_USEDEP}] + dev-python/dparse[${PYTHON_USEDEP}] + >=dev-python/markupsafe-2.0.1[${PYTHON_USEDEP}] + >=dev-python/pexpect-4.8.0[${PYTHON_USEDEP}] + ~dev-python/pipdeptree-2.18.1[${PYTHON_USEDEP}] + ~dev-python/plette-0.4.4[${PYTHON_USEDEP}] + >=dev-python/ptyprocess-0.7.0[${PYTHON_USEDEP}] + dev-python/pyparsing[${PYTHON_USEDEP}] + ~dev-python/pythonfinder-2.1.0[${PYTHON_USEDEP}] + $(python_gen_cond_dep ' dev-python/tomli[${PYTHON_USEDEP}] ' python3_{9..10}) + >=dev-python/python-dateutil-2.8.2[${PYTHON_USEDEP}] + >=dev-python/python-dotenv-0.21.0[${PYTHON_USEDEP}] + ~dev-python/importlib-metadata-8.4.0[${PYTHON_USEDEP}] + >=dev-python/virtualenv-20.0.35[${PYTHON_USEDEP}] + >=dev-python/requests-2.26.0[${PYTHON_USEDEP}] + dev-python/ruamel-yaml[${PYTHON_USEDEP}] + dev-python/shellingham[${PYTHON_USEDEP}] + dev-python/tomli[${PYTHON_USEDEP}] + dev-python/tomlkit[${PYTHON_USEDEP}] +" + +BDEPEND=" + ${RDEPEND} + test? ( + dev-python/flaky[${PYTHON_USEDEP}] + dev-python/mock[${PYTHON_USEDEP}] + dev-python/pytz[${PYTHON_USEDEP}] + ) +" + +distutils_enable_tests pytest + +# IMPORTANT: The following sed command patches the vendor direcotry +# in the pipenv source. Attempts to simply bump the version of the +# package without checking that it works is likely to fail +# The vendored packages should eventually all be removed +# see: https://bugs.gentoo.org/717666 +src_prepare() { + sed --in-place -e "s/import click, plette, tomlkit/import click\n\import tomlkit\nfrom pipenv.vendor import plette/g" pipenv/project.py || die "Failed patching pipenv/project.py" + + local pkgName + local jobs=$(makeopts_jobs) + local packages=( cerberus colorama click click_didyoumean dotenv dparse markupsafe \ + pexpect pep517 pipdeptree plette ptyprocess pydantic pyparsing pythonfinder \ + requests urllib3 shellingham tomli tomlkit importlib_metadata ) + for pkgName in ${packages[@]}; do + find ./ -type f -print0 | \ + xargs --max-procs="${jobs}" --null \ + sed --in-place \ + -e "s/from pipenv.vendor import ${pkgName}/import ${pkgName}/g" \ + -e "s/from pipenv.vendor.${pkgName}\(.*\) import \(\w*\)/from ${pkgName}\1 import \2/g"\ + -e "s/import pipenv.vendor.${pkgName} as ${pkgName}/import ${pkgName}/g" \ + -e "s/from .vendor import ${pkgName}/import ${pkgName}/g" \ + -e "s/from .vendor.${pkgName}/from ${pkgName}/g" || die "Failed to sed for ${pkgName}" + done + + distutils-r1_src_prepare + + # remove vendored versions + for pkgName in ${packages[@]}; do + find ./pipenv/vendor -regextype posix-extended -regex ".*${pkgName}$" -prune -exec rm -rvf {} + || die + # package names can be foo-bar, their module will be however foo_bar + find ./pipenv/vendor -regextype posix-extended -regex ".*${pkgName/_/-}" -prune -exec rm -rvf {} + || die + done + + find ./pipenv/vendor -regextype posix-extended -regex '.*cached[_-]property.*' -prune -exec rm -rvf {} + || die + + find ./ -type f -print0 | \ + xargs --max-procs="${jobs}" --null \ + sed --in-place \ + -e "s/from pipenv\.vendor import plette, toml, tomlkit, vistir/from pipenv\.vendor import plette, toml, vistir\\nimport tomlkit/g" + + # remove python ruaml yaml + sed --in-place -e \ + "s/from pipenv\.vendor\.ruamel\.yaml import YAML/from ruamel\.yaml import YAML/g" \ + pipenv/patched/safety/util.py || die "Failed sed in ruaml-yaml" + sed --in-place -e \ + "s/from pipenv\.vendor\.ruamel\.yaml\.error import MarkedYAMLError/from ruamel\.yaml\.error import MarkedYAMLError/g" \ + pipenv/patched/safety/util.py || die "Failed sed in ruamel-yaml" + + rm -vR pipenv/vendor/ruamel || die "Failed removing ruamel-yaml from vendor" + + for fname in Makefile README.md ruamel.*.LICENSE vendor.txt; do + rm -v pipenv/vendor/$fname || die "Failed removing pipenv/vendor/${fname}" + done + + sed --in-place -e "s/pipenv.vendor.pythonfinder.utils.get_python_version/pythonfinder.utils.get_python_version/g" tests/unit/test_utils.py || die "Failed patching tests" + + rm -Rfv pipenv/vendor || die "Could not vendor" + rm -Rfv examples || die "Could not remove examples" + rm -Rfv docs || die "Could not remove docs" +} + +python_test() { + epytest -m "not cli and not needs_internet" tests/unit/ +} diff --git a/dev-python/pypy3/Manifest b/dev-python/pypy3/Manifest index 5027cebf2413..321040e9d2b0 100644 --- a/dev-python/pypy3/Manifest +++ b/dev-python/pypy3/Manifest @@ -1,4 +1,5 @@ EBUILD pypy3-7.3.16.ebuild 583 BLAKE2B 5ba38cc1ca041e6f7cbcb152c0673ee3566d4a1eb708d5277b4ffb621c2c082fa6b3bd0f2620b6cfb310584abaafa84c84722bca7a6ec3567a4b8c4d6b8221f9 SHA512 f67c2c9d20329ca2bcd5c3044bf71b4bfac7628f21829ac7c4d9929f44aa1e849b0b418b445e35985d4e28872596971624ddebb9fc2fc16308c421faa38fd5dc EBUILD pypy3-7.3.17-r1.ebuild 610 BLAKE2B 819c4c9f0b328bb56b89788b9f8d84820378498a26740ff9d34d82aa5c69c37c9c510345c5413a850fb4ac77d0def3b01e6b3468a59d64f58b3701b6b01c136a SHA512 4ff0bf1889edac592fd5c25a94b786d0c802113f06889eca400b7a7ba52582824ab469b44caf8c0b0f284eb83e264b9ea990121f1da6b6f9f3a2b0a0c738e8f5 +EBUILD pypy3-7.3.17-r2.ebuild 874 BLAKE2B de130bf9e599590828f59c8076074d1d536735042120aaf8579ea3f3b1f7b21dd749dd0a721508b7da735302cad6a22329c0660f13e5a3ce70906e36bb3e1f58 SHA512 e0e1246e41d59ac765397808cee86f51cbb79e5bc8fc194ab77113787f2b6fd360486c755042d58b5997b5242724971f0004c95224fa798c6a25bede89e719af EBUILD pypy3-7.3.17.ebuild 581 BLAKE2B 2fedd21c5c8aca099b2b63f4575ef2592a57177d82ec945d8488d292fd38a12c27bd39a305a547c7cb8ab0fbf67580197b6c18e3aba330f9ea25db2d996be703 SHA512 9fa7e2114458ace8ac3f8c8040f8d6f5e45f4fc147c9196cd7565c32a869be7582330e8a3d484ecef5d7c3e3780a8bf4c145ea6922f601ce2bf51f17d44494c6 MISC metadata.xml 472 BLAKE2B 64b7aaec2df3c39ec7193df560cdc665d68eeebadc42d537ab1295d29b0e0e63ad576c8771c24ef65ed8e6ec8011b1b4debdb6af74be7dedf203a24304a96fd7 SHA512 bb3cc9675f2ba4f898f4b8d38b60569379a663269380371539bf299fef3b27796cb55c2e5258aeae7e2f82f683187e7c39256184196e424d50a867f0be46084a diff --git a/dev-python/pypy3/pypy3-7.3.17-r2.ebuild b/dev-python/pypy3/pypy3-7.3.17-r2.ebuild new file mode 100644 index 000000000000..ffbd004f1259 --- /dev/null +++ b/dev-python/pypy3/pypy3-7.3.17-r2.ebuild @@ -0,0 +1,35 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit python-utils-r1 + +PYVER=3.10 +DESCRIPTION="A fast, compliant alternative implementation of the Python (${PYVER}) language" +HOMEPAGE=" + https://pypy.org/ + https://foss.heptapod.net/pypy/pypy/ +" +S=${WORKDIR} + +LICENSE="MIT" +SLOT="0/pypy310-pp73-384" +KEYWORDS="~amd64 ~arm64 ~ppc64 ~x86 ~amd64-linux ~x86-linux" +IUSE="+gdbm ncurses sqlite +test-install tk" + +RDEPEND=" + =dev-python/pypy3_10-${PV}*:${SLOT}[gdbm?,ncurses?,sqlite?,test-install(+)?,tk?] +" + +src_install() { + dodir /usr/bin + dosym pypy${PYVER} /usr/bin/pypy3 + + # install symlinks for python-exec + local EPYTHON=pypy3 + local scriptdir=${D}$(python_get_scriptdir) + mkdir -p "${scriptdir}" || die + ln -s "../../../bin/pypy3" "${scriptdir}/python3" || die + ln -s python3 "${scriptdir}/python" || die +} diff --git a/dev-python/rfc8785/Manifest b/dev-python/rfc8785/Manifest new file mode 100644 index 000000000000..accba445d313 --- /dev/null +++ b/dev-python/rfc8785/Manifest @@ -0,0 +1,3 @@ +DIST rfc8785.py-0.1.3.gh.tar.gz 14754 BLAKE2B c0fab30a49cf3d1e405bf0aa32d2ec9300841bf7517b7c633ceac8dea340d3bfc7b562fbeb77c6392660f3009ca3b36e2882b7d60ca66cadfdab1661809a218c SHA512 a7318f5c19b9d49522d66c601da2006b1978bd3ccdce9e56e6ff0c8a0efbd3b13f0014b0f69a27c1f78a17c5a4c338301606c82fa70b3d09efda9efa1f23e4e9 +EBUILD rfc8785-0.1.3.ebuild 588 BLAKE2B 919f1a2e3d316e3e9b98168c5d31703a6d0ad8e1c4b94d805d05602f8ad6cd95e6800df01c9d42924f2247a06757e683f1b97f37fadc5441849ad23ae30c3e88 SHA512 d573b396283014b21e6ff600f59da377ff94bfcf598eafcaf472ad688951adb84cee29e82866070beaa776ca9233c117a4a2463009b98047652c44a9c3664172 +MISC metadata.xml 375 BLAKE2B 8ea127ad02d391f042cf16678abee358d0c9647cfcbf4a66aea86be8892ff3544f150c9e311bc358521fb9b737f5ece7b5e181c2622d837c253dee268121c78e SHA512 98143faf1800899ced91194cb0b5adf1f7b5380c7467943b1bd0c76aeb31ba3cb0e405335c0607cad3cf3a4506d663143e5ee30b4381d7ce83ba75ab95d774e9 diff --git a/dev-python/rfc8785/metadata.xml b/dev-python/rfc8785/metadata.xml new file mode 100644 index 000000000000..8cc2dc5c7200 --- /dev/null +++ b/dev-python/rfc8785/metadata.xml @@ -0,0 +1,12 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <maintainer type="project"> + <email>python@gentoo.org</email> + </maintainer> + <stabilize-allarches/> + <upstream> + <remote-id type="github">trailofbits/rfc8785.py</remote-id> + <remote-id type="pypi">rfc8785</remote-id> + </upstream> +</pkgmetadata> diff --git a/dev-python/rfc8785/rfc8785-0.1.3.ebuild b/dev-python/rfc8785/rfc8785-0.1.3.ebuild new file mode 100644 index 000000000000..aac5c89b298d --- /dev/null +++ b/dev-python/rfc8785/rfc8785-0.1.3.ebuild @@ -0,0 +1,27 @@ +# Copyright 2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=flit +PYTHON_COMPAT=( pypy3 python3_{10..13} ) + +inherit distutils-r1 + +MY_P=rfc8785.py-${PV} +DESCRIPTION="Pure-Python impl. of RFC 8785 (JSON Canonicalization Scheme)" +HOMEPAGE=" + https://github.com/trailofbits/rfc8785.py/ + https://pypi.org/project/rfc8785/ +" +SRC_URI=" + https://github.com/trailofbits/rfc8785.py/archive/v${PV}.tar.gz + -> ${MY_P}.gh.tar.gz +" +S=${WORKDIR}/${MY_P} + +LICENSE="Apache-2.0" +SLOT="0" +KEYWORDS="~amd64" + +distutils_enable_tests pytest diff --git a/dev-python/securesystemslib/Manifest b/dev-python/securesystemslib/Manifest new file mode 100644 index 000000000000..33cf53c21e83 --- /dev/null +++ b/dev-python/securesystemslib/Manifest @@ -0,0 +1,3 @@ +DIST securesystemslib-1.1.0.tar.gz 934688 BLAKE2B f9e997306e0f17d5f75b8a85c732950460ff7443fd301e845c721a6e49f74dc48f6d2b5b7e0def63b262a09e6901affe8b293124bd4f82e69157e8cd26cb134c SHA512 65ec41c08ad679884c327c291e27a8529e6a559f52eb154a4c1c13a558df7845cabc21e466e908029afcd57b6581b2f429c4ea87e34b664e52369ca6b0f63ba1 +EBUILD securesystemslib-1.1.0.ebuild 885 BLAKE2B a1a74d4eeadbbbb3192e944c6db75ba1d9056a1d750c59295616357d840e74761352cbd9e0d2a39666616f7d8ee6c0cd76aad2555f9d894b21da41d1f5e460a3 SHA512 a3d1a6ac172213afe0bc0d38b230274ccbc1684091ff7b8050f71a118b86ce1281bf2bd33c0a247d671023b9d00ceff35b8c3e15dbe10cca5cf96021490c2073 +MISC metadata.xml 397 BLAKE2B 54aea8ac6c4200962e3cacf83933b1ced69ef9980348b58c92668c53b62ae6f918b13ca7320e08528272957a7b507b358b545e7a9f691c7f520ce829e21d9d9d SHA512 9dea6a3d95b8da1cceff9a5f3f8dc6f722fe0c29e9896deab11998c6849912e593021e9cd706a412d828bdc1bf83da2ec57d39a422dc86eb8ce738394525b683 diff --git a/dev-python/securesystemslib/metadata.xml b/dev-python/securesystemslib/metadata.xml new file mode 100644 index 000000000000..0681ed430fa2 --- /dev/null +++ b/dev-python/securesystemslib/metadata.xml @@ -0,0 +1,12 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <maintainer type="project"> + <email>python@gentoo.org</email> + </maintainer> + <stabilize-allarches/> + <upstream> + <remote-id type="github">secure-systems-lab/securesystemslib</remote-id> + <remote-id type="pypi">securesystemslib</remote-id> + </upstream> +</pkgmetadata> diff --git a/dev-python/securesystemslib/securesystemslib-1.1.0.ebuild b/dev-python/securesystemslib/securesystemslib-1.1.0.ebuild new file mode 100644 index 000000000000..acad89793005 --- /dev/null +++ b/dev-python/securesystemslib/securesystemslib-1.1.0.ebuild @@ -0,0 +1,45 @@ +# Copyright 2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=hatchling +PYTHON_COMPAT=( pypy3 python3_{10..13} ) + +inherit distutils-r1 pypi + +DESCRIPTION="Cryptographic routines for Secure Systems Lab projects at NYU" +HOMEPAGE=" + https://github.com/secure-systems-lab/securesystemslib/ + https://pypi.org/project/securesystemslib/ +" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64" + +RDEPEND=" + >=dev-python/cryptography-40.0.0[${PYTHON_USEDEP}] +" +#BDEPEND=" +# test? ( +# ) +#" + +distutils_enable_tests pytest + +# TODO: unbundle https://github.com/pyca/ed25519 (wtf? not on PyPI?) + +python_test() { + local EPYTEST_DESELECT=( + # requires pyspx + tests/test_signer.py::TestSphincs::test_sphincs + ) + local EPYTEST_IGNORE=( + # requires PyKCS11 + tests/test_hsm_signer.py + ) + + local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1 + epytest tests +} diff --git a/dev-python/setuptools/Manifest b/dev-python/setuptools/Manifest index 84a81d1485c4..be2d5196e7d2 100644 --- a/dev-python/setuptools/Manifest +++ b/dev-python/setuptools/Manifest @@ -4,9 +4,9 @@ DIST setuptools-74.1.2.tar.gz 1356467 BLAKE2B bc625e323f94ba9166f2c9747610d71c0e DIST setuptools-74.1.3.tar.gz 1356471 BLAKE2B c59476710f10aae77f8b466ce2b072966a889b13c3e2e2a9524497ce43893bcd296412f8e0be8a3ccaa9be46b429680c11fe291095a65a185243701fa667be6c SHA512 7892d1ff0a1cd90f6cd367536392bf2933d354eb61d5177a01218b253bc254b51e74c040601adf35aff1652f1e1c6dbffca3cdce3f4fc32b8bd23c36cd885ddc DIST setuptools-75.0.0.tar.gz 1347819 BLAKE2B db2745fecb86a0747acab21371ea0714b2c97694490f3e71bb59a51d05b782af60f044cbb9ad29c4798644cd986119d98592ae857ccfd9b3a3fc98199291568b SHA512 78955967c23450822a154db99f9a4cb5d45bfb2fe42797ea39c784e23004172d75fbbba6a6b89fa8c0d63c6b9ffb45e791e48b3d8201cfffc84bd75769cd02ef DIST setuptools-75.1.0.tar.gz 1348057 BLAKE2B a749260ee2b3162ce102204d89b00bcb6d69c84a7785dee443467946b4fe275f080917b204e65d8abd9e629e5ebef311825a1a472b3e5a09815373ab172b1ca4 SHA512 5003e81c7988dd522cfba233ac643ade9a1ff074a13182a81da7fe3f40565b97dd2696c96b8a0694fcd3417e527e2cf6d6ea5e21d29ff927c1ab5916a2607239 -EBUILD setuptools-73.0.1.ebuild 4358 BLAKE2B 2fa89835b4e7a29756cf52387f2b1ab043a8712d0679349ec32784e6d15819d776174dda8e34fa9986d610040fe63e7dda7e2092f4835fb033223d9669322950 SHA512 f6fd13e19bfd3fb605a0fb0bb5808192716c01382d720c4fe1d7f77abec2e61f258da6d4776f9f8f66c5d557167492b285b68fc2f54d4a313918d94fc157e4e4 -EBUILD setuptools-74.1.2.ebuild 4468 BLAKE2B 4fb18def603a5d09ae3e52570624f26b5f5613983154a6451b881ebd076d0b21c10dabaca170de6d0d1dc2baa29df6cf5d9f6b82ee12d7b9c3243b2a68624fba SHA512 46401be8b5bcfb31e1b56ab28aaa4a457903221e4151fc54d66c39061773c9a0020fdb7fbf1f67aaf279a68a0eb56a0a9706277047a89045866e1678121195be -EBUILD setuptools-74.1.3.ebuild 4468 BLAKE2B 4fb18def603a5d09ae3e52570624f26b5f5613983154a6451b881ebd076d0b21c10dabaca170de6d0d1dc2baa29df6cf5d9f6b82ee12d7b9c3243b2a68624fba SHA512 46401be8b5bcfb31e1b56ab28aaa4a457903221e4151fc54d66c39061773c9a0020fdb7fbf1f67aaf279a68a0eb56a0a9706277047a89045866e1678121195be -EBUILD setuptools-75.0.0.ebuild 4564 BLAKE2B 49f1f3b6674ce61b4e8cb5e33eab79dad2e48d8c18c7900152ba613bcd82f0af70ac543825d4f5e9f9034954d0a9658c7f8e12c165d542cf5ee6fe5c272de890 SHA512 92acd26cf58c7ebf199411d146bb6683da60f7cd096ce8cf723f258ca7a2cf8f0f6bd2038a1e57a65c566a6263235ea46140492e0959bb50491002306d6bdce2 -EBUILD setuptools-75.1.0.ebuild 4564 BLAKE2B 49f1f3b6674ce61b4e8cb5e33eab79dad2e48d8c18c7900152ba613bcd82f0af70ac543825d4f5e9f9034954d0a9658c7f8e12c165d542cf5ee6fe5c272de890 SHA512 92acd26cf58c7ebf199411d146bb6683da60f7cd096ce8cf723f258ca7a2cf8f0f6bd2038a1e57a65c566a6263235ea46140492e0959bb50491002306d6bdce2 +EBUILD setuptools-73.0.1.ebuild 4357 BLAKE2B 6976cca405fdeaf7e0bbfbea1dca33b35fe0441eb3c9681ad4dace5f8d2c3393f7bbe2db6e314259c8cf656ddf2bd80b3ab748ff35512e687132480ce0b35db9 SHA512 17262d4d0cc0ba70d2ba283ac14d289365e174d559001c76282316667efb28de937203b81b254a2f23058f5f5e84d361d151e1ee9544c4aa8a54e5573a2d3cd3 +EBUILD setuptools-74.1.2.ebuild 4464 BLAKE2B 184cae1ba51ab3219aa760be4922260923ec144e83a7b8ddf444bdbd7033c527961859680ab11199bbec4c19f608e52477a8d8d0275a1bbb72830f0617d7600d SHA512 493fbe2b2a7b5dca2de344d32aab35439356d719be750899c3dfed26593e390a986965d6f97d2dda05cdf6898d8a48d07658044c6654f3d77f7078cdd7e9d4c5 +EBUILD setuptools-74.1.3.ebuild 4464 BLAKE2B 184cae1ba51ab3219aa760be4922260923ec144e83a7b8ddf444bdbd7033c527961859680ab11199bbec4c19f608e52477a8d8d0275a1bbb72830f0617d7600d SHA512 493fbe2b2a7b5dca2de344d32aab35439356d719be750899c3dfed26593e390a986965d6f97d2dda05cdf6898d8a48d07658044c6654f3d77f7078cdd7e9d4c5 +EBUILD setuptools-75.0.0.ebuild 4560 BLAKE2B 6b76b1dc92fd0f431535ea549c82d0ec24e92502a09ec95e6d8cc6ce1402d2e39844e4052b0e656140c63ed8768a5e4bb6fd8109cf3749d6b9a2e6a25e6d07c2 SHA512 0754586d9189ee3ff388933bc288a9c63aec4fc4ad25778e5bc947e308e8b930717883be96972dff26719eaa915a20deed9398bae6c4b9d238ce4ce3ab7dde4b +EBUILD setuptools-75.1.0.ebuild 4560 BLAKE2B 6b76b1dc92fd0f431535ea549c82d0ec24e92502a09ec95e6d8cc6ce1402d2e39844e4052b0e656140c63ed8768a5e4bb6fd8109cf3749d6b9a2e6a25e6d07c2 SHA512 0754586d9189ee3ff388933bc288a9c63aec4fc4ad25778e5bc947e308e8b930717883be96972dff26719eaa915a20deed9398bae6c4b9d238ce4ce3ab7dde4b MISC metadata.xml 469 BLAKE2B 4a26769b09a3785586b22db850b7fc5c4818f31c3ace9cc94476d35df05e50edf6721f3c95ec615c3b2efe071ef284a54ea2d53566316ba653f7830bb48f80bf SHA512 dd682c4ad2e59a97094ebdabe4d1063e2319ed05e1fe9d8c2fafe069badb3b4cf8bb6d9f50e09d2128e2a081c1c69827407ac8aed644ebf70eb4ca1bc9a57319 diff --git a/dev-python/setuptools/setuptools-73.0.1.ebuild b/dev-python/setuptools/setuptools-73.0.1.ebuild index 3a4611df6fd8..3e241dfd0c5f 100644 --- a/dev-python/setuptools/setuptools-73.0.1.ebuild +++ b/dev-python/setuptools/setuptools-73.0.1.ebuild @@ -26,7 +26,7 @@ IUSE="test" RESTRICT="!test? ( test )" RDEPEND=" - !!<dev-python/setuptools-rust-1.8.0 + !<dev-python/setuptools-rust-1.8.0 >=dev-python/jaraco-text-3.7.0-r1[${PYTHON_USEDEP}] >=dev-python/more-itertools-8.12.0-r1[${PYTHON_USEDEP}] >=dev-python/packaging-24[${PYTHON_USEDEP}] diff --git a/dev-python/setuptools/setuptools-74.1.2.ebuild b/dev-python/setuptools/setuptools-74.1.2.ebuild index d0ea50e812cd..63143677e239 100644 --- a/dev-python/setuptools/setuptools-74.1.2.ebuild +++ b/dev-python/setuptools/setuptools-74.1.2.ebuild @@ -26,7 +26,7 @@ IUSE="test" RESTRICT="!test? ( test )" RDEPEND=" - !!<dev-python/setuptools-rust-1.8.0 + !<dev-python/setuptools-rust-1.8.0 >=dev-python/jaraco-text-3.7.0-r1[${PYTHON_USEDEP}] >=dev-python/more-itertools-8.12.0-r1[${PYTHON_USEDEP}] >=dev-python/packaging-24[${PYTHON_USEDEP}] @@ -35,9 +35,9 @@ RDEPEND=" $(python_gen_cond_dep ' >=dev-python/tomli-2.0.1[${PYTHON_USEDEP}] ' 3.10) - !!<=dev-libs/gobject-introspection-1.76.1-r0 - !!=dev-libs/gobject-introspection-1.78.1-r0 - !!=dev-libs/gobject-introspection-1.80.1-r1 + !<=dev-libs/gobject-introspection-1.76.1-r0 + !=dev-libs/gobject-introspection-1.78.1-r0 + !=dev-libs/gobject-introspection-1.80.1-r1 " BDEPEND=" ${RDEPEND} diff --git a/dev-python/setuptools/setuptools-74.1.3.ebuild b/dev-python/setuptools/setuptools-74.1.3.ebuild index d0ea50e812cd..63143677e239 100644 --- a/dev-python/setuptools/setuptools-74.1.3.ebuild +++ b/dev-python/setuptools/setuptools-74.1.3.ebuild @@ -26,7 +26,7 @@ IUSE="test" RESTRICT="!test? ( test )" RDEPEND=" - !!<dev-python/setuptools-rust-1.8.0 + !<dev-python/setuptools-rust-1.8.0 >=dev-python/jaraco-text-3.7.0-r1[${PYTHON_USEDEP}] >=dev-python/more-itertools-8.12.0-r1[${PYTHON_USEDEP}] >=dev-python/packaging-24[${PYTHON_USEDEP}] @@ -35,9 +35,9 @@ RDEPEND=" $(python_gen_cond_dep ' >=dev-python/tomli-2.0.1[${PYTHON_USEDEP}] ' 3.10) - !!<=dev-libs/gobject-introspection-1.76.1-r0 - !!=dev-libs/gobject-introspection-1.78.1-r0 - !!=dev-libs/gobject-introspection-1.80.1-r1 + !<=dev-libs/gobject-introspection-1.76.1-r0 + !=dev-libs/gobject-introspection-1.78.1-r0 + !=dev-libs/gobject-introspection-1.80.1-r1 " BDEPEND=" ${RDEPEND} diff --git a/dev-python/setuptools/setuptools-75.0.0.ebuild b/dev-python/setuptools/setuptools-75.0.0.ebuild index 3b8c9465b6c3..df219ec84347 100644 --- a/dev-python/setuptools/setuptools-75.0.0.ebuild +++ b/dev-python/setuptools/setuptools-75.0.0.ebuild @@ -26,7 +26,7 @@ IUSE="test" RESTRICT="!test? ( test )" RDEPEND=" - !!<dev-python/setuptools-rust-1.8.0 + !<dev-python/setuptools-rust-1.8.0 dev-python/jaraco-collections[${PYTHON_USEDEP}] dev-python/jaraco-functools[${PYTHON_USEDEP}] >=dev-python/jaraco-text-3.7.0-r1[${PYTHON_USEDEP}] @@ -37,9 +37,9 @@ RDEPEND=" $(python_gen_cond_dep ' >=dev-python/tomli-2.0.1[${PYTHON_USEDEP}] ' 3.10) - !!<=dev-libs/gobject-introspection-1.76.1-r0 - !!=dev-libs/gobject-introspection-1.78.1-r0 - !!=dev-libs/gobject-introspection-1.80.1-r1 + !<=dev-libs/gobject-introspection-1.76.1-r0 + !=dev-libs/gobject-introspection-1.78.1-r0 + !=dev-libs/gobject-introspection-1.80.1-r1 " BDEPEND=" ${RDEPEND} diff --git a/dev-python/setuptools/setuptools-75.1.0.ebuild b/dev-python/setuptools/setuptools-75.1.0.ebuild index 3b8c9465b6c3..df219ec84347 100644 --- a/dev-python/setuptools/setuptools-75.1.0.ebuild +++ b/dev-python/setuptools/setuptools-75.1.0.ebuild @@ -26,7 +26,7 @@ IUSE="test" RESTRICT="!test? ( test )" RDEPEND=" - !!<dev-python/setuptools-rust-1.8.0 + !<dev-python/setuptools-rust-1.8.0 dev-python/jaraco-collections[${PYTHON_USEDEP}] dev-python/jaraco-functools[${PYTHON_USEDEP}] >=dev-python/jaraco-text-3.7.0-r1[${PYTHON_USEDEP}] @@ -37,9 +37,9 @@ RDEPEND=" $(python_gen_cond_dep ' >=dev-python/tomli-2.0.1[${PYTHON_USEDEP}] ' 3.10) - !!<=dev-libs/gobject-introspection-1.76.1-r0 - !!=dev-libs/gobject-introspection-1.78.1-r0 - !!=dev-libs/gobject-introspection-1.80.1-r1 + !<=dev-libs/gobject-introspection-1.76.1-r0 + !=dev-libs/gobject-introspection-1.78.1-r0 + !=dev-libs/gobject-introspection-1.80.1-r1 " BDEPEND=" ${RDEPEND} diff --git a/dev-python/sigstore-protobuf-specs/Manifest b/dev-python/sigstore-protobuf-specs/Manifest new file mode 100644 index 000000000000..33e4ddc70a35 --- /dev/null +++ b/dev-python/sigstore-protobuf-specs/Manifest @@ -0,0 +1,3 @@ +DIST sigstore_protobuf_specs-0.3.2.tar.gz 17529 BLAKE2B e12bcd471f20c993b0fd5cabc2abf424fd5d185d159321c34c14175d5e11089c18d631f612d81b083176359dc66948691e3711de4c91e1c64e55a5bd7df85543 SHA512 52559a5b2eb4f108950c41ab885fa22169b30de674af08314dd81dc1dbc568b887427d0fee497f5b98c230700f8d81c6901ccad77bddd7ca89f1a453d48c94ae +EBUILD sigstore-protobuf-specs-0.3.2.ebuild 523 BLAKE2B ba6041775f754eb66a1c54ae461a06c81138b8b252e84c7fb6bdf9d84981015a68489cc2607b96a3ec8dadb152d9d748dd0be083dc8beca957876f88773b7468 SHA512 185f3578b0a5a85a4a92dd6f63b7d3820d1aefff080c4550d87a0882a416fca55b55498f86eccfa21ae7b62ce4269457dab4765abf4c0a64ecea49ffac0ded75 +MISC metadata.xml 392 BLAKE2B 023a533646115633f2af81b696db1457486ac50a75f365e96bb73c607eaec538e59a9164f5673130b2689b306c4c57f522ac0b9ad2c29db0f250ba06d967f597 SHA512 a8e6e710c8e9b214b46e18856e36dc89be06edff80cc5fea38985b3d7c10f7e8b37347baf29180a409b9cc091dc9716a537fd8aa9474722f34fc0c807b6d4633 diff --git a/dev-python/sigstore-protobuf-specs/metadata.xml b/dev-python/sigstore-protobuf-specs/metadata.xml new file mode 100644 index 000000000000..41a3fc248d15 --- /dev/null +++ b/dev-python/sigstore-protobuf-specs/metadata.xml @@ -0,0 +1,12 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <maintainer type="project"> + <email>python@gentoo.org</email> + </maintainer> + <stabilize-allarches/> + <upstream> + <remote-id type="github">sigstore/protobuf-specs</remote-id> + <remote-id type="pypi">sigstore-protobuf-specs</remote-id> + </upstream> +</pkgmetadata> diff --git a/dev-python/sigstore-protobuf-specs/sigstore-protobuf-specs-0.3.2.ebuild b/dev-python/sigstore-protobuf-specs/sigstore-protobuf-specs-0.3.2.ebuild new file mode 100644 index 000000000000..6e6b92b12011 --- /dev/null +++ b/dev-python/sigstore-protobuf-specs/sigstore-protobuf-specs-0.3.2.ebuild @@ -0,0 +1,23 @@ +# Copyright 2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=flit +PYTHON_COMPAT=( python3_{10..12} ) + +inherit distutils-r1 pypi + +DESCRIPTION="A library for serializing and deserializing Sigstore messages" +HOMEPAGE=" + https://github.com/sigstore/protobuf-specs/tree/main/gen/pb-python/ + https://pypi.org/project/sigstore-protobuf-specs/ +" + +LICENSE="Apache-2.0" +SLOT="0" +KEYWORDS="~amd64" + +RDEPEND=" + ~dev-python/betterproto-2.0.0_beta6[${PYTHON_USEDEP}] +" diff --git a/dev-python/sigstore-rekor-types/Manifest b/dev-python/sigstore-rekor-types/Manifest new file mode 100644 index 000000000000..becadc8a42a2 --- /dev/null +++ b/dev-python/sigstore-rekor-types/Manifest @@ -0,0 +1,3 @@ +DIST sigstore_rekor_types-0.0.13.tar.gz 10238 BLAKE2B 3fec03abd18b7db3d85e52c6938fcab183be8c8b3121a699c781e16effa692e6acb53a921b80c7bb25decc8706bb4f680f5ccd862808264f5a77ea4d8cb67037 SHA512 1dd8cbf7980c1946877bbadd1074cbc058f4fc077d6405b5e9464a431c4de42dc7798cf0b45538ee6e9e6768dd841aaff3102dfabe8d7591e63e63ce10404c42 +EBUILD sigstore-rekor-types-0.0.13.ebuild 523 BLAKE2B 75b08dd4d6315cebbfd44ddc4a5df83c3bd1890833be19556bf99e138c77d54470aef336f41d0d900abedb1d878b855fbd921d5447500e206dbfddd0b706b714 SHA512 ff384414da04f71d77141f7a19fff62517e71b2facf979481ab7d2394f760d773ce7262d8cf0ca02ce6a165cbce03ec834def842beb1434ea55b4366f8ef14f8 +MISC metadata.xml 398 BLAKE2B ab94525f84d6bc2ffe007b64ed7bddb60ec03892cc1d613a132df86c3e795a184ccbfdb27be77d008cfc51803075526e9333a9b3a518d66cff71a519a2c762f0 SHA512 d05829fc900028cc0086f9bc212cc9592957876f9ead45b17d9c6fb218ebb5e1f6e1bdec9c5fe69f8a66391f1c257258aaf01c62e13cde704e5f17f26ba75d5b diff --git a/dev-python/sigstore-rekor-types/metadata.xml b/dev-python/sigstore-rekor-types/metadata.xml new file mode 100644 index 000000000000..72be8e70c667 --- /dev/null +++ b/dev-python/sigstore-rekor-types/metadata.xml @@ -0,0 +1,12 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <maintainer type="project"> + <email>python@gentoo.org</email> + </maintainer> + <stabilize-allarches/> + <upstream> + <remote-id type="github">trailofbits/sigstore-rekor-types</remote-id> + <remote-id type="pypi">sigstore-rekor-types</remote-id> + </upstream> +</pkgmetadata> diff --git a/dev-python/sigstore-rekor-types/sigstore-rekor-types-0.0.13.ebuild b/dev-python/sigstore-rekor-types/sigstore-rekor-types-0.0.13.ebuild new file mode 100644 index 000000000000..dce476741561 --- /dev/null +++ b/dev-python/sigstore-rekor-types/sigstore-rekor-types-0.0.13.ebuild @@ -0,0 +1,24 @@ +# Copyright 2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=flit +PYTHON_COMPAT=( pypy3 python3_{10..13} ) + +inherit distutils-r1 pypi + +DESCRIPTION="Python models for Rekor's API types" +HOMEPAGE=" + https://github.com/trailofbits/sigstore-rekor-types/ + https://pypi.org/project/sigstore-rekor-types/ +" + +LICENSE="Apache-2.0" +SLOT="0" +KEYWORDS="~amd64" + +RDEPEND=" + >=dev-python/email-validator-2[${PYTHON_USEDEP}] + >=dev-python/pydantic-2[${PYTHON_USEDEP}] +" diff --git a/dev-python/sigstore/Manifest b/dev-python/sigstore/Manifest new file mode 100644 index 000000000000..f3332e4177b1 --- /dev/null +++ b/dev-python/sigstore/Manifest @@ -0,0 +1,3 @@ +DIST sigstore-python-3.3.0.gh.tar.gz 194796 BLAKE2B 34773c7d4d1a2e5c57534ebfc2ea7e8d8769a1243d082bf0298c6e85e14fab289551f951646aaa482deea5101cbb447d8629a05c31937e7d618f45077507ed12 SHA512 7a5659d4c49ba2bea9974e6588d673d1a16b9618ff3d45c8da68d9f77c098a872b5f68cdf2ea402de50deb8141ea98091bd199243fbde217f9076f3b155c5226 +EBUILD sigstore-3.3.0.ebuild 1581 BLAKE2B 6e245f62994c03dd6a68741aa127667065d9acf2adacb99fde0182fedf6cedec1b4ec5c693bab9dbc48fd5ccafc8924a90ee96f9931c4c5e3b9de6442599089d SHA512 c0b7c314b665687aad9c130aca69dde2c62371b9e54112aaea0798bb9195e32a6ebd123e3077ee136ab1af9a3ef951976ef0e8e8dcb0947ae07019324f9bb270 +MISC metadata.xml 378 BLAKE2B e97135e601efc335e133822e3933e68570c43a454252073fb8a080a334801dca876311646e694062ec5e869b6d701189a2fad737d80a8b6ca874d61927a563c5 SHA512 bb372e77d78042dc8866f87c6d278ace3297ed747d520b755fef5e8ea5bdb15d65a6ac7b10565e84c27cdfc1497f5479320fd89b539093256a0c4af931442072 diff --git a/dev-python/sigstore/metadata.xml b/dev-python/sigstore/metadata.xml new file mode 100644 index 000000000000..0b653d0f8cf2 --- /dev/null +++ b/dev-python/sigstore/metadata.xml @@ -0,0 +1,12 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <maintainer type="project"> + <email>python@gentoo.org</email> + </maintainer> + <stabilize-allarches/> + <upstream> + <remote-id type="github">sigstore/sigstore-python</remote-id> + <remote-id type="pypi">sigstore</remote-id> + </upstream> +</pkgmetadata> diff --git a/dev-python/sigstore/sigstore-3.3.0.ebuild b/dev-python/sigstore/sigstore-3.3.0.ebuild new file mode 100644 index 000000000000..cb4a9db7d089 --- /dev/null +++ b/dev-python/sigstore/sigstore-3.3.0.ebuild @@ -0,0 +1,64 @@ +# Copyright 2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=flit +PYTHON_COMPAT=( python3_{10..12} ) + +inherit distutils-r1 + +MY_P=sigstore-python-${PV} +DESCRIPTION="A tool for signing Python package distributions" +HOMEPAGE=" + https://github.com/sigstore/sigstore-python/ + https://pypi.org/project/sigstore/ +" +# no tests in sdist, as of 3.3.0 +SRC_URI=" + https://github.com/sigstore/sigstore-python/archive/v${PV}.tar.gz + -> ${MY_P}.gh.tar.gz +" +S=${WORKDIR}/${MY_P} + +LICENSE="Apache-2.0" +SLOT="0" +KEYWORDS="~amd64" + +RDEPEND=" + >=dev-python/cryptography-42[${PYTHON_USEDEP}] + >=dev-python/id-1.1.0[${PYTHON_USEDEP}] + >=dev-python/platformdirs-4.2[${PYTHON_USEDEP}] + >=dev-python/pyopenssl-23.0.0[${PYTHON_USEDEP}] + >=dev-python/pyasn1-0.6[${PYTHON_USEDEP}] + >=dev-python/pydantic-2[${PYTHON_USEDEP}] + >=dev-python/pyjwt-2.1[${PYTHON_USEDEP}] + dev-python/requests[${PYTHON_USEDEP}] + >=dev-python/rfc8785-0.1.2[${PYTHON_USEDEP}] + >=dev-python/rich-13.0[${PYTHON_USEDEP}] + >=dev-python/sigstore-protobuf-specs-0.3.2[${PYTHON_USEDEP}] + ~dev-python/sigstore-rekor-types-0.0.13[${PYTHON_USEDEP}] + >=dev-python/tuf-5.0[${PYTHON_USEDEP}] + $(python_gen_cond_dep ' + >=dev-python/importlib-resources-5.7[${PYTHON_USEDEP}] + ' 3.10) +" +BDEPEND=" + test? ( + dev-python/pretend[${PYTHON_USEDEP}] + ) +" + +distutils_enable_tests pytest + +src_prepare() { + distutils-r1_src_prepare + + # unpin deps + sed -i -e 's:~=:>=:' pyproject.toml || die +} + +python_test() { + local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1 + epytest test/unit --skip-online +} diff --git a/dev-python/sqlglot/Manifest b/dev-python/sqlglot/Manifest index 3a2e8eabfdd2..f152ad7ae553 100644 --- a/dev-python/sqlglot/Manifest +++ b/dev-python/sqlglot/Manifest @@ -19,8 +19,8 @@ DIST quote-1.0.33.crate 28090 BLAKE2B 77c4b166f1200e1ee2ab94a5014acd334c1fe4b7d7 DIST redox_syscall-0.4.1.crate 24858 BLAKE2B c3301137a0b84e03b09d28dfa377ab3bea74d574a08cee21d35713b278d8b5b30ca2a1d73a0981baeb4644cbb88c86c8eb15ab3bb2692e38b93e6b35fab4e0da SHA512 073ed9d96090cf46eab9877742277a013c62d8da86d9caf2310b4fa868af306511936553579e01309f27067d344226cc8dc5e3aef01d9b900da2febd33848f8d DIST scopeguard-1.2.0.crate 11619 BLAKE2B 8b7e9ed6cefef9ee55407fb9690d57a2a98bb93e5105aeebdb475a52485e9e185255249e1dce8f83cd80534e7402d485aac3efa7e8493b13135de27550cd4bc4 SHA512 6247719a15fe1e4e2d179127b9a934bd2f99367724f41175ed9522f58824b6bc69b35002eae66b35880375ff61d77ac43ddaa78cbde7160a35183a1da32d3fbb DIST smallvec-1.11.2.crate 34801 BLAKE2B 58645e99db8f02db64d02c75860c7ea41836c427c03ee3b0b23365e73a406e4fd6ac312bf13fc5faef8bb6111c10fcfd5f839d5b3686e9b34d1626f8469fc327 SHA512 5cfb427c3b99b0dbd71f6154ed899abcde9d7d2992977ac7b2ef3a4c3ff51e4efafd133071a69609b4ed6cb269bdc26b79eb72e1988f10dfcaef8185d950cd1d -DIST sqlglot-25.22.0.tar.gz 19446848 BLAKE2B 08aa7131eae11d87df55957744b771a2f8d6529cd8cc246207a919ce044beb7fa7f49f0d51747209da57f6f703465d0b447dc74a13c6ebf6591c13b654ea25f6 SHA512 27d87e1222092139b3c4c2c3d0a28c6ad1addec743ac4aba9ae8554ece3ed56c82e6a912b1fd804f730eb67d08eeff194e7b081b12b69c69ac23ddc9129ef9c4 DIST sqlglot-25.23.2.tar.gz 19470352 BLAKE2B 6dd198a1de9d5c240cb6040a55f7afa08abd12021c6768242d955ef959db7a04f5de180b675b4f719a00488784e43a49834f9031a7adbfbed1f58cf607e1051a SHA512 b15e08a894458bb8e423f1d6c4c994eda548f8d2248ea4a46873e709bf0ec7830a5bb8fea9d2a7952c6f4522ef1ddff223b8592ee24e00653e52a121bd821d77 +DIST sqlglot-25.24.0.tar.gz 19471462 BLAKE2B 3a173667d307830c79a87723697081bf108285ae7c724f8103f373e95efd9c2c68c98603fc8cc92b4a6ef337d741d88ce94daa9ec749cfb820acf0639c932b02 SHA512 dff3253479665a2b887ff5f7514536f8be0f490142c610821145cc5dc80bddcffa3a9daac0e33802b4057d7f1d624bbfb105645f5006458d7e90bc7b72511ec7 DIST syn-2.0.41.crate 246016 BLAKE2B 9d389f2e2a0acb4c84c309456e8ffcc88c5d4d541535ed136832d7a6054dde45a598bb68e8a6f3062ca2a96e1ceae947d54b3aec9bad65b0c51d6733aa6c80db SHA512 6bbaf69ca783025dfb81ac3612ac60bfbed31b2d87792909b35c12892dadebdaff2ddf9463105e536b671dce5870610ab90fe29471284bbd3014dca8d6993f1a DIST target-lexicon-0.12.12.crate 25156 BLAKE2B f3803596c75f6c89438592a1176c3748fc2c0524d7d50a20056de1cd26d40c572b05bafcdf6dd702752864bea37c8b4f28f96dadc12a5b3bb1d279b25e489f85 SHA512 6147295c43ba1b7b087a3c5ab51534b2985e4e77e5e15687978cfb9d07e21c4fd9bc7191576d6cabd268d08a44dc733c4a957e59dba8b948c2055d8bb433aeca DIST unicode-ident-1.0.12.crate 42168 BLAKE2B 4cede03c08758ccd6bf53a0d0057d7542dfdd0c93d342e89f3b90460be85518a9fd24958d8b1da2b5a09b5ddbee8a4263982194158e171c2bba3e394d88d6dac SHA512 bc1824e1e4452a40732fc69874d7e1a66f7803717a314790dcf48867eba34bc9441331ef031e386912e52c385645c25b6ed39d4f149973b5b97371b1b96b1920 @@ -33,6 +33,6 @@ DIST windows_i686_msvc-0.48.5.crate 864300 BLAKE2B 3d3ea8be55e2d6ced0eeda18abe1d DIST windows_x86_64_gnu-0.48.5.crate 801619 BLAKE2B aa7e7e6a6ff9f9553ada3a0a39a9aa798e9d995a8eef36e0b6fdb2a0db93ddecee5548970575271fe43aec74797a420d0ee231d503b5bad1bd999059261e0e33 SHA512 1d6056fae430b3d042bdff3c6217c76be4b8b9f5dada9bad06beaac2db7d7ab9b0a82e44f498ec88e61afa73e99f56d84d445dc3847732b9ce5d947e08485f74 DIST windows_x86_64_gnullvm-0.48.5.crate 418486 BLAKE2B 12a2199d434617c1df1a839e9f435620ad64b40c579f6d0c3677553ad7a48e5765d12c266b04946402e15c92cff2e4ac4979ce2130750ef426e2672119680284 SHA512 c016d5b5e73832b61ff67929d92fa8c16e154656294357266ad29ce1f44db4ca2d2935dba31a6b571187dc838b1d22f1e3b41fefffd1d719a338439adf1646aa DIST windows_x86_64_msvc-0.48.5.crate 798412 BLAKE2B 8abc0721e2fb337fe17c91d278947d36122d9045b839ba0cf3e690202d242265b676f23cc301da5f9d98c56ca4ecb76f7d6f072ee71bf986a1deca87020b90e5 SHA512 fa1c5cd14ca2ff0082e2504cf59d317dc4dc6f7138d35c12f95d4476a9c13d8b7f5537d0ee251eee7c99411ad31b22263171b7fbd391daa5d3ea3488ceaa61a0 -EBUILD sqlglot-25.22.0.ebuild 2817 BLAKE2B cf3d2e32dc5f98fbba79487c4d6c8d31ea7f611b3226c0f3ef4cd415b6e0d425ac9cd7e6b92df12f9640b8983bb419f399b1f766a90a15183659a5a572517a04 SHA512 1ba127adea3b9d677c02fbc559dab225a8f6d37f065d61420bc89fbc74a163603360c5198f0fdc3ee319ced2bb878e7ecd24b442169f3a14cd95921475201342 EBUILD sqlglot-25.23.2.ebuild 2817 BLAKE2B cf3d2e32dc5f98fbba79487c4d6c8d31ea7f611b3226c0f3ef4cd415b6e0d425ac9cd7e6b92df12f9640b8983bb419f399b1f766a90a15183659a5a572517a04 SHA512 1ba127adea3b9d677c02fbc559dab225a8f6d37f065d61420bc89fbc74a163603360c5198f0fdc3ee319ced2bb878e7ecd24b442169f3a14cd95921475201342 +EBUILD sqlglot-25.24.0.ebuild 2817 BLAKE2B cf3d2e32dc5f98fbba79487c4d6c8d31ea7f611b3226c0f3ef4cd415b6e0d425ac9cd7e6b92df12f9640b8983bb419f399b1f766a90a15183659a5a572517a04 SHA512 1ba127adea3b9d677c02fbc559dab225a8f6d37f065d61420bc89fbc74a163603360c5198f0fdc3ee319ced2bb878e7ecd24b442169f3a14cd95921475201342 MISC metadata.xml 611 BLAKE2B 10bf684677182565c9932d51ed9b3b9c80d376d6db945bd7b0dd0d9a19a85dc0d10cb169ff2048ae5f7f73d0f438d259b6231c13c525b5374ec99377f4ffdd10 SHA512 2b26d0f77962807052b94ad78addcfdce9859042af3be34df267dc6e70b6231dd779563935fd21955cd8646fd0cce3fee8c939387ac8056194a0b777743dd2ae diff --git a/dev-python/sqlglot/sqlglot-25.22.0.ebuild b/dev-python/sqlglot/sqlglot-25.24.0.ebuild index 456b6e98cfce..456b6e98cfce 100644 --- a/dev-python/sqlglot/sqlglot-25.22.0.ebuild +++ b/dev-python/sqlglot/sqlglot-25.24.0.ebuild diff --git a/dev-python/tree-sitter/Manifest b/dev-python/tree-sitter/Manifest index 441dd5106b8c..bfc2d97d4aad 100644 --- a/dev-python/tree-sitter/Manifest +++ b/dev-python/tree-sitter/Manifest @@ -11,5 +11,5 @@ DIST tree-sitter-python-03e88c170cb23142559a406b6e7621c4af3128f5.tar.gz 272632 B DIST tree-sitter-rust-3a56481f8d13b6874a28752502a58520b9139dc7.tar.gz 419237 BLAKE2B 681b9656c872bcd15abbf11923d07df61b80b36b2972461a29f249dc53915e6d18a6dfdc65d71c863f7b38a27c8b3a47376f590d86afa44caa71f103e710fed5 SHA512 a8ce10080b984aa469d952ff8e862165676e10dc30c3d1762f7141d9fe83734aec3cb92c48552cb8f24575b538dd53fe0a80f1337f5d0d4c8767dd6bf564143e EBUILD tree-sitter-0.21.3.ebuild 1967 BLAKE2B da4462ea2dfdfd92dcfc523dc5e3494688311875d78143efe0510ec79dea659fc7879141ffe5f10fcc55fcaf3edf56bfdd970ca992a2499da4fbbf06a8b1137b SHA512 bb1047309136b133dc66a6f1e0e77602fc2f1cf4a399c519cffaeb2d422f31d536e124f48756575c367253d4cfc3f33a84fa41b2f599fe633e054024bc523a9b EBUILD tree-sitter-0.22.3-r2.ebuild 1357 BLAKE2B 6ef441096e7b783bf59e5f82b9b021cb903dfeb19982d53fec89de7ff5a7f3094f1fd8ac01d2a1459ab073ff1d840b1e1f59766a763523538b148a541465cc87 SHA512 8ef0bcd3d440797fb7c31c4df0e43d2211394bf1b3c7c8a5eb74abc03b47316fb937dfa7b1da3e7bb4703b62efa3ada72c26e969b1f1e731a3d21c9c066110b7 -EBUILD tree-sitter-0.23.0.ebuild 1481 BLAKE2B f417ecc90d2652538700efe4f5c32a93e27b1fe8a7b59af32ed8cf5f35d4a5c33771689ab864ee8046ef9bcb746e28ddaecd6794d0eb84e116246e6018a2898f SHA512 51f7e17325f746860a32adac230a5583bac2b1b24b4b08de43272371923e8af5fbdd48d84046d65cd030513399fecfe752d60cd7cec0da787a1193128de6b1aa +EBUILD tree-sitter-0.23.0.ebuild 1475 BLAKE2B 905c44f60b56a40d1dcf879084c008e97bbd2db9b3830c025e430b703bc0629ad7c920e3f9a37040497b10a1ab09a9e1fdb39c3867995674fc9039b783b1e410 SHA512 36a4fa5662df3f1851d3456c0b6f7848d1c4ec14468330f5102c2966dc0ad177991f5e93272aeeff1ce1d6c7214b121b80e454b0dcdd884fe2c46428e81f291c MISC metadata.xml 502 BLAKE2B cad33788db5ede6c0c2ea8dd8b80da09f2f8ccac8d77a1a18d65ba639a91eb9d8a89036a52886777024c4a6dc8775993beeb6eaa790562d698123e5b5b261435 SHA512 fb56c5f39e390363c8a3c80bddff9babcf30c74b86192234153f03ba62e21f1a05b1db925e51a3f4b7876a61a606b051a5314f5475d4ba7092a3f89696a78ac3 diff --git a/dev-python/tree-sitter/tree-sitter-0.23.0.ebuild b/dev-python/tree-sitter/tree-sitter-0.23.0.ebuild index a6868ec550dd..12fadd9d9bb8 100644 --- a/dev-python/tree-sitter/tree-sitter-0.23.0.ebuild +++ b/dev-python/tree-sitter/tree-sitter-0.23.0.ebuild @@ -22,7 +22,7 @@ S=${WORKDIR}/py-${P} 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" # setuptools is needed for distutils import DEPEND=">=dev-libs/tree-sitter-0.23.0:=" diff --git a/dev-python/tuf/Manifest b/dev-python/tuf/Manifest new file mode 100644 index 000000000000..4c0f88f8b953 --- /dev/null +++ b/dev-python/tuf/Manifest @@ -0,0 +1,3 @@ +DIST tuf-5.0.0.tar.gz 266998 BLAKE2B 6fcf909955f7c2515ede1922c9534ca439cc68d07af81ba53d8811f74fd4510655cc17395f1e0e5df0e3ea752e74862e8d1397b9b3a272565e793c70af9de352 SHA512 c8ae86480320fb33e6d92292da0e687a3d7c90c2bcc234518d934671a954a0970e158cc48ab95be51e6eb21eb63a769c47be9a7880b446d5b0eba9f34570c07d +EBUILD tuf-5.0.0.ebuild 640 BLAKE2B 15ca253a62ba59d3270cc33b2e33adafdc6539f635af1b15c31a7a337bb8380de695b7e93f8696d89b8afa76e6f41dc06904b02d668767bd8bd6ac9499a0cb85 SHA512 77eb18b7386146a7dab68f5c5e847f9428ac02135efcb3d48070b2d0eb2203cb9889dd3acbcbde83bf86f68b7302b2c5c52e09903bb37c44bd83eec09f37eb87 +MISC metadata.xml 378 BLAKE2B 9cc1f69fb2af8d5b3c71642c9715808456086ff11c985e5cc41b00e1880f2b4124cbc9513542faa4e41b012b0ba855ad9d4fbe8037e3580df1aa20181631c3b6 SHA512 bde2ed909850cbd6069b18dd054660871a6d8320003068efbda57829b0e1b5ca0a2cecd363223b6cbf2a23b060fa873fd320fb2a897f18205c8db7a8d54ccd29 diff --git a/dev-python/tuf/metadata.xml b/dev-python/tuf/metadata.xml new file mode 100644 index 000000000000..016baed53722 --- /dev/null +++ b/dev-python/tuf/metadata.xml @@ -0,0 +1,12 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <maintainer type="project"> + <email>python@gentoo.org</email> + </maintainer> + <stabilize-allarches/> + <upstream> + <remote-id type="github">theupdateframework/python-tuf</remote-id> + <remote-id type="pypi">tuf</remote-id> + </upstream> +</pkgmetadata> diff --git a/dev-python/tuf/tuf-5.0.0.ebuild b/dev-python/tuf/tuf-5.0.0.ebuild new file mode 100644 index 000000000000..8ab675ef5cc3 --- /dev/null +++ b/dev-python/tuf/tuf-5.0.0.ebuild @@ -0,0 +1,32 @@ +# Copyright 2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=hatchling +PYTHON_COMPAT=( python3_{10..13} ) + +inherit distutils-r1 pypi + +DESCRIPTION="A secure updater framework for Python" +HOMEPAGE=" + https://github.com/theupdateframework/python-tuf/ + https://pypi.org/project/tuf/ +" + +LICENSE="|| ( Apache-2.0 MIT )" +SLOT="0" +KEYWORDS="~amd64" + +RDEPEND=" + >=dev-python/requests-2.19.1[${PYTHON_USEDEP}] + <dev-python/securesystemslib-2[${PYTHON_USEDEP}] +" + +distutils_enable_tests unittest + +python_test() { + cd tests || die + local -x PYTHONPATH="..:${PYTHONPATH}" + eunittest +} diff --git a/dev-python/wcmatch/Manifest b/dev-python/wcmatch/Manifest index b4518bf2803f..d041f193b8ef 100644 --- a/dev-python/wcmatch/Manifest +++ b/dev-python/wcmatch/Manifest @@ -1,3 +1,5 @@ +DIST wcmatch-10.0.gh.tar.gz 118184 BLAKE2B ffc98749b111f472244a35654c8d57144e0f242f33b04e672a3b7d810c5c6c1b2c36172c09437e159c30812916fe15c7690fc3c2a1de14035f04ed801e898dc2 SHA512 db8fcfc7b0bef0256530a86f25491309b0d67f51ec9f60d9e6d2e3f49ae5e94ce432981aa2fb6b1f2086758a4eaa4a53daf9b2f765bd75480230f6064f181e75 DIST wcmatch-9.0.gh.tar.gz 116090 BLAKE2B 6d33886a9f1f0f53c95dcd8adcebffcd50075c54f8a6398d22e372b811dab33a09152c98d982ed817c9230ae0f200e74dac209da785979365aa38a511b790965 SHA512 638a59b70729eeb39a9bc059d08271b8cfe924a9fce4317718b3cc38e057f1176ec87b033f9f30494fce5c1d24560ef22cd0d9e2a4df12c2b765c3e1358756d6 +EBUILD wcmatch-10.0.ebuild 1293 BLAKE2B 6e039f322ecb83199cbf6ac98a3c454c0d289eb89913333f1a9281caac0c034574b0a4a0bfec4c3b5608ba9458bcb01596df80fbc7464956453fe773fbaacb50 SHA512 e5096ccb23ae208ad20b85e2eaccb02cef6a5ef14a708a7924ff0ecbdb8fa599f1c90f6dde8711d14950a777a6be06bbc0b0501192f228d057ad70ba5d3629cc EBUILD wcmatch-9.0.ebuild 1290 BLAKE2B d9ec071df4f7f83765ba105eb30990d9d3df3e9a21a5d757bd25e0bd22a38f619b552d11d338fa69c048f40913c684b91e9c2aa4b03d78c1cfd5134dbfb67c1c SHA512 91bf07d5ccba9ba6d0d03d2316b130f1698bf25fd0cf921728aaccd27eedb0f29360a26186c1d773b0fe5c97ae269cb6ae2fcb0f711593f7e7fd569265f39c7e MISC metadata.xml 2701 BLAKE2B f09d6810f516ce43944ef492b90cd8adf15beae1eba1a0deb65a9def3582e674c18a75827166661333e9bd1732e757743b03a3379d6d4bc7bf5e2195434ac5bc SHA512 d8c4a11a7602b559976fb777ce862070b6e273e64e6a22842b22c9917bacfe1aed5dc199c7c01ec4f16e57d30c7fc2bc2d2d3e91379059ea305930aef8fb3189 diff --git a/dev-python/wcmatch/wcmatch-10.0.ebuild b/dev-python/wcmatch/wcmatch-10.0.ebuild new file mode 100644 index 000000000000..31f842037d84 --- /dev/null +++ b/dev-python/wcmatch/wcmatch-10.0.ebuild @@ -0,0 +1,61 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +PYTHON_COMPAT=( python3_{10..13} ) +DISTUTILS_USE_PEP517=hatchling + +DOCS_BUILDER="mkdocs" +DOCS_DEPEND=" + >=dev-python/mkdocs-pymdownx-material-extras-2.0 + dev-python/mkdocs-material + dev-python/mkdocs-git-revision-date-localized-plugin + dev-python/mkdocs-minify-plugin + dev-python/pyspelling +" + +inherit distutils-r1 docs + +DESCRIPTION="Wildcard/glob file name matcher" +HOMEPAGE=" + https://github.com/facelessuser/wcmatch/ + https://pypi.org/project/wcmatch/ +" +SRC_URI=" + https://github.com/facelessuser/wcmatch/archive/${PV}.tar.gz + -> ${P}.gh.tar.gz +" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~ppc64 ~riscv ~x86" + +RDEPEND=" + >=dev-python/bracex-2.1.1[${PYTHON_USEDEP}] +" + +BDEPEND=" + test? ( + dev-vcs/git + ) +" + +distutils_enable_tests pytest + +python_prepare_all() { + # tests require some files in homedir + > "${HOME}"/test1.txt || die + > "${HOME}"/test2.txt || die + + # mkdocs-git-revision-date-localized-plugin needs git repo + if use doc; then + git init || die + git config --global user.email "larry@gentoo.org" || die + git config --global user.name "Larry the Cow" || die + git add . || die + git commit -m 'init' || die + fi + + distutils-r1_python_prepare_all +} diff --git a/dev-python/yarl/Manifest b/dev-python/yarl/Manifest index ba3b29c921d5..0c487138a736 100644 --- a/dev-python/yarl/Manifest +++ b/dev-python/yarl/Manifest @@ -2,12 +2,14 @@ DIST yarl-1.10.0.tar.gz 158919 BLAKE2B 07560c311c6388555fa10b94490576a0a5352be0a DIST yarl-1.11.0.tar.gz 160812 BLAKE2B 166b919d866b2f224517a3b6ad728627aee2171b10f4b53e6a04ab2379cfcbe0105e5c1d4f43b5946b52164b5d8be6a6394a0468a6a9b06507603c4f65c5963b SHA512 826825786a6d8fd9de628fb89b053024e455a3c6fa8e56e059214b7bcdffc41451d8ac6b3d89fc123c3657287d3f8c3d475cb8ea733353bf9c2794b7e79b7bdf DIST yarl-1.11.1.tar.gz 162095 BLAKE2B 2fc83033411ec3c1d2a8c4f6b2cbd1fab977a7dd58d4e736e8ecd2a0ddc75ca6db76aa6b7b63ced7b8a29e213caa93ba2858557f1455be705926b8d6efb6e1eb SHA512 a64bc1d9fa93029c54c359cf3667cf2fc1cf35cbea69911521af998bf43852a092844fa206bf3b31d38d2c8ad14f9eab7358020350cda22826486c317abf09f1 DIST yarl-1.12.1.tar.gz 163223 BLAKE2B 9d295c9e018ef15f3b089327006ea7dda7689b6ad7730caa716265cb5fd433fbc2bfd61f30be3f53a28a77102c4e04d87b2f4684aaaa3979f2e9f5e4dba8da6b SHA512 3e27c9ee9c416b4c8eb68ec425cba5d913cc7193670a0abb454551170c711b50b96bd6e10cee9fa34456e57d6a9d18852082a3789243b123ed22c9838b8e9eac +DIST yarl-1.13.0.tar.gz 165688 BLAKE2B aab1c9b5e49e0e993fb4abfe960daa56bc6625c7d855072cfc762ceadfe71cb9353c2e54233646e9da51d05c01e6ac6b1c6a5ae5119defed46af62fcdfe89a0f SHA512 a059df5c575c61bab7c23789f5b74bc2bac264a7feaec4d873c9757af6ae004812e274905625f24f31573496ff7865b68f27daaf1b96ff5e14184facf249d976 DIST yarl-1.9.11.tar.gz 156445 BLAKE2B a5af473f7e66b1a4e9f97a4ff4e323764a05289e899926c803af16df985d47bdce7aa87d0099015c3a6033eb5cb942feab9879ea135076fdecdfc3d0afa98b94 SHA512 226a357f202693bece39136d595a444221fdde2727bc9d5fe392ccd80e86c6a35cee7d0882c66649b288efae5b3ae4ba1bcabb9844b8f47654c9ccbacc8337c0 DIST yarl-1.9.4.tar.gz 141869 BLAKE2B 367eac4674bf1190122f10bb1dc1c4f3d5e4263e1d95ff2b871067d55a894dc19a6bb5a6c673d1bed28b3c5f77c704799568edfe639d50f0ae10313eb847352d SHA512 e4f7917f1625b40125abae9a13d61795f97e8cf489735e15cf58476e97c3bcf840b1452482f1f7a737fbb2bdd1dc7bbcfa882d0a7f76a27dfb3aea72b7a66c82 EBUILD yarl-1.10.0.ebuild 803 BLAKE2B e256f371fec6b9a63550e59c7c4fedc0f4c8c875dfdefc5e5883174b882ac6e14e3180ed5724bf5f83a59775104528b106b0496ec68bf28922479e32d53b528a SHA512 1295f67cf98ad72f60160caa1d884a86b0a09a51b17abd628b9d084e8143560dee8c066b19f94c4611daf5d5c73beca060a92d72c817a6f217c37a662d71aa47 EBUILD yarl-1.11.0.ebuild 803 BLAKE2B e256f371fec6b9a63550e59c7c4fedc0f4c8c875dfdefc5e5883174b882ac6e14e3180ed5724bf5f83a59775104528b106b0496ec68bf28922479e32d53b528a SHA512 1295f67cf98ad72f60160caa1d884a86b0a09a51b17abd628b9d084e8143560dee8c066b19f94c4611daf5d5c73beca060a92d72c817a6f217c37a662d71aa47 EBUILD yarl-1.11.1.ebuild 803 BLAKE2B e256f371fec6b9a63550e59c7c4fedc0f4c8c875dfdefc5e5883174b882ac6e14e3180ed5724bf5f83a59775104528b106b0496ec68bf28922479e32d53b528a SHA512 1295f67cf98ad72f60160caa1d884a86b0a09a51b17abd628b9d084e8143560dee8c066b19f94c4611daf5d5c73beca060a92d72c817a6f217c37a662d71aa47 EBUILD yarl-1.12.1.ebuild 803 BLAKE2B e256f371fec6b9a63550e59c7c4fedc0f4c8c875dfdefc5e5883174b882ac6e14e3180ed5724bf5f83a59775104528b106b0496ec68bf28922479e32d53b528a SHA512 1295f67cf98ad72f60160caa1d884a86b0a09a51b17abd628b9d084e8143560dee8c066b19f94c4611daf5d5c73beca060a92d72c817a6f217c37a662d71aa47 +EBUILD yarl-1.13.0.ebuild 803 BLAKE2B e256f371fec6b9a63550e59c7c4fedc0f4c8c875dfdefc5e5883174b882ac6e14e3180ed5724bf5f83a59775104528b106b0496ec68bf28922479e32d53b528a SHA512 1295f67cf98ad72f60160caa1d884a86b0a09a51b17abd628b9d084e8143560dee8c066b19f94c4611daf5d5c73beca060a92d72c817a6f217c37a662d71aa47 EBUILD yarl-1.9.11.ebuild 797 BLAKE2B 9c738423ca5e30775bfdde0f3d4c5cba07cd5c8480812088eaa89d4e4bbb762029f386a1c3d3ab16ac96d7e705bbfbf5c907d4071f1a37507d6c6e6cafd5da79 SHA512 7e4482b2f1a7796b203912740404fe455e858af09ce22449d4aeab9a5b4ef7118c37fb9b266d231b5a4c1c6ec991ecf50c6ae97e36f8b4194b273a07f972df72 EBUILD yarl-1.9.4.ebuild 789 BLAKE2B 4461b765d466a6739bb0b4667fd5e9212df330a19bf5542f28b4849c6248a25665e40931b2e7229fe6090e3b8a3ec3c638e196c9941adb49756b461545a24115 SHA512 03b1f95382c35e728842477f97acf1b7db5375117fe7e05e80ff6d6a6f5b67e97ddcb3a0f805a127da9600eebca31e07e4e001078bee72578d7771cabe58dc24 MISC metadata.xml 440 BLAKE2B 10fd0e37c9be76c5d1dd90b9fd1cb1e5161fc5a7d2b51bcb5658a8c187a67d5f9573241733c3f9570e9fb7767bf84b38a6f8b2c212596627bea4e1686b7eb41e SHA512 c9e340124ed93cb0d52a0ae5abd43c10528197893c3d5ab57a0eb7046ebae5b80119f7b033d6697110c4bc064c0a8581d904788f6969cb52a433064067898cbe diff --git a/dev-python/yarl/yarl-1.13.0.ebuild b/dev-python/yarl/yarl-1.13.0.ebuild new file mode 100644 index 000000000000..4732f61f415a --- /dev/null +++ b/dev-python/yarl/yarl-1.13.0.ebuild @@ -0,0 +1,37 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_EXT=1 +DISTUTILS_USE_PEP517=standalone +PYTHON_COMPAT=( python3_{10..13} pypy3 ) + +inherit distutils-r1 pypi + +DESCRIPTION="Yet another URL library" +HOMEPAGE=" + https://github.com/aio-libs/yarl/ + https://pypi.org/project/yarl/ +" + +LICENSE="Apache-2.0" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~loong ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86" + +RDEPEND=" + >=dev-python/multidict-4.0[${PYTHON_USEDEP}] + >=dev-python/idna-2.0[${PYTHON_USEDEP}] +" +BDEPEND=" + dev-python/cython[${PYTHON_USEDEP}] + dev-python/expandvars[${PYTHON_USEDEP}] + dev-python/setuptools[${PYTHON_USEDEP}] +" + +distutils_enable_tests pytest + +python_test() { + cd tests || die + epytest --override-ini=addopts= +} |