diff options
| author | Liguros - Gitlab CI/CD [develop] <gitlab@liguros.net> | 2024-08-25 06:26:35 +0000 |
|---|---|---|
| committer | Liguros - Gitlab CI/CD [develop] <gitlab@liguros.net> | 2024-08-25 06:26:35 +0000 |
| commit | 629edf97880135121298f928930da998ce8633f0 (patch) | |
| tree | 65db8b86de7884030e8a79da8c3e32eb9ddadf16 /dev-python | |
| parent | 103ac5f9d42ef8edf02383119e862b1120db34f0 (diff) | |
| download | baldeagleos-repo-629edf97880135121298f928930da998ce8633f0.tar.gz baldeagleos-repo-629edf97880135121298f928930da998ce8633f0.tar.xz baldeagleos-repo-629edf97880135121298f928930da998ce8633f0.zip | |
Adding metadata
Diffstat (limited to 'dev-python')
22 files changed, 300 insertions, 396 deletions
diff --git a/dev-python/crc32c/Manifest b/dev-python/crc32c/Manifest index 6aabad8ac867..d448fd9abcb4 100644 --- a/dev-python/crc32c/Manifest +++ b/dev-python/crc32c/Manifest @@ -1,3 +1 @@ -DIST crc32c-2.4.1.tar.gz 38277 BLAKE2B 3d4a0eeb5811e8bc46df30b8890ab409de92dc3cfe2c5c3ab355df3394e56812c19ac26523be2cf9c33bb5825fb6e080b6f27ea77bed5c38d98fbe6c247653fb SHA512 005f95f66e97f552a83b5c94b706224f44280895d70c348fee86943bf1589a94b57eeddde5e18499fea9c77cbcbcfd5691d9d4b33ed788dc885a1333b6db476b -DIST crc32c-2.5.tar.gz 41514 BLAKE2B a9424ef917f3c89f3b8b3881ccd5d59cb8a634d6177260ce9e7300e151e68e97e55b74448dd4cd545d2d66d2e2d8e70a085578719f768662542e43f06e914d20 SHA512 446f2290706eae8a625590c6b314d8422938dd9b8bffcf5e4dd6d3d260932548dbc5d9a9b6e7e5eaaaaac8dce424876f4e4acc9b0b1ea2b7cdc6ddd101228cfd DIST crc32c-2.6.tar.gz 42985 BLAKE2B 0193b26a56c6a2ec071231815cfcdf8ab3ce58de98e2948ab68c8ccd5779772923c8fd1464c70376ade8d4a6a38a575f8330791b7cda8de82d001a869b22e7e2 SHA512 7ca2614994b558c0f9b12fb743b0dadcfd6e6e3ab71c7550fd892324a91a90816b2dadf9c9946078e0ee2cd4abe14fdca385421bcd9468e41fd656a080b4d52e diff --git a/dev-python/crc32c/crc32c-2.4.1.ebuild b/dev-python/crc32c/crc32c-2.4.1.ebuild deleted file mode 100644 index 5a5ea87c360b..000000000000 --- a/dev-python/crc32c/crc32c-2.4.1.ebuild +++ /dev/null @@ -1,46 +0,0 @@ -# Copyright 2024 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -DISTUTILS_EXT=1 -DISTUTILS_USE_PEP517=setuptools -PYTHON_COMPAT=( python3_{8,9,10,11,12} pypy3 ) - -inherit distutils-r1 pypi - -DESCRIPTION="CRC32c algorithm in hardware and software" -HOMEPAGE=" - https://github.com/ICRAR/crc32c/ - https://pypi.org/project/crc32c/ -" - -LICENSE="LGPL-2.1+" -SLOT="0" -KEYWORDS="~amd64 ~arm ~arm64 ~riscv ~sparc ~x86" -# NB: these don't affect the build, they are only used for tests -IUSE="cpu_flags_arm_crc32 cpu_flags_x86_sse4_2" - -distutils_enable_tests pytest - -python_test() { - local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1 - local -x CRC32C_SW_MODE - - # force = run "software" code (i.e. unoptimized) - # none = run "hardware" code (i.e. SSE4.2 / ARMv8 CRC32) - for CRC32C_SW_MODE in none force; do - if [[ ${CRC32C_SW_MODE} == none ]]; then - if ! use cpu_flags_arm_crc32 && ! use cpu_flags_x86_sse4_2; then - continue - fi - - # the test suite just skips all tests, so double-check - "${EPYTHON}" -c "import crc32c" || - die "Importing crc32c failed (accelerated code path broken?)" - fi - - einfo "Testing with CRC32C_SW_MODE=${CRC32C_SW_MODE}" - epytest - done -} diff --git a/dev-python/crc32c/crc32c-2.5.ebuild b/dev-python/crc32c/crc32c-2.5.ebuild deleted file mode 100644 index 5a5ea87c360b..000000000000 --- a/dev-python/crc32c/crc32c-2.5.ebuild +++ /dev/null @@ -1,46 +0,0 @@ -# Copyright 2024 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -DISTUTILS_EXT=1 -DISTUTILS_USE_PEP517=setuptools -PYTHON_COMPAT=( python3_{8,9,10,11,12} pypy3 ) - -inherit distutils-r1 pypi - -DESCRIPTION="CRC32c algorithm in hardware and software" -HOMEPAGE=" - https://github.com/ICRAR/crc32c/ - https://pypi.org/project/crc32c/ -" - -LICENSE="LGPL-2.1+" -SLOT="0" -KEYWORDS="~amd64 ~arm ~arm64 ~riscv ~sparc ~x86" -# NB: these don't affect the build, they are only used for tests -IUSE="cpu_flags_arm_crc32 cpu_flags_x86_sse4_2" - -distutils_enable_tests pytest - -python_test() { - local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1 - local -x CRC32C_SW_MODE - - # force = run "software" code (i.e. unoptimized) - # none = run "hardware" code (i.e. SSE4.2 / ARMv8 CRC32) - for CRC32C_SW_MODE in none force; do - if [[ ${CRC32C_SW_MODE} == none ]]; then - if ! use cpu_flags_arm_crc32 && ! use cpu_flags_x86_sse4_2; then - continue - fi - - # the test suite just skips all tests, so double-check - "${EPYTHON}" -c "import crc32c" || - die "Importing crc32c failed (accelerated code path broken?)" - fi - - einfo "Testing with CRC32C_SW_MODE=${CRC32C_SW_MODE}" - epytest - done -} diff --git a/dev-python/hypothesis/Manifest b/dev-python/hypothesis/Manifest index 54be7d7f23ac..cd877574adbc 100644 --- a/dev-python/hypothesis/Manifest +++ b/dev-python/hypothesis/Manifest @@ -1,2 +1,3 @@ DIST hypothesis-6.110.2.gh.tar.gz 9476926 BLAKE2B 8fb0b250e9c49f56d9b0d077db6305ab86c21eed4739605d3a45423cc0d5695be0e27cab351263f7c3526b26453aee38d6b794464052be6154b4158a776cc873 SHA512 2386f75b91e42e20babf5fc78fcc1ed22391bfa144f318074b0efdb4a1575a6db597aa3c00e756ddea24b792f49d9d6269b6aebb8f8aa8c497e98d3bf2771749 DIST hypothesis-6.111.1.gh.tar.gz 9475914 BLAKE2B 90604318db1a47db4eea8376c943c077058f3158c6c5220aa5f60575cc85c8cf97ed2ad435c7351141939e5b6773d013cf27e4ef9ee64bea2705596b3e4fecc7 SHA512 40e73843ba4477a9bd75087b42f92b6e483beac72dc8684a3d20e90b764f2c0773479a44b6107b237bcf17d347aad45a0ecb23ec54e19da08860e1fa86e5e772 +DIST hypothesis-6.111.2.gh.tar.gz 9475843 BLAKE2B 69a436586184a205fcb6b4c053e3c5f53a0c19344b2ffbe697d1cc8bcec62815e680783287f857cc64b9e9b66415670185b38405601a09f93e4c325561e567f2 SHA512 405d0a7545d216082f5b75d8b90bf53169481a96a23f8a40685165610dffe2fa2d47397abda98a90db4d281d274a35a201fbbae191fe264cba6be5deb0709042 diff --git a/dev-python/hypothesis/hypothesis-6.111.2.ebuild b/dev-python/hypothesis/hypothesis-6.111.2.ebuild new file mode 100644 index 000000000000..6ba8058fdf38 --- /dev/null +++ b/dev-python/hypothesis/hypothesis-6.111.2.ebuild @@ -0,0 +1,103 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=setuptools +CLI_COMPAT=( pypy3 python3_{10..13} ) +PYTHON_COMPAT=( python3_{8,9,10,11,12} ) +PYTHON_REQ_USE="threads(+),sqlite" + +inherit distutils-r1 optfeature + +TAG=hypothesis-python-${PV} +MY_P=hypothesis-${TAG} +DESCRIPTION="A library for property based testing" +HOMEPAGE=" + https://github.com/HypothesisWorks/hypothesis/ + https://pypi.org/project/hypothesis/ +" +SRC_URI=" + https://github.com/HypothesisWorks/hypothesis/archive/${TAG}.tar.gz + -> ${P}.gh.tar.gz +" +S="${WORKDIR}/${MY_P}/hypothesis-python" + +LICENSE="MPL-2.0" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86" +IUSE="cli" + +RDEPEND=" + >=dev-python/attrs-22.2.0[${PYTHON_USEDEP}] + >=dev-python/sortedcontainers-2.1.0[${PYTHON_USEDEP}] + $(python_gen_cond_dep ' + >=dev-python/exceptiongroup-1.0.0_rc8[${PYTHON_USEDEP}] + ' 3.9 3.10) + cli? ( + $(python_gen_cond_dep ' + dev-python/black[${PYTHON_USEDEP}] + dev-python/click[${PYTHON_USEDEP}] + ' "${CLI_COMPAT[@]}") + ) +" +BDEPEND=" + test? ( + dev-python/pexpect[${PYTHON_USEDEP}] + >=dev-python/pytest-8[${PYTHON_USEDEP}] + dev-python/pytest-xdist[${PYTHON_USEDEP}] + !!<dev-python/requests-toolbelt-0.10.1 + ) +" + +EPYTEST_XDIST=1 +distutils_enable_tests pytest + +python_test() { + # subtests are broken by warnings from random plugins + local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1 + local -x PYTEST_PLUGINS=xdist.plugin,_hypothesis_pytestplugin + local -x HYPOTHESIS_NO_PLUGINS=1 + + # NB: paths need to be relative to pytest.ini, + # i.e. start with hypothesis-python/ + local EPYTEST_DESELECT=() + case ${EPYTHON} in + pypy3) + EPYTEST_DESELECT+=( + # failing due to warnings from numpy/cython + hypothesis-python/tests/pytest/test_fixtures.py::test_given_plus_overridden_fixture + ) + ;; + esac + + epytest -o filterwarnings= tests/cover tests/pytest tests/quality +} + +src_install() { + local HAD_CLI= + + distutils-r1_src_install + + if [[ ! ${HAD_CLI} ]]; then + rm -r "${ED}/usr/bin" || die + fi +} + +python_install() { + distutils-r1_python_install + if use cli && has "${EPYTHON}" "${CLI_COMPAT[@]/_/.}"; then + HAD_CLI=1 + else + rm -r "${D}$(python_get_scriptdir)" || die + fi +} + +pkg_postinst() { + optfeature "datetime support" dev-python/pytz + optfeature "dateutil support" dev-python/python-dateutil + optfeature "numpy support" dev-python/numpy + optfeature "django support" dev-python/django dev-python/pytz + optfeature "pandas support" dev-python/pandas + optfeature "pytest support" dev-python/pytest +} diff --git a/dev-python/langdetect/Manifest b/dev-python/langdetect/Manifest index a11d7c268c91..37a64204a00a 100644 --- a/dev-python/langdetect/Manifest +++ b/dev-python/langdetect/Manifest @@ -1 +1,3 @@ DIST langdetect-1.0.9.tar.gz 981474 BLAKE2B ea8a9c3f16a2987c080742473bff4f2c1503f53fb3c2b40b0b1d6212bb6133ea22dce7864ffcfb8968c3a46b157d45cb3e2cf6f84bdbed0266cc716a853b032c SHA512 7558d674c47b080c79e43a00a25d2c7f77188cf60bea2cecb3bebb803d75e1aa42b43c74bd26ea1b541f4cb927421908882cbec01a91f0913984217e71ccc8db +EBUILD langdetect-1.0.9.ebuild 494 BLAKE2B 9b3521c5721afa49a58e0c35267f7d82bb56bd7e1d6d3152be0d36cd220180a526cb20b90b1113fbf0fff4a512137570f0b3bcf864498b7b7cc00403cb61ca27 SHA512 16d311400bf84a5f04e15f3da4b68b2810e4b005009f4d03dc8a487176dfc294403c976c412c83dcfa8084a49ef7b7d5389b43fb2ba446ce107ce4595e3558c6 +MISC metadata.xml 457 BLAKE2B 630128a3e982b6d60cc7b9f74c79fcb5ee47a71a02c73a50af9da8cedb6fad8e20a7f74b881e5b25c6483b92c9edbd56552cd38b2d9cbfa8b3eb4530facea969 SHA512 674f4f5cd809c6c77bc14e0f5687fa972bef14bdfa0b3343c5d66b7163eef1906eb87d060c8288732f825de71dce291ad0b841a5f2f0dd230f957b5687e45d45 diff --git a/dev-python/langdetect/files/langdetect-1.0.9-explicit-config.patch b/dev-python/langdetect/files/langdetect-1.0.9-explicit-config.patch deleted file mode 100644 index 637368d2f237..000000000000 --- a/dev-python/langdetect/files/langdetect-1.0.9-explicit-config.patch +++ /dev/null @@ -1,13 +0,0 @@ -Fix "Package 'langdetect.profiles' is absent from the `packages` configuration." - ---- a/setup.py -+++ b/setup.py -@@ -18,7 +18,7 @@ setup( - author_email='michal.danilak@gmail.com', - url='https://github.com/Mimino666/langdetect', - keywords='language detection library', -- packages=['langdetect', 'langdetect.utils', 'langdetect.tests'], -+ packages=['langdetect', 'langdetect.utils', 'langdetect.tests', 'langdetect.profiles'], - include_package_data=True, - install_requires=['six'], - license='MIT', diff --git a/dev-python/langdetect/langdetect-1.0.9.ebuild b/dev-python/langdetect/langdetect-1.0.9.ebuild index 630fe63c6f53..c09b7356f549 100644 --- a/dev-python/langdetect/langdetect-1.0.9.ebuild +++ b/dev-python/langdetect/langdetect-1.0.9.ebuild @@ -1,4 +1,4 @@ -# Copyright 2022-2024 Gentoo Authors +# Copyright 2022 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 @@ -19,6 +19,4 @@ KEYWORDS="~amd64" RDEPEND="dev-python/six[${PYTHON_USEDEP}]" -PATCHES=( "${FILESDIR}/${P}-explicit-config.patch" ) - distutils_enable_tests unittest diff --git a/dev-python/langdetect/metadata.xml b/dev-python/langdetect/metadata.xml index c0f74ac187e2..020e07f2a3dd 100644 --- a/dev-python/langdetect/metadata.xml +++ b/dev-python/langdetect/metadata.xml @@ -2,9 +2,11 @@ <!DOCTYPE pkgmetadata SYSTEM "https://liguros.gitlab.io/dtd/metadata.dtd"> <pkgmetadata> <maintainer type="person"> - <email>pastalian46@gmail.com</email> - <name>Takuya Wakazono</name> + <email>marcin.deranek@slonko.net</email> + <name>Marcin Deranek</name> </maintainer> - - <origin>gentoo-guru-overlay</origin> + <upstream> + <bugs-to>https://github.com/Mimino666/langdetect/issues</bugs-to> + </upstream> + <origin>slonko-overlay</origin> </pkgmetadata>
\ No newline at end of file diff --git a/dev-python/mypy/Manifest b/dev-python/mypy/Manifest index f59f48d16bb7..765d78bb5b14 100644 --- a/dev-python/mypy/Manifest +++ b/dev-python/mypy/Manifest @@ -1 +1,2 @@ DIST mypy-1.11.1.gh.tar.gz 3122001 BLAKE2B 6b4db9a363190177b96ea807538f1582071b213eae816ff55723c22de098e7ff2745e433a8a174fe3ebb6a9ed66f8ac75917883dfa027bdd7bca750a7517478e SHA512 8baa916ffe7e37c54c6dac98241441cc615ea8f847ebe3d12f41912d4a596ca47068d4fb0460e3bfc4b020ad7d2580814422b9dc3a22830c9031cec4111e3aab +DIST mypy-1.11.2.gh.tar.gz 3122502 BLAKE2B 228127662f4c607aacf3ee37410d0fa039a225fdbf2fec27eefab4aaabf4b68fa33499bb978aa5f06e24b45b525ce524decfa84f4d7d6bb7961724db92a4589b SHA512 c25584db08adcf7693944e5a6a41743101e80a0ff03f36f0353a07674ad4e2d63dbd4ff3fa0e307c19d63bc5aac9f7523340bd5a7cb3661642f3fb33759aafd0 diff --git a/dev-python/mypy/mypy-1.11.2.ebuild b/dev-python/mypy/mypy-1.11.2.ebuild new file mode 100644 index 000000000000..4aad2f30e038 --- /dev/null +++ b/dev-python/mypy/mypy-1.11.2.ebuild @@ -0,0 +1,126 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_EXT=1 +DISTUTILS_USE_PEP517=setuptools +PYTHON_COMPAT=( python3_{8,9,10,11,12} ) + +inherit distutils-r1 + +DESCRIPTION="Optional static typing for Python" +HOMEPAGE=" + https://www.mypy-lang.org/ + https://github.com/python/mypy/ + https://pypi.org/project/mypy/ +" +SRC_URI=" + https://github.com/python/mypy/archive/v${PV}.tar.gz + -> ${P}.gh.tar.gz +" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64 ~arm64 ~loong ~ppc64 ~riscv ~x86" +IUSE="+native-extensions" + +# stubgen collides with this package: https://bugs.gentoo.org/585594 +RDEPEND=" + !dev-util/stubgen + >=dev-python/psutil-4[${PYTHON_USEDEP}] + >=dev-python/typing-extensions-4.6.0[${PYTHON_USEDEP}] + >=dev-python/mypy_extensions-1.0.0[${PYTHON_USEDEP}] + $(python_gen_cond_dep ' + dev-python/tomli[${PYTHON_USEDEP}] + ' 3.10) +" +BDEPEND=" + native-extensions? ( + ${RDEPEND} + dev-python/types-psutil[${PYTHON_USEDEP}] + dev-python/types-setuptools[${PYTHON_USEDEP}] + ) + test? ( + >=dev-python/attrs-18.0[${PYTHON_USEDEP}] + >=dev-python/filelock-3.3.0[${PYTHON_USEDEP}] + >=dev-python/lxml-4.9.1[${PYTHON_USEDEP}] + ) +" + +EPYTEST_XDIST=1 +distutils_enable_tests pytest + +# frustratingly, mypyc produces non-deterministic output. If ccache is enabled it will be a waste of time, +# but simultaneously it might trash your system and fill up the cache with a giant wave of non-reproducible +# test files (https://github.com/mypyc/mypyc/issues/1014) +export CCACHE_DISABLE=1 + +python_compile() { + local -x MYPY_USE_MYPYC=$(usex native-extensions 1 0) + case ${EPYTHON} in + python3.13) + # https://github.com/mypyc/mypyc/issues/1056 + MYPY_USE_MYPYC=0 + ;; + esac + distutils-r1_python_compile +} + +python_test() { + local EPYTEST_DESELECT=( + # the majority of them require Internet (via pip) + mypy/test/testpep561.py + # known broken with assertions enabled + # https://github.com/python/mypy/issues/16043 + mypyc/test/test_run.py::TestRun::run-i64.test::testI64GlueMethodsAndInheritance + mypyc/test/test_run.py::TestRun::run-floats.test::testFloatOps + # these assume that types-docutils are not installed + mypy/test/testpythoneval.py::PythonEvaluationSuite::pythoneval.test::testIgnoreImportIfNoPython3StubAvailable + mypy/test/testpythoneval.py::PythonEvaluationSuite::pythoneval.test::testNoPython3StubAvailable + # TODO + mypy/test/meta/test_parse_data.py + mypy/test/meta/test_update_data.py + mypy/test/teststubtest.py::StubtestUnit::test_runtime_typing_objects + ) + case ${EPYTHON} in + python3.12) + EPYTEST_DESELECT+=( + # more assertions, sigh + mypyc/test/test_run.py::TestRun::run-bools.test::testBoolOps + mypyc/test/test_run.py::TestRun::run-i64.test::testI64BasicOps + mypyc/test/test_run.py::TestRun::run-i64.test::testI64DefaultArgValues + mypyc/test/test_run.py::TestRun::run-i64.test::testI64ErrorValuesAndUndefined + ) + ;; + python3.13) + EPYTEST_DESELECT+=( + # https://github.com/mypyc/mypyc/issues/1056 + mypyc/test + # requires typeshed update + mypy/test/teststubtest.py::StubtestUnit::test_type_alias + ) + ;; + esac + + # Some mypy/test/testcmdline.py::PythonCmdlineSuite tests + # fail with high COLUMNS values + local -x COLUMNS=80 + + # The tests depend on having in-source compiled extensions if you want to + # test those compiled extensions. Various crucial test dependencies aren't + # installed. Even pyproject.toml is needed because that's where pytest args + # are in. Hack them into the build directory and delete them afterwards. + # See: https://github.com/python/mypy/issues/16143 + local -x MYPY_TEST_PREFIX="${S}" + cd "${BUILD_DIR}/install$(python_get_sitedir)" || die + cp -r "${S}"/{conftest.py,pyproject.toml} . || die + + local failed= + local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1 + nonfatal epytest || failed=1 + + rm conftest.py pyproject.toml || die + + [[ ${failed} ]] && die "epytest failed with ${EPYTHON}" +} diff --git a/dev-python/spyder-kernels/Manifest b/dev-python/spyder-kernels/Manifest index 24105875192b..59aee0a1c509 100644 --- a/dev-python/spyder-kernels/Manifest +++ b/dev-python/spyder-kernels/Manifest @@ -1,3 +1,2 @@ DIST spyder_kernels-2.5.2.tar.gz 99972 BLAKE2B 178f175fe03fd2b7871681ae30d10b62a4daf9ee606477eab4f88a4d81d2692b80cdcf4f9b6d46c4cfc0394b98d798e93dda870a3f1cbe6f77e243fd2b06d97c SHA512 4cf5462d6a6e72bf13f9890fbc5a4008788e132ee3315b0ad01a00beff6b78c63f47b7b5d19be601b64984196cc1a5c4706a4c5bbe878d938e487ae9ddd9f1fc -DIST spyder_kernels-3.0.0b8.tar.gz 240231 BLAKE2B 65d37fcf58d9e5636b1f3463f51087f2157d0f50d0e57245e32f294a9986f1eb22a1f74418cb6e6e6f5f3b1e4960b1360da9eb331036790172e6a7acc44bcd0a SHA512 5ca4d8697a07f21a423a4f1cb222e34d0740c3f7f743241bd0d1a593e8a465bced847d86ff59587f3d39c17116518d5b41d9bfd3e84a7de75d63f65080c442a1 DIST spyder_kernels-3.0.0b9.tar.gz 242468 BLAKE2B b85c35f3b0fdffcb9105a6ff15388aeb0ea08f22647d654c37b9b7003d516310039dcb2d0cb41668f0903302b330dae289d9a7063ad9f970ac757f549b871a8d SHA512 c3c68b3a7c5bbd337b4461cedc388e8a9196e9ee72c2208036abe376d1621ab5db93c23935d1bf2d711a2d0de99d06599e2e0f102dc7a5d75d5c55f13cdb2a2e diff --git a/dev-python/spyder-kernels/spyder-kernels-3.0.0_beta8.ebuild b/dev-python/spyder-kernels/spyder-kernels-3.0.0_beta8.ebuild deleted file mode 100644 index 33432d39a653..000000000000 --- a/dev-python/spyder-kernels/spyder-kernels-3.0.0_beta8.ebuild +++ /dev/null @@ -1,86 +0,0 @@ -# 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_{8,9,10,11,12} pypy3 ) - -inherit distutils-r1 pypi - -DESCRIPTION="Kernels used by spyder on its ipython console" -HOMEPAGE=" - https://github.com/spyder-ide/spyder-kernels/ - https://pypi.org/project/spyder-kernels/ -" - -LICENSE="MIT" -SLOT="0" -KEYWORDS="" - -RDEPEND=" - dev-python/cloudpickle[${PYTHON_USEDEP}] - <dev-python/ipykernel-7[${PYTHON_USEDEP}] - >=dev-python/ipykernel-6.29.3[${PYTHON_USEDEP}] - <dev-python/ipython-9[${PYTHON_USEDEP}] - >dev-python/ipython-8.13.0[${PYTHON_USEDEP}] - <dev-python/jupyter-client-9[${PYTHON_USEDEP}] - >=dev-python/jupyter-client-7.4.9[${PYTHON_USEDEP}] - dev-python/matplotlib-inline[${PYTHON_USEDEP}] - >=dev-python/pyxdg-0.26[${PYTHON_USEDEP}] - >=dev-python/pyzmq-24.0.0[${PYTHON_USEDEP}] - >=dev-python/wurlitzer-1.0.3[${PYTHON_USEDEP}] -" - -BDEPEND=" - test? ( - dev-python/cython[${PYTHON_USEDEP}] - dev-python/django[${PYTHON_USEDEP}] - dev-python/flaky[${PYTHON_USEDEP}] - dev-python/matplotlib[${PYTHON_USEDEP}] - dev-python/mock[${PYTHON_USEDEP}] - dev-python/numpy[${PYTHON_USEDEP}] - dev-python/scipy[${PYTHON_USEDEP}] - dev-python/pillow[${PYTHON_USEDEP}] - $(python_gen_cond_dep ' - dev-python/h5py[${PYTHON_USEDEP}] - dev-python/pandas[${PYTHON_USEDEP}] - dev-python/xarray[${PYTHON_USEDEP}] - ' 'python*') - ) -" - -distutils_enable_tests pytest - -EPYTEST_DESELECT=( - # we no longer package distributed, and also removed dependency on dask - spyder_kernels/console/tests/test_console_kernel.py::test_dask_multiprocessing - - # RuntimeError: There is no current event loop in thread 'MainThread'. - # https://bugs.gentoo.org/834893 - spyder_kernels/console/tests/test_console_kernel.py::test_cwd_in_sys_path - spyder_kernels/console/tests/test_console_kernel.py::test_multiprocessing - spyder_kernels/console/tests/test_console_kernel.py::test_multiprocessing_2 - spyder_kernels/console/tests/test_console_kernel.py::test_runfile - spyder_kernels/console/tests/test_console_kernel.py::test_np_threshold - spyder_kernels/console/tests/test_console_kernel.py::test_turtle_launch - spyder_kernels/console/tests/test_console_kernel.py::test_matplotlib_inline - - # pydicom only packaged in ::sci at the moment - spyder_kernels/utils/tests/test_iofuncs.py::test_load_dicom_files -) - -python_test() { - if [[ ${EPYTHON} == pypy3 ]]; then - EPYTEST_IGNORE=( - # requires pandas - spyder_kernels/utils/tests/test_nsview.py - ) - EPYTEST_DESELECT+=( - # requires hdf5 - spyder_kernels/utils/tests/test_iofuncs.py::test_save_load_hdf5_files - spyder_kernels/utils/tests/test_dochelpers.py - ) - fi - distutils-r1_python_test -} diff --git a/dev-python/spyder/Manifest b/dev-python/spyder/Manifest index 761695c421c7..2eba2af9c9d8 100644 --- a/dev-python/spyder/Manifest +++ b/dev-python/spyder/Manifest @@ -1,3 +1,4 @@ DIST spyder-5.5.5.gh.tar.gz 16258487 BLAKE2B 3fa3ea611fc3267918e4314027c0825905f256a7fe070534c7608a4a42938c3934f34f4dc06fe0cfc0ac32e03fbdc294974672b010aaf9bc32512b817af62e6b SHA512 5f5d25822f20f8ae8767402b037cca78b760768b9bc53ef74ed95839aa59e1c24206457fd4c71003bb9ebffe8daf8ad3bda8dd40e71cc15d3d3ee2030b284b42 -DIST spyder-6.0.0_rc1.gh.tar.gz 15673894 BLAKE2B a9cd90bb12ec4d11b6a92185b2ff115f9d94e015a354022452d3592c53170fa59826f95d33709041c947ce780fa5368cb45cda3e8e04900f2bcd235706456c8f SHA512 2870f12bd830d1f4e6ff5c8af3cfce670c7134ea975b7e09d6f1e69ec0ca32357150fc2da69fcc7ed29bd7bfc504b211bc9faaea0f7fdcbb161e528baf7c70f9 +DIST spyder-6.0.0_rc2.gh.tar.gz 15675811 BLAKE2B 1f6c8a3a952a3b6b1a89b434bd41fbe2e793562f03463c1c95b62997d46c99b8d722620ec4355815f91a8fc57fa559f4ae15b88a058fb41516718d86f9ea6e3a SHA512 3f50ac8eb8594d8a74b885e185e1f46617e63ee726e903d01f97529c48fd0020ac045a495fa0367824a9ca9148d3aa368e03a27c44a42903bb5ad4b1aab38d82 DIST spyder-docs-32efdaebc11dab0b8e0767717342b7d306dc06ea.gh.tar.gz 94897009 BLAKE2B 30e0b42e34bddb60d8fc986183a363b71455067bc7f4411cb75a00c5758e87501ee07ad0b484caed2aa3cf91153be814c7faf935be8665b6984bce38ebcd0be2 SHA512 9f9aa56ab27aed8d27c3d653119d5c5454b4317a78a7ff27715d91cac9dec79143db85d4f1c87b10fa821eb33abc043912df308fa6c84ade59539bd633eefbd2 +DIST spyder-docs-6951e02799fc7cd1f29456f1d93cfdcb570dad27.gh.tar.gz 93033557 BLAKE2B 395dd2a8ddb6e1b1408ba46cbe0fa452c1f2e69da1f3b6176401ff7395ace1463e63c696e13ee0b79f992b0ceca86228ad113f95ed7873db1b970452bc679f89 SHA512 c631e720e3ca49413482df294fb032285cf217ba94de299c37cb073e4e2bdeb629d16a139db17c569c74c628c50789c90d6085383886d32fa26b942711ccedc0 diff --git a/dev-python/spyder/spyder-6.0.0_rc1.ebuild b/dev-python/spyder/spyder-6.0.0_rc2.ebuild index 1f2134ca988e..31a97502d30a 100644 --- a/dev-python/spyder/spyder-6.0.0_rc1.ebuild +++ b/dev-python/spyder/spyder-6.0.0_rc2.ebuild @@ -9,7 +9,7 @@ DISTUTILS_USE_PEP517=setuptools inherit distutils-r1 optfeature virtualx xdg # Commit of documentation to fetch -DOCS_PV="32efdaebc11dab0b8e0767717342b7d306dc06ea" +DOCS_PV="6951e02799fc7cd1f29456f1d93cfdcb570dad27" DESCRIPTION="The Scientific Python Development Environment" HOMEPAGE=" @@ -61,8 +61,8 @@ RDEPEND=" >=dev-python/QtPy-2.4.0[${PYTHON_USEDEP},svg,webengine] >=dev-python/rtree-0.9.7[${PYTHON_USEDEP}] >=dev-python/sphinx-0.6.6[${PYTHON_USEDEP}] - >=dev-python/spyder-kernels-3.0.0_beta8[${PYTHON_USEDEP}] - <dev-python/spyder-kernels-3.0.0_beta9[${PYTHON_USEDEP}] + >=dev-python/spyder-kernels-3.0.0_beta9[${PYTHON_USEDEP}] + <dev-python/spyder-kernels-3.0.0_beta10[${PYTHON_USEDEP}] >=dev-python/superqt-0.6.2[${PYTHON_USEDEP}] <dev-python/superqt-1.0.0[${PYTHON_USEDEP}] >=dev-python/textdistance-4.2.0[${PYTHON_USEDEP}] @@ -94,7 +94,6 @@ BDEPEND=" # This fails because access is denied to this command during build PATCHES=( "${FILESDIR}/${PN}-5.0.0-build.patch" - "${FILESDIR}/${PN}-5.2.0-doc-theme-renamed.patch" ) DOCS=( @@ -109,10 +108,11 @@ DOCS=( ) distutils_enable_tests pytest -distutils_enable_sphinx docs/doc \ - dev-python/sphinx-panels \ - dev-python/pydata-sphinx-theme \ - dev-python/sphinx-multiversion +# TODO: Package sphinx-design +# distutils_enable_sphinx docs/doc \ +# dev-python/sphinx-panels \ +# dev-python/pydata-sphinx-theme \ +# dev-python/sphinx-multiversion python_prepare_all() { # move docs into workdir diff --git a/dev-python/stripe/Manifest b/dev-python/stripe/Manifest index 2ac79458bbd2..93864bf18bbb 100644 --- a/dev-python/stripe/Manifest +++ b/dev-python/stripe/Manifest @@ -1,4 +1,2 @@ -DIST stripe-10.5.0.tar.gz 1301564 BLAKE2B 5cc9175c52bfadb0fc05528b406090f72215d2b27eefa51336508a74dd348d37d51b93e0e898ba22b1102316b95643bad6b0ca0e1ef84c8053b98a34ed496698 SHA512 c320c9f6b77ce38ef4182607168c811d512ba12d080c8f1c4f61fbdef6adaa2c955078e333715343e0bf796826e9d303a45765e1e67aee518a3cd6ffbfb801b4 -DIST stripe-10.6.0.tar.gz 1306235 BLAKE2B 0dbedd05118c31452e50f24fc92afb4f21a129ea1b47054d4c79bb48d6ea520ba34bc9b694c4919037488ad316180f793be0aa84068ed30c0c8bd7092841c4d7 SHA512 745aeedec3a666850afd77925c15599a74c73142808ee3cc9835e1853ece7c4fbb68c556f02b92d7265d638ed6fe39f254ccf3fb62cadeccc2e2bc57c57a9a7d DIST stripe-10.7.0.tar.gz 1311319 BLAKE2B c593f9478e180b8965e6d4c93c58f0e539c0821b79c48893d65fa59f4a31d29eece26ab74113f251fa5da0620358bb45e9030e1a64aa17d189974f7c6250cfcf SHA512 2f0c6082cf292068a8790c7080e60c2b7fef2a16b5cf9fd31dabd1e7428b6317941cb64b32c7710d165a5b6b2da1c5899e5cfa88e354bc88c49c9513c25c58a4 DIST stripe-10.8.0.tar.gz 1312236 BLAKE2B 72c8c111f86388a0e19ed5c5688ac8c8e5437251b1972aa4316dadccbecad03ad7db625c73110d6c617553eae15e1a5a7c571ff209ffa1ca4fa40f091c171361 SHA512 520df4a0866defc2efdaf4ad0aa5351df04669e9283298ff862a78f4d5894e5422eba48b4bb0654e1a1a41973dcd245bc4e37c3166210135c5864470fc0f7db8 diff --git a/dev-python/stripe/stripe-10.5.0.ebuild b/dev-python/stripe/stripe-10.5.0.ebuild deleted file mode 100644 index 1cba4d61f3ac..000000000000 --- a/dev-python/stripe/stripe-10.5.0.ebuild +++ /dev/null @@ -1,92 +0,0 @@ -# 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_{8,9,10,11,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.186.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 - ) -" - -EPYTEST_XDIST=1 -distutils_enable_tests pytest - -DOCS=( LONG_DESCRIPTION.rst CHANGELOG.md README.md ) - -src_prepare() { - distutils-r1_src_prepare - - if ! use telemetry; then - sed -i -e '/enable_telemetry/s:True:False:' stripe/__init__.py || die - fi -} - -python_test() { - local EPYTEST_DESELECT=( - # exception message mismatch with aiohttp-3.10.0 - "tests/test_integration.py::TestIntegration::test_async_timeout[asyncio-aiohttp]" - ) - - 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/stripe/stripe-10.6.0.ebuild b/dev-python/stripe/stripe-10.6.0.ebuild deleted file mode 100644 index b2cab2367687..000000000000 --- a/dev-python/stripe/stripe-10.6.0.ebuild +++ /dev/null @@ -1,92 +0,0 @@ -# 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_{8,9,10,11,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.186.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 - ) -" - -EPYTEST_XDIST=1 -distutils_enable_tests pytest - -DOCS=( LONG_DESCRIPTION.rst CHANGELOG.md README.md ) - -src_prepare() { - distutils-r1_src_prepare - - if ! use telemetry; then - sed -i -e '/enable_telemetry/s:True:False:' stripe/__init__.py || die - fi -} - -python_test() { - local EPYTEST_DESELECT=( - # exception message mismatch with aiohttp-3.10.0 - "tests/test_integration.py::TestIntegration::test_async_timeout[asyncio-aiohttp]" - ) - - 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/suds-community/Manifest b/dev-python/suds-community/Manifest index ecae0d478968..c0cfa3ffb78c 100644 --- a/dev-python/suds-community/Manifest +++ b/dev-python/suds-community/Manifest @@ -1 +1,2 @@ DIST suds-community-1.1.2.tar.gz 285409 BLAKE2B 6cf047bb6fa6aed147fa519fee4300f52195c94a409aaa769feffaaf4d43552a566efb0162e440092c3dcb8ec21cf441325db449e5417b81a5f859133a078b83 SHA512 9f26ebbf36fcbd915281f3c3afd4ea776ca409ede4ba9e487b746ef4e527171ee2fdb44075100d52b5bba0658fafec817eea2cbf64b8d2851bdc974aee430d57 +DIST suds_community-1.2.0.tar.gz 271408 BLAKE2B 4699ee3bc28f758484425cda5c9a6e6d036d7bc364f0456ec2180726269afcb8c2f62004d2d9441ebb6aec0fea3f4b83d19f5a0df736be2e6bf61a15951f3290 SHA512 8955ad288fbd9d472b8aa4b4a016da66616436bb41b44d7935f4c14ae897c127e0d6c14457f2303ead671f92edc51454701c9658aec32f6af44882526ed86aeb diff --git a/dev-python/suds-community/suds-community-1.2.0.ebuild b/dev-python/suds-community/suds-community-1.2.0.ebuild new file mode 100644 index 000000000000..d661efa28827 --- /dev/null +++ b/dev-python/suds-community/suds-community-1.2.0.ebuild @@ -0,0 +1,24 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=setuptools +PYTHON_REQ_USE="xml(+)" +PYTHON_COMPAT=( python3_{8,9,10,11,12} ) + +inherit distutils-r1 pypi + +DESCRIPTION="Lightweight SOAP client" +HOMEPAGE=" + https://github.com/suds-community/suds/ + https://pypi.org/project/suds-community/ +" + +LICENSE="LGPL-3" +SLOT="0" +KEYWORDS="~amd64 ~arm64 ~x86 ~amd64-linux ~x86-linux" + +DOCS=( README.md notes/. ) + +distutils_enable_tests pytest diff --git a/dev-python/ytmusicapi/Manifest b/dev-python/ytmusicapi/Manifest index 5cc835485be8..323e80748e03 100644 --- a/dev-python/ytmusicapi/Manifest +++ b/dev-python/ytmusicapi/Manifest @@ -1 +1,2 @@ DIST ytmusicapi-1.8.0.tar.gz 283301 BLAKE2B aa0d0a8b30b75873865360dfe7b0aec436debf5b2e0f96f2d4008f5234d42802a3a84acd55f83244c03995d605718139f30cda21a798d23c841cc4f9a395d4a5 SHA512 5b7d3fef54eef586b007b6bb6f5c81aaf068302de2493fff8e6ce6bdd9387836615bfa9ecd10ce2516effe1707d11de55ad8a967562e8d6faa527c7e808c377a +DIST ytmusicapi-1.8.1.tar.gz 283291 BLAKE2B e6894c0bede054e41c485ffa86eb6217d09cc3d619d9ec89777f3575325152acfce98467695dcc95d07e8bb4e3cd8de7c93ee9872373db1958eeb1cabe0ead3c SHA512 37b166e550ead565b752e466ab0ec0fd238474f669b79596a3d16626ed2480ecfe0066715c685f39376ed2ea528993ca2a0330b3c4eac9d4fcd096c8d4c20884 diff --git a/dev-python/ytmusicapi/ytmusicapi-1.8.1.ebuild b/dev-python/ytmusicapi/ytmusicapi-1.8.1.ebuild new file mode 100644 index 000000000000..7cc8b0851928 --- /dev/null +++ b/dev-python/ytmusicapi/ytmusicapi-1.8.1.ebuild @@ -0,0 +1,24 @@ +# 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_{8,9,10,11,12} ) + +inherit distutils-r1 pypi + +DESCRIPTION="Unofficial API for YouTube Music" +HOMEPAGE="https://ytmusicapi.readthedocs.io/ + https://github.com/sigma67/ytmusicapi/" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64 ~x86" +RESTRICT="test" + +RDEPEND=" + dev-python/requests[${PYTHON_USEDEP}] +" + +distutils_enable_sphinx docs/source dev-python/sphinx-rtd-theme |
