diff options
| author | Liguros - Gitlab CI/CD [develop] <gitlab@liguros.net> | 2023-12-25 18:24:51 +0000 |
|---|---|---|
| committer | Liguros - Gitlab CI/CD [develop] <gitlab@liguros.net> | 2023-12-25 18:24:51 +0000 |
| commit | bc578394ba4c1b3769658c36b92b57735f4abcd1 (patch) | |
| tree | 6c14eb76d182c6c7090429c865ad92473833511c /dev-python | |
| parent | 52a7cd31ed4febefa561c464334fa209e531d2a6 (diff) | |
| download | baldeagleos-repo-bc578394ba4c1b3769658c36b92b57735f4abcd1.tar.gz baldeagleos-repo-bc578394ba4c1b3769658c36b92b57735f4abcd1.tar.xz baldeagleos-repo-bc578394ba4c1b3769658c36b92b57735f4abcd1.zip | |
Adding metadata
Diffstat (limited to 'dev-python')
37 files changed, 419 insertions, 420 deletions
diff --git a/dev-python/PyQt6-WebEngine/PyQt6-WebEngine-6.6.0.ebuild b/dev-python/PyQt6-WebEngine/PyQt6-WebEngine-6.6.0.ebuild index f44bb3ea86b8..a4ed038c8c9d 100644 --- a/dev-python/PyQt6-WebEngine/PyQt6-WebEngine-6.6.0.ebuild +++ b/dev-python/PyQt6-WebEngine/PyQt6-WebEngine-6.6.0.ebuild @@ -39,9 +39,9 @@ BDEPEND=" src_prepare() { default - # hack: qmake queries g++ or clang++ for info depending on which qtbase was - # built with, but ignores CHOST failing with -native-symlinks (bug #726112) - # and potentially using wrong information when cross-compiling + # 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 diff --git a/dev-python/PyQt6/PyQt6-6.6.1.ebuild b/dev-python/PyQt6/PyQt6-6.6.1.ebuild index 88fe62a1785f..0518a067e9c4 100644 --- a/dev-python/PyQt6/PyQt6-6.6.1.ebuild +++ b/dev-python/PyQt6/PyQt6-6.6.1.ebuild @@ -91,9 +91,9 @@ PATCHES=( src_prepare() { default - # hack: qmake queries g++ or clang++ for info depending on which qtbase was - # built with, but ignores CHOST failing with -native-symlinks (bug #726112) - # and potentially using wrong information when cross-compiling + # 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 diff --git a/dev-python/apprise/apprise-1.6.0.ebuild b/dev-python/apprise/apprise-1.6.0.ebuild index 84df5c3f33c0..255a06429757 100644 --- a/dev-python/apprise/apprise-1.6.0.ebuild +++ b/dev-python/apprise/apprise-1.6.0.ebuild @@ -4,7 +4,6 @@ EAPI=8 DISTUTILS_USE_PEP517=setuptools -#FIXME PYTHON_COMPAT=( python3_{8,9,10,11,12} ) inherit distutils-r1 pypi diff --git a/dev-python/fsspec/Manifest b/dev-python/fsspec/Manifest index bdd4784859d8..185f35cd4a97 100644 --- a/dev-python/fsspec/Manifest +++ b/dev-python/fsspec/Manifest @@ -1,2 +1,3 @@ +DIST filesystem_spec-2023.10.0.gh.tar.gz 404845 BLAKE2B 6c8cf801664c9fc848cb55660db1725c90facf534d58e49f604b2051d1b6a78d13d8f083282071beb7ab3dcb8d75f6d52fe24ce744c5cf1808b4ae3cb673998d SHA512 cb449052208516930c73dbe1de7c495d252677a3d3d85267836224d79c1b8cf9449ebdba8287f6f6206d5a8e631a99cd81c2fb62b82288a626a202876a45139c DIST filesystem_spec-2023.12.1.gh.tar.gz 408506 BLAKE2B 8f07efccd294049e27b44154c5f4680db968c9ba7c3a36bdb4aa6d140bc615061c10c53d2109f90e0b6af3338cb9284acdfed867fc57172a4bee07fcc95d450e SHA512 aeaa3f8ba512ca99488fe43b1c63a04d8b2d1b70a537142f3fa4437f608a702a26c25eb60788eb69cc310123801beb510cc485eca0754e39f0e5daa76f059a24 DIST filesystem_spec-2023.12.2.gh.tar.gz 409321 BLAKE2B f074d8d3277a954bebc29bca663d142763a6b9f13edb43286b1f59aff125c9eec0ae18cfa44b99a35daca7a9bf89a627c9abe57cbebe713ac494ca98f61899eb SHA512 654ff72b9c5ca648d4a4b469b4f3706b3200f023e26b657e3200dee301469da6f67c93fcfaa82edae7c7b074fe77715d0093269a38ee68416cf8491203bde5cb diff --git a/dev-python/fsspec/fsspec-2023.10.0.ebuild b/dev-python/fsspec/fsspec-2023.10.0.ebuild new file mode 100644 index 000000000000..bf6ca7425f2c --- /dev/null +++ b/dev-python/fsspec/fsspec-2023.10.0.ebuild @@ -0,0 +1,65 @@ +# Copyright 2020-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=setuptools +PYTHON_COMPAT=( python3_{8,9,10,11,12} ) + +inherit distutils-r1 + +MY_P=filesystem_spec-${PV} +DESCRIPTION="A specification that python filesystems should adhere to" +HOMEPAGE=" + https://github.com/fsspec/filesystem_spec/ + https://pypi.org/project/fsspec/ +" +SRC_URI=" + https://github.com/fsspec/filesystem_spec/archive/${PV}.tar.gz + -> ${MY_P}.gh.tar.gz +" +S=${WORKDIR}/${MY_P} + +LICENSE="BSD" +SLOT="0" +KEYWORDS="~amd64 ~arm ~arm64 ~ppc64 ~riscv ~x86" + +BDEPEND=" + test? ( + dev-python/aiohttp[${PYTHON_USEDEP}] + dev-python/numpy[${PYTHON_USEDEP}] + dev-python/pytest-asyncio[${PYTHON_USEDEP}] + dev-python/pytest-mock[${PYTHON_USEDEP}] + dev-python/requests[${PYTHON_USEDEP}] + dev-python/tqdm[${PYTHON_USEDEP}] + dev-vcs/git + ) +" + +# Note: this package is not xdist-friendly +distutils_enable_tests pytest + +src_test() { + git config --global user.email "you@example.com" || die + git config --global user.name "Your Name" || die + distutils-r1_src_test +} + +EPYTEST_DESELECT=( + fsspec/tests/test_spec.py::test_find + # requires s3fs + fsspec/implementations/tests/test_local.py::test_urlpath_inference_errors + fsspec/tests/test_core.py::test_mismatch + # requires pyarrow, fastparquet + fsspec/implementations/tests/test_reference.py::test_df_single + fsspec/implementations/tests/test_reference.py::test_df_multi +) + +EPYTEST_IGNORE=( + # sftp and smb require server started via docker + fsspec/implementations/tests/test_dbfs.py + fsspec/implementations/tests/test_sftp.py + fsspec/implementations/tests/test_smb.py + # unhappy about dev-python/fuse-python (?) + fsspec/tests/test_fuse.py +) diff --git a/dev-python/h5py/h5py-3.10.0.ebuild b/dev-python/h5py/h5py-3.10.0.ebuild deleted file mode 100644 index ca6063ab3b46..000000000000 --- a/dev-python/h5py/h5py-3.10.0.ebuild +++ /dev/null @@ -1,70 +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_{8,9,10,11,12} ) - -inherit distutils-r1 pypi - -DESCRIPTION="Simple Python interface to HDF5 files" -HOMEPAGE=" - https://www.h5py.org/ - https://github.com/h5py/h5py/ - https://pypi.org/project/h5py/ -" - -LICENSE="BSD" -SLOT="0" -KEYWORDS="amd64 ~arm ~arm64 ~riscv x86 ~amd64-linux ~x86-linux ~arm64-macos ~x64-macos" -# disable mpi until mpi4py gets python3_8 -#IUSE="examples mpi" -IUSE="examples" - -#RDEPEND="sci-libs/hdf5:=[mpi=,hl(+)] -DEPEND=" - >=sci-libs/hdf5-1.10.4:=[hl(+)] -" -RDEPEND=" - ${DEPEND} - >=dev-python/numpy-1.17.3[${PYTHON_USEDEP}] -" - -BDEPEND=" - <dev-python/cython-3[${PYTHON_USEDEP}] - >=dev-python/numpy-1.14.5[${PYTHON_USEDEP}] - dev-python/pkgconfig[${PYTHON_USEDEP}] - test? ( - dev-python/QtPy[testlib,${PYTHON_USEDEP}] - ) -" -# mpi? ( virtual/mpi ) -# mpi? ( dev-python/mpi4py[${PYTHON_USEDEP}] ) - -distutils_enable_tests pytest -distutils_enable_sphinx docs \ - dev-python/alabaster - -#pkg_setup() { -# use mpi && export CC=mpicc -#} - -python_prepare_all() { - # avoid pytest-mpi dep, we do not use mpi anyway - sed -i -e 's:pytest-mpi::' pytest.ini || die - distutils-r1_python_prepare_all - - export H5PY_SETUP_REQUIRES=0 -} - -python_test() { - cd "${BUILD_DIR}/install$(python_get_sitedir)" || die - epytest -m "not mpi" -} - -python_install_all() { - use examples && dodoc -r examples - distutils-r1_python_install_all -} diff --git a/dev-python/hidapi/Manifest b/dev-python/hidapi/Manifest index a8ac2690b7c7..4413e92216a1 100644 --- a/dev-python/hidapi/Manifest +++ b/dev-python/hidapi/Manifest @@ -1,2 +1 @@ -DIST hidapi-0.13.1.tar.gz 130169 BLAKE2B 127e622e4b85880f1c20ccb819b806c66357d8cfa6c15d370c13a6a0a3838ac6acf0673c7edbf5309a91f55051b6177800328b8f897ff43cd1e0af1b511c52a6 SHA512 8e6a7a6bf47e24f6f637cc036dc306518d893fc9fdf94639f626725e8f8767d7e85496d8db5f9f394d648ef5af4dd5ead0f0a6d452a019b5d9fa0716371febed DIST hidapi-0.14.0.tar.gz 143052 BLAKE2B ebf3fb9608b1f18d9fa24aaa4bca7b2e5cbbbbcbdb6a33da41456f614d0cace556231bb8eb17c21e2a79a5292970cb37f7a46fb6cd1e82efb0a646cf8a942d2a SHA512 228fac22621e36a3108cefd418937a7ed0153e334e19999e947aad341a753d614877cd3f7add90d78037ebe9c7b3f6cbc42973a8e680188da14928311d317b17 diff --git a/dev-python/hidapi/hidapi-0.13.1.ebuild b/dev-python/hidapi/hidapi-0.13.1.ebuild deleted file mode 100644 index 078e4ac14b0a..000000000000 --- a/dev-python/hidapi/hidapi-0.13.1.ebuild +++ /dev/null @@ -1,29 +0,0 @@ -# Copyright 2022-2023 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 -PYTHON_COMPAT=( python3_{8,9,10,11,12} ) -DISTUTILS_USE_PEP517=setuptools -inherit distutils-r1 pypi - -DESCRIPTION="A Cython interface to HIDAPI library" -HOMEPAGE="https://github.com/trezor/cython-hidapi" - -LICENSE="|| ( BSD GPL-3 )" -SLOT="0" -KEYWORDS="~amd64 ~arm ~arm64 ~x86" - -DEPEND=">=dev-libs/hidapi-$(ver_cut 1-3)" -RDEPEND="${DEPEND}" -# <cython-3 for bug #898678 -BDEPEND="<dev-python/cython-3[${PYTHON_USEDEP}]" - -distutils_enable_tests pytest - -python_configure_all() { - DISTUTILS_ARGS=( --with-system-hidapi ) -} - -python_test() { - epytest tests.py -} diff --git a/dev-python/irc/Manifest b/dev-python/irc/Manifest index 60503a1b7559..06763a6a509b 100644 --- a/dev-python/irc/Manifest +++ b/dev-python/irc/Manifest @@ -1 +1,2 @@ DIST irc-20.3.0.tar.gz 90906 BLAKE2B d26c31f2bfa31d2eb49f658535eb636e8f7d264b7da9211b197e387e18ce5544a5af0ea19455d3611d1338ddec2bb93e928a31f22abeef154151691b37182ce5 SHA512 875f049e96b145ad26a6733aac7b1067fc17ef01023b94024079153dd1dd097eb421ac7d6b062216ce132bd475fe6f2f6adb2f7f2f27bbcbbe4de5c86efedc51 +DIST irc-20.3.1.tar.gz 91115 BLAKE2B f2d89ee1a31edd163d3921f01e47ff865198a6cccf0efefe0a6a8ade2038dad91864f89756a4aaef578b85d57415cf6bda9f307250ead939d66e9fa0525d94bd SHA512 b8ecc313907c006d2dbf493e216a78d73e49e63a5c48f5672a4b33f0432a66e6c411b7807094f582a6be2d421bd020b2c7304cfbdcccfaeda046df4c370e1ba3 diff --git a/dev-python/irc/irc-20.3.1.ebuild b/dev-python/irc/irc-20.3.1.ebuild new file mode 100644 index 000000000000..4bddff5e416f --- /dev/null +++ b/dev-python/irc/irc-20.3.1.ebuild @@ -0,0 +1,45 @@ +# Copyright 1999-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=setuptools +PYTHON_COMPAT=( python3_{8,9,10,11,12} ) + +inherit distutils-r1 pypi + +DESCRIPTION="IRC client framework written in Python" +HOMEPAGE=" + https://github.com/jaraco/irc/ + https://pypi.org/project/irc/ +" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64 ~arm64 ~riscv ~x86" +IUSE="examples" + +RDEPEND=" + dev-python/jaraco-collections[${PYTHON_USEDEP}] + >=dev-python/jaraco-functools-1.20[${PYTHON_USEDEP}] + >=dev-python/jaraco-itertools-1.8[${PYTHON_USEDEP}] + dev-python/jaraco-logging[${PYTHON_USEDEP}] + dev-python/jaraco-stream[${PYTHON_USEDEP}] + dev-python/jaraco-text[${PYTHON_USEDEP}] + dev-python/more-itertools[${PYTHON_USEDEP}] + dev-python/pytz[${PYTHON_USEDEP}] + >=dev-python/tempora-1.6[${PYTHON_USEDEP}] +" +BDEPEND=" + >=dev-python/setuptools-scm-3.4.1[${PYTHON_USEDEP}] +" + +distutils_enable_tests pytest + +python_install_all() { + if use examples; then + docompress -x "/usr/share/doc/${PF}/scripts" + dodoc -r scripts + fi + distutils-r1_python_install_all +} diff --git a/dev-python/jaraco-logging/Manifest b/dev-python/jaraco-logging/Manifest index 3bec9ab4b81d..a7e91fd3b80f 100644 --- a/dev-python/jaraco-logging/Manifest +++ b/dev-python/jaraco-logging/Manifest @@ -1 +1,2 @@ DIST jaraco.logging-3.2.0.tar.gz 8907 BLAKE2B 9329655842f1e46af1a8eff72d97bd8c46dea60bdf1fb1e4decf5a47a95d162b825c6586db6629529a833b36944a38c536d0bb8127c60ac04e91d9553cf49682 SHA512 dd5a66bf03d01378e542553c08f8daf6aa2ec9aa8087b8d11f34b4527a1fb1e41b20142ac9b5d9e5eb8f510f50f7d1a3ec11a8eff9871190b4d4392b68bbada7 +DIST jaraco.logging-3.3.0.tar.gz 9082 BLAKE2B 8dadd0ef5c13fda35c580a4ff4fb011d35f28461471f353efe1211240e5bac52419bb1d7a6034db3d46c1bb0a73654ded5f50b296b3c5f16e821588d445e597f SHA512 edb0ce89420a05d0f0634b3486b831e01a51e9a8e186afc3a496013c4326aeb3f67f5492900de8991e18faf171ae1785eda60b0523da7065da9fdb0a2fa10a5d diff --git a/dev-python/jaraco-logging/jaraco-logging-3.3.0.ebuild b/dev-python/jaraco-logging/jaraco-logging-3.3.0.ebuild new file mode 100644 index 000000000000..5d6196f323e4 --- /dev/null +++ b/dev-python/jaraco-logging/jaraco-logging-3.3.0.ebuild @@ -0,0 +1,39 @@ +# Copyright 1999-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=setuptools +PYPI_NO_NORMALIZE=1 +PYPI_PN=${PN/-/.} +PYTHON_COMPAT=( python3_{8,9,10,11,12} pypy3 ) + +inherit distutils-r1 pypi + +DESCRIPTION="Additional facilities to supplement Python's stdlib logging module" +HOMEPAGE=" + https://github.com/jaraco/jaraco.logging/ + https://pypi.org/project/jaraco.logging/ +" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64 ~arm64 ~riscv ~x86" + +RDEPEND=" + dev-python/tempora[${PYTHON_USEDEP}] +" +BDEPEND=" + >=dev-python/setuptools-scm-1.15.0[${PYTHON_USEDEP}] +" + +distutils_enable_tests pytest + +python_test() { + # create a pkgutil-style __init__.py in order to fix pytest's + # determination of package paths + cat > jaraco/__init__.py <<-EOF || die + __path__ = __import__("pkgutil").extend_path(__path__, __name__) + EOF + epytest --doctest-modules +} diff --git a/dev-python/langdetect/Manifest b/dev-python/langdetect/Manifest index e9da2ac43cac..a11d7c268c91 100644 --- a/dev-python/langdetect/Manifest +++ b/dev-python/langdetect/Manifest @@ -1,3 +1 @@ DIST langdetect-1.0.9.tar.gz 981474 BLAKE2B ea8a9c3f16a2987c080742473bff4f2c1503f53fb3c2b40b0b1d6212bb6133ea22dce7864ffcfb8968c3a46b157d45cb3e2cf6f84bdbed0266cc716a853b032c SHA512 7558d674c47b080c79e43a00a25d2c7f77188cf60bea2cecb3bebb803d75e1aa42b43c74bd26ea1b541f4cb927421908882cbec01a91f0913984217e71ccc8db -EBUILD langdetect-1.0.9.ebuild 493 BLAKE2B 0df8bce19bc80f79f8e76bcef5a4c2caf333365fe0cb9a3c076b7858bceded5a3e58921474f866a2709dd657b7ed330c1ec4a7f9d7bab0fcf1bc92d77cabc32d SHA512 ea2a1adcb133ac5fc951ba1aa90ef1ce3dfcc424e59727591763d4875aa044a74188be2d15fd89c6b2e83ed6ea04ec3d9851ed584ae79d2c2c127bde7d994b48 -MISC metadata.xml 457 BLAKE2B 630128a3e982b6d60cc7b9f74c79fcb5ee47a71a02c73a50af9da8cedb6fad8e20a7f74b881e5b25c6483b92c9edbd56552cd38b2d9cbfa8b3eb4530facea969 SHA512 674f4f5cd809c6c77bc14e0f5687fa972bef14bdfa0b3343c5d66b7163eef1906eb87d060c8288732f825de71dce291ad0b841a5f2f0dd230f957b5687e45d45 diff --git a/dev-python/langdetect/metadata.xml b/dev-python/langdetect/metadata.xml index 020e07f2a3dd..736a1167c898 100644 --- a/dev-python/langdetect/metadata.xml +++ b/dev-python/langdetect/metadata.xml @@ -1,12 +1,6 @@ <?xml version="1.0" encoding="UTF-8"?> <!DOCTYPE pkgmetadata SYSTEM "https://liguros.gitlab.io/dtd/metadata.dtd"> <pkgmetadata> - <maintainer type="person"> - <email>marcin.deranek@slonko.net</email> - <name>Marcin Deranek</name> - </maintainer> - <upstream> - <bugs-to>https://github.com/Mimino666/langdetect/issues</bugs-to> - </upstream> - <origin>slonko-overlay</origin> + + <origin>gentoo-guru-overlay</origin> </pkgmetadata>
\ No newline at end of file diff --git a/dev-python/line-profiler/Manifest b/dev-python/line-profiler/Manifest index d99c4fc434ff..75ea791ec272 100644 --- a/dev-python/line-profiler/Manifest +++ b/dev-python/line-profiler/Manifest @@ -1,3 +1 @@ -DIST line_profiler-4.1.0.gh.tar.gz 99250 BLAKE2B aa875dfb8cdbaaa701a03d10fd904504825d58e551dddabddbe0abca777a584bae5c37f4b3ab80d10dc869138106d70c3ff243a7d28e570983427520dd4ee569 SHA512 08e0395b80f8c111725227abea7e8b2d6864da840a0a6f4de5eb71a2df2ae78871c930897b49d75a184973c1ce21d61106817bd0b8d4556462f0505bbbc21fe1 -DIST line_profiler-4.1.1.gh.tar.gz 99299 BLAKE2B fa5e1588167d4e1b451ebeef6bd625c25053e0370268fb435ae6cd72e5e56c0a6252cf3970d8e2bd7952bf61d16662128f68d5106aee8190bc9fe65d3180cf2d SHA512 4170d1b89b3b8e4bbeaf9ce145f67214ef133ea87d6c02d59f5da0ddab30fc14a89d11bbd749e9707c4a0654db23b22eef7f73749ee3023544835f562da62762 DIST line_profiler-4.1.2.gh.tar.gz 100514 BLAKE2B 4e9fa1f2bcc39658f50b5832a8c2ee15090e03532d574cfa06db846beb191b8e2f19c82e5b03f91f2fc7b9de2a024e86909191982a03702690820972e10b7b2b SHA512 feb3f799770057b1b2dbc5601e497ce8fbc3f802e48e652b30486d453710c811bf46f3c22c0e706bbcce8cf4ef3c6e118bcc4917d8d72ff8bb0bb975324dfa16 diff --git a/dev-python/line-profiler/line-profiler-4.1.0.ebuild b/dev-python/line-profiler/line-profiler-4.1.0.ebuild deleted file mode 100644 index 3516857ebfb9..000000000000 --- a/dev-python/line-profiler/line-profiler-4.1.0.ebuild +++ /dev/null @@ -1,47 +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_{8,9,10,11,12} ) - -inherit distutils-r1 - -MY_P=line_profiler-${PV} -DESCRIPTION="Line-by-line profiler" -HOMEPAGE=" - https://github.com/pyutils/line_profiler/ - https://pypi.org/project/line-profiler/ -" -SRC_URI=" - https://github.com/pyutils/line_profiler/archive/v${PV}.tar.gz - -> ${MY_P}.gh.tar.gz -" -S=${WORKDIR}/${MY_P} - -SLOT="0" -LICENSE="BSD" -KEYWORDS="~amd64 ~x86" - -RDEPEND=" - dev-python/ipython[${PYTHON_USEDEP}] -" -# <cython-3: https://bugs.gentoo.org/911735 -BDEPEND=" - <dev-python/cython-3[${PYTHON_USEDEP}] - test? ( - dev-python/coverage[${PYTHON_USEDEP}] - dev-python/ubelt[${PYTHON_USEDEP}] - ) -" - -distutils_enable_tests pytest - -export LINE_PROFILER_BUILD_METHOD=cython - -python_test() { - cd tests || die - epytest -} diff --git a/dev-python/line-profiler/line-profiler-4.1.1.ebuild b/dev-python/line-profiler/line-profiler-4.1.1.ebuild deleted file mode 100644 index 3516857ebfb9..000000000000 --- a/dev-python/line-profiler/line-profiler-4.1.1.ebuild +++ /dev/null @@ -1,47 +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_{8,9,10,11,12} ) - -inherit distutils-r1 - -MY_P=line_profiler-${PV} -DESCRIPTION="Line-by-line profiler" -HOMEPAGE=" - https://github.com/pyutils/line_profiler/ - https://pypi.org/project/line-profiler/ -" -SRC_URI=" - https://github.com/pyutils/line_profiler/archive/v${PV}.tar.gz - -> ${MY_P}.gh.tar.gz -" -S=${WORKDIR}/${MY_P} - -SLOT="0" -LICENSE="BSD" -KEYWORDS="~amd64 ~x86" - -RDEPEND=" - dev-python/ipython[${PYTHON_USEDEP}] -" -# <cython-3: https://bugs.gentoo.org/911735 -BDEPEND=" - <dev-python/cython-3[${PYTHON_USEDEP}] - test? ( - dev-python/coverage[${PYTHON_USEDEP}] - dev-python/ubelt[${PYTHON_USEDEP}] - ) -" - -distutils_enable_tests pytest - -export LINE_PROFILER_BUILD_METHOD=cython - -python_test() { - cd tests || die - epytest -} diff --git a/dev-python/pandas/pandas-1.5.3.ebuild b/dev-python/pandas/pandas-1.5.3.ebuild index 703a12fc8def..045276649142 100644 --- a/dev-python/pandas/pandas-1.5.3.ebuild +++ b/dev-python/pandas/pandas-1.5.3.ebuild @@ -54,12 +54,12 @@ OPTIONAL_DEPEND=" >=dev-python/sqlalchemy-1.3.0[${PYTHON_USEDEP}] >=dev-python/xlrd-1.2.0[${PYTHON_USEDEP}] >=dev-python/xlwt-1.3.0[${PYTHON_USEDEP}] - !hppa? ( + !x86? ( !hppa? ( $(python_gen_cond_dep ' dev-python/statsmodels[${PYTHON_USEDEP}] ' python3_{8..10} ) >=dev-python/scipy-1.1[${PYTHON_USEDEP}] - ) + ) ) X? ( || ( dev-python/PyQt5[${PYTHON_USEDEP}] diff --git a/dev-python/pandas/pandas-2.1.1.ebuild b/dev-python/pandas/pandas-2.1.1.ebuild index 4c97bb35d0cb..06adea0e97ce 100644 --- a/dev-python/pandas/pandas-2.1.1.ebuild +++ b/dev-python/pandas/pandas-2.1.1.ebuild @@ -48,12 +48,12 @@ OPTIONAL_DEPEND=" >=dev-python/xlrd-2.0.1[${PYTHON_USEDEP}] >=dev-python/xlsxwriter-3.0.3[${PYTHON_USEDEP}] >=dev-python/xlwt-1.3.0[${PYTHON_USEDEP}] - !hppa? ( + !x86? ( !hppa? ( $(python_gen_cond_dep ' dev-python/statsmodels[${PYTHON_USEDEP}] ' python3_{8..10} ) >=dev-python/scipy-1.8.1[${PYTHON_USEDEP}] - ) + ) ) X? ( || ( >=dev-python/PyQt5-5.15.6[${PYTHON_USEDEP}] diff --git a/dev-python/pandas/pandas-2.1.3.ebuild b/dev-python/pandas/pandas-2.1.3.ebuild index 8155d6f51565..bd31af717c29 100644 --- a/dev-python/pandas/pandas-2.1.3.ebuild +++ b/dev-python/pandas/pandas-2.1.3.ebuild @@ -48,12 +48,12 @@ OPTIONAL_DEPEND=" >=dev-python/xlrd-2.0.1[${PYTHON_USEDEP}] >=dev-python/xlsxwriter-3.0.3[${PYTHON_USEDEP}] >=dev-python/xlwt-1.3.0[${PYTHON_USEDEP}] - !hppa? ( + !x86? ( !hppa? ( $(python_gen_cond_dep ' dev-python/statsmodels[${PYTHON_USEDEP}] ' python3_{8..10} ) >=dev-python/scipy-1.8.1[${PYTHON_USEDEP}] - ) + ) ) X? ( || ( >=dev-python/PyQt5-5.15.6[${PYTHON_USEDEP}] diff --git a/dev-python/pandas/pandas-2.1.4.ebuild b/dev-python/pandas/pandas-2.1.4.ebuild index 771a3653b62d..e1fe92c98e3d 100644 --- a/dev-python/pandas/pandas-2.1.4.ebuild +++ b/dev-python/pandas/pandas-2.1.4.ebuild @@ -48,12 +48,12 @@ OPTIONAL_DEPEND=" >=dev-python/xlrd-2.0.1[${PYTHON_USEDEP}] >=dev-python/xlsxwriter-3.0.3[${PYTHON_USEDEP}] >=dev-python/xlwt-1.3.0[${PYTHON_USEDEP}] - !hppa? ( + !x86? ( !hppa? ( $(python_gen_cond_dep ' dev-python/statsmodels[${PYTHON_USEDEP}] ' python3_{8..10} ) >=dev-python/scipy-1.8.1[${PYTHON_USEDEP}] - ) + ) ) X? ( || ( >=dev-python/PyQt5-5.15.6[${PYTHON_USEDEP}] diff --git a/dev-python/patsy/Manifest b/dev-python/patsy/Manifest index c36a3d727277..6df5ec871904 100644 --- a/dev-python/patsy/Manifest +++ b/dev-python/patsy/Manifest @@ -1 +1,2 @@ DIST patsy-0.5.4.tar.gz 397809 BLAKE2B d10a4a155d3346b7a5968af914e68f1c2508208eda5658091b40c4df421c6b5566278bfe7db856793a477cb9c78ed7bc8aae4209dde7b476d0d8a19164602797 SHA512 4fa6b099a12464b1ad1685e0d9ca0e9640c059d5021631e6c52f4025ff100899824e722d9b12107c49dc987e8f3e377aeeb007889d8b35b3f1e4cdf5ca491d2f +DIST patsy-0.5.5.tar.gz 398073 BLAKE2B 39f2f0d7d855fc3a4ae4a8930847c859aeacd74232fbc46c5455d10fe9cf0940ce5dea5322927df7b6aed61799e9ecbb6156cd2d142e0e965dc3b208896b1f7d SHA512 9df823094223e4929ece2d35696288cfb1ce0395cc3a322b88b582439dbe85ae69d81c876deef2cedebcd4763a57cc7289bdc74f77cb6a514d1f2c3a9332a7f4 diff --git a/dev-python/patsy/patsy-0.5.5.ebuild b/dev-python/patsy/patsy-0.5.5.ebuild new file mode 100644 index 000000000000..a750f7e89300 --- /dev/null +++ b/dev-python/patsy/patsy-0.5.5.ebuild @@ -0,0 +1,30 @@ +# Copyright 1999-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=setuptools +PYTHON_COMPAT=( python3_{8,9,10,11,12} pypy3 ) + +inherit distutils-r1 pypi + +DESCRIPTION="Python module to describe statistical models and design matrices" +HOMEPAGE=" + https://patsy.readthedocs.io/en/latest/index.html + https://github.com/pydata/patsy/ + https://pypi.org/project/patsy/ +" + +LICENSE="BSD" +SLOT="0" +KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux" + +RDEPEND=" + dev-python/numpy[${PYTHON_USEDEP}] + dev-python/six[${PYTHON_USEDEP}] + !hppa? ( + dev-python/scipy[${PYTHON_USEDEP}] + ) +" + +distutils_enable_tests pytest diff --git a/dev-python/pypdf/Manifest b/dev-python/pypdf/Manifest index 46ff1aa4af8b..b4b866a7cd20 100644 --- a/dev-python/pypdf/Manifest +++ b/dev-python/pypdf/Manifest @@ -1,4 +1,5 @@ DIST pypdf-3.17.1.gh.tar.gz 7975263 BLAKE2B 27b413dd5f127e22cc0116baeee62115f4b02b2ff39f27b8a7884af2389423c332114cfa826a090683c2ab6583b1a549ee1de775869eaaa0a09237aa52a65ebd SHA512 c23294a67bee6ef4e673c02b045c9ec2d3471f93bfc8530959a02289f94b0aa47e79b24bddd0603731c39ddc5197fc6fc10e668bbd1077a32ecdfc1d33740397 DIST pypdf-3.17.2.gh.tar.gz 7977562 BLAKE2B d33413b1efe38bc147156e199851a2afb712960a377c675ec2197a720d00ef18d143a1176312c8b9b7681839024fb26544b6c09a482e3e24c9041c3d2d191cd1 SHA512 430bae4aeb1ffb8c75fd95daf04622d082725cdcf01637e2e42234bbc867360d9c5e6ebd3782608c1299f9fa1ec7598c49b0195750f58d0d16c3d744895606d8 DIST pypdf-3.17.3.gh.tar.gz 7977650 BLAKE2B eee1e5d86fcd32faa0919f2e9bb8c1cd2630d75f6030f9db05a2b71993038452fbed05bbb5dc63d3562038da19c784170e24682054ad669a35b8027f47cc2d45 SHA512 fe91b4f1d6ad9394e41bcdaa99adb5a6fe15df70a1db0858f560f63352aa279446ad802738306d5d7bd58c699069872a777997621b62429137da5c53b4595ca6 +DIST pypdf-3.17.4.gh.tar.gz 7976829 BLAKE2B c2b7aef937186aecf525729f336ad6d00a8bf40850be17cb450daba5d0100acc0b0c3f51ef242e3cf7ef710d5c40c9f334db94a372b6d6eb4f2270dc00dde156 SHA512 f687a2032f085dac9b920f881f2df9f96e4da2a8dcdd5f971d3601ab05ae4f9b5528d0155adcb5ef01c6d8ffdc4f3d79077706915851bad7868bf761d28c513a DIST pypdf-sample-files-964fb47b0fbfa89864680582640ae4eedf143890.gh.tar.gz 11668924 BLAKE2B 0c7d8e7cfb2f9d06d7633d57b691ba473d33cfcb58d2f1f83661cef9d755340d05db8767771a385d0ba88aa904f84b8bc7eafdb5d4f614b7a21a2d138572316f SHA512 28070b575273b6fee3173e797ed5bac618f8e8aca16d0122dcf3b4b16cedbcad69b84a9bc4be65037695597bcc1fa7898cdf766c37915c49f880a0c6ca057e68 diff --git a/dev-python/pypdf/pypdf-3.17.4.ebuild b/dev-python/pypdf/pypdf-3.17.4.ebuild new file mode 100644 index 000000000000..5e613f48ddd5 --- /dev/null +++ b/dev-python/pypdf/pypdf-3.17.4.ebuild @@ -0,0 +1,59 @@ +# Copyright 1999-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=flit +PYTHON_COMPAT=( python3_{8,9,10,11,12} ) + +inherit distutils-r1 + +SAMPLE_COMMIT=964fb47b0fbfa89864680582640ae4eedf143890 +DESCRIPTION="Python library to work with PDF files" +HOMEPAGE=" + https://pypi.org/project/pypdf/ + https://github.com/py-pdf/pypdf/ +" +SRC_URI=" + https://github.com/py-pdf/pypdf/archive/${PV}.tar.gz + -> ${P}.gh.tar.gz + test? ( + https://github.com/py-pdf/sample-files/archive/${SAMPLE_COMMIT}.tar.gz + -> ${PN}-sample-files-${SAMPLE_COMMIT}.gh.tar.gz + ) +" + +LICENSE="BSD-2" +SLOT="0" +KEYWORDS="~amd64 ~arm64 ~ppc64 ~x86" + +BDEPEND=" + test? ( + dev-python/cryptography[${PYTHON_USEDEP}] + >=dev-python/pillow-8.0.0[jpeg,jpeg2k,tiff,${PYTHON_USEDEP}] + ) +" + +distutils_enable_tests pytest + +EPYTEST_DESELECT=( + # rely on -Werror + tests/test_utils.py::test_deprecate_no_replacement + tests/test_workflows.py::test_orientations + tests/test_writer.py::test_remove_image_per_type + # TODO: requires fpdf + tests/test_page.py::test_compression + tests/test_writer.py::test_merging_many_temporary_files +) + +src_unpack() { + default + if use test; then + mv "sample-files-${SAMPLE_COMMIT}"/* "${S}"/sample-files/ || die + fi +} + +python_test() { + local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1 + epytest -o addopts= -m "not enable_socket" +} diff --git a/dev-python/pyproj/Manifest b/dev-python/pyproj/Manifest index 43bfc94e36e5..1cf1895e0746 100644 --- a/dev-python/pyproj/Manifest +++ b/dev-python/pyproj/Manifest @@ -1,2 +1 @@ -DIST pyproj-3.6.0.gh.tar.gz 238966 BLAKE2B 441904a343b7abab19e9d17a1bcb053d4f5606886b1325cfadcdd8456b61871bee4d13c49802008aea5c5864c40ef15a4a7681969890368a1991ba696b76ab78 SHA512 e713de94331022112049e76f7f56d24439a0dee339e8419acf8b023b3234a7c2ba468bed880749036fca2a93b289575ebb74854ba178f3b6debae8aa53befcf7 DIST pyproj-3.6.1.gh.tar.gz 239568 BLAKE2B e396e7c13dfc90f8a8eaf93b7bc0e62921779930d9c42b21ce8afa95597b13e527c179096600f40140d6d00d0f425580fccc34ae55a4e8c985d1b618554c9db4 SHA512 19c55e7ab99aae70bc318246146dc98ba75cc4884de798392f590df48c6a83e1b80504fd9c555ffd9d19262eb93cdf2c46e4805a3ae6dc07b3eaa4669f025ff0 diff --git a/dev-python/pyproj/pyproj-3.6.0.ebuild b/dev-python/pyproj/pyproj-3.6.0.ebuild deleted file mode 100644 index 4c1bf0cd285d..000000000000 --- a/dev-python/pyproj/pyproj-3.6.0.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_{8,9,10,11,12} ) - -inherit distutils-r1 - -DESCRIPTION="Python interface to the PROJ library" -HOMEPAGE=" - https://github.com/pyproj4/pyproj/ - https://pypi.org/project/pyproj/ -" -SRC_URI=" - https://github.com/pyproj4/pyproj/archive/${PV}.tar.gz - -> ${P}.gh.tar.gz -" - -LICENSE="MIT" -SLOT="0" -KEYWORDS="amd64 ~arm64 ~x86 ~amd64-linux" - -DEPEND=" - >=sci-libs/proj-9.0.0:= -" -RDEPEND=" - dev-python/certifi[${PYTHON_USEDEP}] - ${DEPEND} -" -# <cython-3: https://bugs.gentoo.org/911736 -BDEPEND=" - <dev-python/cython-3[${PYTHON_USEDEP}] - test? ( - dev-python/numpy[${PYTHON_USEDEP}] - dev-python/pandas[${PYTHON_USEDEP}] - dev-python/shapely[${PYTHON_USEDEP}] - dev-python/xarray[${PYTHON_USEDEP}] - ) -" - -distutils_enable_tests pytest - -src_configure() { - # Avoid greedily trying -L/usr/lib, etc - # https://github.com/pyproj4/pyproj/blob/main/setup.py#L76 - export PROJ_LIBDIR="${ESYSROOT}/usr/$(get_libdir)" - export PROJ_INCDIR="${ESYSROOT}/usr/include" -} - -python_test() { - rm -rf pyproj || die - epytest -m "not network" test -} diff --git a/dev-python/pypugjs/pypugjs-5.9.12.ebuild b/dev-python/pypugjs/pypugjs-5.9.12.ebuild deleted file mode 100644 index 08958e26f73d..000000000000 --- a/dev-python/pypugjs/pypugjs-5.9.12.ebuild +++ /dev/null @@ -1,48 +0,0 @@ -# Copyright 1999-2023 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -DISTUTILS_USE_PEP517=poetry -PYTHON_COMPAT=( python3_{8,9,10,11,12} ) - -inherit distutils-r1 optfeature - -DESCRIPTION="Pug (Jade) syntax adapter for Django, Jinja2 and Mako templates" -HOMEPAGE="https://github.com/kakulukia/pypugjs" -SRC_URI=" - https://github.com/kakulukia/pypugjs/archive/v${PV}.tar.gz - -> ${P}.gh.tar.gz -" - -LICENSE="MIT" -SLOT="0" -KEYWORDS="~amd64 ~arm64 ~riscv" - -RDEPEND=" - >=dev-python/six-1.15.0[${PYTHON_USEDEP}] - >=dev-python/chardet-4.0.0[${PYTHON_USEDEP}] -" -BDEPEND=" - test? ( - dev-python/django[${PYTHON_USEDEP}] - >=dev-python/jinja-3.1.1[${PYTHON_USEDEP}] - >=dev-python/mako-1.1.3[${PYTHON_USEDEP}] - >=dev-python/tornado-6.0.4[${PYTHON_USEDEP}] - ) -" - -distutils_enable_tests nose - -src_prepare() { - # Remove pyramid backend as pyramid isn't packaged - rm -r pypugjs/ext/pyramid || die - distutils-r1_src_prepare -} - -pkg_postinst() { - optfeature "converting to Django output" dev-python/django - optfeature "converting to Jinja2 output" dev-python/jinja - optfeature "converting to Mako output" dev-python/mako - optfeature "converting to Tornado output" dev-python/tornado -} diff --git a/dev-python/python-memcached/Manifest b/dev-python/python-memcached/Manifest index 41e707c68cfc..10634856161e 100644 --- a/dev-python/python-memcached/Manifest +++ b/dev-python/python-memcached/Manifest @@ -1 +1,2 @@ DIST python-memcached-1.59.gh.tar.gz 32334 BLAKE2B de8d18ba887b03e4737b554cc4b0074a4f16745e26a8b3631a747c45019e1da83612677dc3e98f97d76e851320c61baafbd0a29231a826c14b7d3bf3e477f29e SHA512 d7ff45a329f2a9bf97fdc7c0268c2c67046c3501270fcf03578b955c2da35904d7bdecd4239924d390797ddff8f4cc69fc5743f4d4f663cdb9f2f8c7e8159512 +DIST python-memcached-1.60.gh.tar.gz 29184 BLAKE2B 54635e493e72d18aeda1e960c67cf92ac4c4f33b900c277f119e3528ebe52c69cf68b59c8c88719ed51664178b03b22d3035541ad529c5390c7f48a184539521 SHA512 d5d0789511ec4c5fd40a0ebc9b265ff0b69ff9aa366e1573b61c27b84ee0edb62c8dbc0563b5f92e6485914a6ff46a6130a8c889dae6ec638d71684ef29147e3 diff --git a/dev-python/python-memcached/python-memcached-1.60.ebuild b/dev-python/python-memcached/python-memcached-1.60.ebuild new file mode 100644 index 000000000000..96f87f91255f --- /dev/null +++ b/dev-python/python-memcached/python-memcached-1.60.ebuild @@ -0,0 +1,50 @@ +# Copyright 1999-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=setuptools +PYTHON_COMPAT=( python3_{8,9,10,11,12} pypy3 ) + +inherit distutils-r1 + +DESCRIPTION="Pure python memcached client" +HOMEPAGE=" + https://github.com/linsomniac/python-memcached/ + https://pypi.org/project/python-memcached/ +" +SRC_URI=" + https://github.com/linsomniac/python-memcached/archive/${PV}.tar.gz + -> ${P}.gh.tar.gz +" + +LICENSE="PSF-2.4" +SLOT="0" +KEYWORDS="~amd64 ~arm64 ~ppc ~x86 ~amd64-linux ~x86-linux" + +BDEPEND=" + test? ( + net-misc/memcached + ) +" + +distutils_enable_tests unittest + +python_test() { + local pidfile="${TMPDIR}/memcached.pid" + + memcached -d -P "${pidfile}" || die "failed to start memcached" + + eunittest || die "Tests fail with ${EPYTHON}" + + kill "$(<"${pidfile}")" || die "failed to kill memcached" + local elapsed=0 + while [[ -f ${pidfile} ]]; do + if [[ $(( elapsed++ )) -ge 30 ]]; then + kill -KILL "$(<"${pidfile}")" || + die "failed to kill -KILL memcached" + die "memcached failed to stop after 30 seconds" + fi + sleep 1 + done +} diff --git a/dev-python/python-rtmidi/Manifest b/dev-python/python-rtmidi/Manifest index c7567cc691a6..dc8e66326168 100644 --- a/dev-python/python-rtmidi/Manifest +++ b/dev-python/python-rtmidi/Manifest @@ -1 +1,2 @@ DIST python_rtmidi-1.5.7.tar.gz 368514 BLAKE2B 32028dff34928b1794cc178b22821fe8e01bff36d18b17b8673c763b21ca7ef85a6cb3ee62adcddbaf0b655079e7b8819ba5a28e58b8d5713015728cd6648246 SHA512 23c88cd307b5bc937920db9b39d0423043fb47878d679f4d721a025368a01e23b8e72749e1146da3277d37a20a9c5486e2c40c2a907c5efc5418567e97c3de91 +DIST python_rtmidi-1.5.8.tar.gz 368130 BLAKE2B 99fecb8cd003431b5fca31f436a77f27a50076a02ea7f92019800d0816c968f032bd31d236a13d67b2ee9ebdc341d16955675867a8dd345e76282131b781ef13 SHA512 0f2b949a2a53f813a891bc391ce0369fbbec0d6e898a9ace2925adc5714d791ce1f4df133edf34c87b3336cb3ab4ad70851a42124241ec1707f32f66a778dc18 diff --git a/dev-python/python-rtmidi/python-rtmidi-1.5.8.ebuild b/dev-python/python-rtmidi/python-rtmidi-1.5.8.ebuild new file mode 100644 index 000000000000..1d3e1e0170e9 --- /dev/null +++ b/dev-python/python-rtmidi/python-rtmidi-1.5.8.ebuild @@ -0,0 +1,60 @@ +# Copyright 1999-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +PYTHON_COMPAT=( python3_{8,9,10,11,12} ) +DOCS_BUILDER="sphinx" +DOCS_DEPEND="dev-python/myst-parser" +DOCS_DIR="docs" +DISTUTILS_EXT=1 +DISTUTILS_USE_PEP517=meson-python + +inherit distutils-r1 docs pypi + +DESCRIPTION="Python bindings for media-libs/rtmidi implemented using Cython" +HOMEPAGE=" + https://pypi.org/project/python-rtmidi/ + https://spotlightkid.github.io/python-rtmidi/ +" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64" +IUSE="+alsa jack" + +# Most of these tests do not play nicely with the sandbox, some only +# work with exactly the same version of rtmidi as the bundled one, and +# several fail even with disabled sandbox unless there are actual MIDI +# I/O devices present. +RESTRICT="test" + +DEPEND="media-libs/rtmidi[alsa?,jack?]" +RDEPEND="${DEPEND}" +BDEPEND="dev-python/cython[${PYTHON_USEDEP}] + virtual/pkgconfig" + +PATCHES=( + "${FILESDIR}"/${PN}-1.5.1-unbundle_rtmidi.patch +) + +distutils_enable_tests unittest + +src_prepare() { + distutils-r1_src_prepare + + # Just in case + rm -r src/rtmidi || die + rm src/_rtmidi.cpp || die + + # Needed by USE=doc because documentation generation happens in ${S} + # but the version.py generated by Meson end up in respective ${BUILD_DIR}s. + # The version put in ${S} should be ignored by everything except Sphinx but + # just in case, be consistent and generate it unconditionally. + sed -e "s|@VERSION@|${PV}|" < rtmidi/version.py.in > rtmidi/version.py || die +} + +python_test() { + cd "${T}" || die + eunittest "${S}"/tests +} diff --git a/dev-python/recurring-ical-events/Manifest b/dev-python/recurring-ical-events/Manifest index 0188b3b9ebd0..a53b4274f26a 100644 --- a/dev-python/recurring-ical-events/Manifest +++ b/dev-python/recurring-ical-events/Manifest @@ -1,3 +1,4 @@ DIST python-recurring-ical-events-2.0.2.gh.tar.gz 326754 BLAKE2B 1df6ffaf08e991ca49360f586abda344a9967e9fe0446a367920d6fe502aea20af35bb976b7a030d47f0b34388e7f169027e4106fc7c317d3a68358af812d40f SHA512 377f2f974cf0ce141d6c4f32aafe1b55339121229a74d66647d6779c1bec3ec4ede47a0c1353692c5eb3d5a6144b53f1fef3150343b503884c1d1d241138b65d DIST python-recurring-ical-events-2.1.0.gh.tar.gz 327954 BLAKE2B 8dae03b538e961fa18b51d6ecfd3d0818a64a44ebd9811370a7c78e8b897f38cad520d692fcc6e1c93751f500d8fd6072f0ce86ee9ac947b0aab7c82fcc3d9f7 SHA512 8e8e0d18e110be01f60a4834d21794d7a595413d109af88f44896d75db4c37176020f1f4fd74dc81c2f76d1e3654bc77c97240a6163444b0449a08178bb22c27 DIST python-recurring-ical-events-2.1.1.gh.tar.gz 328303 BLAKE2B 204ca63f87829cab0b4fd972027fbdabdcd027a0cc2fb1d42b70c517b5de69aa177a68e3a0ec051b326bce69cb4d341939ab4e53020f4fe5155476ad7dba5205 SHA512 d77f71317da8df3d71105b5c2ce08f33854df423b0b10e2dba117737832cc7b2257bd3d3b6f6d8470bea0beb7b5e6bc695e8204e02e3d8118cedf6a16e45f0cf +DIST python-recurring-ical-events-2.1.2.gh.tar.gz 328669 BLAKE2B 03bbae75a81526d855860c045711817200c1fca8a97574d324100a7d77c46f687ddb572d516a0bcddf90d629d9d9ff9bf7b2c868db5e6561447a1cd3b6b4f04b SHA512 42c11a211539cf6e40903f9df8224e8dd1dd68fe4894aa0ab1c2660c69a95d4cd1d9f41aa918d5180568f8ca3eecace0d5b845d669d7e532d61a7fa1f5283fd6 diff --git a/dev-python/recurring-ical-events/recurring-ical-events-2.1.2.ebuild b/dev-python/recurring-ical-events/recurring-ical-events-2.1.2.ebuild new file mode 100644 index 000000000000..323439f4e47d --- /dev/null +++ b/dev-python/recurring-ical-events/recurring-ical-events-2.1.2.ebuild @@ -0,0 +1,46 @@ +# Copyright 2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=setuptools +PYTHON_COMPAT=( python3_{8,9,10,11,12} ) + +inherit distutils-r1 + +MY_P=python-${P} +DESCRIPTION="Repeat ICalendar events by RRULE, RDATE and EXDATE" +HOMEPAGE=" + https://github.com/niccokunzmann/python-recurring-ical-events/ + https://pypi.org/project/recurring-ical-events/ +" +SRC_URI=" + https://github.com/niccokunzmann/python-recurring-ical-events/archive/v${PV}.tar.gz + -> ${MY_P}.gh.tar.gz +" +S=${WORKDIR}/${MY_P} + +LICENSE="LGPL-3+" +SLOT="0" +KEYWORDS="~amd64 ~arm64 ~x86" + +RDEPEND=" + <dev-python/icalendar-6[${PYTHON_USEDEP}] + >=dev-python/icalendar-5.0.9[${PYTHON_USEDEP}] + >=dev-python/python-dateutil-2.8.1[${PYTHON_USEDEP}] + >=dev-python/pytz-2023.3[${PYTHON_USEDEP}] + <dev-python/x-wr-timezone-1.0.0[${PYTHON_USEDEP}] + >=dev-python/x-wr-timezone-0.0.5[${PYTHON_USEDEP}] +" + +distutils_enable_tests pytest + +EPYTEST_IGNORE=( + test/test_readme.py +) + +EPYTEST_DESELECT=( + # a test checking if tzdata package is installed that is apparently + # needed for other tests, except it isn't + test/test_zoneinfo_issue_57.py::test_zoneinfo_must_be_installed_if_it_is_possible +) diff --git a/dev-python/statsmodels/Manifest b/dev-python/statsmodels/Manifest index b10c9c616d02..153f0ca3c59c 100644 --- a/dev-python/statsmodels/Manifest +++ b/dev-python/statsmodels/Manifest @@ -1,3 +1,2 @@ -DIST statsmodels-0.13.5.tar.gz 18364957 BLAKE2B 8357416b015b152612aca88a9ff42b81db4d97f61b1c255bc2baf8978440cd43fa1a5301d1c60e92b3a634008c5c001c00770685864d296587ff75e37d29ff4f SHA512 9aeeea80c69f52459140179523a0155429834b2951325c9781b28f8c4cbbd0593ff1867e2212078f2b898e4da953689c2fe78183d3c7959caa874e9d758b4ea4 DIST statsmodels-0.14.0.tar.gz 19374614 BLAKE2B b24c8c146ea9ed393da8e839e3c9a80b1ddaa6fe319204f4440b3435c756911bc1b6405544c6ab8e4370fd378ba26715da743e4d082af7774b8cefa8649d6c58 SHA512 876cc45eb4b5badee2ff859df8a45ce7c4f6ab2973d481f58c5b7906ebcdbb56a64769d5dd7a38c7b7415a4ee7cf98cf300b8c623bda9df001b982ff6844d1fd DIST statsmodels-0.14.1.tar.gz 20309647 BLAKE2B ef9b70671b78eb45b48997c5a8ea35828b7722b31a6c77d55b81f4aad6ddb3608305a3319a0d284797654ef2bbd5f25416459450a6b26be56b9e3e3137fccac8 SHA512 e382ca807205e2aeff76dd22b42e7824914472588ea040d90835fd46e0c993e155828c58e81f53f9539ad9bdf195bbbd1a49a45658187498d60287374112fd68 diff --git a/dev-python/statsmodels/statsmodels-0.13.5.ebuild b/dev-python/statsmodels/statsmodels-0.13.5.ebuild deleted file mode 100644 index d5e428a3de05..000000000000 --- a/dev-python/statsmodels/statsmodels-0.13.5.ebuild +++ /dev/null @@ -1,88 +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_{8,9,10,11,12} ) - -inherit distutils-r1 multiprocessing optfeature pypi - -DESCRIPTION="Statistical computations and models for use with SciPy" -HOMEPAGE=" - https://www.statsmodels.org/stable/index.html - https://github.com/statsmodels/statsmodels/ - https://pypi.org/project/statsmodels/ -" - -LICENSE="BSD" -SLOT="0" -KEYWORDS="amd64 ~arm arm64 ~ppc ppc64 ~riscv ~s390 ~sparc x86 ~amd64-linux ~x86-linux" -IUSE="examples" - -DEPEND=" - >=dev-python/numpy-1.17[${PYTHON_USEDEP}] - >=dev-python/scipy-1.3[${PYTHON_USEDEP}] -" -RDEPEND=" - ${DEPEND} - >=dev-python/numpy-1.17[${PYTHON_USEDEP}] - >=dev-python/packaging-21.3[${PYTHON_USEDEP}] - >=dev-python/pandas-0.25[${PYTHON_USEDEP}] - >=dev-python/patsy-0.5.2[${PYTHON_USEDEP}] - >=dev-python/scipy-1.3[${PYTHON_USEDEP}] -" -# https://github.com/statsmodels/statsmodels/issues/8868 for <cython-3 -BDEPEND=" - ${DEPEND} - <dev-python/cython-3[${PYTHON_USEDEP}] - test? ( - dev-python/pytest-xdist[${PYTHON_USEDEP}] - ) -" - -distutils_enable_sphinx docs \ - 'dev-python/ipykernel' \ - 'dev-python/jupyter-client' \ - 'dev-python/matplotlib' \ - 'dev-python/nbconvert' \ - 'dev-python/numpydoc' - -distutils_enable_tests pytest - -python_prepare_all() { - # Prevent un-needed d'loading - export VARTEXFONTS="${T}"/fonts - export MPLCONFIGDIR="${T}" - printf -- 'backend : Agg\n' > "${MPLCONFIGDIR}"/matplotlibrc || die - - distutils-r1_python_prepare_all -} - -python_test() { - local -x MKL_NUM_THREADS=1 - local -x OMP_NUM_THREADS=1 - local EPYTEST_DESELECT=( - # note that test path should be without "statsmodels/" prefix - imputation/tests/test_mice.py::TestMICE::test_combine - stats/tests/test_mediation.py::test_mixedlm - "stats/tests/test_corrpsd.py::test_corrpsd_threshold[0]" - ) - - cd "${BUILD_DIR}/install$(python_get_sitedir)" || die - epytest ${PN} -n "$(makeopts_jobs)" - rm -r ${PN}/.pytest_cache || die -} - -python_install_all() { - if use examples; then - docompress -x /usr/share/doc/${PF}/examples - dodoc -r examples - fi - distutils-r1_python_install_all -} - -pkg_postinst() { - optfeature "Plotting functionality" "dev-python/matplotlib" -} diff --git a/dev-python/uvloop/uvloop-0.19.0.ebuild b/dev-python/uvloop/uvloop-0.19.0.ebuild index b53951cd5adb..09d9ed59c1d6 100644 --- a/dev-python/uvloop/uvloop-0.19.0.ebuild +++ b/dev-python/uvloop/uvloop-0.19.0.ebuild @@ -26,6 +26,7 @@ DEPEND=" RDEPEND=" ${DEPEND} " +# <cython-3: https://github.com/MagicStack/uvloop/issues/586 BDEPEND=" <dev-python/cython-3[${PYTHON_USEDEP}] >=dev-python/cython-0.29.32[${PYTHON_USEDEP}] @@ -46,13 +47,8 @@ python_prepare_all() { cython_always=True EOF - # flake8 only - #rm tests/test_sourcecode.py || die # force cythonization rm uvloop/loop.c || die - # hangs - #sed -i -e 's:test_remote_shutdown_receives_trailing_data:_&:' \ - # tests/test_tcp.py || die distutils-r1_python_prepare_all } |
