diff options
| author | Liguros - Gitlab CI/CD [develop] <gitlab@liguros.net> | 2024-03-11 06:38:46 +0000 |
|---|---|---|
| committer | Liguros - Gitlab CI/CD [develop] <gitlab@liguros.net> | 2024-03-11 06:38:46 +0000 |
| commit | f8d56965f461ad6abf256ab2beae3377f372bc4f (patch) | |
| tree | 9423247c7c3ea8a330e4c9c98148e662b5fad65b /dev-python | |
| parent | fdb78a919be581165ce1422d96acd4bf876fe39b (diff) | |
| download | baldeagleos-repo-f8d56965f461ad6abf256ab2beae3377f372bc4f.tar.gz baldeagleos-repo-f8d56965f461ad6abf256ab2beae3377f372bc4f.tar.xz baldeagleos-repo-f8d56965f461ad6abf256ab2beae3377f372bc4f.zip | |
Adding metadata
Diffstat (limited to 'dev-python')
48 files changed, 805 insertions, 85 deletions
diff --git a/dev-python/asyncpg/asyncpg-0.29.0.ebuild b/dev-python/asyncpg/asyncpg-0.29.0-r1.ebuild index 05357485fc84..620ac51a9ffc 100644 --- a/dev-python/asyncpg/asyncpg-0.29.0.ebuild +++ b/dev-python/asyncpg/asyncpg-0.29.0-r1.ebuild @@ -24,13 +24,18 @@ RDEPEND=" ' python3_{10..11}) " BDEPEND=" - <dev-python/cython-3[${PYTHON_USEDEP}] test? ( dev-db/postgresql[server] dev-python/uvloop[${PYTHON_USEDEP}] ) " +PATCHES=( + # Works fine with >=dev-python/cython-3 + # https://github.com/MagicStack/asyncpg/pull/1101 + "${FILESDIR}"/cython-3.patch +) + EPYTEST_IGNORE=( # checks versions from env variables "${S}"/tests/test__environment.py diff --git a/dev-python/asyncpg/files/cython-3.patch b/dev-python/asyncpg/files/cython-3.patch new file mode 100644 index 000000000000..89c51c0eb4ea --- /dev/null +++ b/dev-python/asyncpg/files/cython-3.patch @@ -0,0 +1,26 @@ +diff --git a/pyproject.toml b/pyproject.toml +index ed2340a..825af6a 100644 +--- a/pyproject.toml ++++ b/pyproject.toml +@@ -50,7 +50,7 @@ requires = [ + "setuptools>=60", + "wheel", + +- "Cython(>=0.29.24,<3.0.0)" ++ "Cython(>=3.0.0)" + ] + build-backend = "setuptools.build_meta" + +diff --git a/setup.py b/setup.py +index c4d42d8..c4d6ed1 100644 +--- a/setup.py ++++ b/setup.py +@@ -25,7 +25,7 @@ from setuptools.command import sdist as setuptools_sdist + from setuptools.command import build_ext as setuptools_build_ext + + +-CYTHON_DEPENDENCY = 'Cython(>=0.29.24,<0.30.0)' ++CYTHON_DEPENDENCY = 'Cython(>=0.30.0)' + + CFLAGS = ['-O2'] + LDFLAGS = [] diff --git a/dev-python/fakeredis/Manifest b/dev-python/fakeredis/Manifest index 252676a997db..92fd3d40ccae 100644 --- a/dev-python/fakeredis/Manifest +++ b/dev-python/fakeredis/Manifest @@ -1 +1,2 @@ DIST fakeredis-2.21.1.tar.gz 128540 BLAKE2B 042c7189f4437149f099eb2bed9dc93cfaea3eb582dd40aaad55bca6c6c4f679a108b3e36006e537be469a3879085f75e0f5c0c7272d2131c431a4483e15cefc SHA512 ba51079896ca345805a0b2474922a41b7c1526123ac3ff0904d3448512b75515b6b11d7e8ec8fe7abdde94a9ac281aaf56d7344809c18c28ad081af4a542a57b +DIST fakeredis-2.21.2.tar.gz 128965 BLAKE2B 20891c5a34ac5697435a8b05578fc3ffc1a0b008726ed1836929d6e185aff22073382fd0b80d08f4045d85e3d0da9b682900de79b50864ff7682943a634b2970 SHA512 0ba5e31e403670e864a5364498e26e818641d0fbba59554b78bd0d82a2d944a730d519184c132bdb367761b830bb3a55b43a957770f833891cccd11d528ff540 diff --git a/dev-python/fakeredis/fakeredis-2.21.2.ebuild b/dev-python/fakeredis/fakeredis-2.21.2.ebuild new file mode 100644 index 000000000000..a2e2269044d2 --- /dev/null +++ b/dev-python/fakeredis/fakeredis-2.21.2.ebuild @@ -0,0 +1,84 @@ +# Copyright 2020-2024 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} pypy3 ) + +inherit distutils-r1 pypi + +DESCRIPTION="Fake implementation of redis API for testing purposes" +HOMEPAGE=" + https://github.com/cunla/fakeredis-py/ + https://pypi.org/project/fakeredis/ +" + +LICENSE="BSD" +SLOT="0" +KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~ppc64 ~riscv ~sparc ~x86" + +RDEPEND=" + dev-python/packaging[${PYTHON_USEDEP}] + >=dev-python/redis-4.2[${PYTHON_USEDEP}] + <dev-python/sortedcontainers-3[${PYTHON_USEDEP}] + >=dev-python/sortedcontainers-2[${PYTHON_USEDEP}] +" +BDEPEND=" + test? ( + dev-db/redis + dev-python/pytest-asyncio[${PYTHON_USEDEP}] + dev-python/pytest-mock[${PYTHON_USEDEP}] + ) +" + +distutils_enable_tests pytest + +python_test() { + local EPYTEST_DESELECT=( + # also lupa + test/test_aioredis2.py::test_failed_script_error + # TODO + "test/test_fakeredis.py::test_set_get_nx[StrictRedis]" + "test/test_fakeredis.py::test_lpop_count[StrictRedis]" + "test/test_fakeredis.py::test_rpop_count[StrictRedis]" + "test/test_fakeredis.py::test_zadd_minus_zero[StrictRedis]" + "test/test_mixins/test_pubsub_commands.py::test_pubsub_channels[StrictRedis]" + test/test_mixins/test_set_commands.py::test_smismember_wrong_type + # new redis-server? + "test/test_mixins/test_pubsub_commands.py::test_pubsub_shardnumsub[StrictRedis]" + # json ext + test/test_json/test_json.py + test/test_json/test_json_arr_commands.py + ) + local EPYTEST_IGNORE=( + # these tests fail a lot... + test/test_hypothesis.py + ) + local args=( + # tests requiring lupa (lua support) + -k 'not test_eval and not test_lua and not test_script' + ) + # Note: this package is not xdist-friendly + epytest "${args[@]}" +} + +src_test() { + local redis_pid="${T}"/redis.pid + local redis_port=6379 + + einfo "Spawning Redis" + einfo "NOTE: Port ${redis_port} must be free" + "${EPREFIX}"/usr/sbin/redis-server - <<- EOF || die "Unable to start redis server" + daemonize yes + pidfile ${redis_pid} + port ${redis_port} + bind 127.0.0.1 + EOF + + # Run the tests + distutils-r1_src_test + + # Clean up afterwards + kill "$(<"${redis_pid}")" || die +} diff --git a/dev-python/flaky/Manifest b/dev-python/flaky/Manifest index 18849b18c5ea..f745c6bb2b5e 100644 --- a/dev-python/flaky/Manifest +++ b/dev-python/flaky/Manifest @@ -1 +1,2 @@ DIST flaky-3.7.0.tar.gz 29591 BLAKE2B 747fbda71055bba937abf3e7b97691c1f4b222f085069d1815d5a9eba669464d2ed5d6dcf1842ae82f1970de5cd5e3aea5b12476bfa2d9282549ad0cc62901e9 SHA512 b399f6e1323d6ca341803ac6f1eb318bf24dc37182d0b49b89bb81b9466dd36271ad6dbb9f48ea6fa4760ee631f1482bb6f49c64f4d4520c40634089c1b64f9a +DIST flaky-3.8.0.tar.gz 25227 BLAKE2B 64ad4658058a2e6704b7493553ab3ffa0af7eccf1eaeb6eb5336f3ca5a25c1a187d641e49d983537d8ca0d7c48fdb944e18af788bb364c37ce1a0251cd36bdbb SHA512 3023bb136f9d91ffa149081f6483ae6bf85a4e689e0614b64d92880b3bdc312bfd2e6b1ddea43a33cd0a4a60daf3cedb1b2820bf25960adab21164d599d6fd44 diff --git a/dev-python/flaky/flaky-3.8.0.ebuild b/dev-python/flaky/flaky-3.8.0.ebuild new file mode 100644 index 000000000000..8359253adb6c --- /dev/null +++ b/dev-python/flaky/flaky-3.8.0.ebuild @@ -0,0 +1,38 @@ +# 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="Plugin for pytest that automatically reruns flaky tests" +HOMEPAGE=" + https://github.com/box/flaky/ + https://pypi.org/project/flaky/ +" + +LICENSE="Apache-2.0" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux ~x64-macos ~x64-solaris" +IUSE="test" +RESTRICT="!test? ( test )" + +RDEPEND=" + dev-python/pytest[${PYTHON_USEDEP}] +" +BDEPEND=" + test? ( + dev-python/genty[${PYTHON_USEDEP}] + dev-python/mock[${PYTHON_USEDEP}] + dev-python/pytest[${PYTHON_USEDEP}] + ) +" + +python_test() { + epytest -k 'example and not options' --doctest-modules test/test_pytest/ || die + epytest -p no:flaky test/test_pytest/test_flaky_pytest_plugin.py || die + epytest --force-flaky --max-runs 2 test/test_pytest/test_pytest_options_example.py || die +} diff --git a/dev-python/glfw/Manifest b/dev-python/glfw/Manifest index 4fd73b642940..eb75dca0b0b6 100644 --- a/dev-python/glfw/Manifest +++ b/dev-python/glfw/Manifest @@ -1 +1 @@ -DIST glfw-2.6.3.gh.tar.gz 849917 BLAKE2B 90f1e0b480a0fbb61848ec5988305bb4c42f4306c30b4889d86458d4d8d65d9629b335f31623099525ad546033a690127677bb049ee78f574c0a603ff16987d7 SHA512 8b789db247526da84037558b424c465690cc04d904f5f36c633ffd09d12f24660d1918810ec618a364ab06fdf9f242e356b56d7d98621c2812b4929ce3b1854d +DIST glfw-2.7.0.gh.tar.gz 850608 BLAKE2B 5e9530a60cee0ae44d87a208eacdf55e26e20633a606275d9d7d6dbb4eec928e0e93108f927ea984b5ecc246e6188fc969c56a1abb4c5477ec167578d36f8498 SHA512 a903e40a8a01d51b077030b733f6b5fb6dca11f16b30a059e6dd709670393fb7885962664b8162e0856fa3b1fc69fbfb4dffb864e1eb008b34873297f87092d5 diff --git a/dev-python/glfw/glfw-2.6.3.ebuild b/dev-python/glfw/glfw-2.7.0.ebuild index 311bb4ac12fd..c85cbaa94cfe 100644 --- a/dev-python/glfw/glfw-2.6.3.ebuild +++ b/dev-python/glfw/glfw-2.7.0.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2023 Gentoo Authors +# Copyright 1999-2024 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 diff --git a/dev-python/hypothesis/Manifest b/dev-python/hypothesis/Manifest index 14290c743d9b..17d46440bcaa 100644 --- a/dev-python/hypothesis/Manifest +++ b/dev-python/hypothesis/Manifest @@ -3,3 +3,4 @@ DIST hypothesis-6.98.17.gh.tar.gz 9434016 BLAKE2B 3c26f8c696bc4a62b9ada8e45dd305 DIST hypothesis-6.98.18.gh.tar.gz 9434436 BLAKE2B 45861775caa1657d06469fc8cd0062aee1b408c3b02a58ff4d50b9de9ce62d8fd351c6b8f4b1b7f543fe70d6b8f2c663ad8e9252b833d5c567d3c28449fc3eaf SHA512 cff5cad9308e7b030e38f09a9544ed84f468bc4bd6391a2347777bb7781b116bd64f41338ad32535d427ebda507ce3f0f5bafc0af5a8179976c17d36762679e9 DIST hypothesis-6.98.9.gh.tar.gz 9427046 BLAKE2B c3705e4c780b6e7f427943231ac056f343e70569e88391f118383e6d6197f72e744306476f2e1994e8a6d95dce73b93dcd49e8fa197149e532b84c91bce79594 SHA512 1e8a0dcefb8def8376a0ad6549a58dac66470941e4a3584ba82867f8779fd941c141039f631f15f134f7cdb3beb2ad1a19312d8e56c47db9ace0569f203afaf3 DIST hypothesis-6.99.0.gh.tar.gz 9439501 BLAKE2B 9f46cffaede22381a019a4f7c0b158015f245bf25bc3623090c45c177f57c1cb74fd09a0f01e98d06039a641e486e0cf1ccc10da6f79ebff13914c1197f0fbd7 SHA512 19500c9e0013d4ef4c6b3991d606860e819eb69e68a6975a0c4d225424fe12f44e05662eac0c94f54c6995b12bb73e48d936fc2342a92f3b26760db8ad279ba3 +DIST hypothesis-6.99.2.gh.tar.gz 9439856 BLAKE2B 0e7b99ee43ae84b4536f687324c334d7846766ec3422712cc0e215ebed113a3ed270b2fee70322edd5931e6a57c04092566846846e8a2df8587a2d6bd7f33e34 SHA512 ad833e8e4e5a228d06723ba76e80b7e88b849b51b298c2c0b58e82e9409961a212f85530a8e3f06e9e09ca2ebcc8ebd2e1e4992e50a37ba9f692a398aef699fa diff --git a/dev-python/hypothesis/hypothesis-6.99.2.ebuild b/dev-python/hypothesis/hypothesis-6.99.2.ebuild new file mode 100644 index 000000000000..1f7054962839 --- /dev/null +++ b/dev-python/hypothesis/hypothesis-6.99.2.ebuild @@ -0,0 +1,90 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=setuptools +CLI_COMPAT=( python3_{10..12} ) +PYTHON_COMPAT=( python3_{8,9,10,11,12} pypy3 ) +PYTHON_REQ_USE="threads(+),sqlite" + +inherit distutils-r1 multiprocessing 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-xdist[${PYTHON_USEDEP}] + !!<dev-python/requests-toolbelt-0.10.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= -n "$(makeopts_jobs)" --dist=worksteal \ + tests/cover tests/pytest tests/quality +} + +python_install() { + distutils-r1_python_install + if ! use cli || ! has "${EPYTHON}" "${CLI_COMPAT[@]/_/.}"; then + rm -r "${ED}/usr/bin" "${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/jsonfeed/Manifest b/dev-python/jsonfeed/Manifest new file mode 100644 index 000000000000..0166181a1019 --- /dev/null +++ b/dev-python/jsonfeed/Manifest @@ -0,0 +1 @@ +DIST jsonfeed-1.1.2.gh.tar.gz 66719 BLAKE2B 9121c275e4b059641a0303b15bd397403b4c0ce59f289623a7253e2a2bdd129d6e0e818a287808b99974a0a822e24aa3f6d6df3e6464e4cff5c9c4c90d87c926 SHA512 34c3ce0a4fc4a38041d56d5cec16c34cfa33e9e10e539c92cf511f67fccd1d684c5ecef0c51499b2aaac0c1d2dbdb20c08464c3104ccacc4abd2cff67ebae82b diff --git a/dev-python/jsonfeed/jsonfeed-1.1.2.ebuild b/dev-python/jsonfeed/jsonfeed-1.1.2.ebuild new file mode 100644 index 000000000000..19467e0325ee --- /dev/null +++ b/dev-python/jsonfeed/jsonfeed-1.1.2.ebuild @@ -0,0 +1,26 @@ +# Copyright 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} ) + +HTML_DOCS=( docs ) + +inherit distutils-r1 + +DESCRIPTION="Python package for parsing and generating JSON feeds." +HOMEPAGE="https://github.com/lukasschwab/jsonfeed" +SRC_URI="https://github.com/lukasschwab/${PN}/archive/refs/tags/${PV}.tar.gz -> ${P}.gh.tar.gz" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64" + +RDEPEND="dev-python/feedparser[${PYTHON_USEDEP}]" + +python_prepare_all() { + distutils-r1_python_prepare_all + rm -rf "${S}/tests" +} diff --git a/dev-python/jsonfeed/metadata.xml b/dev-python/jsonfeed/metadata.xml new file mode 100644 index 000000000000..137044fdb488 --- /dev/null +++ b/dev-python/jsonfeed/metadata.xml @@ -0,0 +1,10 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "https://liguros.gitlab.io/dtd/metadata.dtd"> +<pkgmetadata> + <maintainer type="person"> + <email>gasc@eurecom.fr</email> + <name>Gasc Henri</name> + </maintainer> + + <origin>gentoo-guru-overlay</origin> +</pkgmetadata>
\ No newline at end of file diff --git a/dev-python/langdetect/Manifest b/dev-python/langdetect/Manifest index a11d7c268c91..e9da2ac43cac 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 493 BLAKE2B 0df8bce19bc80f79f8e76bcef5a4c2caf333365fe0cb9a3c076b7858bceded5a3e58921474f866a2709dd657b7ed330c1ec4a7f9d7bab0fcf1bc92d77cabc32d SHA512 ea2a1adcb133ac5fc951ba1aa90ef1ce3dfcc424e59727591763d4875aa044a74188be2d15fd89c6b2e83ed6ea04ec3d9851ed584ae79d2c2c127bde7d994b48 +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 736a1167c898..020e07f2a3dd 100644 --- a/dev-python/langdetect/metadata.xml +++ b/dev-python/langdetect/metadata.xml @@ -1,6 +1,12 @@ <?xml version="1.0" encoding="UTF-8"?> <!DOCTYPE pkgmetadata SYSTEM "https://liguros.gitlab.io/dtd/metadata.dtd"> <pkgmetadata> - - <origin>gentoo-guru-overlay</origin> + <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> </pkgmetadata>
\ No newline at end of file diff --git a/dev-python/mitype/Manifest b/dev-python/mitype/Manifest index 4d764241fb42..06ed05b97056 100644 --- a/dev-python/mitype/Manifest +++ b/dev-python/mitype/Manifest @@ -1 +1 @@ -DIST v0.2.4.gh.tar.gz 1147995 BLAKE2B e494e4a29ef46ed3b72cf60074ce94890a12b22471aa0e39f2f76f86317042be6cf1a55fbcbc901c086d5f71bceea44355454bd3b4bb8da01be95c0606d280b0 SHA512 ca9e14a60651769de8847ef402ea9d570ace4bfa8e84b8b4b885b5aa0c62fcc653cc60bb1937a45e9e968517f0968c52e32f596ab6f9f9fc110798ac2d717061 +DIST mitype-0.2.5.gh.tar.gz 1148065 BLAKE2B 0e53fb570c17d1076788ba8e3575923c232859220d717f381a2620dba4d7c9a117186a52d3a0560e850fe773cf8c25f4d5a5898ecb0b969611a477352defca11 SHA512 a566d6a096ebaecb20c190d68a6db1d25c3657b67be40cbe681eabaa09491a26efa73ba3118e0ee339ab3c6b7c0d9fa8fb4a10cd8800c59c7b0b088768cdfbc4 diff --git a/dev-python/mitype/mitype-0.2.4.ebuild b/dev-python/mitype/mitype-0.2.5.ebuild index cc7c3eae64a4..6b75fdc4c4b7 100644 --- a/dev-python/mitype/mitype-0.2.4.ebuild +++ b/dev-python/mitype/mitype-0.2.5.ebuild @@ -1,4 +1,4 @@ -# Copyright 2021-2022 Gentoo Authors +# Copyright 2021-2024 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 @@ -10,15 +10,18 @@ inherit distutils-r1 DESCRIPTION="Typing speed test in terminal" HOMEPAGE="https://github.com/Mithil467/mitype https://pypi.org/project/mitype/" -SRC_URI="https://github.com/Mithil467/mitype/archive/refs/tags/v${PV}.tar.gz -> v${PV}.gh.tar.gz" +SRC_URI="https://github.com/Mithil467/mitype/archive/refs/tags/v${PV}.tar.gz -> ${P}.gh.tar.gz" LICENSE="GPL-3" SLOT="0" KEYWORDS="~amd64 ~x86" -IUSE="test" -RDEPEND=" - dev-python/setuptools[${PYTHON_USEDEP}]" -BDEPEND="dev-python/versioneer[${PYTHON_USEDEP}]" +BDEPEND=" + dev-python/versioneer[${PYTHON_USEDEP}] + doc? ( + dev-python/sphinx-rtd-theme + ) +" distutils_enable_tests pytest +distutils_enable_sphinx docs/source diff --git a/dev-python/mkdocs-bootstrap-tables-plugin/Manifest b/dev-python/mkdocs-bootstrap-tables-plugin/Manifest new file mode 100644 index 000000000000..6860a5e78f66 --- /dev/null +++ b/dev-python/mkdocs-bootstrap-tables-plugin/Manifest @@ -0,0 +1 @@ +DIST mkdocs-bootstrap-tables-plugin-0.1.1.gh.tar.gz 3451 BLAKE2B fd42bf37aca7fcf3055e262583a2180a9ba5c59d46b12b8e5f7f9864c09f53160bc0e1e782a4cdec3757ba8e26552db1c6b6e41d216c08ba9053a786f670f6ff SHA512 9a0ce18c0b2d3bf4f59bda2b70d05a9ff63278480e24740032abe99cd4e42bbd31577b98e9191aec12ed07449af489c1ebb5300ddb607d5c92810b2035cda769 diff --git a/dev-python/mkdocs-bootstrap-tables-plugin/metadata.xml b/dev-python/mkdocs-bootstrap-tables-plugin/metadata.xml new file mode 100644 index 000000000000..137044fdb488 --- /dev/null +++ b/dev-python/mkdocs-bootstrap-tables-plugin/metadata.xml @@ -0,0 +1,10 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "https://liguros.gitlab.io/dtd/metadata.dtd"> +<pkgmetadata> + <maintainer type="person"> + <email>gasc@eurecom.fr</email> + <name>Gasc Henri</name> + </maintainer> + + <origin>gentoo-guru-overlay</origin> +</pkgmetadata>
\ No newline at end of file diff --git a/dev-python/mkdocs-bootstrap-tables-plugin/mkdocs-bootstrap-tables-plugin-0.1.1.ebuild b/dev-python/mkdocs-bootstrap-tables-plugin/mkdocs-bootstrap-tables-plugin-0.1.1.ebuild new file mode 100644 index 000000000000..d6cd144d230b --- /dev/null +++ b/dev-python/mkdocs-bootstrap-tables-plugin/mkdocs-bootstrap-tables-plugin-0.1.1.ebuild @@ -0,0 +1,19 @@ +# 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 + +DESCRIPTION="A MkDocs plugin to add bootstrap classes to plan markdown generated tables." +HOMEPAGE="https://github.com/byrnereese/mkdocs-bootstrap-tables-plugin" +SRC_URI="https://github.com/byrnereese/${PN}/archive/refs/tags/${PV}.tar.gz -> ${P}.gh.tar.gz" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64" + +RDEPEND=">=dev-python/mkdocs-1.0[${PYTHON_USEDEP}]" diff --git a/dev-python/mkdocs-git-committers-plugin/Manifest b/dev-python/mkdocs-git-committers-plugin/Manifest new file mode 100644 index 000000000000..baabd80bb101 --- /dev/null +++ b/dev-python/mkdocs-git-committers-plugin/Manifest @@ -0,0 +1 @@ +DIST mkdocs-git-committers-plugin-0.2.3.gh.tar.gz 6601 BLAKE2B 6fea23d6ee9475ebeaca7b349e040b8b8c17f090031800c58c77d8a4a3d7895635378dab4688dd3993d996fe075a3cc11282860362ae8647e6e66f37f8825982 SHA512 ecfb500828047eeafa77a3d4d815b18ae6c8d59fcc88ac932ede381622ebf49056d4f48e0a6d6fdca204e79347caab82b2d6ebd2b001c0ceef7009755abf1dc8 diff --git a/dev-python/mkdocs-git-committers-plugin/metadata.xml b/dev-python/mkdocs-git-committers-plugin/metadata.xml new file mode 100644 index 000000000000..137044fdb488 --- /dev/null +++ b/dev-python/mkdocs-git-committers-plugin/metadata.xml @@ -0,0 +1,10 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "https://liguros.gitlab.io/dtd/metadata.dtd"> +<pkgmetadata> + <maintainer type="person"> + <email>gasc@eurecom.fr</email> + <name>Gasc Henri</name> + </maintainer> + + <origin>gentoo-guru-overlay</origin> +</pkgmetadata>
\ No newline at end of file diff --git a/dev-python/mkdocs-git-committers-plugin/mkdocs-git-committers-plugin-0.2.3.ebuild b/dev-python/mkdocs-git-committers-plugin/mkdocs-git-committers-plugin-0.2.3.ebuild new file mode 100644 index 000000000000..1dc2f756b7a7 --- /dev/null +++ b/dev-python/mkdocs-git-committers-plugin/mkdocs-git-committers-plugin-0.2.3.ebuild @@ -0,0 +1,26 @@ +# 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} ) + +DOCS_BUILDER="mkdocs" +DOCS_DEPEND="dev-python/mkdocs-bootstrap-tables-plugin" +DOCS_INITIALIZE_GIT=1 + +inherit distutils-r1 docs + +DESCRIPTION="A mkdocs plugin for displaying the last commit and a list of contributors." +HOMEPAGE="https://github.com/byrnereese/mkdocs-git-committers-plugin" +SRC_URI="https://github.com/byrnereese/${PN}/archive/refs/tags/${PV}.tar.gz -> ${P}.gh.tar.gz" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64" + +RDEPEND=" + dev-python/PyGithub[${PYTHON_USEDEP}] + >=dev-python/mkdocs-1.0[${PYTHON_USEDEP}] +" diff --git a/dev-python/mkdocs-rss-plugin/Manifest b/dev-python/mkdocs-rss-plugin/Manifest index ef2575b1befe..3664e9ba16d1 100644 --- a/dev-python/mkdocs-rss-plugin/Manifest +++ b/dev-python/mkdocs-rss-plugin/Manifest @@ -1 +1 @@ -DIST mkdocs-rss-plugin-1.11.0.gh.tar.gz 497347 BLAKE2B 25a1f90bc263804dcb4bb08aee7f58a8b999f5cb7004f7ba3215e90cba3f74611ab8101f19d34df10a833312a06a6fae3ab23a2578dd5ef3f6cc61d9b9ac3a9d SHA512 670b51f350ddca64e8637c910075aa1e84ae6950861cf4d84726b47df59bf7e701fc4e556153e337e753128a6233c1f21decee657c14a069be3494a220526acc +DIST mkdocs-rss-plugin-1.12.1.gh.tar.gz 551494 BLAKE2B 37259e3207deb6bc8e231abd402fd962abcf81eb063b21751f4de89eeb0f9d300a53988e41a0461540214b046c9c72dd9e23e62548d8d19fbcc8aeaae09f88ab SHA512 ed1a8a25df800c6ab9632194c985c6bbbd5b43f0eb46c4bf39f9715e6f8a7264e8b0f80bb54acadddc17b7236ed44b93f69b8c04db58b16eb0a582f3be7b81f3 diff --git a/dev-python/mkdocs-rss-plugin/mkdocs-rss-plugin-1.11.0.ebuild b/dev-python/mkdocs-rss-plugin/mkdocs-rss-plugin-1.12.1.ebuild index fd2c37dfcfa8..9f0aadfe4592 100644 --- a/dev-python/mkdocs-rss-plugin/mkdocs-rss-plugin-1.11.0.ebuild +++ b/dev-python/mkdocs-rss-plugin/mkdocs-rss-plugin-1.12.1.ebuild @@ -1,4 +1,4 @@ -# Copyright 2023 Gentoo Authors +# Copyright 2024 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 @@ -6,7 +6,19 @@ EAPI=8 DISTUTILS_USE_PEP517=setuptools PYTHON_COMPAT=( python3_{8,9,10,11,12} ) -inherit distutils-r1 +DOCS_BUILDER="mkdocs" +DOCS_DEPEND=" + dev-python/termynal + dev-python/mkdocstrings + dev-python/mkdocstrings-python + dev-python/mkdocs-material + dev-python/mkdocs-minify-plugin + dev-python/mkdocs-git-committers-plugin + dev-python/mkdocs-git-revision-date-localized-plugin +" +DOCS_INITIALIZE_GIT=1 + +inherit distutils-r1 docs DESCRIPTION="MkDocs plugin to generate a RSS feeds." HOMEPAGE="https://github.com/Guts/mkdocs-rss-plugin https://pypi.org/project/mkdocs-rss-plugin" @@ -15,21 +27,25 @@ SRC_URI="https://github.com/Guts/mkdocs-rss-plugin/archive/refs/tags/${PV}.tar.g LICENSE="MIT" SLOT="0" KEYWORDS="~amd64" +RESTRICT="doc? ( network-sandbox )" BDEPEND=" - dev-python/mkdocs[${PYTHON_USEDEP}] - dev-python/GitPython[${PYTHON_USEDEP}] + >=dev-python/GitPython-3.1[${PYTHON_USEDEP}] + <dev-python/GitPython-3.2[${PYTHON_USEDEP}] + >=dev-python/mkdocs-1.4[${PYTHON_USEDEP}] + <dev-python/mkdocs-2[${PYTHON_USEDEP}] + dev-python/pillow[${PYTHON_USEDEP},truetype] test? ( - dev-python/black[${PYTHON_USEDEP}] dev-python/feedparser[${PYTHON_USEDEP}] dev-python/jsonschema[${PYTHON_USEDEP}] - dev-vcs/pre-commit - dev-python/validator-collection[${PYTHON_USEDEP}] - dev-python/mkdocs-bootswatch[${PYTHON_USEDEP}] dev-python/mkdocs-material[${PYTHON_USEDEP}] - dev-python/mkdocs-minify-plugin[${PYTHON_USEDEP}] - dev-python/pygments[${PYTHON_USEDEP}] - dev-python/pymdown-extensions[${PYTHON_USEDEP}] + dev-python/validator-collection[${PYTHON_USEDEP}] + dev-python/pytest-cov[${PYTHON_USEDEP}] + dev-python/validator-collection[${PYTHON_USEDEP}] + dev-python/jsonfeed[${PYTHON_USEDEP}] + ) + doc? ( + dev-python/mkdocs-material[${PYTHON_USEDEP},social] ) " DEPEND="${BDEPEND}" @@ -48,12 +64,11 @@ src_prepare() { } python_test() { - cd "${S}" - git init - git config --global user.name nobody || die - git config --global user.email foo.bar@example.org || die + mkdir "${S}/.git" local EPYTEST_IGNORE="${S}/tests/_wip" local EPYTEST_DESELECT=( + # Most tests need internet access + tests/test_build.py::TestBuildRss tests/test_rss_util.py::TestRssUtil::test_remote_image_ok tests/test_integrations_material_social_cards.py::TestRssPluginIntegrationsMaterialSocialCards::test_simple_build ) diff --git a/dev-python/owslib/Manifest b/dev-python/owslib/Manifest index 04b2be6cd3b3..451ebca9f8ab 100644 --- a/dev-python/owslib/Manifest +++ b/dev-python/owslib/Manifest @@ -1 +1,2 @@ DIST OWSLib-0.29.3.gh.tar.gz 994453 BLAKE2B 442dc832b94bfdc383b9d932de957696f9abb4d3843c856b07cf56a47c42291c6d7ff8b8713bb123d296c780e44efbfa08ba94ba2ee747dc7a2f4de0508a5f0f SHA512 2aa63ae18830d724f2cb46647ed867c5b74b2858a93df2500160b5cd58b25b0fb39bfc2d5bcda58bfe3b229bac5ea68acf9abdc746971e2eb5198875f00e6f4d +DIST OWSLib-0.30.0.gh.tar.gz 995826 BLAKE2B 58066b461794d424e646cd148f1c0379c22c17bee144611e4bda71c8410f2d4dbd172e5cad14ff1e33fc3e2a7293985c943eace6284d1830a2533abbe95ecf27 SHA512 2fdad8ac282d78181e2b7953f22db063f760c2f61682967c7d99ac8e12d62345168db978d9599a4093005f520968d4e97fc588f9a9b7d81a87894b08028d42d8 diff --git a/dev-python/owslib/owslib-0.30.0.ebuild b/dev-python/owslib/owslib-0.30.0.ebuild new file mode 100644 index 000000000000..441601e33c49 --- /dev/null +++ b/dev-python/owslib/owslib-0.30.0.ebuild @@ -0,0 +1,65 @@ +# 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 + +MY_P=OWSLib-${PV} +DESCRIPTION="Library for client programming with Open Geospatial Consortium web service" +HOMEPAGE=" + https://geopython.github.io/OWSLib/ + https://github.com/geopython/owslib/ + https://pypi.org/project/OWSLib/ +" +SRC_URI=" + https://github.com/geopython/${PN}/archive/${PV}.tar.gz + -> ${MY_P}.gh.tar.gz +" +S=${WORKDIR}/${MY_P} + +LICENSE="BSD" +SLOT="0" +KEYWORDS="~amd64 ~x86" +RESTRICT="test" +PROPERTIES="test_network" + +RDEPEND=" + dev-python/lxml[${PYTHON_USEDEP}] + dev-python/python-dateutil[${PYTHON_USEDEP}] + dev-python/pytz[${PYTHON_USEDEP}] + dev-python/pyyaml[${PYTHON_USEDEP}] + dev-python/requests[${PYTHON_USEDEP}] +" +BDEPEND=" + test? ( + dev-python/pillow[${PYTHON_USEDEP}] + ) +" + +EPYTEST_XDIST=1 +distutils_enable_tests pytest + +EPYTEST_DESELECT=( + # connection errors + tests/test_wfs_generic.py::test_xmlfilter_wfs_110 + tests/test_wfs_generic.py::test_xmlfilter_wfs_200 + tests/test_ogcapi_records_pycsw.py::test_ogcapi_records_pycsw + tests/test_opensearch_pycsw.py::test_opensearch_creodias + tests/test_ows_interfaces.py::test_ows_interfaces_csw + tests/test_csw3_pycsw.py::test_csw_pycsw + tests/test_csw_pycsw.py::test_csw_pycsw + tests/test_csw_pycsw_skip_caps.py::test_csw_pycsw_skip_caps + # different output from remote service, sigh + tests/test_ogcapi_processes_pygeoapi.py::test_ogcapi_processes_pygeoapi + # TODO + tests/test_remote_metadata.py::TestOffline::test_wfs_{110,200}_remotemd_parse_{all,single} + tests/test_remote_metadata.py::TestOffline::test_wms_130_remotemd_parse_{all,single} +) + +python_test() { + epytest -o addopts= +} diff --git a/dev-python/packaging/Manifest b/dev-python/packaging/Manifest index 7bc73079326b..41a6b61b6345 100644 --- a/dev-python/packaging/Manifest +++ b/dev-python/packaging/Manifest @@ -1 +1,2 @@ DIST packaging-23.2.tar.gz 146714 BLAKE2B cf7986a07312fd82a2a0ee738088993b9570d95cd0b573afa7a1f911bf335de7084e3d40d961adea7f5a8369738688f9d0a4265ef26a393f2d30769bc13f752a SHA512 8ab5e9bc4feef2fac1c9044dc8a6f2d41aaf9fe2dae671de8b98c0b1a19dca2169588b87d85a8c990d808b1e76faee65984ce970eaa3282b75e107ca82cc2863 +DIST packaging-24.0.tar.gz 147882 BLAKE2B 32c5f30623d39890376e9f5bb3d80ef4a5bd2291ae906883d28236c0d095628eb5d379e5bfb503d6d06fcea0aefc0b2beb1a7968d3ec8c543c48572b432438f3 SHA512 b6af704f93bcb7611a06eb2bfa94d8dc4bb1e5e9898af7c0eb85e67cf1ebdb858e272ca18019be4daaa43ac3f73b1cb2e690d8b50a4252380a2dc9f2d0e03a58 diff --git a/dev-python/packaging/packaging-24.0.ebuild b/dev-python/packaging/packaging-24.0.ebuild new file mode 100644 index 000000000000..bf6092ab3e08 --- /dev/null +++ b/dev-python/packaging/packaging-24.0.ebuild @@ -0,0 +1,35 @@ +# 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 + +DISTUTILS_USE_PEP517=flit +PYTHON_COMPAT=( python3_{8,9,10,11,12} pypy3 ) + +inherit distutils-r1 pypi + +DESCRIPTION="Core utilities for Python packages" +HOMEPAGE=" + https://github.com/pypa/packaging/ + https://pypi.org/project/packaging/ +" + +LICENSE="|| ( Apache-2.0 BSD-2 )" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux ~arm64-macos ~ppc-macos ~x64-macos ~x64-solaris" + +RDEPEND=" + !<dev-python/setuptools-67 +" +DEPEND=" + test? ( + dev-python/pretend[${PYTHON_USEDEP}] + ) +" + +distutils_enable_tests pytest + +python_test() { + epytest --capture=no +} diff --git a/dev-python/pyrate-limiter/Manifest b/dev-python/pyrate-limiter/Manifest index e8e7ee329f5a..46dd421a22fd 100644 --- a/dev-python/pyrate-limiter/Manifest +++ b/dev-python/pyrate-limiter/Manifest @@ -1,2 +1,3 @@ DIST pyrate-limiter-2.10.0.gh.tar.gz 71838 BLAKE2B 3b8fd16684268870991c3a731c5497802c6f7be51e57bc983a14a7484fad2d0983613304fa061fdb70a3e6645d17fe37fbd68e9ddeca57bc7bd97fef4a5d8585 SHA512 b0090b2d80d40ba2f86ac7b5c5612a35fa885b52a87d783aa9726782275e79ca8d54a9a44b1f0dd43c98bf2355f4c17e1686d7c7f806934ea492b67f66b06ffe DIST pyrate_limiter-3.2.1.tar.gz 277166 BLAKE2B eb126b94bc9a113addd1e727ae21ee2df447e1f9fc0b3a1b77ab46464186a0cb62584fafbc9fac1ddbcc7c3289338208dfb39070e57e974e00442b1d7c5f0d21 SHA512 cb782766c2e1e47aeb35c3d7d03f9a82862a53e73b5afdab1b8a255866392cf0636340164c19e4181e8aa4327e9c346fc2fde64b2f50aaf227dd60633038f7c7 +DIST pyrate_limiter-3.3.0.tar.gz 278153 BLAKE2B df0e3aaf53150fb905be994c8bcc268e45bafddf795514eb8a6ee56da25e998b85336f48331a2720cbf501cb6feee806c9c17d99adcb4647979f6d79f960cc9f SHA512 ee2cc0c573c7b696e6a6444eca85b4e5c8315c291b6ab64ed5e60cfd54298cd9aca1efdbfb7a669b92f8169848c03287ecb0a3f50c9281a4bc15acfc1713e300 diff --git a/dev-python/pyrate-limiter/pyrate-limiter-3.3.0.ebuild b/dev-python/pyrate-limiter/pyrate-limiter-3.3.0.ebuild new file mode 100644 index 000000000000..413645b34da5 --- /dev/null +++ b/dev-python/pyrate-limiter/pyrate-limiter-3.3.0.ebuild @@ -0,0 +1,74 @@ +# Copyright 1999-2024 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} pypy3 ) + +inherit distutils-r1 pypi + +DESCRIPTION="Python Rate-Limiter using Leaky-Bucket Algorimth Family" +HOMEPAGE=" + https://github.com/vutran1710/PyrateLimiter/ + https://pypi.org/project/pyrate-limiter/ +" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64 ~x86" + +RDEPEND=" + dev-python/filelock[${PYTHON_USEDEP}] + dev-python/redis[${PYTHON_USEDEP}] +" + +BDEPEND=" + test? ( + dev-db/redis + dev-python/pytest-asyncio[${PYTHON_USEDEP}] + dev-python/pytest-rerunfailures[${PYTHON_USEDEP}] + dev-python/pyyaml[${PYTHON_USEDEP}] + ) +" + +EPYTEST_DESELECT=( + # Optional dependency redis-py-cluster not packaged + "tests/test_02.py::test_redis_cluster" +) +EPYTEST_XDIST=1 + +distutils_enable_sphinx docs \ + dev-python/sphinx-autodoc-typehints \ + dev-python/sphinx-copybutton \ + dev-python/furo \ + dev-python/myst-parser \ + dev-python/sphinxcontrib-apidoc +distutils_enable_tests pytest + +src_test() { + local redis_pid="${T}"/redis.pid + local redis_port=6379 + + # Spawn Redis itself for testing purposes + einfo "Spawning Redis" + einfo "NOTE: Port ${redis_port} must be free" + "${EPREFIX}"/usr/sbin/redis-server - <<- EOF || die "Unable to start redis server" + daemonize yes + pidfile ${redis_pid} + port ${redis_port} + bind 127.0.0.1 ::1 + ${extra_conf} + EOF + + # Run the tests + distutils-r1_src_test + + # Clean up afterwards + kill "$(<"${redis_pid}")" || die +} + +python_test() { + local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1 + epytest -p asyncio -p rerunfailures --reruns=5 +} diff --git a/dev-python/redis/Manifest b/dev-python/redis/Manifest index 2f6cb3801837..7372ff359d6c 100644 --- a/dev-python/redis/Manifest +++ b/dev-python/redis/Manifest @@ -1,2 +1,3 @@ DIST redis-py-5.0.1.gh.tar.gz 4769633 BLAKE2B 3b572ef41abfdb0cf0ba957c93a23aacbe931e50ebe11e50a62dffe6aaaf57926224f7a497727e1e233b443c6be053f786dadac64f16a5170748e6afd9604d01 SHA512 05c32d6961326ff39312f5513136e72be3a42819b0c4bf646f3bac14e66a8a87a191697a89c2cbc22a83398896e25adc5fbd34f12e67719f0a0af927bf423130 DIST redis-py-5.0.2.gh.tar.gz 4774000 BLAKE2B 60ca8e11c2896b2f36d09fa494afc3ea039a79eb46a4503d6c5561f16fd9e2779aecb314e79c87e083212b5a619c555615a037f83572bc0a8fe54b8d04e6530b SHA512 1f75f2959737fc4d9e83c1e88cebbaad8801ac1a6113a1275b6461c657136f6f561d8ac8c5a62ba3f1d7f5463c416aa6351f8150b983505e7b0a93e3e8b4b354 +DIST redis-py-5.0.3.gh.tar.gz 4774007 BLAKE2B f1b53319f76fd15af28941d643a333e7556f4701b46d218872a17200a867ba71c5fe72a092e00ac68ca811f41409a1e2eef05a235d2fcb6ba455cef225cd47c5 SHA512 be7158062e905ff3f61fc2b311b1288e53f494de1734dd5a58a34250754de635b9bf125900621b7b6ad8c67d8020b88ca3ae07af2626459acaf77db5f228222c diff --git a/dev-python/redis/redis-5.0.3.ebuild b/dev-python/redis/redis-5.0.3.ebuild new file mode 100644 index 000000000000..0ebac27e07d2 --- /dev/null +++ b/dev-python/redis/redis-5.0.3.ebuild @@ -0,0 +1,97 @@ +# 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 + +MY_P=redis-py-${PV} +DESCRIPTION="Python client for Redis key-value store" +HOMEPAGE=" + https://github.com/redis/redis-py/ + https://pypi.org/project/redis/ +" +SRC_URI=" + https://github.com/redis/redis-py/archive/v${PV}.tar.gz + -> ${MY_P}.gh.tar.gz +" +S=${WORKDIR}/${MY_P} + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ppc ~ppc64 ~riscv ~sparc ~x86" + +RDEPEND=" + $(python_gen_cond_dep ' + >=dev-python/async-timeout-4.0.2[${PYTHON_USEDEP}] + ' 3.10) +" +BDEPEND=" + test? ( + dev-db/redis + dev-python/pytest-asyncio[${PYTHON_USEDEP}] + dev-python/pytest-timeout[${PYTHON_USEDEP}] + ) +" + +distutils_enable_tests pytest + +python_test() { + local EPYTEST_DESELECT=( + # Flaky test + tests/test_pubsub.py::TestPubSubDeadlock::test_pubsub_deadlock + # require extra redis modules that apparently aren't packaged + # on Gentoo + tests/{,test_asyncio/}test_bloom.py + tests/{,test_asyncio/}test_graph.py + tests/{,test_asyncio/}test_json.py + tests/{,test_asyncio/}test_timeseries.py + # apparently available only in "Redis Stack 7.2 RC3 or later" + tests/test_commands.py::TestRedisCommands::test_tfunction_load_delete + tests/test_commands.py::TestRedisCommands::test_tfunction_list + tests/test_commands.py::TestRedisCommands::test_tfcall + # TODO + tests/test_commands.py::TestRedisCommands::test_zrank_withscore + tests/test_commands.py::TestRedisCommands::test_zrevrank_withscore + tests/test_commands.py::TestRedisCommands::test_xinfo_consumers + tests/test_asyncio/test_commands.py::TestRedisCommands::test_zrank_withscore + tests/test_asyncio/test_commands.py::TestRedisCommands::test_zrevrank_withscore + tests/test_asyncio/test_commands.py::TestRedisCommands::test_xinfo_consumers + tests/test_asyncio/test_pubsub.py::TestPubSubAutoReconnect::test_reconnect_socket_error[pool-hiredis-listen] + ) + + # TODO: try to run more servers? + epytest -m "not redismod and not onlycluster and not replica and not ssl" +} + +src_test() { + local redis_pid="${T}"/redis.pid + local redis_port=6379 + + if has_version ">=dev-db/redis-7"; then + local extra_conf=" + enable-debug-command yes + enable-module-command yes + " + fi + + # Spawn Redis itself for testing purposes + einfo "Spawning Redis" + einfo "NOTE: Port ${redis_port} must be free" + "${EPREFIX}"/usr/sbin/redis-server - <<- EOF || die "Unable to start redis server" + daemonize yes + pidfile ${redis_pid} + port ${redis_port} + bind 127.0.0.1 ::1 + ${extra_conf} + EOF + + # Run the tests + distutils-r1_src_test + + # Clean up afterwards + kill "$(<"${redis_pid}")" || die +} diff --git a/dev-python/skia-pathops/Manifest b/dev-python/skia-pathops/Manifest index 580da5d6f63a..c2bd807e9672 100644 --- a/dev-python/skia-pathops/Manifest +++ b/dev-python/skia-pathops/Manifest @@ -1,2 +1 @@ -DIST skia-pathops-0.7.4.zip 61294605 BLAKE2B f68f19a9de6c8d3a7052b8b6e89cfdd789a3ca6932563b9af9e46a8dde50f3583e15c12bfa519b841cd0cb40e765ee29a63a8a330a6109458a1597727095ae94 SHA512 71df9b0b237a70af2246a30d53e201da493deb7a098dd969c346745c60997df1aeb1b20d4c94c2443b1c710c464272b44e9225d58ac3a9fd1074816839ae797b DIST skia-pathops-0.8.0.post1.zip 66955898 BLAKE2B d1ad24e7dd350b44deec8aaffb17110f048fc0d4584f192eb97b52b9f98604a6fbdd35d37cc5317da14dd33225904eaf8beb0bda761017a9267b7e9f62ca0d2d SHA512 8828a8d3f070d8c4503abc144f3c5566d23812a1646b8c07e61b2b93bc43343ddee8b0c603bf47d029cfbc193c336a2a0d55251230626eb391caaa4654537342 diff --git a/dev-python/skia-pathops/skia-pathops-0.7.4.ebuild b/dev-python/skia-pathops/skia-pathops-0.7.4.ebuild deleted file mode 100644 index 2226fff1a225..000000000000 --- a/dev-python/skia-pathops/skia-pathops-0.7.4.ebuild +++ /dev/null @@ -1,40 +0,0 @@ -# Copyright 1999-2024 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -PYTHON_COMPAT=( python3_{8,9,10,11,12} ) -PYPI_NO_NORMALIZE=1 -DISTUTILS_USE_PEP517=setuptools -DISTUTILS_EXT=1 -inherit distutils-r1 pypi - -DESCRIPTION="Python bindings for the Skia Path Ops" -HOMEPAGE=" - https://skia.org/dev/present/pathops - https://pypi.org/project/skia-pathops/ - https://github.com/fonttools/skia-pathops -" -SRC_URI="$(pypi_sdist_url --no-normalize ${PN} ${PV} .zip)" - -LICENSE="BSD" -SLOT="0" -KEYWORDS="~amd64" - -# Until cpdef is removed from skia-pathops, we need cython < 3.0.0 -BDEPEND=" - app-alternatives/ninja - app-arch/unzip - <dev-python/cython-3[${PYTHON_USEDEP}] - dev-build/gn -" - -PATCHES=( "${FILESDIR}"/${PN}-0.7.4-no-net.patch ) - -REPYTEST_DESELECT=( - tests/pathops_test.py::PathTest::test_transform - "tests/pathops_test.py::test_path_operation[conic_2_quad-operations3-expected3]" - "tests/pathops_test.py::test_path_operation[arc_to_quads-operations4-expected4]" -) - -distutils_enable_tests pytest diff --git a/dev-python/termynal/Manifest b/dev-python/termynal/Manifest new file mode 100644 index 000000000000..14ea6f7478bb --- /dev/null +++ b/dev-python/termynal/Manifest @@ -0,0 +1 @@ +DIST termynal-0.12.1.gh.tar.gz 149652 BLAKE2B bcb66711efd3b306327e2010fd426bd22fb3a8f6d53ad6510f2ebd02d34879e05f6c8d82e5949a95b3a96a7cc43d24783897a6999644c0683a303404f0be23c7 SHA512 a8843acb52f5ee1cba3595445ff29972772b6ac006aad35f1fb8e2459073407ad32e044f4767d1ee191486af09fb11d62faa9dc70761e0ad779be6ecf65fc8c5 diff --git a/dev-python/termynal/metadata.xml b/dev-python/termynal/metadata.xml new file mode 100644 index 000000000000..137044fdb488 --- /dev/null +++ b/dev-python/termynal/metadata.xml @@ -0,0 +1,10 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "https://liguros.gitlab.io/dtd/metadata.dtd"> +<pkgmetadata> + <maintainer type="person"> + <email>gasc@eurecom.fr</email> + <name>Gasc Henri</name> + </maintainer> + + <origin>gentoo-guru-overlay</origin> +</pkgmetadata>
\ No newline at end of file diff --git a/dev-python/termynal/termynal-0.12.1.ebuild b/dev-python/termynal/termynal-0.12.1.ebuild new file mode 100644 index 000000000000..9ccd3ffe7b1b --- /dev/null +++ b/dev-python/termynal/termynal-0.12.1.ebuild @@ -0,0 +1,43 @@ +# Copyright 1999-2024 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} ) + +DOCS_BUILDER="mkdocs" +DOCS_DEPEND=" + dev-python/mkdocs-material + dev-python/markdown-include + dev-python/pymdown-extensions +" + +inherit distutils-r1 docs + +DESCRIPTION="A lightweight and modern animated terminal window" +HOMEPAGE="https://termynal.github.io/termynal.py/ https://github.com/termynal/termynal.py" +SRC_URI="https://github.com/termynal/${PN}.py/archive/refs/tags/v${PV}.tar.gz -> ${P}.gh.tar.gz" +S="${WORKDIR}/${PN}.py-${PV}" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64" + +RDEPEND=" + dev-python/markdown[${PYTHON_USEDEP}] + >=dev-python/mkdocs-1.4[${PYTHON_USEDEP}] + <dev-python/mkdocs-2.0[${PYTHON_USEDEP}] +" +BDEPEND=" + test? ( + >=dev-python/pytest-mock-3.11.1[${PYTHON_USEDEP}] + <dev-python/pytest-mock-4.0.0[${PYTHON_USEDEP}] + >=dev-python/pyyaml-6.0.1[${PYTHON_USEDEP}] + <dev-python/pyyaml-7.0.0[${PYTHON_USEDEP}] + dev-util/ruff[${PYTHON_USEDEP}] + ) +" +DEPEND="${RDEPEND}" + +distutils_enable_tests pytest diff --git a/dev-python/types-docutils/Manifest b/dev-python/types-docutils/Manifest index 9446bc66efc3..a412174c0eef 100644 --- a/dev-python/types-docutils/Manifest +++ b/dev-python/types-docutils/Manifest @@ -1,2 +1,3 @@ DIST types-docutils-0.20.0.20240309.tar.gz 16064 BLAKE2B c6695b4f3badf21ea2feded98b498985095e0962670af8068aa337b322775f9d3e6661e89ce4cf99d593f9b9bd627e01dfea0d79685f7fe59ed36ce8c28091ba SHA512 a29ca1c5080447f72eb484c7549a6c2306a668ac567b6a32e8a6a06d1e2db98ef01b45c0df79b3b7aa37edffbef5f362e1f0e69298b716228afcf1adc6b9581a DIST types-docutils-0.20.0.20240310.tar.gz 16336 BLAKE2B 5ca982bae4ccea8f1e8cc56c404917c17543f65f9f13b5f61d4a40957a017c31bbb67530e209357868ab47c3344736aa5b172ac5b211eba0fa0360accb79e655 SHA512 2d54be1ea12e2354ee53c9bb2496da912ac917016e12499635abc9da11a6f4878ca63da0b50d1a9f77fa4bd731c345605ead71038abeb739d5f7258d95e0c794 +DIST types-docutils-0.20.0.20240311.tar.gz 16388 BLAKE2B 4b22227a65fb1e3b86d27580292bc296b6a46d7ede27b509114de3db7666363c8b07780914c880d921aa85778e0eeae8b34fbd0e5593199623564d494c7f047d SHA512 55d406241540b7615e48647f4f7f85523952b9d5b6d9aeec7d0a2f6f0412936d2e52e535a6ba26c9f28cafa772abe26e37ccaf60f6168c1aa8313123a5fec9f8 diff --git a/dev-python/types-docutils/types-docutils-0.20.0.20240311.ebuild b/dev-python/types-docutils/types-docutils-0.20.0.20240311.ebuild new file mode 100644 index 000000000000..0d86c4835acd --- /dev/null +++ b/dev-python/types-docutils/types-docutils-0.20.0.20240311.ebuild @@ -0,0 +1,17 @@ +# Copyright 2022-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=setuptools +PYPI_NO_NORMALIZE=1 +PYTHON_COMPAT=( python3_{8,9,10,11,12} ) + +inherit distutils-r1 pypi + +DESCRIPTION="Typing stubs for docutils" +HOMEPAGE="https://pypi.org/project/types-docutils/" + +LICENSE="Apache-2.0" +SLOT="0" +KEYWORDS="~amd64 ~x86" diff --git a/dev-python/types-gdb/Manifest b/dev-python/types-gdb/Manifest index 377d2dcf6f29..ec2ff365cef0 100644 --- a/dev-python/types-gdb/Manifest +++ b/dev-python/types-gdb/Manifest @@ -1,2 +1,3 @@ DIST types-gdb-12.1.4.20240113.tar.gz 10765 BLAKE2B 836952c76cdb970b39877552da78adfb8f288a18bdb4c55d27c815e63178597e08a107350a618888cf8f8b0d8a88fa3c26767ea064b2a4dcb2d0afc3d10a4f6a SHA512 2f0802f8e95106dcb03ec734aa0b5200bd8c64f6628072394a120eb1b3a34b727525d944e023cb23baef8caabf61f6ed383a3e1da8c9d47fe76a281a67cb49aa DIST types-gdb-12.1.4.20240305.tar.gz 10784 BLAKE2B 0f3f4ad5a66a753262b38a320d71e39505c581b990bf4680ef892aaa6b5334cdfb52b8470903f8873872ec7d1c75d6bcf32b82d23e2d6725e53981906aedf7ea SHA512 052e783fc5e567891572a13333a4c85774c3405e2f4f4af773236fbeee0560c31dd5e5c81513ee3fc1c10cd2b9a6ea27242ffe21455bc66be66162ee71ca4a09 +DIST types-gdb-12.1.4.20240311.tar.gz 10837 BLAKE2B 0c10bb70402a236589de9760f97310d977d10f9834761916ce5dcfacf8010b603f429e4eeb41a99efeabc6bae7a5937c667732094abd35b68fac8903f51b6d0a SHA512 1f8ef85ee7608dd5d94a9f0fd62b764081b211ae3664ca3a9585625c8ffba4b8cbc49da0201b2b4892474e84dfa7c12a60af35d167fb6a08322224faccbc0205 diff --git a/dev-python/types-gdb/types-gdb-12.1.4.20240311.ebuild b/dev-python/types-gdb/types-gdb-12.1.4.20240311.ebuild new file mode 100644 index 000000000000..9fe9a5637e5d --- /dev/null +++ b/dev-python/types-gdb/types-gdb-12.1.4.20240311.ebuild @@ -0,0 +1,17 @@ +# Copyright 2022-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=setuptools +PYPI_NO_NORMALIZE=1 +PYTHON_COMPAT=( python3_{8,9,10,11,12} ) + +inherit distutils-r1 pypi + +DESCRIPTION="Typing stubs for gdb" +HOMEPAGE="https://pypi.org/project/types-gdb/" + +LICENSE="Apache-2.0" +SLOT="0" +KEYWORDS="~amd64 ~x86" diff --git a/dev-python/types-psutil/Manifest b/dev-python/types-psutil/Manifest index 920a39e3fe69..251a486fe2e1 100644 --- a/dev-python/types-psutil/Manifest +++ b/dev-python/types-psutil/Manifest @@ -1 +1,2 @@ DIST types-psutil-5.9.5.20240205.tar.gz 14333 BLAKE2B 6f48c008ac634a761f7eb6ed94ef1d06933da803dc8ff3111826ff91cd23ed17bc9e7fc661ea9c52075a675f9a2e6129c555e334bdf758f86f412523e27c91c7 SHA512 a8be7698a6e5bb37d45ea0a81d925835a685e5be7390401fb659a1eab71c6bf9c8529c285bcb1382b61aca37d8b4b43921f9281831bd8099402ec0078cb7334c +DIST types-psutil-5.9.5.20240311.tar.gz 14357 BLAKE2B ce80aeb6157486e212346e24275c03d2a149c4881d182c8a0dd76bb2bf7920701fa4a26e7c01672695d438ae1cd9e9fd21b28796da57b616d25785206d9238e0 SHA512 28a2f3ffaf0a76d54f33b6a96ba6804958be99229ffc0903ea497a56b9b1a5550e6a6d2f68be00fa29e8279f3e3b15de643c804dda6a3abc23430a5bf359eab3 diff --git a/dev-python/types-psutil/types-psutil-5.9.5.20240311.ebuild b/dev-python/types-psutil/types-psutil-5.9.5.20240311.ebuild new file mode 100644 index 000000000000..13f69b1b406d --- /dev/null +++ b/dev-python/types-psutil/types-psutil-5.9.5.20240311.ebuild @@ -0,0 +1,17 @@ +# Copyright 2023-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=setuptools +PYPI_NO_NORMALIZE=1 +PYTHON_COMPAT=( python3_{8,9,10,11,12} ) + +inherit distutils-r1 pypi + +DESCRIPTION="Typing stubs for psutil" +HOMEPAGE="https://pypi.org/project/types-psutil/" + +LICENSE="Apache-2.0" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86" diff --git a/dev-python/zenlib/Manifest b/dev-python/zenlib/Manifest index 1057f5929b91..4bd1d715064c 100644 --- a/dev-python/zenlib/Manifest +++ b/dev-python/zenlib/Manifest @@ -3,3 +3,4 @@ DIST zenlib-1.3.1.tar.gz 13470 BLAKE2B 03bd8dce7a46641e60646173607ea6cd574fed58c DIST zenlib-1.4.0.tar.gz 14315 BLAKE2B 76f9e8ed74a451837b27406c7bf0791b8d131de9d5b75ab1b47cca47c665a676c07e7779f92baf843396e9e61fdc706e6e7fc6ff4e06a52e19706df6cf94d0c1 SHA512 6326a95226fbbb126d72ecc2a9b4940615ae866a5586f2c8d795e12ff37e5c27d0ec62cda7fa398d1aa460acaa401fd7fb330677edc12b92c23933514a7eb79e DIST zenlib-1.6.2.tar.gz 15799 BLAKE2B 4a29f7ac386c197a1b9c6034b202a1cbce4a20bfdc137ec373fbb8818e806caadf82bd049e5ee92c2c3a49bb92d23d84bbcbc4a9e21b7f9dca42b73b41e3a3c3 SHA512 26807f566d8b8ca58768588ef2e63674ad8b8ed5e6ae97c336f8d090c2c4f568dc8d5620a869e2e518876ae269cfbc39583c8b4ff928bf8488a6aeb0177b5c5b DIST zenlib-1.7.2.tar.gz 16853 BLAKE2B 9659723441c9e651e6a80a47565aeeb6bda67db04524bbd551fe5f9b38efa0afb33021a21e0fea3af934fc3c8c2b9cf4f38c4534c2c9bc4282971038503fafec SHA512 b69619b1e30f18892ec54b481e386a5bb7a728d87263601ddd4e22e2433e62d263bc67eea54748b9a49e528078cd152fd2d68738372409bb003a0a84a7cbb71b +DIST zenlib-1.7.3.tar.gz 16924 BLAKE2B 20bab075d9a09062e2d596238237a2684c206cc1606f7796a1ddf6421902a523731bcfad9c96b803be3d91ff6ee508bdb9553a0f90295aa3f56e64e87ba37f21 SHA512 f5f8ad560e74051e5daf7515b3777ff17e86d202f6c8958e476d22677a65454512db5a93f1281202fc058742da0f8fe0296339da68d5ce109ab93e33948eb79b diff --git a/dev-python/zenlib/zenlib-1.7.3.ebuild b/dev-python/zenlib/zenlib-1.7.3.ebuild new file mode 100644 index 000000000000..3b19cd41c055 --- /dev/null +++ b/dev-python/zenlib/zenlib-1.7.3.ebuild @@ -0,0 +1,16 @@ +# 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 + +DESCRIPTION="Useful python decorators and utilities" +HOMEPAGE="https://github.com/desultory/zenlib" +SRC_URI="https://github.com/desultory/${PN}/archive/refs/tags/${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64" |
