From e744ca7502c41cb37fe777c783aa029707910f21 Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Wed, 30 Aug 2023 16:08:47 +0100 Subject: gentoo auto-resync : 30:08:2023 - 16:08:46 --- dev-python/Manifest.gz | Bin 268180 -> 268175 bytes dev-python/QtPy/Manifest | 2 +- dev-python/QtPy/QtPy-2.4.0.ebuild | 4 +- dev-python/indexed-gzip/Manifest | 2 +- .../indexed-gzip/indexed-gzip-1.8.5-r1.ebuild | 68 +++++++++++++++++++++ dev-python/indexed-gzip/indexed-gzip-1.8.5.ebuild | 56 ----------------- 6 files changed, 72 insertions(+), 60 deletions(-) create mode 100644 dev-python/indexed-gzip/indexed-gzip-1.8.5-r1.ebuild delete mode 100644 dev-python/indexed-gzip/indexed-gzip-1.8.5.ebuild (limited to 'dev-python') diff --git a/dev-python/Manifest.gz b/dev-python/Manifest.gz index cef5249697d2..f6262d0c20d5 100644 Binary files a/dev-python/Manifest.gz and b/dev-python/Manifest.gz differ diff --git a/dev-python/QtPy/Manifest b/dev-python/QtPy/Manifest index 4050b9bb5057..c73b518c7ef1 100644 --- a/dev-python/QtPy/Manifest +++ b/dev-python/QtPy/Manifest @@ -2,5 +2,5 @@ DIST QtPy-2.3.1.tar.gz 56260 BLAKE2B 1b8d76879cc1f07b3633e6b25887ac4621ee3a8e9eb DIST QtPy-2.4.0.tar.gz 65007 BLAKE2B d2770608d807959aaa8b0201304be1f3f112f039f8febddf62bc7cd09a04ed53dd7fd89ee782fd3bd11c5f84c8d2a8c529242c2df01d34c27d87ac1f8873017f SHA512 54be0c9b15055f9c078ff8eebd88910d718833f3d9572567076b1fc0c22d3d5c12dc2a2d7fbedb9bc8636d575775e83cb08a554a0ee45a859297501a5711b716 EBUILD QtPy-2.3.1-r1.ebuild 8601 BLAKE2B 4b6aad6be0986c0a63dadae349c511fd26061b2ff6a78b89de04951fff9d64c03c8ef6d8b9dbcb3a5654ca37b68f045a4af268a1abf7d4203e7a89b80e608e31 SHA512 d37012e3485b78db68ab4005223268872b1ec553c77d7b40d4fb19ee97331ced84e52fa97cf7d37ffcda5301cab991cb099a1efb1ebd53c7cf12815c8dd0ae5e EBUILD QtPy-2.3.1.ebuild 8326 BLAKE2B 08fe67f11f10cf1f41dbbf3eb48cecf4ec0b93efde7f39d7d04d4ccad527b2e906348bcd4861ac94a5e2e24cf0635fbe8e0f168eb1572a735b95877bb51cc372 SHA512 81d4aa3e55aede8a48733ada73bd754b78cf6058ec629c3965a81dc7cffafacf75f1155e951b240b38cebe8c562cf40ca2626ba794a70dbc538d3c25b4e32034 -EBUILD QtPy-2.4.0.ebuild 8616 BLAKE2B 470d68bc508b0fd37513d6db724253b72be600614c74ac17a3aee03127b225745b6462c3e6631e949610cebe7a4d2886f67beac08cca701d6d1f3609833bcbd3 SHA512 3515d4fe71edc0366c5b1c9159d50deab0edaa0683ea9fe45fce6df33b3e925a886548668c655a5ce63dbf193f8ac04935ffb0c7618f8d01b8e06e6f73155fbd +EBUILD QtPy-2.4.0.ebuild 8656 BLAKE2B ca1fc1f777312ccb91b98754f3ffa86ef9134964a08e68e86f0e0b99a0998aa4951d839c18249e09db3722b0a736f654420a5969a033f99151ff61ba82bb5f43 SHA512 935a9b15b7ba4ccabf371cd3d03a69cbc932f36ebd6d44ec89ab9034abd1b2dabccc50ac70f48fb08db663ae1a4931d850fc1a7632f7d5802d2e7203522b18f2 MISC metadata.xml 2716 BLAKE2B 7c62f7b181608c56a8e9be69c05e2cb34e5f450682ea4e7ca6c4bff5f02cf4ff803d44dda356d2be3968464842d421b5ac7320fc4d08a430e7805f6e400a262f SHA512 62509ecf92f89453fea52a8c23accff778a5572b689428838d801470ab30f2e2cb85f9319a75afeb81c284d68fb2abe399714bb1410daa8ec896af1f17763347 diff --git a/dev-python/QtPy/QtPy-2.4.0.ebuild b/dev-python/QtPy/QtPy-2.4.0.ebuild index 677fc3b3bda7..e87365436358 100644 --- a/dev-python/QtPy/QtPy-2.4.0.ebuild +++ b/dev-python/QtPy/QtPy-2.4.0.ebuild @@ -159,10 +159,10 @@ src_prepare() { sed -i -e 's:--cov=qtpy --cov-report=term-missing::' pytest.ini || die # Disable Qt for Python implementations that are not selected if ! use pyqt5; then - sed -i -e "s/from PyQt5.QtCore import/raise ImportError #/" qtpy/__init__.py || die + sed -i -e '/from PyQt5.QtCore import/,/)/c\ \ \ \ \ \ \ \ raise ImportError #/' qtpy/__init__.py || die fi if ! use pyqt6; then - sed -i -e "s/from PyQt6.QtCore import/raise ImportError #/" qtpy/__init__.py || die + sed -i -e '/from PyQt6.QtCore import/,/)/c\ \ \ \ \ \ \ \ raise ImportError #/' qtpy/__init__.py || die fi if ! use pyside2; then sed -i -e "s/from PySide2 import/raise ImportError #/" qtpy/__init__.py || die diff --git a/dev-python/indexed-gzip/Manifest b/dev-python/indexed-gzip/Manifest index 02d679dceee7..4237b5d70619 100644 --- a/dev-python/indexed-gzip/Manifest +++ b/dev-python/indexed-gzip/Manifest @@ -3,5 +3,5 @@ DIST indexed_gzip-1.8.3.tar.gz 74621 BLAKE2B e8092eea93235b7e6a154b34d12194ffbd3 DIST indexed_gzip-1.8.5.tar.gz 74696 BLAKE2B 5db7a9c372950e60f4e6f5905a6bf5b01c76007174a77393176d969e87197beefc81d72e5280ac057fcfd3c752e5f8b2923326e3ed2e825fd34315dd23a179b0 SHA512 617b7406ff2e579c41ceafcfb64bd9ba33599f9f810afb5b3abad49825ae274265b8f8eeaf54285d8df11dd9c498a13752455263a51817be11301ed73aeb0230 EBUILD indexed-gzip-1.7.1.ebuild 1056 BLAKE2B 0a64c05fc42afc44aba9196e8ebc5b4e7bf682b8d0b2e2557b11a1571c475d26ff158aa304089d5df6ebd775712d5bc40b4d952d433c45c4ec816f45a51cdb51 SHA512 23675c2b76d77068f1520f62a3422dec9145c634631b1f89de9b1365ada1897c77eddfed6192a15c701885170221ac4e07c97fd12a0098aacaf8e9a6f79d3127 EBUILD indexed-gzip-1.8.3.ebuild 1156 BLAKE2B dd80508aaad954ca02aedf1ad73be96985800f6249f0416a5d7790b02864fafbaa3257f491034a24da6fe93057837e56c4826149908a8e09ba7e2f2fb8d4fc01 SHA512 64ef6ab931a2564098b8583299e14d95b2e095a497c32f370316c705bdec95315cf6c2ad4915df7cf6ea91edd91fee17902e5d07c64ebeaa5e27b2adb71595aa -EBUILD indexed-gzip-1.8.5.ebuild 1156 BLAKE2B dd80508aaad954ca02aedf1ad73be96985800f6249f0416a5d7790b02864fafbaa3257f491034a24da6fe93057837e56c4826149908a8e09ba7e2f2fb8d4fc01 SHA512 64ef6ab931a2564098b8583299e14d95b2e095a497c32f370316c705bdec95315cf6c2ad4915df7cf6ea91edd91fee17902e5d07c64ebeaa5e27b2adb71595aa +EBUILD indexed-gzip-1.8.5-r1.ebuild 1567 BLAKE2B ed9700be86a2cb2a0a7aabeee6946b92b973f33be585f0b05e267cefc0e9d19f7871090222a2e0cbc1ce30fdf7f8c90812dceb392fd19ae27cfec8c992807cd6 SHA512 6ebf5efdc1343232573d039bc368a66aaab1a5819d8c7ea87a3b196096933cdc5b2b185eb23b1e9b1be1074ede9d5cdb996d469c989af7ee69596d16c5106ed8 MISC metadata.xml 772 BLAKE2B c5788c4748250507ff0c231613f6d143839a48c5afac0d68bb806cb3d24e9119d5d3eae3135ca991dfff5bfc5955ddb545afd6293dd4e0565591fb779b3f88ed SHA512 726c025bb40efe9d30a4c1691df9c1a011684af4b1f56cb5ef6c857ae712807c15857c13934b67586f7141fa4a3f3e548acd6adffe12f6285492e1171c21ac99 diff --git a/dev-python/indexed-gzip/indexed-gzip-1.8.5-r1.ebuild b/dev-python/indexed-gzip/indexed-gzip-1.8.5-r1.ebuild new file mode 100644 index 000000000000..cdcf6cac54ed --- /dev/null +++ b/dev-python/indexed-gzip/indexed-gzip-1.8.5-r1.ebuild @@ -0,0 +1,68 @@ +# Copyright 1999-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_EXT=1 +DISTUTILS_USE_PEP517=setuptools +PYTHON_COMPAT=( python3_{10..11} ) + +inherit distutils-r1 multiprocessing pypi + +DESCRIPTION="Fast random access of gzip files in Python" +HOMEPAGE=" + https://pypi.org/project/indexed-gzip/ + https://github.com/pauldmccarthy/indexed_gzip/ +" + +LICENSE="ZLIB" +SLOT="0" +KEYWORDS="~amd64 ~x86" + +RDEPEND=" + sys-libs/zlib:= +" +DEPEND=" + ${RDEPEND} +" +BDEPEND=" + dev-python/cython[${PYTHON_USEDEP}] + test? ( + dev-python/numpy[${PYTHON_USEDEP}] + dev-python/pytest-xdist[${PYTHON_USEDEP}] + ) +" + +distutils_enable_tests pytest + +src_prepare() { + # strip custom "clean" command that doesn't support "-a" + # https://bugs.gentoo.org/838955 + # TODO: this can be removed once distutils-r1 stops using clean + sed -e '/cmdclass/d' -i setup.py || die + distutils-r1_src_prepare +} + +src_compile() { + # This actually enables line tracing, so it fits USE=debug more. + if use debug; then + export INDEXED_GZIP_TESTING=1 + fi + # Fix implicit dependency on numpy that is used to build test + # extensions. + if ! use test; then + local -x PYTHONPATH="${T}:${PYTHONPATH}" + cat >> "${T}"/numpy.py <<-EOF || die + raise ImportError("I am not here!") + EOF + fi + distutils-r1_src_compile +} + +python_test() { + cd "${BUILD_DIR}/install$(python_get_sitedir)/indexed_gzip/tests" || die + epytest -n "$(makeopts_jobs)" --dist=worksteal + # temporary files and test extensions + # (to achieve equivalence with USE=-test) + rm ctest*.{c,gz,so,tmp} || die +} diff --git a/dev-python/indexed-gzip/indexed-gzip-1.8.5.ebuild b/dev-python/indexed-gzip/indexed-gzip-1.8.5.ebuild deleted file mode 100644 index 9e9fb985434c..000000000000 --- a/dev-python/indexed-gzip/indexed-gzip-1.8.5.ebuild +++ /dev/null @@ -1,56 +0,0 @@ -# Copyright 1999-2023 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -DISTUTILS_EXT=1 -DISTUTILS_USE_PEP517=setuptools -PYTHON_COMPAT=( python3_{10..11} ) - -inherit distutils-r1 multiprocessing pypi - -DESCRIPTION="Fast random access of gzip files in Python" -HOMEPAGE=" - https://pypi.org/project/indexed-gzip/ - https://github.com/pauldmccarthy/indexed_gzip/ -" - -LICENSE="ZLIB" -SLOT="0" -KEYWORDS="~amd64 ~x86" - -RDEPEND=" - sys-libs/zlib:= -" -DEPEND=" - ${RDEPEND} -" -BDEPEND=" - dev-python/cython[${PYTHON_USEDEP}] - test? ( - dev-python/numpy[${PYTHON_USEDEP}] - dev-python/pytest-xdist[${PYTHON_USEDEP}] - ) -" - -distutils_enable_tests pytest - -src_prepare() { - # strip custom "clean" command that doesn't support "-a" - # https://bugs.gentoo.org/838955 - # TODO: this can be removed once distutils-r1 stops using clean - sed -e '/cmdclass/d' -i setup.py || die - distutils-r1_src_prepare -} - -src_compile() { - if use test; then - export INDEXED_GZIP_TESTING=1 - fi - distutils-r1_src_compile -} - -python_test() { - cd "${BUILD_DIR}/install$(python_get_sitedir)/indexed_gzip/tests" || die - epytest -n "$(makeopts_jobs)" --dist=worksteal -} -- cgit v1.2.3