diff options
author | V3n3RiX <venerix@koprulu.sector> | 2024-04-26 23:59:37 +0100 |
---|---|---|
committer | V3n3RiX <venerix@koprulu.sector> | 2024-04-26 23:59:37 +0100 |
commit | 3e42d1577189af123b773dc0f11e5419035308c8 (patch) | |
tree | 95d77507c924544b12363e6da6aa741c444f3e8a /dev-python | |
parent | 6243676c91946098c06d42bc87b5eb99aac40bf0 (diff) |
gentoo auto-resync : 26:04:2024 - 23:59:36
Diffstat (limited to 'dev-python')
51 files changed, 1652 insertions, 65 deletions
diff --git a/dev-python/Manifest.gz b/dev-python/Manifest.gz Binary files differindex f3e2b301a46c..f2cb219c84a1 100644 --- a/dev-python/Manifest.gz +++ b/dev-python/Manifest.gz diff --git a/dev-python/PyQt6-WebEngine/Manifest b/dev-python/PyQt6-WebEngine/Manifest index 31a51317caa6..abb1fdada30a 100644 --- a/dev-python/PyQt6-WebEngine/Manifest +++ b/dev-python/PyQt6-WebEngine/Manifest @@ -1,3 +1,5 @@ DIST PyQt6_WebEngine-6.6.0.tar.gz 31817 BLAKE2B 3e795bda50d1a5874e6caec7f69370840913cbbb33662ddc5624f0437c765e3318a2b4233d8e9963145dbeef8a4edc559112f114b850d9879eecb9e3e6b6fd2e SHA512 30927b7728d68cbeff6346234e131f96dfcd4b2af503d27d2f0a1eee584b5a928ac4fe1f66019c90aaf1ccd66fffe2edaf55de86d9aa0c83518c45669613bc0d +DIST PyQt6_WebEngine-6.7.0.tar.gz 32593 BLAKE2B 6c14323b440a83f6fed9f1f77f20b350f00255dfedfbc328a5ee638760d20958d8864eb3c590248acd5c69152c537993a95e66d1f76b28349561c8223dfc2a85 SHA512 8298aecc43e420c4fa912802fd66ee95fd71156d9a6d1f1a499ffcc2d0d45a8c3e3c170f911acfc8f094d2e434567b5143b145ce40413ee75c9a9e4420341c0c EBUILD PyQt6-WebEngine-6.6.0.ebuild 1847 BLAKE2B f83d1ec38378bbb55391bf31d19a47de3a60847fb872f6c025fbeeaf6c6bfdd85cd5b7d029dcc720453ee7cbf9c0804b3b26bb7f93143060f5259dc39fbdeda2 SHA512 8b077de65b048ae7b3794b0a911ae9a36d3472dd13582f6ae2268e5b22f7e1e07a938218925617eda62c1584078e5ea1fa6cedcf765ed3e1bd37182b332cd6fe +EBUILD PyQt6-WebEngine-6.7.0.ebuild 1894 BLAKE2B ab0254bbc1115b9ff3eacfc8ff94ebb4e2741af5af97a6c189b8c0c510c80f71c93f7fe8a598a14fbf53fdc94cf7dd8fff875e5f6d5d7255549ccfb8b3634a5c SHA512 e5fad08865ab78544c38dfbcdefae672814228aaaf3a92f4fe792eac704e2652322447b662742fa06798eb91a88b3568468b04d5d66f7093d706ddb710a55c44 MISC metadata.xml 574 BLAKE2B 1cc3bbf5d25e8aac390530005c225bfc618fbb1bdef3a3d075f445eee2cf68d86feb6ac8841d7e0efd1679b19fc14b33b33accdd7e4932e742f46907a8f98601 SHA512 1af94b1a66be1dd38feb818ba973852912bacacc715e0bd893f8b3de56d17f8902b7486cc487137defad749773a6f728c470cbb9c62d15f91a63d80b16296604 diff --git a/dev-python/PyQt6-WebEngine/PyQt6-WebEngine-6.7.0.ebuild b/dev-python/PyQt6-WebEngine/PyQt6-WebEngine-6.7.0.ebuild new file mode 100644 index 000000000000..c949808645ea --- /dev/null +++ b/dev-python/PyQt6-WebEngine/PyQt6-WebEngine-6.7.0.ebuild @@ -0,0 +1,69 @@ +# Copyright 2022-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_EXT=1 +DISTUTILS_USE_PEP517=sip +PYPI_NO_NORMALIZE=1 +PYPI_PN=${PN/-/_} +PYTHON_COMPAT=( python3_{10..12} ) +inherit distutils-r1 flag-o-matic multiprocessing pypi qmake-utils + +QT_PV=$(ver_cut 1-2):6 + +DESCRIPTION="Python bindings for QtWebEngine" +HOMEPAGE="https://www.riverbankcomputing.com/software/pyqtwebengine/" + +LICENSE="GPL-3" +SLOT="0" +KEYWORDS="~amd64 ~arm64" +IUSE="debug quick +widgets" + +RDEPEND=" + >=dev-python/PyQt6-${QT_PV%:*}[gui,ssl,${PYTHON_USEDEP}] + >=dev-qt/qtbase-${QT_PV}[gui,widgets?] + >=dev-qt/qtwebengine-${QT_PV}[widgets] + quick? ( + dev-python/PyQt6[qml] + >=dev-qt/qtwebengine-${QT_PV}[qml] + ) + widgets? ( dev-python/PyQt6[network,printsupport,webchannel,widgets] ) +" +DEPEND="${RDEPEND}" +BDEPEND=" + >=dev-python/PyQt-builder-1.11[${PYTHON_USEDEP}] + >=dev-python/sip-6.8[${PYTHON_USEDEP}] + >=dev-qt/qtbase-${QT_PV} +" + +src_prepare() { + default + + # hack: PyQt-builder runs qmake without our arguments and calls g++ + # or clang++ depending on what qtbase was built with, not used for + # building but fails with -native-symlinks + mkdir "${T}"/cxx || die + local cxx + ! cxx=$(type -P "${CHOST}"-g++) || ln -s -- "${cxx}" "${T}"/cxx/g++ || die + ! cxx=$(type -P "${CHOST}"-clang++) || ln -s -- "${cxx}" "${T}"/cxx/clang++ || die + PATH=${T}/cxx:${PATH} +} + +python_configure_all() { + append-cxxflags -std=c++17 # for old gcc / clang that use <17 (bug #892331) + append-cxxflags ${CPPFLAGS} # respect CPPFLAGS notably for DISTUTILS_EXT=1 + + DISTUTILS_ARGS=( + --jobs="$(makeopts_jobs)" + --qmake="$(qt6_get_bindir)"/qmake + --qmake-setting="$(qt6_get_qmake_args)" + --verbose + + --enable=QtWebEngineCore + $(usex quick --{enable,disable}=QtWebEngineQuick) + $(usex widgets --{enable,disable}=QtWebEngineWidgets) + + $(usev debug '--debug --qml-debug --tracing') + ) +} diff --git a/dev-python/PyQt6/Manifest b/dev-python/PyQt6/Manifest index 658b78871bb0..4c362611994e 100644 --- a/dev-python/PyQt6/Manifest +++ b/dev-python/PyQt6/Manifest @@ -1,4 +1,6 @@ AUX PyQt6-6.6.1-qt670.patch 2528 BLAKE2B 3157c4e4e063747db56e92b011147dfb3a57474b6e80f052372d4b83b91bf36bb18ba256f4e2b4466c140744b075ac47217915ad5d744900754c8f4af7ab8f61 SHA512 5894b371cfa9b22de2300cc75b7ab486944ecd7c8f2aed6bdd03355c9952ebd550ec2383ff057d629b54d91f92ef67cd566a39d7e38696d6ba2b09622b9900e8 DIST PyQt6-6.6.1.tar.gz 1043203 BLAKE2B dd2b6988ebeabaae47fe57c5c0d17fbe4b62c377262b4bb360adb7fd6724ccb6a67ba5c2bd7498df98db3ce6b00978f936b11a43b464c3c7af169f25b30ee1a6 SHA512 c2ff8c47c9b0e43c009d0c90f565a54344e6f384c67dd30c2d422465d0702c07713acc0095c8b67827d1146675611c07d548ba282a26e41bb60a0a21977a7a64 +DIST PyQt6-6.7.0.tar.gz 1050408 BLAKE2B 30dc8a2762cb5a149c401d497af714bb9209bc46847c0699522ee60080c46f0b1d4da854e70151a508c90820a2aa32da422bfd20c4320bcc9b5d5f92fd9e8677 SHA512 619210d2de3e149b55e2d45cbd8ec2113b3effcaccd25eef6067ea99b82e250f1ce288b38136604536053690071f8c843339b934b5ce5e539a5dfdecc26f44d2 EBUILD PyQt6-6.6.1.ebuild 5552 BLAKE2B 877be0dfbc0f60169493a805035ee398f2e9d6dd005aa97695e1dc39014f0571fff1802f3a60e028659488c92da6640a265e29a0a64682d0e9b45233b30f236d SHA512 daf3dd77e42f5a5a6d1bf6fa3fdc3ff09c8f153c6fd430b1b6a4fedec707be5606ebd682c9059837f254762859d20c7379f993f6a2808e2c0066cdfe1f7fce8c +EBUILD PyQt6-6.7.0.ebuild 5498 BLAKE2B e7c3b163e74d4c901faf72852b91d8a53673ce328c43db0cd3d4ea716073bf2f995e964b11f76ba8b2622156fe1c4c5e2838b59044bcdeef7001a1b2b471537f SHA512 7d81ca8f86cb10386ce7d93e3d681c68afc8c9d546550722302342c0b6528698950262198cbe56c1ed326915f73932e5d2ce3f5386143a8d7c1588ab4db8b9a6 MISC metadata.xml 2391 BLAKE2B 16eecbd105ced07699632a4b294f7da74b59ff931e39afb8a21f67f073bfc90ff613d753a67bcd303ea9f2bf35d7b91c1c7a56ece044c421c4e45b5951f5efe3 SHA512 1d595e07e201891c8c7d5635d39db36ccb65c7333cb27c1cd5384a76029b987959df05795283a4474a41a997bf951e577570b7d3a52a9a2975d563767651efae diff --git a/dev-python/PyQt6/PyQt6-6.7.0.ebuild b/dev-python/PyQt6/PyQt6-6.7.0.ebuild new file mode 100644 index 000000000000..ca972682a7f0 --- /dev/null +++ b/dev-python/PyQt6/PyQt6-6.7.0.ebuild @@ -0,0 +1,175 @@ +# Copyright 2022-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_EXT=1 +DISTUTILS_USE_PEP517=sip +PYPI_NO_NORMALIZE=1 +PYTHON_COMPAT=( python3_{10..12} ) +inherit distutils-r1 flag-o-matic multiprocessing pypi qmake-utils + +# 'can' work with older Qt depending on features, but keeping it simple +QT_PV=$(ver_cut 1-2):6 + +DESCRIPTION="Python bindings for the Qt framework" +HOMEPAGE="https://www.riverbankcomputing.com/software/pyqt/" + +LICENSE="GPL-3" +SLOT="0" +KEYWORDS="~amd64 ~arm64" +# defaults match what is provided with qtbase by default (except testlib), +# reduces the need to set flags but does increase build time a fair amount +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 +" +# see `grep -r "%Import " sip` and `grep qmake_QT project.py` +REQUIRED_USE=" + designer? ( gui widgets ) + help? ( gui widgets ) + multimedia? ( gui network ) + opengl? ( gui ) + pdfium? ( gui ) + printsupport? ( gui widgets ) + qml? ( network ) + quick3d? ( gui qml ) + quick? ( gui qml ) + spatialaudio? ( multimedia ) + sql? ( widgets ) + svg? ( gui ) + testlib? ( gui widgets ) + webchannel? ( network ) + websockets? ( network ) + widgets? ( gui ) +" + +# may use qt private symbols wrt qtbase's := +DEPEND=" + >=dev-qt/qtbase-${QT_PV}=[dbus?,gles2-only=,gui?,network?,opengl?,sql?,ssl=,widgets?,xml?] + bluetooth? ( >=dev-qt/qtconnectivity-${QT_PV}[bluetooth] ) + dbus? ( + dev-python/dbus-python[${PYTHON_USEDEP}] + sys-apps/dbus + ) + designer? ( >=dev-qt/qttools-${QT_PV}[designer] ) + help? ( >=dev-qt/qttools-${QT_PV}[assistant] ) + multimedia? ( >=dev-qt/qtmultimedia-${QT_PV} ) + nfc? ( >=dev-qt/qtconnectivity-${QT_PV}[nfc] ) + opengl? ( + gles2-only? ( media-libs/libglvnd ) + ) + pdfium? ( >=dev-qt/qtwebengine-${QT_PV}[pdfium,widgets?] ) + positioning? ( >=dev-qt/qtpositioning-${QT_PV} ) + qml? ( >=dev-qt/qtdeclarative-${QT_PV}[widgets?] ) + quick3d? ( >=dev-qt/qtquick3d-${QT_PV} ) + quick? ( >=dev-qt/qtdeclarative-${QT_PV}[opengl] ) + sensors? ( >=dev-qt/qtsensors-${QT_PV} ) + serialport? ( >=dev-qt/qtserialport-${QT_PV} ) + speech? ( >=dev-qt/qtspeech-${QT_PV} ) + svg? ( >=dev-qt/qtsvg-${QT_PV} ) + webchannel? ( >=dev-qt/qtwebchannel-${QT_PV} ) + websockets? ( >=dev-qt/qtwebsockets-${QT_PV} ) +" +RDEPEND=" + ${DEPEND} + >=dev-python/PyQt6-sip-13.6[${PYTHON_USEDEP}] +" +BDEPEND=" + >=dev-python/PyQt-builder-1.15[${PYTHON_USEDEP}] + >=dev-python/sip-6.8[${PYTHON_USEDEP}] + >=dev-qt/qtbase-${QT_PV} + dbus? ( virtual/pkgconfig ) +" + +src_prepare() { + default + + # hack: PyQt-builder runs qmake without our arguments and calls g++ + # or clang++ depending on what qtbase was built with, not used for + # building but fails with -native-symlinks + mkdir "${T}"/cxx || die + local cxx + ! cxx=$(type -P "${CHOST}"-g++) || ln -s -- "${cxx}" "${T}"/cxx/g++ || die + ! cxx=$(type -P "${CHOST}"-clang++) || ln -s -- "${cxx}" "${T}"/cxx/clang++ || die + PATH=${T}/cxx:${PATH} +} + +python_configure_all() { + append-cxxflags -std=c++17 # for old gcc / clang that use <17 (bug #892331) + append-cxxflags ${CPPFLAGS} # respect CPPFLAGS notably for DISTUTILS_EXT=1 + + pyqt_use_enable() { + local state=$(usex ${1} --enable= --disable=) + shift + echo ${*/#/${state}} + } + + DISTUTILS_ARGS=( + --jobs="$(makeopts_jobs)" + --qmake="$(qt6_get_bindir)"/qmake + --qmake-setting="$(qt6_get_qmake_args)" + --verbose + --confirm-license + + --enable=QtCore + + $(pyqt_use_enable bluetooth QtBluetooth) + $(pyqt_use_enable dbus QtDBus) + $(pyqt_use_enable designer QtDesigner) + $(pyqt_use_enable help QtHelp) + $(pyqt_use_enable gui QtGui) + #--disable=QtLocation # force-disabled in project.py + $(pyqt_use_enable multimedia QtMultimedia \ + $(usev widgets QtMultimediaWidgets)) + $(pyqt_use_enable network QtNetwork) + $(pyqt_use_enable nfc QtNfc) + $(pyqt_use_enable opengl QtOpenGL \ + $(usev widgets QtOpenGLWidgets)) + $(pyqt_use_enable pdfium QtPdf \ + $(usev widgets QtPdfWidgets)) + $(pyqt_use_enable positioning QtPositioning) + $(pyqt_use_enable printsupport QtPrintSupport) + $(pyqt_use_enable qml QtQml) + $(pyqt_use_enable quick QtQuick \ + $(usev widgets QtQuickWidgets)) + $(pyqt_use_enable quick3d QtQuick3D) + --disable=QtRemoteObjects # not packaged + $(pyqt_use_enable sensors QtSensors) + $(pyqt_use_enable serialport QtSerialPort) + $(pyqt_use_enable spatialaudio QtSpatialAudio) + $(pyqt_use_enable sql QtSql) + $(pyqt_use_enable svg QtSvg \ + $(usev widgets QtSvgWidgets)) + $(pyqt_use_enable testlib QtTest) + $(pyqt_use_enable speech QtTextToSpeech) + $(pyqt_use_enable webchannel QtWebChannel) + $(pyqt_use_enable websockets QtWebSockets) + $(pyqt_use_enable widgets QtWidgets) + $(pyqt_use_enable xml QtXml) + + $(usev debug '--debug --qml-debug --tracing') + + $(usev !dbus --no-dbus-python) + # note: upstream currently intentionally skips installing these two + # plugins when using wheels w/ pep517 so, *if* something does need + # them, it will need to be handled manually + $(usev !designer --no-designer-plugin) + $(usev !qml --no-qml-plugin) + + $(usev !gles2-only --disabled-feature=PyQt_OpenGL_ES2) + $(usev !opengl --disabled-feature=PyQt_OpenGL) + $(usev !ssl --disabled-feature=PyQt_SSL) + + # intended for Windows / Android or others + --disable=QAxContainer + --disabled-feature=PyQt_Permissions + ) +} + +python_install_all() { + einstalldocs + use examples && dodoc -r examples +} diff --git a/dev-python/backports-tarfile/Manifest b/dev-python/backports-tarfile/Manifest index 11d0bd0768ea..f5841c7665b4 100644 --- a/dev-python/backports-tarfile/Manifest +++ b/dev-python/backports-tarfile/Manifest @@ -1,3 +1,3 @@ DIST backports_tarfile-1.1.1.tar.gz 84734 BLAKE2B 7691aaf4bd66e6fd6ad32dc9f4c4c51887ab502d302dae4931c72076b97d55b7646a716fd0dcd04dfc955a8dbf195d3804800b79375ecac1631fd633aefe2d12 SHA512 59ff0f6d78a0b4b2d868026a2f82375a7bfa3b1a09a96c0d6eaf0620c99ec379c22e12e6222677ca9c430349d40714f265ad879390789d63b8d322a31a7c1923 -EBUILD backports-tarfile-1.1.1.ebuild 1160 BLAKE2B 730c387406d385ac3a914ba03948b126f6c71f8163c4b95707459a92c0edf86eeaabe056e606ddb56cfd12879068d9f27f6710c4cd3507add8f2ece9da8254bf SHA512 c0dbcf3b87443dfcec2d6d95e68af94108858ecc774972e498564f322a42329d365e52ea7c2ae144ab36c222120dd1a350aa8bcf9b3a05729b1ea0f65d671651 +EBUILD backports-tarfile-1.1.1.ebuild 1161 BLAKE2B b09da4aee0e3ca2d7c5a80df354c0e988b935a8b64ab69352da7b6d8ab089b23b4a3252310a9eef1da4a8e02f7fd7aeb3f277b960ff23e47038fbf6644d262dd SHA512 642e766489ae20aef73250c183c1e87cb7b4b92e66ddd011acbae414bdd59d29268093d79c8ceabb3bbbe4c834dcf3ebe5ffe1f22a8a6fa49aa7be4d6b9c4c0e MISC metadata.xml 387 BLAKE2B f9f0136e2308996c5c4dc5daac7bfd5b700e2249e11dbfc3417dc6bca363dfd2bf654d89392bf818a3963b14d1369052b06788e0367d61fdad36f5b3b2607b51 SHA512 27d9d5892c219d5346046aab5f157a66d8df942f5bbf1f40d06124b4263086ac96d7bac6745e0a0adc8a0e01df12b22b95dcecc4418e90fce6db981934332077 diff --git a/dev-python/backports-tarfile/backports-tarfile-1.1.1.ebuild b/dev-python/backports-tarfile/backports-tarfile-1.1.1.ebuild index 4be7291e2d0d..e49cc31d1125 100644 --- a/dev-python/backports-tarfile/backports-tarfile-1.1.1.ebuild +++ b/dev-python/backports-tarfile/backports-tarfile-1.1.1.ebuild @@ -24,7 +24,7 @@ KEYWORDS="amd64 arm arm64 ~ia64 ~m68k ppc ppc64 ~riscv ~s390 x86" BDEPEND=" test? ( dev-python/jaraco-test[${PYTHON_USEDEP}] - <dev-python/pytest-8.1[${PYTHON_USEDEP}] + =dev-python/pytest-8.0*[${PYTHON_USEDEP}] ) " diff --git a/dev-python/black/Manifest b/dev-python/black/Manifest index 8951d6769797..b40eab585d54 100644 --- a/dev-python/black/Manifest +++ b/dev-python/black/Manifest @@ -1,7 +1,9 @@ DIST black-24.3.0.tar.gz 634292 BLAKE2B 9a853a0943ba081ecb7a4c22913b060607ac47fb90b70a9645358d681f3eab55707ad6fe9ad9928ba0d39a8adf5dfde0168598a8abcc24b823b407287cefaf82 SHA512 57e3b651009578f1d15b6e9ffb49d24be80885b2cf7ad48a68407862778ac2099d119e7ba6d58ddea4fc7fc21345435a7572a970baf882f763d9347868d5504b DIST black-24.4.0.tar.gz 635902 BLAKE2B 2821c0f4674524d3457fb8cbf1f1224d9c7e76abdbb1e47bcd4d488ff560a417b3ad57223318b28951c92c59d13c4a2894a323865a2be2859e7b7e891c54064c SHA512 3f9150faa36413ffff3a65f9f55b33a6b69b3abec5bf649bfc0662a92faa41edc76e90151e27a74f04bc3defc0687c898d54b2f137d16d13ea46e86670aa7a98 DIST black-24.4.1.tar.gz 641335 BLAKE2B 996528509a71d8e2b8cb8e1ebf1beac5d2460d0759de77805645ca293a648aac8a658a4b9e6b239b591e9e4e43c0af66c7a972ca0b1ecc6d9aef911f559c0cff SHA512 057c2cc2ff47111487a46bfc50b961c719f92caaca49494a6cc57bb5e8aa19d0d47a7f3164421e104ef2815060e7d771a9532e970e07e1c2ce709b4cf7e99656 +DIST black-24.4.2.tar.gz 642299 BLAKE2B aa62394dc4a14fd6dd49502a86e46e7f707d6342127e2fb3b5cb7365ab392f5a0514df548d30219e9b6ed1f9d8ca80241ea206a06011ef8dc3d770191d3328ce SHA512 f3fb63fdbff947a217ad371939a6eaac1e818f58fb924516639f3c9469f0db6fbda8d4b207163d4a6db8a58a048fefe46fbfdb1ddf40f91348bd767208e60f35 EBUILD black-24.3.0.ebuild 1290 BLAKE2B 5962d7c8e952593e434659fea807c4d1bc493b6cb0ad1deb1491a7fdc1caab1b7d610d0b6c440f1eb510bc4eff1d33e70107aeaf44d4437eef657962b2e370f7 SHA512 c86d78e58d13a3d6027c5e949088b76dab5442a704e83b85435f8ee4fe7a50e13f273a78f6dd66fa35d5205054468b590b263267e7d4b50cf87f2286a9fb1b27 EBUILD black-24.4.0.ebuild 1298 BLAKE2B bccd3fc4e776dfa3e12cbcb543c3f8ea314e7e4fcd9d9bb0701d00b55c04fa03545276ee33b5460d2c7f3f6dd1da0f7c166fd39ed441cd2c5b8ea6950f957f5b SHA512 1d8a364628457c20430538a69aefa6a2306491f53d95bda2a751d9c2003c25639d3c86dede4d18a07f2e3455f2035dea7c109e350a59504e8853a7f1828a797f EBUILD black-24.4.1.ebuild 1298 BLAKE2B bccd3fc4e776dfa3e12cbcb543c3f8ea314e7e4fcd9d9bb0701d00b55c04fa03545276ee33b5460d2c7f3f6dd1da0f7c166fd39ed441cd2c5b8ea6950f957f5b SHA512 1d8a364628457c20430538a69aefa6a2306491f53d95bda2a751d9c2003c25639d3c86dede4d18a07f2e3455f2035dea7c109e350a59504e8853a7f1828a797f +EBUILD black-24.4.2.ebuild 1298 BLAKE2B bccd3fc4e776dfa3e12cbcb543c3f8ea314e7e4fcd9d9bb0701d00b55c04fa03545276ee33b5460d2c7f3f6dd1da0f7c166fd39ed441cd2c5b8ea6950f957f5b SHA512 1d8a364628457c20430538a69aefa6a2306491f53d95bda2a751d9c2003c25639d3c86dede4d18a07f2e3455f2035dea7c109e350a59504e8853a7f1828a797f MISC metadata.xml 446 BLAKE2B 7d9bdbc4fdd62c1b4278a824a75dede64ccd3a4d865722a99edbd4e316342879eefa7b249c453668a5d33009e134e2feb4d1ac01976146c3e988f3724749d4a4 SHA512 0a3a912fc1d439a92452e48c9749705cd2307e645bb1274d22265656f6101574edda79cf04c03ae512818e7077e404f79fb1f70fd68d9c7cd3be3417f991700d diff --git a/dev-python/black/black-24.4.2.ebuild b/dev-python/black/black-24.4.2.ebuild new file mode 100644 index 000000000000..bbf320447679 --- /dev/null +++ b/dev-python/black/black-24.4.2.ebuild @@ -0,0 +1,48 @@ +# Copyright 2020-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=hatchling +PYTHON_COMPAT=( python3_{10..12} pypy3 ) + +inherit distutils-r1 optfeature pypi + +DESCRIPTION="The uncompromising Python code formatter" +HOMEPAGE=" + https://black.readthedocs.io/en/stable/ + https://github.com/psf/black/ + https://pypi.org/project/black/ +" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~x64-macos" + +RDEPEND=" + >=dev-python/click-8.0.0[${PYTHON_USEDEP}] + >=dev-python/mypy_extensions-0.4.3[${PYTHON_USEDEP}] + >=dev-python/packaging-22.0[${PYTHON_USEDEP}] + >=dev-python/pathspec-0.9.0[${PYTHON_USEDEP}] + >=dev-python/platformdirs-2[${PYTHON_USEDEP}] + $(python_gen_cond_dep ' + >=dev-python/tomli-1.1.0[${PYTHON_USEDEP}] + ' 3.10) +" +BDEPEND=" + dev-python/hatch-fancy-pypi-readme[${PYTHON_USEDEP}] + dev-python/hatch-vcs[${PYTHON_USEDEP}] + test? ( + >=dev-python/aiohttp-3.7.4[${PYTHON_USEDEP}] + dev-python/aiohttp-cors[${PYTHON_USEDEP}] + dev-python/colorama[${PYTHON_USEDEP}] + dev-python/parameterized[${PYTHON_USEDEP}] + ) +" + +distutils_enable_tests pytest + +pkg_postinst() { + optfeature "blackd - HTTP API for black" \ + "dev-python/aiohttp dev-python/aiohttp-cors" +} diff --git a/dev-python/boto3/Manifest b/dev-python/boto3/Manifest index ab0cdca78be2..bd118c9e88ad 100644 --- a/dev-python/boto3/Manifest +++ b/dev-python/boto3/Manifest @@ -4,10 +4,12 @@ DIST boto3-1.34.88.gh.tar.gz 798806 BLAKE2B 2d3e02f0584e138a75acb68593bd88126641 DIST boto3-1.34.89.gh.tar.gz 799495 BLAKE2B 2d719b0c2e09f0387dbe317f76555b36fda7a1f364b02df2ba8387460e98493edec8d57d75bdf9cfd1446e00423ebad1a0ef954e05807102cb980c7321b6909b SHA512 2f9ca1c725f75a8470334449b683f5fbc77477f65e6b0d69f5549c479a2697931e3f4d3350c8f22a8e78b7e9c1401553f04f37746654988c150de9230a34acfa DIST boto3-1.34.90.gh.tar.gz 800389 BLAKE2B cd604cf39479af676c46b7fd1e5a8ee24e46ec384d97c50b15f80c2d96a5f46ad1c66a8a34a03ccffdf37cf386e7dcc455dc38543fc9c919f9c2b18be6e402bb SHA512 480824e36f9f118b0813b391818a4214bb1861e322099cfbc2e7f5e20a088799d2e3c1c4e745ead86dde634b2f2b46656dec872025c0d5b3b608859fc8c9d9c8 DIST boto3-1.34.91.gh.tar.gz 800954 BLAKE2B 40bbc688a006666e85b07d8f40f291ced5d6ffa0a26980bb89e353f7e300960bbff74c46554d8d4805b0cfd6723f8fa8b75f54908a255c9bc0d341ae23000265 SHA512 e8db938b1af6753c65b42f764ec1f4783d33dc889cadc76715f7fd6053a29149163e328593315f2d900a9d5d46fe0ab451bbba597180dbabd654dbac83b75b2c +DIST boto3-1.34.92.gh.tar.gz 801544 BLAKE2B ec5e6aabcbc51f7fd0ce235b124489e5bf3375d346c9922430114a8e79d56544c90e91eb861393c63b191a1bdaa8eb04d6d59a40095c785741c59acde411d523 SHA512 349fbdc017da180d5f5d53a8d22c49203bbe633e8d98db71c9ec2be7dc8a78deedae7d0e256d827e2b75608374283ec9946b9c43aa9dd80504fd88fc8f8b65a8 EBUILD boto3-1.34.79.ebuild 1198 BLAKE2B c863be0c9348383129a919e79acbc6962b7c3973f77f68c85df6944a7658a2b39a44a91d904b7fee34ffb849e904e7bf6a503ca35a56085f2b04f40cbb70d4d4 SHA512 10a7f8345e1dc13766f1a15a127a885a42f7750f15c53b25fcba2ef033083192b7381cb53cd7be6c8c876bc1422f615578f730efca83c71ece042593282043a6 EBUILD boto3-1.34.84.ebuild 1205 BLAKE2B 27d096dc4f88c8351e0857e9f8b4195060f3f1218e1734c699a832246cc59e081cda9ee7369e3b44706e7ce8ef390e8792e273aff7f6e92a75c69461fc1136d6 SHA512 cca4aef410e4fb2ef71181a15233da830df39d8b7f1e779b5d6a8df74eb602afee11b8965e0ca9254cb87155a8514b43fcc0de09f681ecec9a384a904f3fe0b2 EBUILD boto3-1.34.88.ebuild 1205 BLAKE2B 27d096dc4f88c8351e0857e9f8b4195060f3f1218e1734c699a832246cc59e081cda9ee7369e3b44706e7ce8ef390e8792e273aff7f6e92a75c69461fc1136d6 SHA512 cca4aef410e4fb2ef71181a15233da830df39d8b7f1e779b5d6a8df74eb602afee11b8965e0ca9254cb87155a8514b43fcc0de09f681ecec9a384a904f3fe0b2 EBUILD boto3-1.34.89.ebuild 1205 BLAKE2B 27d096dc4f88c8351e0857e9f8b4195060f3f1218e1734c699a832246cc59e081cda9ee7369e3b44706e7ce8ef390e8792e273aff7f6e92a75c69461fc1136d6 SHA512 cca4aef410e4fb2ef71181a15233da830df39d8b7f1e779b5d6a8df74eb602afee11b8965e0ca9254cb87155a8514b43fcc0de09f681ecec9a384a904f3fe0b2 EBUILD boto3-1.34.90.ebuild 1205 BLAKE2B 27d096dc4f88c8351e0857e9f8b4195060f3f1218e1734c699a832246cc59e081cda9ee7369e3b44706e7ce8ef390e8792e273aff7f6e92a75c69461fc1136d6 SHA512 cca4aef410e4fb2ef71181a15233da830df39d8b7f1e779b5d6a8df74eb602afee11b8965e0ca9254cb87155a8514b43fcc0de09f681ecec9a384a904f3fe0b2 EBUILD boto3-1.34.91.ebuild 1205 BLAKE2B 27d096dc4f88c8351e0857e9f8b4195060f3f1218e1734c699a832246cc59e081cda9ee7369e3b44706e7ce8ef390e8792e273aff7f6e92a75c69461fc1136d6 SHA512 cca4aef410e4fb2ef71181a15233da830df39d8b7f1e779b5d6a8df74eb602afee11b8965e0ca9254cb87155a8514b43fcc0de09f681ecec9a384a904f3fe0b2 +EBUILD boto3-1.34.92.ebuild 1205 BLAKE2B 27d096dc4f88c8351e0857e9f8b4195060f3f1218e1734c699a832246cc59e081cda9ee7369e3b44706e7ce8ef390e8792e273aff7f6e92a75c69461fc1136d6 SHA512 cca4aef410e4fb2ef71181a15233da830df39d8b7f1e779b5d6a8df74eb602afee11b8965e0ca9254cb87155a8514b43fcc0de09f681ecec9a384a904f3fe0b2 MISC metadata.xml 493 BLAKE2B 7d6324fc877ffe1d20c5369c2af0b09a7028f94d28f1841188913d0d8be7ea699c9d3f92c624992c4c96bd69615d3a1211a2483c76c56b7d3082492e43512523 SHA512 44420d8c03d5986f990b76369edfa8dfd7659b4952db3ad946fd05392ec594628a28745ad888d055d4f074d5214f61fcffafe6c04c4ab54109d45ac0371582bd diff --git a/dev-python/boto3/boto3-1.34.92.ebuild b/dev-python/boto3/boto3-1.34.92.ebuild new file mode 100644 index 000000000000..2c733040b7a3 --- /dev/null +++ b/dev-python/boto3/boto3-1.34.92.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..12} ) + +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 5d3987be7b79..237037390a9d 100644 --- a/dev-python/botocore/Manifest +++ b/dev-python/botocore/Manifest @@ -4,10 +4,12 @@ DIST botocore-1.34.88.gh.tar.gz 12931548 BLAKE2B b3cc4c44ec0fa93798e842226487f29 DIST botocore-1.34.89.gh.tar.gz 12942425 BLAKE2B f2df9f8e1c90a55ec9c4a1695dd9d9eb4851d77d9f8a56f34df0ef34aaf580c655be726f3fb4ae3f63c7d69d73a4b3af5329f742229422712f191ddf6f028cf7 SHA512 35bdb67111d811a3b61ec23605fdca9607029102ab4873575c2901cc1075d441a27d72131365c3bc1b6fccf75336c99911f7dbe3def46a1ff4d3839fbe3f24f6 DIST botocore-1.34.90.gh.tar.gz 12959004 BLAKE2B e80aa5ec0727db538ccbdac357431a3015494aa10da2d4a0e9ff6fb5080eaab38494933c3d3678fbf9d1266007a5edfc742b5a65a6be8e26edb8e3e11de255b5 SHA512 a6eb45e36ff189edf7915667719112279a07133ce7ef9bfe94c18c8e5ab6df4b734a00d973986f9f74ed7e475fa72461457a7633464973e720f38cf828f2ecc8 DIST botocore-1.34.91.gh.tar.gz 12975028 BLAKE2B 0a4d4ca5530411148e7df7be4f937741457e44b3cf7774ded834db58ce9d6fd05f0fed6aaac1283ee410b6914d4825387c36545b17b1e78cf89175d560445071 SHA512 aad3f747ca49f58eed1116c303202e29bb0cec0a9816c5436bf75881d46b4c363e9aebbc039b3f6c6faedaf81cbea03d635b744fffb9f740cdb4c1d3ff21724f +DIST botocore-1.34.92.gh.tar.gz 12978936 BLAKE2B 64fda2f4b1cbaa31c3d9148039c0db44e54811245186abf014ce1f3a635cb52f5bcef1180f082fed27300314ebd3b79887f364698b4df131f6534dc3bd694444 SHA512 4923a04ac00d325f7d8b3dd69b11d82130abf642afd5a7abb22620062ff9f8859940d9dea1ff15bc3ace546e7b85ddb0e56a30e472ee8adf4406124c9587fe09 EBUILD botocore-1.34.79.ebuild 1477 BLAKE2B 784b43f060f0702808a3894fdab7a15dd4b4feeffc3c1ab2fe24cca762b2dc1310f40ae5b2941db5c4aa9c4ff8b69d858520826027a50ce975d25150132b4d56 SHA512 e86970ec900929641794d61e02f26bc7e7c8af803095dcc5c8fbedac9d79275c596176f2b492061289056c7d29ebbaa6e64344148f22b6349ac4420ab5038dca EBUILD botocore-1.34.84.ebuild 1484 BLAKE2B 30f7e11da3d7c36574e721023e7a0dba6ffe87172afec095dec711b929274a58d6a1352d131df44cd36598f11dda34df8d2e51e723b62e8ac096437360526aa6 SHA512 699735f1b1feb67c3b03d3e3787b45bfa3bc2ac6f639881b9414cdfc4aea5bb022d2e701d09061de5a237dcf3f32be4668b7ebc3f12cd950765b439d1ea4d88c EBUILD botocore-1.34.88.ebuild 1484 BLAKE2B 30f7e11da3d7c36574e721023e7a0dba6ffe87172afec095dec711b929274a58d6a1352d131df44cd36598f11dda34df8d2e51e723b62e8ac096437360526aa6 SHA512 699735f1b1feb67c3b03d3e3787b45bfa3bc2ac6f639881b9414cdfc4aea5bb022d2e701d09061de5a237dcf3f32be4668b7ebc3f12cd950765b439d1ea4d88c EBUILD botocore-1.34.89.ebuild 1484 BLAKE2B 30f7e11da3d7c36574e721023e7a0dba6ffe87172afec095dec711b929274a58d6a1352d131df44cd36598f11dda34df8d2e51e723b62e8ac096437360526aa6 SHA512 699735f1b1feb67c3b03d3e3787b45bfa3bc2ac6f639881b9414cdfc4aea5bb022d2e701d09061de5a237dcf3f32be4668b7ebc3f12cd950765b439d1ea4d88c EBUILD botocore-1.34.90.ebuild 1484 BLAKE2B 30f7e11da3d7c36574e721023e7a0dba6ffe87172afec095dec711b929274a58d6a1352d131df44cd36598f11dda34df8d2e51e723b62e8ac096437360526aa6 SHA512 699735f1b1feb67c3b03d3e3787b45bfa3bc2ac6f639881b9414cdfc4aea5bb022d2e701d09061de5a237dcf3f32be4668b7ebc3f12cd950765b439d1ea4d88c EBUILD botocore-1.34.91.ebuild 1484 BLAKE2B 30f7e11da3d7c36574e721023e7a0dba6ffe87172afec095dec711b929274a58d6a1352d131df44cd36598f11dda34df8d2e51e723b62e8ac096437360526aa6 SHA512 699735f1b1feb67c3b03d3e3787b45bfa3bc2ac6f639881b9414cdfc4aea5bb022d2e701d09061de5a237dcf3f32be4668b7ebc3f12cd950765b439d1ea4d88c +EBUILD botocore-1.34.92.ebuild 1484 BLAKE2B 30f7e11da3d7c36574e721023e7a0dba6ffe87172afec095dec711b929274a58d6a1352d131df44cd36598f11dda34df8d2e51e723b62e8ac096437360526aa6 SHA512 699735f1b1feb67c3b03d3e3787b45bfa3bc2ac6f639881b9414cdfc4aea5bb022d2e701d09061de5a237dcf3f32be4668b7ebc3f12cd950765b439d1ea4d88c MISC metadata.xml 499 BLAKE2B e5aaa7da26f200c09adfdf38b68f656bbccbec627cb5d966b280ac2165334e7eec659c89075bcace748f58e2ec3e7d2998e54a688d56ecea2d30653c67dfd35a SHA512 103c554d5dbd967bf9b6e418b3913d9235e7e910d012160909ce0715134ed2e37b06e6a345395f9d16ce08d1cf51f3ce458bce93c6a978fd3dca6610f2acdbd0 diff --git a/dev-python/botocore/botocore-1.34.92.ebuild b/dev-python/botocore/botocore-1.34.92.ebuild new file mode 100644 index 000000000000..ba6cd2a5d2a2 --- /dev/null +++ b/dev-python/botocore/botocore-1.34.92.ebuild @@ -0,0 +1,67 @@ +# 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..12} ) + +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 + ) + + local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1 + epytest tests/{functional,unit} +} diff --git a/dev-python/dask-expr/Manifest b/dev-python/dask-expr/Manifest index 7f16353e5856..e7619c0006eb 100644 --- a/dev-python/dask-expr/Manifest +++ b/dev-python/dask-expr/Manifest @@ -1,7 +1,9 @@ DIST dask-expr-1.0.11.gh.tar.gz 242347 BLAKE2B 38b35e4558fc589738d98b59bcaa378351dfa11110c3a7fd7919b709db1ef5b5b97fd431aa2fc07ba69ec41012c91667873615fea763efee2d8f07b99eee910e SHA512 ddd4cd3582dc843a3dd7702f5a457df44d97b7b3828629d702c209f4b84fc1410b059029f82dc167ebefbf3de148aed7f54ecc69241c179c86bf66f9bbd19f41 DIST dask-expr-1.0.12.gh.tar.gz 253354 BLAKE2B 566075d45e3d3b0521cf686b231c0e17f8f445ac95f81f8f32a10c2627cba62e243c02b4ef8d8eed88771df6ce52f88923c5d6fad94a84f950c33ffc70ea550f SHA512 423797cb6142761bbaf56970f474ecf96b047675c8032f2e73427158320f3dd012e861cd9c86560c75c51b9e1350b1081ad5bd0943cde6522b3c21a799fee307 +DIST dask-expr-1.0.13.gh.tar.gz 253953 BLAKE2B a3261ef74ec46835b29223a81ac7a69ae36599af4a092ac87876ca64fc764c1b042b14d39bf624132b2d3623979263ed382f6938793d0d7e1ded7679d0971b32 SHA512 5d32b7cdcc9004ca761ab1c16cccab8bd9487f528d0b09a98b5557ff24bf0a4e432e86b1fcb4e4a1ca78b38848ca85a0b6760a904917141cb73d8d27d80a876c DIST dask-expr-1.0.5.gh.tar.gz 239409 BLAKE2B 0fae8540f40cbdead823f300a68df239bb838bb88d34c000b6d29ee451609a4cfc4422586cbf1fc3d2e10b50ffab6e8a2414c14c00635d929d92d7e40b1abff5 SHA512 3baf9e1aca78bc8158bce0e6beb323e511fa5717578bb10bfce27ec38a8f7b6e25b21edeffc669a1ac5f4a987dbbd948bba0f4375f3c5b329d13fab7093708ea EBUILD dask-expr-1.0.11.ebuild 1387 BLAKE2B f82a26591e7316b1c7d679644963ba9d40554cf145adf9d0df031cd2a11572dd4ea5ab105d57ec79545a3a8e793f7a1260906baa4d4150b87e97a2233aa868ab SHA512 38735e12722d1718cbb6144374eaab468e988af516242667378f91fda7c674abfdd134e34d6849323614c45244c396f4e56ab577606a5f82790ff55a25f59351 EBUILD dask-expr-1.0.12.ebuild 1387 BLAKE2B 6262ae4074b2ddcbc3ef89530e81ee3a8a653fc1bc00c5965cf7e52ab32c5c9de56d547f3ef06099c1de1808ef50039512f048a05a6ef82e21ab1882a4cbe32b SHA512 70fa8da4a65b69ea04240da29e1c00480a7d6087358f77486cb7b8472af09932da2980297e1e090b7f14d6ada9f7c950698353f15c1fc1e96a90575c6803a453 +EBUILD dask-expr-1.0.13.ebuild 1456 BLAKE2B d4ec7a2b959116a3d6b26475d055222dfb5708e81fffa24b88c366a46e70c290bb9e86c99f144cfcb9e2220677a125118329773d95956f2fa77d541a2f16547c SHA512 6891033d9a74a6ab48d4fbabe79fa23a08c2b091b7f6b3afd16394847d4019724960dce7b8dff0fd1d8a0ce81346c1749a2d12894cce8675949194a38bf769a7 EBUILD dask-expr-1.0.5.ebuild 1386 BLAKE2B d506750ffcd0b0b0a7fc5dbdeda206af53e20d538879666c0ebb596ebb2cc7a9cff11016f46290e2279c2f030e052659fff93ba8421a9e85324cdc5255101e06 SHA512 09f5156a6fed8e32d83e1129c1cbddb579b715c11ed23589e76143ec06df9c11012cc7517e7a234eaa1366539be0d1cdca7dbfe276ed1129fbd49e468e0e4dec MISC metadata.xml 369 BLAKE2B 38dfcaeb0144094d8da213fdf05186a59db6d252f0328ffb3b4030e2a4db300e4af0f1f06a868eb80c68f831fc25aaab450f951890db737924662560087dc5fb SHA512 b6ab843478467faa7561eff3282e19fcf0e4e5280c22b5cf1ae4179b75c6e58ad8e98950ae6323099e4ec867220a59bc053962ca3fcb7c38004c9fd244cc1712 diff --git a/dev-python/dask-expr/dask-expr-1.0.13.ebuild b/dev-python/dask-expr/dask-expr-1.0.13.ebuild new file mode 100644 index 000000000000..c853f4410855 --- /dev/null +++ b/dev-python/dask-expr/dask-expr-1.0.13.ebuild @@ -0,0 +1,65 @@ +# 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..12} ) + +inherit distutils-r1 + +DESCRIPTION="High Level Expressions for Dask" +HOMEPAGE=" + https://github.com/dask/dask-expr/ + https://pypi.org/project/dask-expr/ +" +# pypi tarball removes tests, as of 1.0.1 +SRC_URI=" + https://github.com/dask/dask-expr/archive/v${PV}.tar.gz + -> ${P}.gh.tar.gz +" + +LICENSE="BSD" +SLOT="0" +KEYWORDS="~amd64 ~arm64 ~riscv" + +RDEPEND=" + >=dev-python/dask-2024.4.2[${PYTHON_USEDEP}] + >=dev-python/pyarrow-7.0.0[${PYTHON_USEDEP}] + >=dev-python/pandas-2[${PYTHON_USEDEP}] +" +# TODO: make pandas depend on pyarrow unconditionally? we're having +# transitive deps here. +BDEPEND=" + dev-python/versioneer[${PYTHON_USEDEP}] + test? ( + dev-libs/apache-arrow[parquet,snappy] + dev-python/pyarrow[parquet,${PYTHON_USEDEP}] + ) +" + +EPYTEST_XDIST=1 +distutils_enable_tests pytest + +src_prepare() { + # unpin + sed -i -e '/dask/s:==:>=:' pyproject.toml || die + distutils-r1_src_prepare +} + +python_test() { + local EPYTEST_DESELECT=( + # requires distributed + 'dask_expr/tests/test_shuffle.py::test_respect_context_shuffle[shuffle]' + # TODO + dask_expr/tests/test_groupby.py::test_groupby_index_array + ) + local EPYTEST_IGNORE=( + # requires distributed + dask_expr/io/tests/test_parquet.py + dask_expr/tests/test_diagnostics.py + ) + + local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1 + epytest +} diff --git a/dev-python/importlib-resources/Manifest b/dev-python/importlib-resources/Manifest index fa90fa52398e..751f752552c8 100644 --- a/dev-python/importlib-resources/Manifest +++ b/dev-python/importlib-resources/Manifest @@ -1,3 +1,3 @@ DIST importlib_resources-6.4.0.tar.gz 42040 BLAKE2B 55b52a42051c6900af7b5b70783476a48398ae02539871a3f508df08fd5b4ec03bbe40980de8cd49a60cc022905a4ffdfd95b55d70e0cfb5d64497b02cc9b88f SHA512 c600e7ba96431f15a929e5acda89a262ceef33a3f44ae361fad4201dde8033dd8f0f2bcb856619fd5e21209a5d17cf9ae3610e65c3e6ecd0e36545437d0064b9 -EBUILD importlib-resources-6.4.0.ebuild 656 BLAKE2B 8d2e9bd30fce9fdb38cf1307ab2083359551328c69b3283890bcb9142e8ac6b26449aef8148f3f6cbdb96999876bf0019409a9f96065dbae6eb6d38db2d665ff SHA512 76c22996d368524c11de46976658435837de974d2df4dabbe46f2b8158f50935fb0d9c471489a96bf6e5fbc381025a4c48467b76f846aeb0e72b4507422d2d63 +EBUILD importlib-resources-6.4.0.ebuild 663 BLAKE2B 9b5d295b4182ac38648795ff803b765aa2d23546fdd85795e4029d81acd8418e7aae84c217861c0d4db1c2e01e6a3153678878afb219baf42347838dc197f95e SHA512 b6c576aa68cc0848e0594adac2a67a1308d92de990c842162d7b13e31e4eba0f2a2eabb38bb8794b5eb750173d6ed17bfafe94e16b6b9d6908a93c9ea2447e3d MISC metadata.xml 544 BLAKE2B bf09c5e67d73a3b6aa1f155da9da56861323d085eb87ec5b778e23913125c3291b497fa6b1331ec81a72f2bca9ccbfcd6e7376b25db90ff74adaa567f71c27ee SHA512 71fe2e33b069ce288df3e748adf3d45573b141995c23b4e41582af91bdf4de421d067aadfc8824776c230ea8adb76d836f94ee23ecabf95372b15f872a4a10ea diff --git a/dev-python/importlib-resources/importlib-resources-6.4.0.ebuild b/dev-python/importlib-resources/importlib-resources-6.4.0.ebuild index fe92189152c2..3f36b1f05ef1 100644 --- a/dev-python/importlib-resources/importlib-resources-6.4.0.ebuild +++ b/dev-python/importlib-resources/importlib-resources-6.4.0.ebuild @@ -17,7 +17,7 @@ HOMEPAGE=" LICENSE="Apache-2.0" SLOT="0" -KEYWORDS="~amd64 ~arm ~arm64 ~x86" +KEYWORDS="~amd64 ~arm ~arm64 ~riscv ~x86" BDEPEND=" dev-python/setuptools-scm[${PYTHON_USEDEP}] diff --git a/dev-python/ipython/Manifest b/dev-python/ipython/Manifest index bf09f761002a..1fb0e1c1bef4 100644 --- a/dev-python/ipython/Manifest +++ b/dev-python/ipython/Manifest @@ -1,6 +1,8 @@ AUX 2.1.0-substitute-files.patch 1017 BLAKE2B 70577eb950a18345804a2a4b750bd233dc6a0b6bbdb524dfc66e0f4a7c69b0eeb2d35efb9d1845d567a11d1afa7881068b4757e42b9baf24dc01ba3026608a38 SHA512 fc4c9e12267ac5f04a2e16ad27334a093638538b8149ff380099fcbeb674a276ab9eb624a508010e37f82c05d5f7ab527a80e386b3e7b61c123ecb8effd9d542 DIST ipython-8.22.2.tar.gz 5490399 BLAKE2B 61d7d30d77c0b422ba174ac3c3f17c753502d9469d1d2ba8e3f2583761ab1f26230172b7e2efa680bb8f7ef23ef47cfe56241344380591e3da0da5d15f385727 SHA512 ff9c56b0594e63dbb26aad466eb9449d41db4002da61837363aaff817b99a54f310152994e4d361dfd5b6c40452dedf3eb74825c6d0a7d8c5fff84c1ac20f7ff DIST ipython-8.23.0.tar.gz 5491405 BLAKE2B c4273d20bccdf07283abf9a69b8d64a27be3aa2e0672d14781cd9035ff39a5392518d7e22f45cdd20c8e110111a601d4bdbc36659efde153742de731d574e4be SHA512 4e6f061dba024f5e717f6497706a144c5568c9d650215d898fe8e5efc85b92445f64e2c8eb6ef3c9bfe1a305c9098cc49e79b6d1cc25c8be5add1497682fce28 +DIST ipython-8.24.0.tar.gz 5491819 BLAKE2B 49ca26f4ab6ceb7c787038db5b1073790d7a32cb96951bcc2ffa4ac05b3a689507e654344fda196560e2dc4b9e2225335e27bc3fb7472ba487adebb1ebba44e1 SHA512 adf032a93e94e1e8008a1cc106fb348d0bccb914a335e0ad04490531e7a7d16e7a2dc4a345f7faf1b3151d60a649413fa78130688cb59de088e5eb4291689310 EBUILD ipython-8.22.2.ebuild 4731 BLAKE2B 8077b64b21b8f9b09be19aeed7b78fe8c1ad0a77b07d88fe450c0e56520ad6589363ca7349e85aa8138ad0d0a1d2e195a39f08ef751a4156b2c8766e1f30edf4 SHA512 e198222c69d3b8216f0081a036927eba60826a53b1573c374a3af8e84a822b3d308928fbf6227ec3f59a8d12e82135854a581c7ffc0dea83e6108890d957d2d6 EBUILD ipython-8.23.0.ebuild 4904 BLAKE2B 36cbec3ef184023a11a7e5a4cbb5f33ce5f745d4c05d042c7dacd3851fba49437b892d6acf2ee291621dfc07440253599a39d729f82315414eafb37781323912 SHA512 1638608354874090d46acc916a9c72b2384b3499687a962e3b319c6ae021df34977aa09b0636484cbf1afc8e4694389ffc976c43141bc073f24571ecbffedc00 +EBUILD ipython-8.24.0.ebuild 4904 BLAKE2B 36cbec3ef184023a11a7e5a4cbb5f33ce5f745d4c05d042c7dacd3851fba49437b892d6acf2ee291621dfc07440253599a39d729f82315414eafb37781323912 SHA512 1638608354874090d46acc916a9c72b2384b3499687a962e3b319c6ae021df34977aa09b0636484cbf1afc8e4694389ffc976c43141bc073f24571ecbffedc00 MISC metadata.xml 2802 BLAKE2B 2fb6773ad4ef10d531f978e3ed40f6d99cf1586ec6d7cf2bf7e60fd5d640d082a0946651e0a066993320ffeaace3426066ca24c325926b62125ae91816707128 SHA512 965c3e36e05475d9454af8219b84e080d4c83d775f8a7e20a4951a82246d672c46fd3cb1fff5f8664d0ce8e8fcb846de6f15abc4575db3a6b7d87209194bcecc diff --git a/dev-python/ipython/ipython-8.24.0.ebuild b/dev-python/ipython/ipython-8.24.0.ebuild new file mode 100644 index 000000000000..aa975d4a0a8f --- /dev/null +++ b/dev-python/ipython/ipython-8.24.0.ebuild @@ -0,0 +1,179 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=standalone +PYTHON_COMPAT=( pypy3 python3_{10..12} ) +PYTHON_REQ_USE='readline(+),sqlite,threads(+)' + +inherit distutils-r1 optfeature pypi virtualx + +DESCRIPTION="Advanced interactive shell for Python" +HOMEPAGE=" + https://ipython.org/ + https://github.com/ipython/ipython/ + https://pypi.org/project/ipython/ +" + +LICENSE="BSD" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~arm64-macos ~x64-macos" +IUSE="doc examples notebook nbconvert qt5 +smp test" +RESTRICT="!test? ( test )" + +RDEPEND=" + dev-python/decorator[${PYTHON_USEDEP}] + >=dev-python/jedi-0.16[${PYTHON_USEDEP}] + dev-python/matplotlib-inline[${PYTHON_USEDEP}] + >=dev-python/pexpect-4.3[${PYTHON_USEDEP}] + >=dev-python/prompt-toolkit-3.0.41[${PYTHON_USEDEP}] + <dev-python/prompt-toolkit-3.1[${PYTHON_USEDEP}] + >=dev-python/pygments-2.4.0[${PYTHON_USEDEP}] + dev-python/stack-data[${PYTHON_USEDEP}] + >=dev-python/traitlets-5.13.0[${PYTHON_USEDEP}] + $(python_gen_cond_dep ' + dev-python/exceptiongroup[${PYTHON_USEDEP}] + ' 3.10) + $(python_gen_cond_dep ' + dev-python/typing-extensions[${PYTHON_USEDEP}] + ' 3.10 3.11) +" + +BDEPEND=" + dev-python/setuptools[${PYTHON_USEDEP}] + test? ( + app-text/dvipng[truetype] + >=dev-python/ipykernel-5.1.0[${PYTHON_USEDEP}] + dev-python/matplotlib[${PYTHON_USEDEP}] + dev-python/nbformat[${PYTHON_USEDEP}] + >=dev-python/numpy-1.23[${PYTHON_USEDEP}] + dev-python/matplotlib-inline[${PYTHON_USEDEP}] + dev-python/pickleshare[${PYTHON_USEDEP}] + <dev-python/pytest-8[${PYTHON_USEDEP}] + dev-python/pytest-asyncio[${PYTHON_USEDEP}] + dev-python/requests[${PYTHON_USEDEP}] + dev-python/testpath[${PYTHON_USEDEP}] + ) + doc? ( + >=dev-python/ipykernel-5.1.0[${PYTHON_USEDEP}] + dev-python/matplotlib[${PYTHON_USEDEP}] + >=dev-python/sphinx-2[${PYTHON_USEDEP}] + dev-python/sphinx-rtd-theme[${PYTHON_USEDEP}] + ) +" + +distutils_enable_tests pytest + +RDEPEND+=" + nbconvert? ( + dev-python/nbconvert[${PYTHON_USEDEP}] + ) +" +PDEPEND=" + $(python_gen_cond_dep ' + notebook? ( + dev-python/notebook[${PYTHON_USEDEP}] + dev-python/ipywidgets[${PYTHON_USEDEP}] + dev-python/widgetsnbextension[${PYTHON_USEDEP}] + ) + qt5? ( dev-python/qtconsole[${PYTHON_USEDEP}] ) + ' 'python*') + smp? ( + >=dev-python/ipykernel-5.1.0[${PYTHON_USEDEP}] + >=dev-python/ipyparallel-6.2.3[${PYTHON_USEDEP}] + ) +" + +PATCHES=( + "${FILESDIR}"/2.1.0-substitute-files.patch +) + +python_prepare_all() { + # Remove out of date insource files + #rm IPython/extensions/cythonmagic.py || die + #rm IPython/extensions/rmagic.py || die + + # Prevent un-needed download during build + if use doc; then + sed -e "/^ 'sphinx.ext.intersphinx',/d" -i docs/source/conf.py || die + fi + + # Rename the test directory to reduce sys.path pollution + # https://github.com/ipython/ipython/issues/12892 + mv IPython/extensions/{,ipython_}tests || die + + distutils-r1_python_prepare_all +} + +python_compile_all() { + if use doc; then + emake -C docs html_noapi + HTML_DOCS=( docs/build/html/. ) + fi +} + +src_test() { + virtx distutils-r1_src_test +} + +python_test() { + local -x IPYTHON_TESTING_TIMEOUT_SCALE=20 + local EPYTEST_DESELECT=( + # TODO: looks to be a regression due to a newer dep + IPython/core/tests/test_oinspect.py::test_class_signature + IPython/core/tests/test_oinspect.py::test_render_signature_long + IPython/terminal/tests/test_shortcuts.py::test_modify_shortcut_with_filters + ) + + case ${EPYTHON} in + pypy3) + EPYTEST_DESELECT+=( + # https://github.com/numpy/numpy/issues/25164 + IPython/lib/tests/test_display.py::TestAudioDataWithoutNumpy + ) + ;; + esac + + # nonfatal implied by virtx + local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1 + nonfatal epytest -p asyncio --asyncio-mode=auto || + die "Tests failed on ${EPYTHON}" +} + +python_install() { + distutils-r1_python_install + + # Create ipythonX.Y symlinks. + # TODO: + # 1. do we want them for pypy? No. pypy has no numpy + # 2. handle it in the eclass instead (use _python_ln_rel). + # With pypy not an option the dosym becomes unconditional + dosym ../lib/python-exec/${EPYTHON}/ipython \ + /usr/bin/ipython${EPYTHON#python} +} + +python_install_all() { + distutils-r1_python_install_all + + if use examples; then + dodoc -r examples + docompress -x /usr/share/doc/${PF}/examples + fi +} + +pkg_postinst() { + optfeature "code formatting" dev-python/black + optfeature "sympyprinting" dev-python/sympy + optfeature "cythonmagic" dev-python/cython + optfeature "%lprun magic command" dev-python/line-profiler + optfeature "%matplotlib magic command" dev-python/matplotlib-inline + + if use nbconvert; then + if ! has_version virtual/pandoc ; then + einfo "Node.js will be used to convert notebooks to other formats" + einfo "like HTML. Support for that is still experimental. If you" + einfo "encounter any problems, please use app-text/pandoc instead." + fi + fi +} diff --git a/dev-python/jupyterlab/Manifest b/dev-python/jupyterlab/Manifest index 57ca3af6b704..ca62f1f39c22 100644 --- a/dev-python/jupyterlab/Manifest +++ b/dev-python/jupyterlab/Manifest @@ -1,3 +1,5 @@ DIST jupyterlab-4.1.6.tar.gz 21773628 BLAKE2B b2855ecc4fa0cc892fab9bb79c19a3cec0ea577c9c490571ad4028e9fe35bca87fc61d0035cc889bee14313475825344e1cea69f34af4a908c5d2a304250d983 SHA512 b895aac68c6df3affb47eaebc243ecf7d778228a5adec8b8a047783e341008ab4beb0fe50b92138f765e7a72acfbe906f63f41aebe1a72544fe3030105d52716 +DIST jupyterlab-4.1.7.tar.gz 21773423 BLAKE2B 6456011cd841b0c61b09ecd647443cd68abc4a48151ddeab6b5834f22fd99616470a70fc68897a8b46cb32873a49c3f950006eff80facd6e109d337be5d95569 SHA512 01c8b1a496c621d387a8b03c8705c1807f9f18d09be30aa3327a9beac1fa97b23df02f518490d984ac022f1265a55104d7db69ca69a79941c526b50946c8d20b EBUILD jupyterlab-4.1.6.ebuild 2708 BLAKE2B 547a7dab63086e024ef88cbbbfd36a6010439a35a6373def8fa8fdcd47319c50b285035c3c55dc11a0dae4a26a942918a7f24cc41cd33b175595dbf57f7a1dfc SHA512 8190341f95ed38b654a53cc7fb22b24ce7ab1194509000b26525465566eb45ca40fedd05102a95cb9914db0f4aa840492c5ab45fecce83de8e1c79b0390fa9a1 +EBUILD jupyterlab-4.1.7.ebuild 2715 BLAKE2B b39a39ab369b5c4d9c315b7c2b219877d42de365badc49ee9c3f24adb6b9d35185540c1eff5a0187f160d33d1fcaa6d29d4897306a45b3db72f9cb3a88c4655e SHA512 ce1ae7035f29395c83a0ac5e2c2a5f96734898e50890e6a956c284efab56997cde2ad5eba8aa445a02659faea9ba413367318d2153f6697476223417e76a87a8 MISC metadata.xml 412 BLAKE2B f0b40e19f8ba9dc116f0e4a882cabab6376f22d1eaeb3eac58ecff465ee2aff3564ddbf55e4ffb8971807a39945109a164037a954419671a274d3ac558b102ea SHA512 b6149a03585ca04bc3bf6f3ea6055e8e1fcb620a771359d150df7c22ee16bf09f57c8037df2161021fac0c194be0ac5ec79a31f0511d785e0c5b1ca96d817e42 diff --git a/dev-python/jupyterlab/jupyterlab-4.1.7.ebuild b/dev-python/jupyterlab/jupyterlab-4.1.7.ebuild new file mode 100644 index 000000000000..b655c8c83338 --- /dev/null +++ b/dev-python/jupyterlab/jupyterlab-4.1.7.ebuild @@ -0,0 +1,80 @@ +# Copyright 1999-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..12} ) + +inherit distutils-r1 pypi xdg + +DESCRIPTION="JupyterLab computational environment" +HOMEPAGE=" + https://jupyter.org/ + https://github.com/jupyterlab/jupyterlab/ + https://pypi.org/project/jupyterlab/ +" + +LICENSE="BSD MIT GPL-3 Apache-2.0" +SLOT="0" +KEYWORDS="~amd64 ~arm ~arm64 ~loong ~ppc64 ~riscv ~x86" + +RDEPEND=" + dev-python/async-lru[${PYTHON_USEDEP}] + >=dev-python/httpx-0.25.0[${PYTHON_USEDEP}] + >=dev-python/ipykernel-6.5.0[${PYTHON_USEDEP}] + >=dev-python/jinja-3.0.3[${PYTHON_USEDEP}] + dev-python/jupyter-core[${PYTHON_USEDEP}] + >=dev-python/jupyter-lsp-2.0.0[${PYTHON_USEDEP}] + >=dev-python/jupyter-server-2.4.0[${PYTHON_USEDEP}] + <dev-python/jupyter-server-3[${PYTHON_USEDEP}] + >=dev-python/jupyterlab-server-2.27.1[${PYTHON_USEDEP}] + <dev-python/jupyterlab-server-3[${PYTHON_USEDEP}] + >=dev-python/notebook-shim-0.2[${PYTHON_USEDEP}] + dev-python/packaging[${PYTHON_USEDEP}] + $(python_gen_cond_dep ' + >=dev-python/tomli-1.2.2[${PYTHON_USEDEP}] + ' 3.10) + >=dev-python/tornado-6.2.0[${PYTHON_USEDEP}] + dev-python/traitlets[${PYTHON_USEDEP}] + net-libs/nodejs +" + +BDEPEND=" + dev-python/hatch-jupyter-builder[${PYTHON_USEDEP}] + test? ( + dev-python/pytest-console-scripts[${PYTHON_USEDEP}] + >=dev-python/pytest-jupyter-0.5.3[${PYTHON_USEDEP}] + dev-python/pytest-tornasync[${PYTHON_USEDEP}] + dev-python/pytest-timeout[${PYTHON_USEDEP}] + dev-python/requests[${PYTHON_USEDEP}] + dev-python/requests-cache[${PYTHON_USEDEP}] + dev-python/virtualenv[${PYTHON_USEDEP}] + ) +" + +EPYTEST_DESELECT=( + # These tests call npm and want internet + jupyterlab/tests/test_jupyterlab.py::TestExtension::test_uninstall_core_extension + jupyterlab/tests/test_jupyterlab.py::TestExtension::test_install_and_uninstall_pinned_folder + jupyterlab/tests/test_jupyterlab.py::TestExtension::test_install_and_uninstall_pinned + jupyterlab/tests/test_jupyterlab.py::TestExtension::test_build_custom_minimal_core_config + jupyterlab/tests/test_jupyterlab.py::TestExtension::test_build_custom + jupyterlab/tests/test_jupyterlab.py::TestExtension::test_build_check + jupyterlab/tests/test_jupyterlab.py::TestExtension::test_build + jupyterlab/tests/test_build_api.py::TestBuildAPI::test_clear + jupyterlab/tests/test_build_api.py::TestBuildAPI::test_build +) + +EPYTEST_IGNORE=( + jupyterlab/tests/test_announcements.py +) + +distutils_enable_tests pytest +# TODO: package sphinx_copybutton +#distutils_enable_sphinx docs/source dev-python/sphinx-rtd-theme dev-python/myst-parser + +python_install_all() { + distutils-r1_python_install_all + mv "${ED}/usr/etc" "${ED}/etc" || die +} diff --git a/dev-python/keyring/Manifest b/dev-python/keyring/Manifest index 8acc995fe65e..313765e56ece 100644 --- a/dev-python/keyring/Manifest +++ b/dev-python/keyring/Manifest @@ -1,5 +1,7 @@ DIST keyring-24.3.1.tar.gz 60454 BLAKE2B cb0a9b82163febbbd737f2f25353bf96cbb7b8a87c7db00523960b3fce5595c6af65bc02b7d070b0fa5a466fc53530975de8f7a44ab9a9f783d2db34b1a67901 SHA512 53f26763175c7f1de041d8805062696ef3ef6c79792cdc75ae72621da8e729ac4cbb6e76937db2a0a5ce4bc41ab92c164d62e4627f92edab8c0d0fc02ca4980e DIST keyring-25.1.0.tar.gz 60191 BLAKE2B 90cf0088f7740f6bc6562173b98630f885eca4c011be513532630ecaf4ca327053e37444b88ef5110a224567a68ad14228f59cf859090761be08a17d007b18ba SHA512 991023f96c9ffa98b65ee48cb07908bfa0c2a56af13aba60f476a5c99eea9c627112a8eb777c2a8be1ae87cfc8fc79ba68c9ca08ed53002e9e240e64f937cff4 +DIST keyring-25.2.0.tar.gz 60808 BLAKE2B a9f97b80593cc1fc4716b0c97579408d4485dbd9dab415fa98e1827130cea425a03ff6188282ffb0125327feb6ed282260c15d21ce603f4d2561a94f83e6cbd0 SHA512 36ef4a78d5b9081f13ea7aabbfbe508e0ee275cbdf458fbcb36da5a360f91df79ce4c54bf0ce4000d91961d06f019d75a9ffc46328ef7d9e14e9a883508a1950 EBUILD keyring-24.3.1.ebuild 1125 BLAKE2B c22b69ca628616f2f9191b9b29a6dabcb46d9e24eb178183b083416a7c76107cd0eebb280900bc30a8c4da712cac31f52abf5ab73c1c21e7c269507d932a7c25 SHA512 c8e3fd67de779d3c1301ed4efa893a8fb9443bc248e8f2f5a71f95f5a461399f8fea42b5e500a2b4c1611eb536d3de8bc2f3b4b999752b769bb27149522f05a9 EBUILD keyring-25.1.0.ebuild 1322 BLAKE2B e368c62d331075a16197ebcf68b68f16be35c6c6a6201226214492bce4634898de556fa6dbf785d6617a3d6119119045f2766c480fd3b59ada89f5190b62ff0e SHA512 609f941dbdb299927fc8fbe6a104662048123ca05c77a799542d77f97e257ffdb8204158c33dc10263195db3a35b1b6f43de62f24fdfcd2b84f1c727fdfd7413 +EBUILD keyring-25.2.0.ebuild 1329 BLAKE2B 3994c1dbf5bddaae9ec8bd1cea2d2eac7b4ed44d42d5b980d8fd8856a6b17fef1cedfc9b0035584f01a3e7629c6f8ebd94cfdc260c00385000fbc44de5bece5c SHA512 a3b2e8b7815d27b27b0cba384b50aaa38612fe9886c603a2132f694a2c1fc97bbbdbe0e0bc94094e3e1517b3eb76c59f4dbe5c0d63a172b01911d255dfe274e4 MISC metadata.xml 611 BLAKE2B 7f938075d992467e01da200f0c859e9bc6a6128296151b3529b2168b68364605bd7dbadf69f7820d459d5db6950908e0b0acb09a636f1fc45862093df6d08334 SHA512 a0ad1729c53b18fedf227053648b04541f5adcf56bfaa73218e214f8c2409ebe2574a5917442c5218084b38da34691b6566f2c65390ef6487985a123f62f9efb diff --git a/dev-python/keyring/keyring-25.2.0.ebuild b/dev-python/keyring/keyring-25.2.0.ebuild new file mode 100644 index 000000000000..4e1deec56116 --- /dev/null +++ b/dev-python/keyring/keyring-25.2.0.ebuild @@ -0,0 +1,52 @@ +# 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..12} pypy3 ) + +inherit distutils-r1 pypi + +DESCRIPTION="Provides access to the system keyring service" +HOMEPAGE=" + https://github.com/jaraco/keyring/ + https://pypi.org/project/keyring/ +" + +LICENSE="PSF-2" +SLOT="0" +KEYWORDS="~amd64 ~arm ~arm64 ~loong ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~x64-macos" + +RDEPEND=" + >=dev-python/secretstorage-3.2[${PYTHON_USEDEP}] + dev-python/jaraco-classes[${PYTHON_USEDEP}] + dev-python/jaraco-context[${PYTHON_USEDEP}] + dev-python/jaraco-functools[${PYTHON_USEDEP}] + >=dev-python/jeepney-0.4.2[${PYTHON_USEDEP}] + $(python_gen_cond_dep ' + >=dev-python/importlib-metadata-4.11.4[${PYTHON_USEDEP}] + ' 3.10 3.11) +" +BDEPEND=" + dev-python/setuptools-scm[${PYTHON_USEDEP}] +" + +distutils_enable_tests pytest + +python_test() { + local EPYTEST_DESELECT=( + # this test fails if importlib-metadata returns more than one + # entry, i.e. when keyring is installed already + tests/test_packaging.py::test_entry_point + ) + local EPYTEST_IGNORE=( + # apparently does not unlock the keyring properly + tests/backends/test_libsecret.py + # hangs + tests/backends/test_kwallet.py + ) + + local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1 + epytest -o addopts= +} diff --git a/dev-python/lxml-html-clean/Manifest b/dev-python/lxml-html-clean/Manifest new file mode 100644 index 000000000000..81b0f630866c --- /dev/null +++ b/dev-python/lxml-html-clean/Manifest @@ -0,0 +1,3 @@ +DIST lxml_html_clean-0.1.1.tar.gz 14086 BLAKE2B 5ff4c01847298fc7c63b3243805ae9cd9013a4bc0b263d3235344cb6a46b4e09d4f2c5d559e4fb311f7dc1c92262feaa53caa3562dff1e65b302af65abbd025a SHA512 f297a17f84cec472026d12246f95013bf6c0cab932dccb6432a1140503d62255a3a9357798047044175ce8f9d1d86d3ea9a73a732ec299d65263ccf637315e95 +EBUILD lxml-html-clean-0.1.1.ebuild 487 BLAKE2B 62fea7e976f19428eab7a3fb500a08fded4b13b73d403e23441069af111409c18f0f47f4bb38845d661fb748f4d4ae0f581e3caa70e759176c1f349ac1edf753 SHA512 9dc88b0dbfd06978390df1403299a2b2d163f6e58444f57db50b1a27ec9d407c18609c8c67042dee5ee4758c647fbe7d837634f9260f75d4a9a0bebf49d0fef0 +MISC metadata.xml 512 BLAKE2B 1ed3bf06d69d320d62c75b669f847a084ac3c06804e8cf5f1495806bd6edb8a02184b8a556a13b471265a817c2670a75e24e43a4b989e0fc2350eacc61b2040e SHA512 30c5964a2fd1323145a79303ee9cfc5d9b2fa4ee543c67ad676a736933dcb9bdb27eb7f0a5d09d3be575ec46190f17eebe6365d12629ad49ca2962b6b89b96bd diff --git a/dev-python/lxml-html-clean/lxml-html-clean-0.1.1.ebuild b/dev-python/lxml-html-clean/lxml-html-clean-0.1.1.ebuild new file mode 100644 index 000000000000..be9038fb8598 --- /dev/null +++ b/dev-python/lxml-html-clean/lxml-html-clean-0.1.1.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=setuptools +PYTHON_COMPAT=( python3_{10..12} ) + +inherit distutils-r1 pypi + +DESCRIPTION="Separate project for HTML cleaning functionalities copied from lxml.html.clean" +HOMEPAGE=" + https://pypi.org/project/lxml-html-clean/ +" + +LICENSE="BSD" +SLOT="0" +KEYWORDS="amd64 ~arm64" + +RDEPEND=" + >=dev-python/lxml-5.2.0[${PYTHON_USEDEP}] +" + +distutils_enable_tests pytest diff --git a/dev-python/lxml-html-clean/metadata.xml b/dev-python/lxml-html-clean/metadata.xml new file mode 100644 index 000000000000..fb6f3eebe669 --- /dev/null +++ b/dev-python/lxml-html-clean/metadata.xml @@ -0,0 +1,16 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <maintainer type="person" proxied="yes"> + <email>eschwartz93@gmail.com</email> + <name>Eli Schwartz</name> + </maintainer> + <maintainer type="project"> + <email>python@gentoo.org</email> + <name>Python</name> + </maintainer> + <upstream> + <remote-id type="pypi">lxml-html-clean</remote-id> + <remote-id type="github">fedora-python/lxml_html_clean</remote-id> + </upstream> +</pkgmetadata> diff --git a/dev-python/lxml/Manifest b/dev-python/lxml/Manifest index 2eab53847515..d8c3296e3d40 100644 --- a/dev-python/lxml/Manifest +++ b/dev-python/lxml/Manifest @@ -7,5 +7,5 @@ DIST lxml-5.2.1.gh.tar.gz 950408 BLAKE2B d0ad369f9d555a9bcdd92c71fb84063eba864c3 EBUILD lxml-5.1.0.ebuild 2902 BLAKE2B 10c758230f1c4fdb3084295749f3d2a0752983b142a56cd6d9362be2dd8d99c7d9bdc72ce74b02b1c5df5fc505ce5df65d87a9297367dfa5f72af83573563962 SHA512 d278b800a03de26b91873dedb0d7c8643f2cfb3e3e691b50e318a8d5575f11359239323fab141fce64a5b04c3d4db9dab3803e62fe85cfb3647023fb692bbd52 EBUILD lxml-5.1.1.ebuild 2911 BLAKE2B 5230bac2e92edffac28f7bc421e9e7376336621d03a1fc9423e0548e9c3b46fca73915c57183d491de3dfb37b9bfb7d9535c37917962f77ee1b0e96102edd864 SHA512 676c3ca88b2421dc4578aa8f9a7023eb95fa2dba35764af14672ca654ac474956e07b174662691f22ef60a120349d779bdb1aff7b4dae83ea56abc60bc8f4496 EBUILD lxml-5.2.0.ebuild 3274 BLAKE2B de297284a590885fd96e79308c6999dd9a8abfc35f7a3c6eaeb947134ad7b80a7fbebde96e95c9f5d9771d0f7c3775014db0c178d897b0436023ae3a433f0f3b SHA512 c2217d56a20c3549f90d41cb7265916672b64f98e6ff9999b21c1b1652518bb85836755597a1edd3721d2e24d50f852ed91af5a790dddad1782c7aa5280ab2b9 -EBUILD lxml-5.2.1.ebuild 3188 BLAKE2B 1b71a1f886130e242328746295682ffa6741729455d9cca64ca14b8045abcdd332a74e1c09cf573f9315b11846e5a4b987f839cdd09996e56e6888b0eb649195 SHA512 bc9cc857c935a24e3e8eec2a10fd44138a341da55c8def4c05c6dd4723cb5e0c5ce3d5ad8226c0c565a88408015befbfa59d8dfadc74c78e6202d5370e274db9 +EBUILD lxml-5.2.1.ebuild 3267 BLAKE2B fcfea0a8805633b3a84c385f2e54eb38bc7ea27c3477523e9fc2bf73daa132a84580d9052229a413990ca5653be5961edc25e81b74ba9453f52dd97abeca4b89 SHA512 71b7c21a610106a9902cc5ea4442937952308ef814a83ff612890f4194f232352bd2a928504a795e5337052378dc11b06c72fd6b63be66f99f988d1a0c5cb98c MISC metadata.xml 463 BLAKE2B 9bcd092b61568f5d467230617b101f36245c41078e6a66c7ff63b22a6b4095de2ba3a59e48ce8b7842ce58d1255fa293995652daa3fab4c3af988498eaa30e97 SHA512 2ba5e340b59e0de4e472380e9c19b1f6f573e86e5c3c2e075f6151d369e94eea70e3ce36bfb5ece4da3fa69459e3ff83368f1df8302aa5754ae52f13c8f2312e diff --git a/dev-python/lxml/lxml-5.2.1.ebuild b/dev-python/lxml/lxml-5.2.1.ebuild index b6b8283c0653..86f7ee15d039 100644 --- a/dev-python/lxml/lxml-5.2.1.ebuild +++ b/dev-python/lxml/lxml-5.2.1.ebuild @@ -122,4 +122,5 @@ python_install_all() { pkg_postinst() { optfeature "Support for BeautifulSoup as a parser backend" dev-python/beautifulsoup4 optfeature "Translates CSS selectors to XPath 1.0 expressions" dev-python/cssselect + optfeature "Support for lxml.html.clean sanitizer" dev-python/lxml-html-clean } diff --git a/dev-python/mechanize/Manifest b/dev-python/mechanize/Manifest index bb356d76b586..2782cefd1ffd 100644 --- a/dev-python/mechanize/Manifest +++ b/dev-python/mechanize/Manifest @@ -1,4 +1,6 @@ AUX mechanize-0.4.9-test.patch 995 BLAKE2B e2acd1287b51653e2504ba1d57ec4251284c41ffa1adfc0da0ce039386aa512995b7e66c2a30896002bdca8415411713b672b08ff0c47ec7cab480fa470e7f81 SHA512 bd8edf8e66c0532a11bdf7b7b2f95351f756ea268b2af404b679560fcc262dde63283cffc5fadf20f49c42c112410ac89794acf4b3ce6d001f4b2dbe5775ee21 +DIST mechanize-0.4.10.tar.gz 218291 BLAKE2B 7a6f293ac5622b4ac01d1b84327e4dd41132eb2fdfaf9826e6c7a8b088890ae8b4b5f4e90aca930761d532702138f0be6f9394e48ee2defc48dcb5f19ee22a79 SHA512 76d13ac8ac06e8e3836ba814259e1ec8495ebbfc259d4f8652f3ed23863b6a5f6fc5983409083ad9f5d0312db6581b0e7b32bfe6d46ecd190006188ac4cf3fc8 DIST mechanize-0.4.9.tar.gz 218286 BLAKE2B 42ea97f843ec61b5ae05913e564f0cdb473976ea4e08a886c3bed15b27cea64def7fe5c73c1b809e48688d5ae41c269e85b633a24731c83409bf9855fc72b85f SHA512 a0c5d6e01ddabd35dded9908e4f7e24cb0a8c20a674af603cd2f5f146c75d38dc96c36af0898646691206ce41745dff9a736ce53efd03ff48e55e763814b893c +EBUILD mechanize-0.4.10.ebuild 693 BLAKE2B 07e43a435c3395d76c1099eba689dd195314a998b1f67dfccb772d44af70dd43ef9a7d1d79dd9b997707981f05b78b1acf24f58ae178e98f3ba63ff9c24735e4 SHA512 27456b3dbe5dc4792f3f7461b63ec8964026aa6894b4dcb71afc9067d55b796d13082461dd0d5371e33d995239a8e47d1a87634be215d05b2270353478b852b8 EBUILD mechanize-0.4.9.ebuild 791 BLAKE2B aae52f0e662ebb0af165d3cf4343cc2de8dcf263adcbf73d2b8e7993ccd779ef41c1d242f9794be663e96c2013925512b140903369d1543745cf0110aec97396 SHA512 63ef84c9ad213d4ef2e2741cead386c434c9bbe147412987e57e9526d5dd2019ed2f080844f221958decf96fec9de6f3924368b349819ae4c2e5a82280505cb0 MISC metadata.xml 1069 BLAKE2B 71445830ac06448e12152b3418f1e4c68ece2d3deb2b3da1d4e82c89fc5faeef02b9669d19576dd47076e3f69097b535fc8f27bb117f8d6d74819676d59bc208 SHA512 6b31da39515a39c6c2fff17dbe6ebed752b14730ac2253fedc649a3ef9cdcb21095cc4ab45bff80a7d38e30467317b25bdf605020fff4ec47473cf666c0f5436 diff --git a/dev-python/mechanize/mechanize-0.4.10.ebuild b/dev-python/mechanize/mechanize-0.4.10.ebuild new file mode 100644 index 000000000000..27279bb94b4f --- /dev/null +++ b/dev-python/mechanize/mechanize-0.4.10.ebuild @@ -0,0 +1,34 @@ +# 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..12} ) + +inherit distutils-r1 pypi + +DESCRIPTION="Stateful programmatic web browsing in Python" +HOMEPAGE=" + https://github.com/python-mechanize/mechanize/ + https://pypi.org/project/mechanize/ +" + +LICENSE="|| ( BSD ZPL )" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~ia64 ~ppc ~sparc ~x86 ~amd64-linux ~x86-linux ~x64-macos" +IUSE="test" +RESTRICT="!test? ( test )" + +RDEPEND=" + >=dev-python/html5lib-0.999999999[${PYTHON_USEDEP}] +" +BDEPEND=" + test? ( + ${RDEPEND} + ) +" + +python_test() { + "${EPYTHON}" run_tests.py -v || die +} diff --git a/dev-python/moddb/Manifest b/dev-python/moddb/Manifest index e1c3056e5df6..2872f608bcd6 100644 --- a/dev-python/moddb/Manifest +++ b/dev-python/moddb/Manifest @@ -1,3 +1,5 @@ DIST moddb-0.10.0.gh.tar.gz 14174575 BLAKE2B cffcdb27d3bd43da412d9ce689ba06d59ee013d4b78b75fddc8749243aaa6abb50c576811ef8e8e88c66ff41b578a79daec4ce0dbe56f444c94eeabedb0fef89 SHA512 5b21aea8a76c2b28579dbb3587956042126b65248684c2c6caef43793b8e7dd1d318434783c252ef191ee7832ea9fe1a434797797a9a76804133a53ede7674f9 +DIST moddb-0.11.0.gh.tar.gz 10528613 BLAKE2B 109c1758362e2655209173d581f1234f15725b8d0b25ed8024ecdfc4da45e30530c87fa9b8a19b556f4cfa60549c38bc552751a39a5dad28f04e58f53d1f484f SHA512 fe064fb7b02553d614477f122013c98257c6fd4d428538681ea97706425480d7fb4a25f49b8673dfba706e33766420c930cee1fae0c93a6b3d2f766b609596ca EBUILD moddb-0.10.0.ebuild 1464 BLAKE2B 703668ab2f410347f284f3e7d489c57ad288433f4f78e16f45d0e8a21a9fe361052d2ac6db6e20e25ea6b2ccf80b12133a5b9ee784dafcb548b530ab8438e881 SHA512 9e3ea8edb69ead715531e89d595f0a72a79aaf821dc78b24ff8d61842cc1477e403eb4d05e0ea3cbbaa781c34d083b027e45190cf250be2200a7a2b09b02aad5 +EBUILD moddb-0.11.0.ebuild 1378 BLAKE2B d4f0ee956439bd752fc26d5f3f874b0f2371f46dbb0bc02ecacc12006e65e5ba92e4d4ca7dfefd2cb0293ad14681fb6b6813fd9e973e53d61bc751b26c967b6a SHA512 b9d6627262c9eb3ef7cd51d7f9752e0fdfcdd1568a49969be46f640ee4cebdf32ed3c0fa73e87f1497b7e8620042130665b90c26f0ae291cbb7e45a00b3e1315 MISC metadata.xml 407 BLAKE2B c1651872c2ae76f7adf6fd307c7b7b3c4ff5c9b7a193d58651648de31c63f9c24e35c178ac4fbed18c2bdd247cf2fd247e1a579a1dea92747f5545f155ef5595 SHA512 e24bb351e9a98d5c86694447a9c4007df28de831f4a570e998316d81688347f038cd802441f89ab9cdcc7b4ab7079096ca3c8ff590ac7bf5453e442186304d5d diff --git a/dev-python/moddb/moddb-0.11.0.ebuild b/dev-python/moddb/moddb-0.11.0.ebuild new file mode 100644 index 000000000000..ce605c46602e --- /dev/null +++ b/dev-python/moddb/moddb-0.11.0.ebuild @@ -0,0 +1,52 @@ +# 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..12} ) + +inherit distutils-r1 + +DESCRIPTION="Python scrapper to access ModDB mods, games and more as objects" +HOMEPAGE="https://github.com/ClementJ18/moddb" +SRC_URI="https://github.com/ClementJ18/moddb/archive/refs/tags/v${PV}.tar.gz -> ${P}.gh.tar.gz" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64 ~x86" + +# Connects to moddb.com +PROPERTIES="test_network" +RESTRICT="test" + +RDEPEND=" + dev-python/beautifulsoup4[${PYTHON_USEDEP}] + dev-python/requests[${PYTHON_USEDEP}] +" + +BDEPEND="test? ( + dev-python/pytest-rerunfailures[${PYTHON_USEDEP}] +)" + +EPYTEST_DESELECT=( + # These tests require valid moddb.com login information + "tests/test_base.py::TestLogin::test_login" + "tests/test_client.py::TestClient::test_get_watched" + "tests/test_client.py::TestClient::test_get_updates" + "tests/test_client.py::TestClient::test_posts" + "tests/test_client.py::TestClient::test_friends" + "tests/test_client.py::TestClient::test_messages" +) + +distutils_enable_sphinx docs/source dev-python/sphinx-autodoc-typehints +distutils_enable_tests pytest + +python_test() { + # Dummy moddb.com login information + export USERNAME="portage" + export SENDER_USERNAME="portage" + export PASSWORD="testing" + export SENDER_PASSWORD="testing" + epytest +} diff --git a/dev-python/puremagic/Manifest b/dev-python/puremagic/Manifest index 2f1f1e4ec3bd..1c763ee97b2e 100644 --- a/dev-python/puremagic/Manifest +++ b/dev-python/puremagic/Manifest @@ -1,3 +1,5 @@ DIST puremagic-1.21.gh.tar.gz 296990 BLAKE2B 78709c296ee8599009f07f8fadfaa60957895d1a45d3fd5f12605a54901e2f0ab878abdb4dc121a77d2c4da922b2f5a173d13ef660a2265298716a26da28f293 SHA512 cc2c76a2ddcfacdfce778e565b07692dcd247723aa85c562ba4d8c70992f79a8f13a7bc33f1468ee37298c266d35d76febe2e6164fdc145077d68b05cfa2e1c4 +DIST puremagic-1.22.gh.tar.gz 304145 BLAKE2B 8165ae8527462223255a04c84c3e9f15b76298a8e8ad1f38ae3f92c6e359d514efa543cb290d45d37c2d5aa44a6e082e626cf0ed570c40c905f570b8569f43bf SHA512 d447861e9f7a15f307fdf0ee1e34c5f03304dabb783ba4bfdbfa304fdfa0071b9f51ee9b0a3835417057b9fe4143cf5277a0be451024dc253a88bb94b05b9a99 EBUILD puremagic-1.21.ebuild 632 BLAKE2B e62ed26aceaea83f437e278a78f0ab052f337b1a6d8c499732a65c5c95bbb697107aa8b7f156c0b5c80e1b2aeff777df553a1fb703c56cdf24473321a82e0bcb SHA512 e30360c6a3b55657a5641eb859d79403e9cc88426808ee2ba3178f29b528ce41d82322f68fc060a2c5fc99f9527e49a9b665fd4e15ffb589a867dabc3224d5fa +EBUILD puremagic-1.22.ebuild 633 BLAKE2B 9df151563f2a8f7c10ed01855a6e365076a783e4c65ea39fb389182b2a5d430eff77f74296c692fa49863c8073a537b0afa15a7cf0fbd739bef9b78f388c0791 SHA512 ebc0a7d3f17828ba59020e07c6b06251429aed5bbff38706f2e26a17c2bb10304c8ebd5d94a8a7500aec46baf1bc595b8085d5a5bbe62d70ad8346286e1a4081 MISC metadata.xml 441 BLAKE2B e16e921f5571378e7fe3922ef583aaecf4fdd0160ffe502105f982d05189679395bfb7babc5f3c12ce60af9ddc72ecedd5a7a68e18488cd35174ee1b3eb03c05 SHA512 ddedaeddbca2953c67d6d23414f6dd152823290bc4bd90aee470a16906c4fae9e21043250677faba4873ff50af4ddf88c7208cfd30a040b816ec44782687e3e9 diff --git a/dev-python/puremagic/puremagic-1.22.ebuild b/dev-python/puremagic/puremagic-1.22.ebuild new file mode 100644 index 000000000000..e9212eebd43c --- /dev/null +++ b/dev-python/puremagic/puremagic-1.22.ebuild @@ -0,0 +1,32 @@ +# 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..12} ) + +inherit distutils-r1 + +DESCRIPTION="Pure python implementation of magic file detection" +HOMEPAGE=" + https://github.com/cdgriffith/puremagic/ + https://pypi.org/project/puremagic/ +" +SRC_URI=" + https://github.com/cdgriffith/${PN}/archive/${PV}.tar.gz + -> ${P}.gh.tar.gz +" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64 ~x86" + +DOCS=( CHANGELOG.md README.rst ) + +distutils_enable_tests pytest + +python_test() { + local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1 + epytest +} diff --git a/dev-python/pypiserver/Manifest b/dev-python/pypiserver/Manifest index a13dad960461..5d3fefa3a64d 100644 --- a/dev-python/pypiserver/Manifest +++ b/dev-python/pypiserver/Manifest @@ -3,5 +3,5 @@ AUX pypiserver-2.1.1-test-offline.patch 1431 BLAKE2B 0a96f83ab0d2850128abf92fbb6 DIST pypiserver-2.0.1.gh.tar.gz 156624 BLAKE2B b37700ffe0c7361289a3825dafd86041fab9ddf574d7792c7cd155f7e869a1bdd2de4e2a658c808afc7fe5ee8989876fcb7e85a8da74202c2c4c4344fbaf1df4 SHA512 962b34ea2bbca680fcf7ee8153ecea09c2f0c1bcebaaacee4666c93deab9d2508e08a22d82635a64d8aaec7cab3b5485e3752f1439006ed01b58539035f3b711 DIST pypiserver-2.1.1.gh.tar.gz 157393 BLAKE2B e80c73b2422dc87bba09d8c9c2e1ffc72017ec58c5530d3debb95560b50a776e1603cb5641c7e4af1ed87d64750843ae025a6a47ab4cc28ce0de1051dd5b214f SHA512 d85afb0d2c85c76a62e393d7d7824e91ff052a04e985278db48010b6f71d12c7749139245e69932b78aefbf3152ba8a8b463bfcd21d1772d047d64f0b164681a EBUILD pypiserver-2.0.1.ebuild 1792 BLAKE2B e7fa2eb03d668a64d355cdbca29ff5500c270277efbb466215a22263134adbb3d81c1b3a9b3119f02e67565de2339d296bf6fd96fb12de080ac3eecbbd1e6756 SHA512 a6cae7c99b56b49f3dd865a09e4681d3277ae920969485ecedad5abab25797c2a9f781ada43294a4699002efc0a496d765914d625cf12edeea361a3a3dd28d58 -EBUILD pypiserver-2.1.1.ebuild 1862 BLAKE2B 337097a96a90905c6178530864cd526d48197a7781119fcb1b763822999f86e4c2848cc67baeaecba54b986b6f4ffcfcdb250d79de3457a1159dec2468b6a20a SHA512 adf8495edc747b999cc85aa11abe7ce3237cb7fed2bf79dfb2c42aeb5c343c075406fbaa18edc001f21f7b7e7b0903be1c50d13d9e19f2819887a87d27ca8ae3 +EBUILD pypiserver-2.1.1.ebuild 1869 BLAKE2B 783c942c9c272c80699b71d62154b5d2c174b55d34d01990794ccc25588532cc60e7227bc639953ce65765611db614fac0dc7488e882ac2ab2c6081e17c14b6a SHA512 39dea49722a77ba352d2ef9ac8891429b4ef54a052e2cad93a17aec900f8addc50ea082a500c1a6630f372775f0f9cf9326a497e790a4bf033b872eee9b39cce MISC metadata.xml 399 BLAKE2B e8726c9c4a494a64dd1490aa88f8bbca6536635af045364307d057d5dfa4762a1b0d59d3eacf7d84c9002ac38516eb7d2228ebd872db762a669bd6015139a4ec SHA512 a3d90eb11fc5bb2c78e53a4d64cffaf213a445c1677939c46fb400e01f4e74d1f206df2259ab348b61d27e3a9b3f03e94a49485be948b2e4106ba254154c7ada diff --git a/dev-python/pypiserver/pypiserver-2.1.1.ebuild b/dev-python/pypiserver/pypiserver-2.1.1.ebuild index 1a08a65d04de..e8ff64e1ec08 100644 --- a/dev-python/pypiserver/pypiserver-2.1.1.ebuild +++ b/dev-python/pypiserver/pypiserver-2.1.1.ebuild @@ -20,7 +20,7 @@ SRC_URI=" LICENSE="ZLIB" SLOT="0" -KEYWORDS="~amd64 ~arm ~arm64 ~x86" +KEYWORDS="~amd64 ~arm ~arm64 ~riscv ~x86" RDEPEND=" dev-python/bottle[${PYTHON_USEDEP}] diff --git a/dev-python/pytest/Manifest b/dev-python/pytest/Manifest index dc2c16b821c8..e86f46457c98 100644 --- a/dev-python/pytest/Manifest +++ b/dev-python/pytest/Manifest @@ -2,7 +2,9 @@ AUX pytest-7.4.3-no-color.patch 1293 BLAKE2B 85ae23dc612eb7825f4c3ba2d727a611554 DIST pytest-7.4.4.tar.gz 1357116 BLAKE2B 0bf281b3d4b7b2eb7805423a75c8c2befa820cc230318511e5a2d5ea35321a78a2603d5dbc033414ed73171525371efa9d9f54083d5638fc752c1c218e6d53aa SHA512 28a259dac6739683c131993409d508e10fbfee461291b8fc7697dd83f30725a3c60e681ba00b5669a215af6a5e683f07a329485d780acc9ad0372a6552f783a1 DIST pytest-8.0.2.tar.gz 1396924 BLAKE2B ad95d246f5592cfe54faea6c96e38cb60d3e2713070d1ff7cab6c42aea312883c5d97c99a930dbcbd8493e966c4b8351320f6494b4ab904afbf21d7e1dd004a7 SHA512 c495943baad05e09b467d23c7afadb3edff7ae93ee96290d6db9e64739236888148b63dff7e8e25b331b11bd48c55fb0ca8901cf823d69b1a922e94915bab2f1 DIST pytest-8.1.1.tar.gz 1409703 BLAKE2B 8e382c87af1bbbc235f9b27f8bb892d08393e0a9821f32373ee2546112c24dc6f90e1990f10ef799a94a1426a83a2bc3de0be9e7efde90cbf4eac5a0c9ee375c SHA512 f1a9f69cd4eca3ab36c36bc666bf70b099125ed6e17b89d13554c3f13b100d05abfd0b35516660d00ca4fb9eca81164ab02bc8f7a9a8d90fd4302bf399cd88c0 +DIST pytest-8.1.2.tar.gz 1410060 BLAKE2B 1379047c5ba434e98a383756c53a9cf31dc3bd3abcc49820f872b9110ec70906ca14080ce17ed2770b71195fbd79627a0eb16ee00429e165368144b20153a02b SHA512 a6ffae29da98ee4c357ebb03f00c4bc1a33f093ef867ad118841695548468c7f229eaa2c029a2ce3b158bbb0a65be5014e91555a223d04c1c72e614cb1d00546 EBUILD pytest-7.4.4.ebuild 3796 BLAKE2B 1bee0d6df20d013802a7de4abc2937af9e3bfe99215d07a9ba888538f8526b6a14f1e4c41554f9a847d47867bb3dea34d8678e9a61a1e6b8fded8f336e21d4da SHA512 74823f180543e26b51739781b369db414ecbd0784d9cd8883ddc053831922001ec120247d7adac275830e5fe836972f7b6dd7c05c018f0ff122c4248b6c1fa3e EBUILD pytest-8.0.2.ebuild 3768 BLAKE2B 504e70b6671111e8d2f7ee0505d56c9dd3da36addfcb27093155c4d83708a36934acddb40d62c770e8fdfe53a59a58181d4ab706d9560bb70217787340c6b99e SHA512 8ec6ec4f723f00eef59966a3c4f5cc57b9eae51f5cb50aa20416741199d6c3dbf7b8f361d17d5bccdc983ff822d0b7432a1993e19eeda066a9fdb0e25d4b03ae EBUILD pytest-8.1.1.ebuild 3749 BLAKE2B 27968ad5f5ead2630694233c690e5df7ef8866a3a6a50a009bda1d3923cf6a10f1372fa24fa9bdc0760bfa7abe1512a9fbd6fb85fd62e0782a9b575d54a58761 SHA512 cacd0f1909ee1cf40d444c628d76921722c4d28ba3a864ccb19909e763a7e66ce8b77cc682fe8333fa97944d8ca9be1c06a94ae7fb1123a0f2c3ed0fc1dd5826 +EBUILD pytest-8.1.2.ebuild 3757 BLAKE2B d14037b76df2c483cf4c92b00e363b24ca3bd28eef4f02183f6611be09ceb385099abaf8072d6f486976d66a54d3a184c11417de43b3eadc32fe7a819717b6e3 SHA512 25060140712ab0173a8868c0dfea7aeee7e83a3d19ee52651fda2f9fb010b21b2c33980d0ef182377ea508817546f27e4b087a8e3d1378c16fdaa2c581f69cd9 MISC metadata.xml 391 BLAKE2B 48d31ecb4c8b171ee4e84a58399211368ddc00dfb5dbe0999f96e03d744294cd4fd5263e90600c93d1f13c7da21052faef84b6d0d56709f3559e37b3392ca31d SHA512 6e9caa57eda23995d21df6f52c52d5868e1ff56abb6c1351ffc0fe14b771639473481a2630e659caaff83f0255379aa2d012175af52a0de41221b27d3ab2f425 diff --git a/dev-python/pytest/pytest-8.1.2.ebuild b/dev-python/pytest/pytest-8.1.2.ebuild new file mode 100644 index 000000000000..f57a5169cba9 --- /dev/null +++ b/dev-python/pytest/pytest-8.1.2.ebuild @@ -0,0 +1,113 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=setuptools +PYTHON_TESTED=( python3_{10..12} pypy3 ) +PYTHON_COMPAT=( "${PYTHON_TESTED[@]}" ) + +inherit distutils-r1 pypi + +DESCRIPTION="Simple powerful testing with Python" +HOMEPAGE=" + https://pytest.org/ + https://github.com/pytest-dev/pytest/ + https://pypi.org/project/pytest/ +" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x64-solaris" +IUSE="test" +RESTRICT="!test? ( test )" + +RDEPEND=" + dev-python/iniconfig[${PYTHON_USEDEP}] + dev-python/packaging[${PYTHON_USEDEP}] + <dev-python/pluggy-2[${PYTHON_USEDEP}] + >=dev-python/pluggy-1.4[${PYTHON_USEDEP}] + $(python_gen_cond_dep ' + >=dev-python/exceptiongroup-1.0.0_rc8[${PYTHON_USEDEP}] + >=dev-python/tomli-1[${PYTHON_USEDEP}] + ' 3.10) + !!<=dev-python/flaky-3.7.0-r5 +" +BDEPEND=" + >=dev-python/setuptools-scm-6.2.3[${PYTHON_USEDEP}] + test? ( + ${RDEPEND} + $(python_gen_cond_dep ' + dev-python/argcomplete[${PYTHON_USEDEP}] + >=dev-python/attrs-19.2[${PYTHON_USEDEP}] + >=dev-python/hypothesis-3.56[${PYTHON_USEDEP}] + dev-python/mock[${PYTHON_USEDEP}] + >=dev-python/pygments-2.7.2[${PYTHON_USEDEP}] + dev-python/pytest-xdist[${PYTHON_USEDEP}] + dev-python/requests[${PYTHON_USEDEP}] + dev-python/xmlschema[${PYTHON_USEDEP}] + ' "${PYTHON_TESTED[@]}") + ) +" + +src_test() { + # workaround new readline defaults + echo "set enable-bracketed-paste off" > "${T}"/inputrc || die + local -x INPUTRC="${T}"/inputrc + distutils-r1_src_test +} + +python_test() { + if ! has "${EPYTHON}" "${PYTHON_TESTED[@]/_/.}"; then + einfo "Skipping tests on ${EPYTHON}" + return + fi + + local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1 + local -x COLUMNS=80 + + local EPYTEST_DESELECT=( + # broken by epytest args + testing/test_warnings.py::test_works_with_filterwarnings + + # tend to be broken by random pytest plugins + # (these tests patch PYTEST_DISABLE_PLUGIN_AUTOLOAD out) + testing/test_helpconfig.py::test_version_less_verbose + testing/test_helpconfig.py::test_version_verbose + testing/test_junitxml.py::test_random_report_log_xdist + testing/test_junitxml.py::test_runs_twice_xdist + testing/test_terminal.py::TestProgressOutputStyle::test_xdist_normal + testing/test_terminal.py::TestProgressOutputStyle::test_xdist_normal_count + testing/test_terminal.py::TestProgressOutputStyle::test_xdist_verbose + testing/test_terminal.py::TestProgressWithTeardown::test_xdist_normal + testing/test_terminal.py::TestTerminalFunctional::test_header_trailer_info + testing/test_terminal.py::TestTerminalFunctional::test_no_header_trailer_info + + # unstable with xdist + testing/test_terminal.py::TestTerminalFunctional::test_verbose_reporting_xdist + + # TODO (XPASS) + testing/test_debugging.py::TestDebuggingBreakpoints::test_pdb_not_altered + testing/test_debugging.py::TestPDB::test_pdb_interaction_capturing_simple + testing/test_debugging.py::TestPDB::test_pdb_interaction_capturing_twice + testing/test_debugging.py::TestPDB::test_pdb_with_injected_do_debug + testing/test_debugging.py::test_pdb_suspends_fixture_capturing + + # setuptools warnings + testing/acceptance_test.py::TestInvocationVariants::test_cmdline_python_namespace_package + + # times out + testing/test_debugging.py::TestPDB::test_pdb_interaction_exception + testing/test_debugging.py::TestPDB::test_pdb_with_caplog_on_pdb_invocation + ) + + [[ ${EPYTHON} == pypy3 ]] && EPYTEST_DESELECT+=( + # regressions on pypy3.9 + # https://github.com/pytest-dev/pytest/issues/9787 + testing/test_skipping.py::test_errors_in_xfail_skip_expressions + testing/test_unraisableexception.py + ) + + local EPYTEST_XDIST=1 + epytest +} diff --git a/dev-python/sentry-sdk/Manifest b/dev-python/sentry-sdk/Manifest index fe95919a76fc..17d03a8b3a1e 100644 --- a/dev-python/sentry-sdk/Manifest +++ b/dev-python/sentry-sdk/Manifest @@ -1,6 +1,10 @@ AUX sentry-sdk-1.21.0-ignore-warnings.patch 329 BLAKE2B cdb4295e600d868feb11b4a0af534bca90a1fa777344d56c945ddcfe71b3db10848df4032df06b9acf84cf574bec04dce4dc8935dd7421a6d0a2a011db337d6f SHA512 d1b5c50c78d1bb299280c4937fc8a8fdfc7d174d41061a32b57178c4dee58ab4b4b7afe8566a6b79244e53be8714b3ee7fdc9bf3401835d6d743e9fdc5a0aa05 DIST sentry-python-1.44.1.gh.tar.gz 472129 BLAKE2B ae98f7c6292ed3d95e4c33221154b065d6348c2e34efd4b4b10f083ff9082765594f39a1b0adf0df945ba7948e2b0d0d31cf2fb3987d1f65e1bd0e582be7a76b SHA512 c9de3538cdf2ccce2b6775ff57308f122d1e7f5db5036db78ec8b85a423edfbacb806080b4ededba42bc33e419b5fc71cc011bdbcf542e4aa9be1978a0129bc8 DIST sentry-python-1.45.0.gh.tar.gz 475425 BLAKE2B 8dc46154dfc1c7c9104a706be032b5269d407dee6845da252f1c603ea4f9486d02d1d3c6bec314064b821dee31b503d07a9c17935ca1f4dd6cc4d7b9c3165094 SHA512 dad23a3f6a8e6ef5fe78e1d38a61977d8974edf306d5688537f331801d8fa0f60743d18cc3dadf6e9a9666c55a01c98b9ff8d8808ece7d8f95ee68a69b6cb9be +DIST sentry-python-2.0.0.gh.tar.gz 484223 BLAKE2B 3630ed4585ce6088d648a28b3606e945de0e230ed4a611fc1b8954e7a05f8a3e3f80ae7110c64a54ae81569fb48a0ef3ed856f8dfeec441454238157016475d4 SHA512 a97ef336e54c2e28ae4e9ff4dc921fc892bb4567c2a926c6ec5d1c838417bb8c3293576ca450bc7f08721ebe9ce37bd45e4752b6223a76a3724f2b8912426fb4 +DIST sentry-python-2.0.1.gh.tar.gz 486632 BLAKE2B ace9891068050d988b3c16622f6937486f733caaf3de864ed973ea156e1e06e44f2d73764d01d5943a9347044c3c880bb9cf00229f2a36f2730aad9ef55660d0 SHA512 c62447a990ead1bebee89cd16d7a9d7a3798c48af53fba2cf5cece47c9bf5971fa1cd2b028b9fe8f7d9996cc48962ca50a61df9899b1c24a2dffced74f38e6ce EBUILD sentry-sdk-1.44.1.ebuild 5762 BLAKE2B 293cc9193b547971c44392b9500900fabe5f8dd7da6a237e58a42a38f4f9804db47fa539df90e6246e7be6574733ca883621e17e57d035ebb32596a281b86566 SHA512 571b8fc9d0f0e4b5ea8b5ce3426af73e713220158c121ddf9bd833a097edc027708c11aef53d911f69d0362277996776c4c428c3af1a013766f190e8f9179adc EBUILD sentry-sdk-1.45.0.ebuild 5766 BLAKE2B 154a80a762a3491c8c959058e8c95301d1dff758c1b80f40f2caac4f03553599a299a5bf3f1b0d0df107cb102f21ed6c67a1b4727e1f2abcae2da9a0a6f17562 SHA512 339e0187ed78b0f95014b0d01f746a5753b431601062c54f6debe9ec53ee92cc42c5feeed1ad9a7c3352926f782a4c0e8a34bbc68c6509d54025301b6871123d +EBUILD sentry-sdk-2.0.0.ebuild 6039 BLAKE2B 0c6e358d5ffc7f928865e8773d2499276296ef27be96ca59eea47f00c088169cbfe78d788b55991382d510cdfc492ca625c588741b4f1ccd68044eef06f1b67c SHA512 67fde60b1249ef6df008e0a5edff6b07dc7c82083dc7a3d8e81b7d8ad3ae27d97497f66f9c7320823f6062b026bc3723c9834857fdf8aedbf89f964c578dc298 +EBUILD sentry-sdk-2.0.1.ebuild 6039 BLAKE2B 0c6e358d5ffc7f928865e8773d2499276296ef27be96ca59eea47f00c088169cbfe78d788b55991382d510cdfc492ca625c588741b4f1ccd68044eef06f1b67c SHA512 67fde60b1249ef6df008e0a5edff6b07dc7c82083dc7a3d8e81b7d8ad3ae27d97497f66f9c7320823f6062b026bc3723c9834857fdf8aedbf89f964c578dc298 MISC metadata.xml 510 BLAKE2B e00011699ac2cc83f1923e1f6fa813ede7eab8c57f9ce9d9fca04e721b089db1c5f2bdffaa7b9856f56b433abd9189125e07ffd3f329e4fa8d098e28a4f2d7bd SHA512 bafb77a102d94fe050cb526b298fb8cfd56775cb4d07eda280f6356fbec6fbe5df5c9ebd459d9d4457cd027c2e0d7c349e053fa6070b52f0d2989f6ec600b87d diff --git a/dev-python/sentry-sdk/sentry-sdk-2.0.0.ebuild b/dev-python/sentry-sdk/sentry-sdk-2.0.0.ebuild new file mode 100644 index 000000000000..714519a746bd --- /dev/null +++ b/dev-python/sentry-sdk/sentry-sdk-2.0.0.ebuild @@ -0,0 +1,160 @@ +# 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_{11..12} ) + +inherit distutils-r1 + +MY_P=sentry-python-${PV} +DESCRIPTION="Python client for Sentry" +HOMEPAGE=" + https://sentry.io/ + https://github.com/getsentry/sentry-python/ + https://pypi.org/project/sentry-sdk/ +" +SRC_URI=" + https://github.com/getsentry/sentry-python/archive/${PV}.tar.gz + -> ${MY_P}.gh.tar.gz +" +S=${WORKDIR}/${MY_P} + +LICENSE="PSF-2" +SLOT="0" +KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~ppc64 ~riscv ~sparc ~x86" + +RDEPEND=" + dev-python/urllib3[${PYTHON_USEDEP}] + dev-python/certifi[${PYTHON_USEDEP}] +" +BDEPEND=" + test? ( + dev-python/asttokens[${PYTHON_USEDEP}] + dev-python/django[${PYTHON_USEDEP}] + dev-python/executing[${PYTHON_USEDEP}] + dev-python/fakeredis[${PYTHON_USEDEP}] + dev-python/flask-login[${PYTHON_USEDEP}] + dev-python/jsonschema[${PYTHON_USEDEP}] + dev-python/pyrsistent[${PYTHON_USEDEP}] + <dev-python/pytest-8[${PYTHON_USEDEP}] + dev-python/pytest-aiohttp[${PYTHON_USEDEP}] + dev-python/pytest-django[${PYTHON_USEDEP}] + dev-python/pytest-forked[${PYTHON_USEDEP}] + dev-python/pytest-localserver[${PYTHON_USEDEP}] + dev-python/python-socks[${PYTHON_USEDEP}] + dev-python/responses[${PYTHON_USEDEP}] + dev-python/werkzeug[${PYTHON_USEDEP}] + dev-python/zope-event[${PYTHON_USEDEP}] + ) +" + +distutils_enable_tests pytest + +PATCHES=( + "${FILESDIR}/sentry-sdk-1.21.0-ignore-warnings.patch" +) + +python_test() { + local EPYTEST_IGNORE=( + # tests require Internet access + tests/integrations/httpx/test_httpx.py + tests/integrations/requests/test_requests.py + tests/integrations/stdlib/test_httplib.py + tests/integrations/flask/test_flask.py + tests/integrations/django/test_basic.py + tests/integrations/socket/test_socket.py + # wtf is it supposed to do?! + tests/integrations/gcp/test_gcp.py + # broken by rq-1.10.1 (optional dep) + tests/integrations/rq/test_rq.py + # fastapi is not packaged + tests/integrations/asgi/test_fastapi.py + # TODO + tests/integrations/bottle + # TODO: causes breakage in other tests + tests/integrations/starlette + # TODO + tests/integrations/tornado + # requires mockupdb + tests/integrations/pymongo + # requires AWS access + tests/integrations/aws_lambda + # requires quart_auth + tests/integrations/quart + # TODO: require opentelemetry (with py3.10) + tests/integrations/opentelemetry + ) + + local EPYTEST_DESELECT=( + # hangs + 'tests/test_transport.py::test_transport_works' + # TODO + 'tests/test_basics.py::test_auto_enabling_integrations_catches_import_error' + tests/test_client.py::test_databag_depth_stripping + tests/test_client.py::test_databag_string_stripping + tests/test_client.py::test_databag_breadth_stripping + tests/integrations/asgi/test_asgi.py::test_auto_session_tracking_with_aggregates + tests/integrations/asgi/test_asgi.py::test_websocket + tests/integrations/aiohttp/test_aiohttp.py::test_transaction_style + tests/integrations/aiohttp/test_aiohttp.py::test_traces_sampler_gets_request_object_in_sampling_context + tests/integrations/django/test_data_scrubbing.py::test_scrub_django_custom_session_cookies_filtered + # incompatible version? + tests/integrations/falcon/test_falcon.py + tests/integrations/sqlalchemy/test_sqlalchemy.py::test_large_event_not_truncated + tests/integrations/django/test_data_scrubbing.py::test_scrub_django_session_cookies_{filtered,removed} + # test_circular_references: apparently fragile + 'tests/integrations/threading/test_threading.py::test_circular_references' + # test for new feature, fails with IndexError + tests/integrations/wsgi/test_wsgi.py::test_session_mode_defaults_to_request_mode_in_wsgi_handler + # TODO + tests/integrations/wsgi/test_wsgi.py::test_auto_session_tracking_with_aggregates + tests/integrations/wsgi/test_wsgi.py::test_profile_sent_when_profiling_enabled + tests/test_profiler.py::test_sample_buffer + tests/test_profiler.py::test_thread_scheduler_takes_first_samples + tests/test_profiler.py::test_thread_scheduler_takes_more_samples + tests/test_profiler.py::test_thread_scheduler_single_background_thread + # broken with py3.11, *shrug* + tests/test_profiler.py::test_extract_stack_with_max_depth + # TODO + tests/integrations/sqlalchemy/test_sqlalchemy.py::test_long_sql_query_preserved + tests/integrations/sqlalchemy/test_sqlalchemy.py::test_engine_name_not_string + tests/test_scrubber.py::test_breadcrumb_extra_scrubbing + tests/test_scrubber.py::test_span_data_scrubbing + # this is not even funny + tests/test_utils.py::test_installed_modules + # flaky hypothesis stuff + tests/test_serializer.py::test_bytes_serialization_repr_many + # TODO + tests/integrations/aiohttp/test_aiohttp.py::test_basic + tests/tracing/test_decorator_py3.py::test_trace_decorator_{,a}sync_py3 + # crashes Python + tests/integrations/grpc/test_grpc_aio.py + # hangs + tests/integrations/threading/test_threading.py::test_propagates_threadpool_hub + # TODO + tests/test_utils.py::test_default_release + tests/integrations/sqlalchemy/test_sqlalchemy.py::test_orm_queries + tests/integrations/sqlalchemy/test_sqlalchemy.py::test_transactions + tests/integrations/sqlalchemy/test_sqlalchemy.py::test_query_source + tests/integrations/stdlib/test_subprocess.py::test_subprocess_basic + tests/integrations/threading/test_threading.py + tests/integrations/wsgi/test_wsgi.py + 'tests/utils/test_contextvars.py::test_leaks[threads]' + # skipped without gevent but breaks stuff via broken teardown? + tests/test_metrics.py::test_no_metrics_with_gevent + # TODO + tests/utils/test_contextvars.py::test_leaks + # broken teardown? + tests/test_client.py::test_uwsgi_warnings + # too many dependencies installed, sigh + tests/test_new_scopes_compat_event.py + # TODO + tests/tracing/test_sampling.py::test_records_lost_event_only_if_traces_sample_rate_enabled + tests/tracing/test_sampling.py::test_records_lost_event_only_if_traces_sampler_enabled + ) + + local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1 + epytest -p asyncio -p aiohttp -p pytest_forked +} diff --git a/dev-python/sentry-sdk/sentry-sdk-2.0.1.ebuild b/dev-python/sentry-sdk/sentry-sdk-2.0.1.ebuild new file mode 100644 index 000000000000..714519a746bd --- /dev/null +++ b/dev-python/sentry-sdk/sentry-sdk-2.0.1.ebuild @@ -0,0 +1,160 @@ +# 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_{11..12} ) + +inherit distutils-r1 + +MY_P=sentry-python-${PV} +DESCRIPTION="Python client for Sentry" +HOMEPAGE=" + https://sentry.io/ + https://github.com/getsentry/sentry-python/ + https://pypi.org/project/sentry-sdk/ +" +SRC_URI=" + https://github.com/getsentry/sentry-python/archive/${PV}.tar.gz + -> ${MY_P}.gh.tar.gz +" +S=${WORKDIR}/${MY_P} + +LICENSE="PSF-2" +SLOT="0" +KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~ppc64 ~riscv ~sparc ~x86" + +RDEPEND=" + dev-python/urllib3[${PYTHON_USEDEP}] + dev-python/certifi[${PYTHON_USEDEP}] +" +BDEPEND=" + test? ( + dev-python/asttokens[${PYTHON_USEDEP}] + dev-python/django[${PYTHON_USEDEP}] + dev-python/executing[${PYTHON_USEDEP}] + dev-python/fakeredis[${PYTHON_USEDEP}] + dev-python/flask-login[${PYTHON_USEDEP}] + dev-python/jsonschema[${PYTHON_USEDEP}] + dev-python/pyrsistent[${PYTHON_USEDEP}] + <dev-python/pytest-8[${PYTHON_USEDEP}] + dev-python/pytest-aiohttp[${PYTHON_USEDEP}] + dev-python/pytest-django[${PYTHON_USEDEP}] + dev-python/pytest-forked[${PYTHON_USEDEP}] + dev-python/pytest-localserver[${PYTHON_USEDEP}] + dev-python/python-socks[${PYTHON_USEDEP}] + dev-python/responses[${PYTHON_USEDEP}] + dev-python/werkzeug[${PYTHON_USEDEP}] + dev-python/zope-event[${PYTHON_USEDEP}] + ) +" + +distutils_enable_tests pytest + +PATCHES=( + "${FILESDIR}/sentry-sdk-1.21.0-ignore-warnings.patch" +) + +python_test() { + local EPYTEST_IGNORE=( + # tests require Internet access + tests/integrations/httpx/test_httpx.py + tests/integrations/requests/test_requests.py + tests/integrations/stdlib/test_httplib.py + tests/integrations/flask/test_flask.py + tests/integrations/django/test_basic.py + tests/integrations/socket/test_socket.py + # wtf is it supposed to do?! + tests/integrations/gcp/test_gcp.py + # broken by rq-1.10.1 (optional dep) + tests/integrations/rq/test_rq.py + # fastapi is not packaged + tests/integrations/asgi/test_fastapi.py + # TODO + tests/integrations/bottle + # TODO: causes breakage in other tests + tests/integrations/starlette + # TODO + tests/integrations/tornado + # requires mockupdb + tests/integrations/pymongo + # requires AWS access + tests/integrations/aws_lambda + # requires quart_auth + tests/integrations/quart + # TODO: require opentelemetry (with py3.10) + tests/integrations/opentelemetry + ) + + local EPYTEST_DESELECT=( + # hangs + 'tests/test_transport.py::test_transport_works' + # TODO + 'tests/test_basics.py::test_auto_enabling_integrations_catches_import_error' + tests/test_client.py::test_databag_depth_stripping + tests/test_client.py::test_databag_string_stripping + tests/test_client.py::test_databag_breadth_stripping + tests/integrations/asgi/test_asgi.py::test_auto_session_tracking_with_aggregates + tests/integrations/asgi/test_asgi.py::test_websocket + tests/integrations/aiohttp/test_aiohttp.py::test_transaction_style + tests/integrations/aiohttp/test_aiohttp.py::test_traces_sampler_gets_request_object_in_sampling_context + tests/integrations/django/test_data_scrubbing.py::test_scrub_django_custom_session_cookies_filtered + # incompatible version? + tests/integrations/falcon/test_falcon.py + tests/integrations/sqlalchemy/test_sqlalchemy.py::test_large_event_not_truncated + tests/integrations/django/test_data_scrubbing.py::test_scrub_django_session_cookies_{filtered,removed} + # test_circular_references: apparently fragile + 'tests/integrations/threading/test_threading.py::test_circular_references' + # test for new feature, fails with IndexError + tests/integrations/wsgi/test_wsgi.py::test_session_mode_defaults_to_request_mode_in_wsgi_handler + # TODO + tests/integrations/wsgi/test_wsgi.py::test_auto_session_tracking_with_aggregates + tests/integrations/wsgi/test_wsgi.py::test_profile_sent_when_profiling_enabled + tests/test_profiler.py::test_sample_buffer + tests/test_profiler.py::test_thread_scheduler_takes_first_samples + tests/test_profiler.py::test_thread_scheduler_takes_more_samples + tests/test_profiler.py::test_thread_scheduler_single_background_thread + # broken with py3.11, *shrug* + tests/test_profiler.py::test_extract_stack_with_max_depth + # TODO + tests/integrations/sqlalchemy/test_sqlalchemy.py::test_long_sql_query_preserved + tests/integrations/sqlalchemy/test_sqlalchemy.py::test_engine_name_not_string + tests/test_scrubber.py::test_breadcrumb_extra_scrubbing + tests/test_scrubber.py::test_span_data_scrubbing + # this is not even funny + tests/test_utils.py::test_installed_modules + # flaky hypothesis stuff + tests/test_serializer.py::test_bytes_serialization_repr_many + # TODO + tests/integrations/aiohttp/test_aiohttp.py::test_basic + tests/tracing/test_decorator_py3.py::test_trace_decorator_{,a}sync_py3 + # crashes Python + tests/integrations/grpc/test_grpc_aio.py + # hangs + tests/integrations/threading/test_threading.py::test_propagates_threadpool_hub + # TODO + tests/test_utils.py::test_default_release + tests/integrations/sqlalchemy/test_sqlalchemy.py::test_orm_queries + tests/integrations/sqlalchemy/test_sqlalchemy.py::test_transactions + tests/integrations/sqlalchemy/test_sqlalchemy.py::test_query_source + tests/integrations/stdlib/test_subprocess.py::test_subprocess_basic + tests/integrations/threading/test_threading.py + tests/integrations/wsgi/test_wsgi.py + 'tests/utils/test_contextvars.py::test_leaks[threads]' + # skipped without gevent but breaks stuff via broken teardown? + tests/test_metrics.py::test_no_metrics_with_gevent + # TODO + tests/utils/test_contextvars.py::test_leaks + # broken teardown? + tests/test_client.py::test_uwsgi_warnings + # too many dependencies installed, sigh + tests/test_new_scopes_compat_event.py + # TODO + tests/tracing/test_sampling.py::test_records_lost_event_only_if_traces_sample_rate_enabled + tests/tracing/test_sampling.py::test_records_lost_event_only_if_traces_sampler_enabled + ) + + local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1 + epytest -p asyncio -p aiohttp -p pytest_forked +} diff --git a/dev-python/setuptools/Manifest b/dev-python/setuptools/Manifest index ccb0c90a255e..2f3f86444343 100644 --- a/dev-python/setuptools/Manifest +++ b/dev-python/setuptools/Manifest @@ -4,5 +4,6 @@ DIST setuptools-69.2.0.tar.gz 2222950 BLAKE2B 9f2bfee2bc6ca05c319137166d8b7a4fc8 DIST setuptools-69.5.1.tar.gz 2291314 BLAKE2B 3756dd587136c7e688bdfecf4c0434c0e799f50f9a9a95750d41cb75e26b613b3dc178f43a9e0d21f17c42a7c4ad7461e7986966aefb814e3d0ff05178c82542 SHA512 81f4a5184976a0d4aa070261bb56458c54ec6a479786fa469e98cb336e9a1691b281ae771abe41bc5398fac15b2dd039c07cf014ee00572f46908ce6830fcb6a EBUILD setuptools-69.0.3-r1.ebuild 3942 BLAKE2B 7f198d6bf946f17df21143474c91c61be21ebde1c035f1dabdb78cf5308b978113bcb5f0d353ded961493ee8b0b9636f3354c6ac8fdc06bf16b75c2e12c32499 SHA512 170054320f5213dd0e9532836378415191796149bd6ea97824a4aad5019b5ee0e459b0a260aab176ae4cab8cc795d037ea29620d742f35b058d09e5ef5918136 EBUILD setuptools-69.2.0-r1.ebuild 4383 BLAKE2B fd8a9ddde671d272d0f9c333fcae05e54dd1b2e127e43c656f19b2d312bdfd2185ef6a984412154feec236bf1b910808017849a7d1726e5511d152233bf27af6 SHA512 1cc67aa39a272c1035e799e4eb6a9ff8448cdc2ac92c613055a05a18863bec5e1c5d73494e954f06f63fbfb3cd9f884d82d6297f6a3037e91d8875c1691cffcc -EBUILD setuptools-69.5.1.ebuild 4485 BLAKE2B 9532bac99bfe97b3b9d7cf78c4230ada458f58ea23200fd14f7b2a1759eed988a669646671f1d0b38e1c065a7f83ef76146fed791212850c05f3ca3ec0279192 SHA512 da44436084e8191d376fb80589ca7ccc1279e00208b3d50499f9943a8ff4d91f7459b1b6e4b6d069a527b32ab02be2ddec3535e21b08fef390ee6aa2ceabbc28 +EBUILD setuptools-69.2.0-r2.ebuild 4486 BLAKE2B 00f65a2be08272c52afb38ce25aacda05a124b24b4e3f45d00985c65dfa628a008fbab4e1b6bf9d19d26eb4559602d4f9925dcf6c2e3eefd4a29caa5f1ec3abc SHA512 c0d1cb983d92dd3305552900f974fbd562f9290f09f90a5283a2faf8d53601fe8b0facb19b549bbde5bfbd67ac3b38237a0a3c23b403ebcfbbff8202f8bd6b95 +EBUILD setuptools-69.5.1-r1.ebuild 4580 BLAKE2B 0068a50e2d93f4f8cd8a7bb93f239157abf3cb410937999446c9e9808a6d6efdab01d1ddb2dbe21e856d5b7167cc9abc217ac310b949037e4bdd901ae1770d1a SHA512 f776196831087f083321e022c35387ebd121f67266ba81e044f697a6b7fc28e91347a74a2ce09444ccdf8a42dd294da73ddaeddfcfe1754252ca7251a843d7db MISC metadata.xml 469 BLAKE2B 4a26769b09a3785586b22db850b7fc5c4818f31c3ace9cc94476d35df05e50edf6721f3c95ec615c3b2efe071ef284a54ea2d53566316ba653f7830bb48f80bf SHA512 dd682c4ad2e59a97094ebdabe4d1063e2319ed05e1fe9d8c2fafe069badb3b4cf8bb6d9f50e09d2128e2a081c1c69827407ac8aed644ebf70eb4ca1bc9a57319 diff --git a/dev-python/setuptools/setuptools-69.2.0-r2.ebuild b/dev-python/setuptools/setuptools-69.2.0-r2.ebuild new file mode 100644 index 000000000000..d4b20999e641 --- /dev/null +++ b/dev-python/setuptools/setuptools-69.2.0-r2.ebuild @@ -0,0 +1,130 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +# please keep this ebuild at EAPI 8 -- sys-apps/portage dep +EAPI=8 + +# please bump dev-python/ensurepip-setuptools along with this package! + +DISTUTILS_USE_PEP517=standalone +PYTHON_TESTED=( python3_{10..12} pypy3 ) +PYTHON_COMPAT=( "${PYTHON_TESTED[@]}" ) +PYTHON_REQ_USE="xml(+)" + +inherit distutils-r1 pypi + +DESCRIPTION="Collection of extensions to Distutils" +HOMEPAGE=" + https://github.com/pypa/setuptools/ + https://pypi.org/project/setuptools/ +" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86" +IUSE="test" +RESTRICT="!test? ( test )" + +RDEPEND=" + >=dev-python/jaraco-text-3.7.0-r1[${PYTHON_USEDEP}] + >=dev-python/more-itertools-8.12.0-r1[${PYTHON_USEDEP}] + >=dev-python/ordered-set-4.0.2-r1[${PYTHON_USEDEP}] + >=dev-python/packaging-23.2[${PYTHON_USEDEP}] + >=dev-python/platformdirs-2.6.2-r1[${PYTHON_USEDEP}] + >=dev-python/wheel-0.37.1-r1[${PYTHON_USEDEP}] + $(python_gen_cond_dep ' + >=dev-python/tomli-2.0.1[${PYTHON_USEDEP}] + ' python3_10 pypy3) +" +BDEPEND=" + ${RDEPEND} + test? ( + $(python_gen_cond_dep ' + dev-python/build[${PYTHON_USEDEP}] + dev-python/importlib-metadata[${PYTHON_USEDEP}] + >=dev-python/ini2toml-0.9[${PYTHON_USEDEP}] + >=dev-python/filelock-3.4.0[${PYTHON_USEDEP}] + >=dev-python/jaraco-envs-2.2[${PYTHON_USEDEP}] + >=dev-python/jaraco-path-3.2.0[${PYTHON_USEDEP}] + dev-python/pip[${PYTHON_USEDEP}] + dev-python/pip-run[${PYTHON_USEDEP}] + dev-python/pytest[${PYTHON_USEDEP}] + >=dev-python/pytest-home-0.5[${PYTHON_USEDEP}] + dev-python/pytest-timeout[${PYTHON_USEDEP}] + dev-python/pytest-xdist[${PYTHON_USEDEP}] + dev-python/tomli[${PYTHON_USEDEP}] + >=dev-python/virtualenv-20[${PYTHON_USEDEP}] + ' "${PYTHON_TESTED[@]}") + $(python_gen_cond_dep ' + >=dev-python/tomli-w-1.0.0[${PYTHON_USEDEP}] + ' python3_10 pypy3) + ) +" +# setuptools-scm is here because installing plugins apparently breaks stuff at +# runtime, so let's pull it early. See bug #663324. +PDEPEND=" + dev-python/setuptools-scm[${PYTHON_USEDEP}] +" + +src_prepare() { + local PATCHES=( + # TODO: remove this when we're 100% PEP517 mode + "${FILESDIR}"/setuptools-62.4.0-py-compile.patch + ) + + distutils-r1_src_prepare + + # remove bundled dependencies + rm -r */_vendor || die + + # remove the ugly */extern hack that breaks on unvendored deps + rm -r */extern || die + find -name '*.py' -exec sed \ + -e 's:from \w*[.]\+extern ::' -e 's:\w*[.]\+extern[.]::' \ + -i {} + || die +} + +python_test() { + if ! has "${EPYTHON}" "${PYTHON_TESTED[@]/_/.}"; then + return + fi + + local EPYTEST_DESELECT=( + # network + # TODO: see if PRE_BUILT_SETUPTOOLS_* helps + setuptools/tests/config/test_apply_pyprojecttoml.py::test_apply_pyproject_equivalent_to_setupcfg + setuptools/tests/integration/test_pip_install_sdist.py::test_install_sdist + setuptools/tests/test_build_meta.py::test_legacy_editable_install + setuptools/tests/test_distutils_adoption.py + setuptools/tests/test_editable_install.py + setuptools/tests/test_setuptools.py::test_its_own_wheel_does_not_contain_tests + setuptools/tests/test_virtualenv.py::test_clean_env_install + setuptools/tests/test_virtualenv.py::test_no_missing_dependencies + setuptools/tests/test_virtualenv.py::test_test_command_install_requirements + # TODO + setuptools/tests/config/test_setupcfg.py::TestConfigurationReader::test_basic + setuptools/tests/config/test_setupcfg.py::TestConfigurationReader::test_ignore_errors + setuptools/tests/test_extern.py::test_distribution_picklable + # expects bundled deps in virtualenv + setuptools/tests/config/test_apply_pyprojecttoml.py::TestMeta::test_example_file_in_sdist + setuptools/tests/config/test_apply_pyprojecttoml.py::TestMeta::test_example_file_not_in_wheel + # fails if python-xlib is installed + setuptools/tests/test_easy_install.py::TestSetupRequires::test_setup_requires_with_allow_hosts + # TODO, probably some random package + setuptools/tests/config/test_setupcfg.py::TestOptions::test_cmdclass + # Internet, sigh + setuptools/tests/test_integration.py + ) + + case ${EPYTHON} in + python3.12) + EPYTEST_DESELECT+=( + # TODO + setuptools/tests/test_easy_install.py::TestSetupRequires::test_setup_requires_with_distutils_command_dep + setuptools/tests/test_easy_install.py::TestSetupRequires::test_setup_requires_with_transitive_extra_dependency + ) + esac + + local EPYTEST_XDIST=1 + epytest -o tmp_path_retention_policy=all setuptools +} diff --git a/dev-python/setuptools/setuptools-69.5.1.ebuild b/dev-python/setuptools/setuptools-69.5.1-r1.ebuild index dc754993995f..3bac9cca38f2 100644 --- a/dev-python/setuptools/setuptools-69.5.1.ebuild +++ b/dev-python/setuptools/setuptools-69.5.1-r1.ebuild @@ -32,8 +32,10 @@ RDEPEND=" >=dev-python/ordered-set-4.0.2-r1[${PYTHON_USEDEP}] >=dev-python/packaging-24[${PYTHON_USEDEP}] >=dev-python/platformdirs-2.6.2-r1[${PYTHON_USEDEP}] - >=dev-python/tomli-2.0.1[${PYTHON_USEDEP}] >=dev-python/wheel-0.37.1-r1[${PYTHON_USEDEP}] + $(python_gen_cond_dep ' + >=dev-python/tomli-2.0.1[${PYTHON_USEDEP}] + ' python3_10 pypy3) " BDEPEND=" ${RDEPEND} @@ -52,9 +54,11 @@ BDEPEND=" dev-python/pytest-timeout[${PYTHON_USEDEP}] dev-python/pytest-xdist[${PYTHON_USEDEP}] dev-python/tomli[${PYTHON_USEDEP}] - >=dev-python/tomli-w-1.0.0[${PYTHON_USEDEP}] >=dev-python/virtualenv-20[${PYTHON_USEDEP}] ' "${PYTHON_TESTED[@]}") + $(python_gen_cond_dep ' + >=dev-python/tomli-w-1.0.0[${PYTHON_USEDEP}] + ' python3_10 pypy3) ) " # setuptools-scm is here because installing plugins apparently breaks stuff at diff --git a/dev-python/sqlglot/Manifest b/dev-python/sqlglot/Manifest index 44fad4b16e7a..4a110822b09e 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-23.10.0.tar.gz 12967869 BLAKE2B da7f6bb47c359d564de40e5a13d1fc77526602e62a8a1f8952fbe01b56f9c1e6ec3163660b5b811ed79c5b79b4743bbedfa9b54da35365d7a72f906908c07387 SHA512 84b6fa716e129dfb304c98e8b72fb418f86d90e653f5b9986b82ccc750d9dcc71df419c69a67c95401afb0a0a1a46ea1659b5717f66ba63e6a1586ccffc539aa DIST sqlglot-23.11.2.tar.gz 13000890 BLAKE2B a99d243fe9b353cf934b00197db245d8846c3d205d43ba7e6a09bcd5dc193d7977ed3ab188a651a9630c2d72cd6bcbb64c60bf2ccacf439e3775ef356109b3a9 SHA512 0fd4cfb021da463a8c553155fec957f083fb2c8dfe382e08ec2bbc01797bb6703c5a2c6445c8053e27779166f81186a2dfb185297b60c6bf1d5893136394e26b +DIST sqlglot-23.12.1.tar.gz 13027588 BLAKE2B 65c96da31433bba16229551b1041d7a9b659ee26ecb2de5ad9c92ecd88c7a3ff22d1b9082b29a0a0a744c917bd61cc9c31a1207ed43bed9fab14e2eb6c8e5ac6 SHA512 f71ff84c23d20a40ac1bd1b560573bd5019f51c98fda4e9a5468cd1223fb561cddfc5a3d1bfd0af95434191b0c32434f29220d78223e8c82fa477acf3b93f880 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-23.10.0.ebuild 2602 BLAKE2B 3bfbd91a9bd26b48f14f4ca2d1143e55e37da4f8c0d893b1a3d4d5853b7959d325669fc46e8f79e5e817b139ccf0684e663456d3b45785195b4e06942522ff08 SHA512 f8c1aa7ea03ed2e0044b6550a13f1e2e40999a16a247cd7206db725c14d3ba06a92cd1909a0126d51ac583ecd8a4825f4da678aab079eb94a7e7cbad16ecafa2 EBUILD sqlglot-23.11.2.ebuild 2602 BLAKE2B 3bfbd91a9bd26b48f14f4ca2d1143e55e37da4f8c0d893b1a3d4d5853b7959d325669fc46e8f79e5e817b139ccf0684e663456d3b45785195b4e06942522ff08 SHA512 f8c1aa7ea03ed2e0044b6550a13f1e2e40999a16a247cd7206db725c14d3ba06a92cd1909a0126d51ac583ecd8a4825f4da678aab079eb94a7e7cbad16ecafa2 +EBUILD sqlglot-23.12.1.ebuild 2602 BLAKE2B 3bfbd91a9bd26b48f14f4ca2d1143e55e37da4f8c0d893b1a3d4d5853b7959d325669fc46e8f79e5e817b139ccf0684e663456d3b45785195b4e06942522ff08 SHA512 f8c1aa7ea03ed2e0044b6550a13f1e2e40999a16a247cd7206db725c14d3ba06a92cd1909a0126d51ac583ecd8a4825f4da678aab079eb94a7e7cbad16ecafa2 MISC metadata.xml 611 BLAKE2B 10bf684677182565c9932d51ed9b3b9c80d376d6db945bd7b0dd0d9a19a85dc0d10cb169ff2048ae5f7f73d0f438d259b6231c13c525b5374ec99377f4ffdd10 SHA512 2b26d0f77962807052b94ad78addcfdce9859042af3be34df267dc6e70b6231dd779563935fd21955cd8646fd0cce3fee8c939387ac8056194a0b777743dd2ae diff --git a/dev-python/sqlglot/sqlglot-23.10.0.ebuild b/dev-python/sqlglot/sqlglot-23.12.1.ebuild index 058fa81df816..058fa81df816 100644 --- a/dev-python/sqlglot/sqlglot-23.10.0.ebuild +++ b/dev-python/sqlglot/sqlglot-23.12.1.ebuild diff --git a/dev-python/stripe/Manifest b/dev-python/stripe/Manifest index d04535a29acb..e791f075b8da 100644 --- a/dev-python/stripe/Manifest +++ b/dev-python/stripe/Manifest @@ -1,7 +1,9 @@ DIST stripe-8.11.0.tar.gz 1215071 BLAKE2B 7e3eec2008582a7ba52bf6c9a9676f5886cb3a52aed06302f2a21c572db01c759f5a48a743ee32d76cd54d28acb507b46ee556a10b277c6727e0737f055506bf SHA512 9d53ed3e253f18de36dfaf3c28fbcba7ef957f35b6f117c0dcb50040e0484f6fde1f3deb816d51aac62ddad64a20ae344acd25d680ec10c7fa7ddde1cf16c0ec DIST stripe-9.2.0.tar.gz 1221000 BLAKE2B efa869e7f9039fbf5ec2c7308b1f2b098f870289224f5f941ae3555c2f9177cf18210f813e26fb068841855d62697d25302b10dd8db0aa7de2af74b827ea151c SHA512 a579c537b3cfea245638d649734f62f6734e237db4d2bc733f933ecf03ac2576e9fdce2ad1adf5891db72c68e2166907b93e4e5d98b6ef92962423f7d8241ee2 DIST stripe-9.3.0.tar.gz 1257309 BLAKE2B 819f2ece26282020383953b2f9436023796897b7928ac9f07c753a56a79aa8b80cadad9b1f8b1021224f6a4f704a3c2a92aa807d60a6bc769992d7fc6793aecb SHA512 708ffe2b36946de7e5780f582bc0db6a7b3dc82c163a0839491060944e882fa1f7679900d398b87fd2dc336d2e74eccc0f4f821095ce0465affd49b813d2b4fa +DIST stripe-9.4.0.tar.gz 1260466 BLAKE2B 77bcca5fa3e514733f3812b738ae1590da641b24e58de4d6e2eb49d45512e6eecc6025912d03e73344645bd86ea14db2673f9fe9c34519520284bdf965c98eae SHA512 6d290c0c0e86c9eac5862bea8918c7f4508049b0f87fca7e087d05678a35eec28acd1304a8a6f32265856baa8992f364c4cb98b85727862989990024a240ba49 EBUILD stripe-8.11.0.ebuild 2432 BLAKE2B 5af3c2c5c3421678ff04400d3306cd162d6f41f14ef09d98721cdf4a93e9d97ab71b5dbdc3c46253a55e5164d00998e339a34af3e74be6f2b624754b48d902e6 SHA512 a50a3e05e5013af2659b95b98e8f53d19f183dbd8ff1a2b1861daf82e414380a311db7d95a80f420c3b3673b88f3afef0fe7e75215662550727a6106bedce936 EBUILD stripe-9.2.0.ebuild 2435 BLAKE2B 627bf2d2954bb2a1bc5f6917efe52afff69e4b4dba3333cde9457e857f37033d4ef39c5b61f17828a925cfb3c400174ae2c135eac7e112f9a8437d9d3721ac0e SHA512 c6dbc570fec46d1e647923d6b161275b08786b8eaaa6fca482b97b3a4957c4f220437315ad1749e1ec5e0abfe8444dc42be48093726e6c866702ea57ef0e8ab6 EBUILD stripe-9.3.0.ebuild 2435 BLAKE2B 627bf2d2954bb2a1bc5f6917efe52afff69e4b4dba3333cde9457e857f37033d4ef39c5b61f17828a925cfb3c400174ae2c135eac7e112f9a8437d9d3721ac0e SHA512 c6dbc570fec46d1e647923d6b161275b08786b8eaaa6fca482b97b3a4957c4f220437315ad1749e1ec5e0abfe8444dc42be48093726e6c866702ea57ef0e8ab6 +EBUILD stripe-9.4.0.ebuild 2435 BLAKE2B 32fc034c5c1ac6b645b6661ffd16eb8d631a2b805107d6eddbf69b3c107d9fd4624d2e7303308e783d06114e1ff35a6d40d735fa1b0ed9a79f0d18d14b2d1b30 SHA512 9528f01afb84a4cfee24fa0060a926b6b34eec0d24e36bf248ee8ff360f905b71c6ff5c8a003aa2c7460e9390dd95d184175edb01230fb79544b6def09ee48d4 MISC metadata.xml 673 BLAKE2B 6b85b1f88713d2365274fcff21648748039b48028b3c34c1192e16ca12d0f3b4d14ab13c7c2a744c381898ea0c1304bda8be52d3fadddc1a1b787f010b001398 SHA512 e3178927a69d14f59673acc5eaedda59db5a07e2145ed6fb0597363b60183cb3e7a7b0feefc1d4c9095d52ed96e0be32ef5dc23ad0c20fd6e6b33c830177c0be diff --git a/dev-python/stripe/stripe-9.4.0.ebuild b/dev-python/stripe/stripe-9.4.0.ebuild new file mode 100644 index 000000000000..c2489c242a9d --- /dev/null +++ b/dev-python/stripe/stripe-9.4.0.ebuild @@ -0,0 +1,88 @@ +# 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..12} pypy3 ) + +inherit distutils-r1 pypi + +DESCRIPTION="Stripe python bindings" +HOMEPAGE=" + https://github.com/stripe/stripe-python/ + https://pypi.org/project/stripe/ +" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64 ~arm64 ~x86" +IUSE="telemetry" + +RDEPEND=" + >=dev-python/requests-2.20[${PYTHON_USEDEP}] + >=dev-python/typing-extensions-4.5.0[${PYTHON_USEDEP}] +" +# please bump dev-util/stripe-mock dep to the latest version on every bump +BDEPEND=" + test? ( + >=dev-util/stripe-mock-0.185.0 + dev-python/aiohttp[${PYTHON_USEDEP}] + dev-python/anyio[${PYTHON_USEDEP}] + dev-python/httpx[${PYTHON_USEDEP}] + dev-python/pytest-mock[${PYTHON_USEDEP}] + dev-python/trio[${PYTHON_USEDEP}] + net-misc/curl + ) +" + +distutils_enable_tests pytest + +DOCS=( LONG_DESCRIPTION.rst CHANGELOG.md README.md ) + +src_prepare() { + if ! use telemetry; then + sed -i -e '/enable_telemetry/s:True:False:' stripe/__init__.py || die + fi + # https://github.com/stripe/stripe-python/pull/1297 + sed -e 's:from mock:from unittest.mock:' \ + -i tests/test_http_client.py || die + distutils-r1_src_prepare +} + +python_test() { + local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1 + epytest tests -p anyio -p pytest_mock +} + +src_test() { + local stripe_mock_port=12111 + local stripe_mock_max_port=12121 + local stripe_mock_logfile="${T}/stripe_mock_${EPYTHON}.log" + # Try to start stripe-mock until we find a free port + while [[ ${stripe_mock_port} -le ${stripe_mock_max_port} ]]; do + ebegin "Trying to start stripe-mock on port ${stripe_mock_port}" + stripe-mock --http-port "${stripe_mock_port}" &> "${stripe_mock_logfile}" & + local stripe_mock_pid=${!} + sleep 2 + # Did stripe-mock start? + curl --fail -u "sk_test_123:" \ + "http://127.0.0.1:${stripe_mock_port}/v1/customers" &> /dev/null + eend ${?} "Port ${stripe_mock_port} unavailable" + if [[ ${?} -eq 0 ]]; then + einfo "stripe-mock running on port ${stripe_mock_port}" + break + fi + (( stripe_mock_port++ )) + done + if [[ ${stripe_mock_port} -gt ${stripe_mock_max_port} ]]; then + eerror "Unable to start stripe-mock for tests" + die "Please see the logfile located at: ${stripe_mock_logfile}" + fi + + local -x STRIPE_MOCK_PORT=${stripe_mock_port} + distutils-r1_src_test + + # Tear down stripe-mock + kill "${stripe_mock_pid}" || die "Unable to stop stripe-mock" +} diff --git a/dev-python/superqt/Manifest b/dev-python/superqt/Manifest index e220bc0609b4..603cd1f69fd6 100644 --- a/dev-python/superqt/Manifest +++ b/dev-python/superqt/Manifest @@ -1,5 +1,3 @@ -DIST superqt-0.6.2.tar.gz 94990 BLAKE2B 1990dcd048fd18913d2c68eb41dd3a0fb1778e468e6c74608f6171e92c0f2a4bf828fb3f73fbbf47f2404fda9864af8bcac66a0a490c35c596e5b5090be39a3a SHA512 8c794ea8dfb8e5aedb3390ce895d392e76faa714f08c1a43c4d8b82ca6353317d9050e5b79d0696e85247fb8772c5fea20642bd7914b1713cd63a737c64397fb -DIST superqt-0.6.3.tar.gz 95200 BLAKE2B 8cd751cd3aefeca192c795ecac4002b8556ea9f6f3a9f7be3b44ff5327dc0dd578cf81aef899453892a5fb43636016abbe808f89e46e3ab8ad88e2094c65f385 SHA512 f50a23cd2999f911160c2b4881501110ea3157640d5801d220f84e38f92cdf7c405194ddf26c990057103c75238ceebef77ec42f7da5f438b702dea10db7232b -EBUILD superqt-0.6.2.ebuild 997 BLAKE2B ac4ed4ef5e6a264a1be8789059760470e2dffa07bb8db7fece9d5a2bf3f00446a3babe3333c800da14a0e86d015233342060543be465284bfefdc67be929790b SHA512 af6a29fe12cb29ca52dfb601bcfe771179db4355195a7decd481da2fa61caf760dea16cf246f313d93ff09be3f480fba12b8d2719db1367395a395a6b54102dd -EBUILD superqt-0.6.3.ebuild 997 BLAKE2B ac4ed4ef5e6a264a1be8789059760470e2dffa07bb8db7fece9d5a2bf3f00446a3babe3333c800da14a0e86d015233342060543be465284bfefdc67be929790b SHA512 af6a29fe12cb29ca52dfb601bcfe771179db4355195a7decd481da2fa61caf760dea16cf246f313d93ff09be3f480fba12b8d2719db1367395a395a6b54102dd +DIST superqt-0.6.4.tar.gz 95502 BLAKE2B 0354fbea1925bac84a72fc1d8e0402ba80fdd38cdec32a0e91c4b360dc8d906d631e5e36ffea8d20baae9d1e620417a08f19c2d4d37778f2e50ca3673e12bca3 SHA512 934df6d7c0dd80e045a03b88fb6b254fd7f7e3a09c882bcd46c3635ed7ba434c5704b110dd590a491fc9cead767c2f885245fdae09ef26e1a1e556d66cb2d7a3 +EBUILD superqt-0.6.4.ebuild 997 BLAKE2B ac4ed4ef5e6a264a1be8789059760470e2dffa07bb8db7fece9d5a2bf3f00446a3babe3333c800da14a0e86d015233342060543be465284bfefdc67be929790b SHA512 af6a29fe12cb29ca52dfb601bcfe771179db4355195a7decd481da2fa61caf760dea16cf246f313d93ff09be3f480fba12b8d2719db1367395a395a6b54102dd MISC metadata.xml 530 BLAKE2B 826ac59ebf84aa7e4ec8423a5c8b9e081cdd5d425eb5113cd0ce038aa46d8cf1e59239e9a06147da1084613cc941f96d06d6377e91f6cb3ce3851621f7256139 SHA512 5cf1b22224b8c5ec9c044e033f373edd629f51a1150cce13e6da8fa1239e43f41dddb44ffbd76cdc76d9280485d22978c185a7e9ba102435100d73f5b29a8b0f diff --git a/dev-python/superqt/superqt-0.6.3.ebuild b/dev-python/superqt/superqt-0.6.3.ebuild deleted file mode 100644 index d28d26f40bb0..000000000000 --- a/dev-python/superqt/superqt-0.6.3.ebuild +++ /dev/null @@ -1,49 +0,0 @@ -# Copyright 1999-2024 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -DISTUTILS_USE_PEP517=hatchling -PYTHON_COMPAT=( python3_{10..12} ) - -inherit distutils-r1 pypi virtualx - -DESCRIPTION="Missing widgets and components for PyQt/PySide" -HOMEPAGE=" - https://github.com/pyapp-kit/superqt - https://pypi.org/project/superqt/ -" - -LICENSE="BSD" -SLOT="0" -KEYWORDS="~amd64" - -RDEPEND=" - >=dev-python/pygments-2.4.0[${PYTHON_USEDEP}] - >=dev-python/QtPy-1.1.0[${PYTHON_USEDEP}] - >=dev-python/typing-extensions-3.7.4.3[${PYTHON_USEDEP}] -" - -BDEPEND=" - dev-python/hatch-vcs[${PYTHON_USEDEP}] - test? ( - dev-python/numpy[${PYTHON_USEDEP}] - dev-python/pytest-qt[${PYTHON_USEDEP}] - ) -" - -EPYTEST_IGNORE=( - # pint and pyconify not packaged - tests/test_quantity.py -) - -EPYTEST_DESELECT=( - # fails in the sandbox, but works outside of it - tests/test_eliding_label.py::test_wrapped_eliding_label -) - -distutils_enable_tests pytest - -python_test() { - virtx distutils-r1_python_test -} diff --git a/dev-python/superqt/superqt-0.6.2.ebuild b/dev-python/superqt/superqt-0.6.4.ebuild index d28d26f40bb0..d28d26f40bb0 100644 --- a/dev-python/superqt/superqt-0.6.2.ebuild +++ b/dev-python/superqt/superqt-0.6.4.ebuild |