diff options
| author | Liguros - Gitlab CI/CD [develop] <gitlab@liguros.net> | 2023-02-12 11:01:34 +0000 |
|---|---|---|
| committer | Liguros - Gitlab CI/CD [develop] <gitlab@liguros.net> | 2023-02-12 11:01:34 +0000 |
| commit | a97daac8ac85375fcdb299851c12697e4ae63599 (patch) | |
| tree | 34f52d4238e3b302cf07d6a6892d268382f34e58 /dev-python | |
| parent | 5c280f668d1cc8186276ffd1281ed16994c620cd (diff) | |
| download | baldeagleos-repo-a97daac8ac85375fcdb299851c12697e4ae63599.tar.gz baldeagleos-repo-a97daac8ac85375fcdb299851c12697e4ae63599.tar.xz baldeagleos-repo-a97daac8ac85375fcdb299851c12697e4ae63599.zip | |
Adding metadata
Diffstat (limited to 'dev-python')
25 files changed, 346 insertions, 421 deletions
diff --git a/dev-python/adblock/adblock-0.6.0.ebuild b/dev-python/adblock/adblock-0.6.0.ebuild index 70a02a4ec554..797a937fac68 100644 --- a/dev-python/adblock/adblock-0.6.0.ebuild +++ b/dev-python/adblock/adblock-0.6.0.ebuild @@ -89,6 +89,10 @@ QA_FLAGS_IGNORED=".*/adblock.*.so" DOCS=( CHANGELOG.md README.md ) +PATCHES=( + "${FILESDIR}"/${P}-maturin-0.14.13.patch +) + EPYTEST_IGNORE=( # not very meaningful here (e.g. validates changelog), # and needs the deprecated dev-python/toml diff --git a/dev-python/adblock/files/adblock-0.6.0-maturin-0.14.13.patch b/dev-python/adblock/files/adblock-0.6.0-maturin-0.14.13.patch new file mode 100644 index 000000000000..67df5270939c --- /dev/null +++ b/dev-python/adblock/files/adblock-0.6.0-maturin-0.14.13.patch @@ -0,0 +1,16 @@ +These are unused by maturin since 0.14.0 (non-issue for us), +and still having them is now fatal rather than a warning. +--- a/Cargo.toml ++++ b/Cargo.toml +@@ -11,11 +11,2 @@ + +-[package.metadata.maturin] +-classifier = [ +- "Programming Language :: Python", +- "Programming Language :: Rust", +- "License :: OSI Approved :: MIT License", +- "License :: OSI Approved :: Apache Software License", +-] +-requires-python = ">=3.7" +- + [profile.release] diff --git a/dev-python/asteval/Manifest b/dev-python/asteval/Manifest index 5e4155821b71..19cb9aa71a56 100644 --- a/dev-python/asteval/Manifest +++ b/dev-python/asteval/Manifest @@ -1 +1,2 @@ DIST asteval-0.9.28.gh.tar.gz 39784 BLAKE2B 99c74b7d9f01de07dc568a5276852e66dd6c520c45af91b9471bc6f9485ac50bc20bc96df804188a610bac01e8e34534e8bb157784afd6b1799ca97280e4c5ed SHA512 108652594a0eaaf009b8652ced9000ef7454d8f33fe844e74fb1dd78a2ead42a60d5ba68845c8d9c9d8570a70b5958519a6350d77c66257a7fa18de23802c3b0 +DIST asteval-0.9.29.gh.tar.gz 40010 BLAKE2B 1e2570afefc4ca0abd2a19d3498479a947e1634a550bd14f2efe813e00f3ec37b9f0e417616878a087a110d92474a626ba9b2972f8585f528fa492b99b758f03 SHA512 5afd7fe5349b5611112fc15a980f435e359c5fd81ece77041aed84566703f4621ac360dda2f133f0342a8eefe755820f7544fd5eb8195462cc05281ed0eba5dc diff --git a/dev-python/asteval/asteval-0.9.29.ebuild b/dev-python/asteval/asteval-0.9.29.ebuild new file mode 100644 index 000000000000..f09e292486ae --- /dev/null +++ b/dev-python/asteval/asteval-0.9.29.ebuild @@ -0,0 +1,36 @@ +# 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_{7,8,9,10,11} ) + +inherit distutils-r1 + +DESCRIPTION="Evaluator of Python expression using ast module" +HOMEPAGE=" + https://newville.github.io/asteval/ + https://github.com/newville/asteval/ + https://pypi.org/project/asteval/ +" +SRC_URI=" + https://github.com/newville/asteval/archive/${PV}.tar.gz + -> ${P}.gh.tar.gz +" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64" + +BDEPEND=" + dev-python/setuptools_scm[${PYTHON_USEDEP}] +" + +distutils_enable_tests pytest + +export SETUPTOOLS_SCM_PRETEND_VERSION=${PV} + +python_test() { + epytest -o addopts= +} diff --git a/dev-python/fakeredis/Manifest b/dev-python/fakeredis/Manifest index 738ea8eb2106..f20c73ac4de6 100644 --- a/dev-python/fakeredis/Manifest +++ b/dev-python/fakeredis/Manifest @@ -3,3 +3,4 @@ DIST fakeredis-py-2.5.0.gh.tar.gz 139911 BLAKE2B 4e9c616b0066012e1ed681d06e73390 DIST fakeredis-py-2.6.0.gh.tar.gz 151925 BLAKE2B 60538efa5de93436177aa019908f02affb9df9b2aaf1349e933da6f066f98aaa255bbdb3297645ad1dc3b67a57a61bb8081e476f451799b512719f5779c1218d SHA512 19a23be7a182f962e66686f3c4ec3a5b9fbc847d97e48f19fde11ae268f4a70de567ff2ca302a9fe0e7080de2215698cf5b2ff2febda5eef6748f3ec8d601720 DIST fakeredis-py-2.7.0.gh.tar.gz 162784 BLAKE2B acb218c375785ad4b8419f08f9c328f33f97eedb0f13ae09b760b6c87849b3f8a4b9210fe6aea59d763b27909bff8297a009757a1f5fd9b58c1936e6705e0833 SHA512 fc11f3b59971ae50f59e9d1684827a8f4d1127813f7d55641b43b1edbb1e4c75c76aa0734ad55c98cca404c7e343a02f72644f05aceb72849ef6f18dc2418890 DIST fakeredis-py-2.7.1.gh.tar.gz 162831 BLAKE2B dec29c4b2f5e2c4f9492af00f7b6758ab18dba48ab92e382c78fa105a8bd6230cffc583876a203213d5e205c8cea5b0680518a48e74b7014b189e3b8f3ad3a65 SHA512 31a51feaaba208f4029e7c2030785f5c2fa670996d42ccde8f9e98f13d820fbaccfc17fa535589ec750625cdb0b13c40e57bf901f4bb73bae9054554698fcabf +DIST fakeredis-py-2.8.0.gh.tar.gz 163863 BLAKE2B ccfb685e57e011afe22906751d3b48c840ffff5ab71ce8b27a36c9168418dfcb4c3761d4162bc9f587396c04bbe4878675921bdfd43effa62ffc0ce6133d7aaf SHA512 51199af0b3abada364664df8d0a091a7f200daf2c180f45488414672962338db8055488629f45d4a0046c48bcf711927c184726efe6cda4c4765fe9763447551 diff --git a/dev-python/fakeredis/fakeredis-2.8.0.ebuild b/dev-python/fakeredis/fakeredis-2.8.0.ebuild new file mode 100644 index 000000000000..792f51b03f4b --- /dev/null +++ b/dev-python/fakeredis/fakeredis-2.8.0.ebuild @@ -0,0 +1,83 @@ +# Copyright 2020-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=poetry +PYTHON_COMPAT=( python3_{7,8,9,10,11} pypy3 ) + +inherit distutils-r1 + +MY_P=fakeredis-py-${PV} +DESCRIPTION="Fake implementation of redis API for testing purposes" +HOMEPAGE=" + https://github.com/cunla/fakeredis-py/ + https://pypi.org/project/fakeredis/ +" +SRC_URI=" + https://github.com/cunla/fakeredis-py/archive/v${PV}.tar.gz + -> ${MY_P}.gh.tar.gz +" +S=${WORKDIR}/${MY_P} + +LICENSE="BSD" +SLOT="0" +KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~ppc64 ~riscv ~sparc ~x86" + +RDEPEND=" + <dev-python/redis-5[${PYTHON_USEDEP}] + >=dev-python/redis-4.2[${PYTHON_USEDEP}] + <dev-python/sortedcontainers-3[${PYTHON_USEDEP}] + >=dev-python/sortedcontainers-2.4.0[${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]" + ) + 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' + ) + 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/libvirt-python/libvirt-python-8.9.0.ebuild b/dev-python/libvirt-python/libvirt-python-8.9.0.ebuild index 5435c57baf4c..68abb1460645 100644 --- a/dev-python/libvirt-python/libvirt-python-8.9.0.ebuild +++ b/dev-python/libvirt-python/libvirt-python-8.9.0.ebuild @@ -23,7 +23,7 @@ if [[ ${PV} == *9999* ]]; then else SRC_URI="https://libvirt.org/sources/python/${MY_P}.tar.gz verify-sig? ( https://libvirt.org/sources/python/${MY_P}.tar.gz.asc )" - KEYWORDS="~amd64 ~arm ~arm64 ~ppc64 ~x86" + KEYWORDS="amd64 ~arm ~arm64 ~ppc64 x86" RDEPEND="app-emulation/libvirt:0/${PV}" fi S="${WORKDIR}/${P%_rc*}" diff --git a/dev-python/sphinx_rtd_theme/Manifest b/dev-python/sphinx_rtd_theme/Manifest index ec95e9b569cb..eb9bcc6d300f 100644 --- a/dev-python/sphinx_rtd_theme/Manifest +++ b/dev-python/sphinx_rtd_theme/Manifest @@ -1 +1,2 @@ DIST sphinx_rtd_theme-1.1.1.tar.gz 2783043 BLAKE2B c132cc4bba5459ca29740222cc917aac0fa5afb26748b1bd3d457ed0a02e63cd973deecd9a3d509187f54ae85798cb63fdfaa293615eae278228753808fd8c50 SHA512 c3e6e3a9d25b9c48a9830e696ca5c8f0c185a0328c76032cbe6dcfb93cda7ad9a724ec4e0e2a99079db28f35aa61ef2f569b87ce98a01c47a9701a6070bc395e +DIST sphinx_rtd_theme-1.2.0.tar.gz 2784826 BLAKE2B 62d0af56a29d66831447009991a5e0fb0a483ca91ac2ef7e7ce0b19510281308b49219efd0c6e1bd8fc95c2acae233133ce2f89b7507c2b20f0f322e59ab06e0 SHA512 dd407c648c5512a79e31a106825c6f9ec4696b14d950830ab36faf912ea804b48b3a5d09c6a144e9cead773e4c057cbc809d7582deea1b253ce71b756f7f6b10 diff --git a/dev-python/sphinx_rtd_theme/sphinx_rtd_theme-1.2.0.ebuild b/dev-python/sphinx_rtd_theme/sphinx_rtd_theme-1.2.0.ebuild new file mode 100644 index 000000000000..01b34cc3222b --- /dev/null +++ b/dev-python/sphinx_rtd_theme/sphinx_rtd_theme-1.2.0.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_{7,8,9,10,11} pypy3 ) + +inherit distutils-r1 + +DESCRIPTION="ReadTheDocs.org theme for Sphinx" +HOMEPAGE=" + https://github.com/readthedocs/sphinx_rtd_theme/ + https://pypi.org/project/sphinx-rtd-theme/ +" +SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64 ~arm64 ~hppa ~ppc ~ppc64 ~riscv" + +RDEPEND=" + dev-python/docutils[${PYTHON_USEDEP}] + <dev-python/sphinx-7[${PYTHON_USEDEP}] + >=dev-python/sphinx-1.6[${PYTHON_USEDEP}] + >=dev-python/sphinxcontrib-jquery-2.0.0[${PYTHON_USEDEP}] +" +BDEPEND=" + test? ( + dev-python/readthedocs-sphinx-ext[${PYTHON_USEDEP}] + ) +" + +distutils_enable_tests pytest + +src_prepare() { + # unpin docutils + sed -i -e '/docutils/s:<0[.]19::' setup.cfg || die + sed -i -e '/jquery/s:,!=3[.]0[.]0::' setup.cfg || die + distutils-r1_src_prepare + + # CI=1 disables rebuilding webpack that requires npm use + # yes, that surely makes sense + export CI=1 +} diff --git a/dev-python/sphinxcontrib-autoprogram/Manifest b/dev-python/sphinxcontrib-autoprogram/Manifest index cfdefda6efdc..ed21df470e9d 100644 --- a/dev-python/sphinxcontrib-autoprogram/Manifest +++ b/dev-python/sphinxcontrib-autoprogram/Manifest @@ -1 +1,2 @@ DIST sphinxcontrib-autoprogram-0.1.7.tar.gz 18663 BLAKE2B c1ad18df1c9ccb8fb1947ba7abbe2bc52fb531ce8142340b71bc063a6a758831d2a46913fb969f52791c3a86cb86a8eddd378c6403e1be4eb23ece2380386eea SHA512 df416759e9d6bfc69780f864bfd2c0fb847515df1d5416e4c7fb78ea0feb9cf0e360da457414a6bed5a56f69fd8ece3ccd2ed5af5fc1f56b40063765ff04f7a5 +DIST sphinxcontrib-autoprogram-0.1.8.tar.gz 18656 BLAKE2B a1334b0d9717f59ffb67c8a60e03b34c1fb0168cc86500ee14c06c44bef5bec1b484997d00be6586832e21e8a97662628636766558af9f79d40eb3da0ae21122 SHA512 a73d52a6195e3b637758b36f86afe07090bab09a655a86dbde3fefaee59f634c3fc880d436c3b14d9d7d4fb58f74765bd13457d0fc9192f1ffd4d654dc6efcd5 diff --git a/dev-python/sphinxcontrib-autoprogram/sphinxcontrib-autoprogram-0.1.8.ebuild b/dev-python/sphinxcontrib-autoprogram/sphinxcontrib-autoprogram-0.1.8.ebuild new file mode 100644 index 000000000000..c35323cdbe7e --- /dev/null +++ b/dev-python/sphinxcontrib-autoprogram/sphinxcontrib-autoprogram-0.1.8.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_{7,8,9,10,11} ) + +inherit distutils-r1 + +DESCRIPTION="Documenting CLI programs" +HOMEPAGE=" + https://github.com/sphinx-contrib/autoprogram/ + https://pypi.org/project/sphinxcontrib-autoprogram/ +" +SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" + +LICENSE="BSD-2" +SLOT="0" +KEYWORDS="~amd64 ~x86" + +RDEPEND=" + dev-python/sphinx[${PYTHON_USEDEP}] + dev-python/six[${PYTHON_USEDEP}] +" + +python_install_all() { + distutils-r1_python_install_all + find "${ED}" -name '*.pth' -delete || die +} diff --git a/dev-python/trimesh/Manifest b/dev-python/trimesh/Manifest index b58848e84838..4978b7795ca5 100644 --- a/dev-python/trimesh/Manifest +++ b/dev-python/trimesh/Manifest @@ -1,7 +1,2 @@ -DIST trimesh-3.17.1.gh.tar.gz 12653345 BLAKE2B df286132ca01e1a7e8c226b7c98ffa0682b9bf2e225c4114c88395611d1a65a02be4395940ad04b67ae3b6909664b46e18e9fd018d892c86f8f5a4fcfe532210 SHA512 8cbf0bedd21c0867c5aa307e9bb8b4e4caff2aabee89cfadfa11513293304caa4b6a5ecce21064b7fa157a2453b58d401eb6010d0ea32bbd5a99c3075f38b826 -DIST trimesh-3.18.0.gh.tar.gz 12656666 BLAKE2B e183ab1b5ff904b54a7801aaf9e6a3ac24a277107dae03dd37be7a37c56835ac99b617af1c12ea4119c39c3c064d8d1e783ce6effa51ebc0bc65103e688ad363 SHA512 309e1c5dd17a2d1875254a732d96708b98635cbd17ceea80c5386d6ea4675f943e1760f7a4383e9c24ec5711d30ea0732883a691952da1d1079a81a87fcca6cc DIST trimesh-3.18.1.gh.tar.gz 12657109 BLAKE2B 8e5370193e7d47f1dc2d7d43c356df1a56c2b4b8af6f47ac6aa889b04a3b950ec507b5cc0fe6f99f874cf66111aa72773025ba3821013466bb34baced3a361ca SHA512 72936c0fc6f89ffa35b80928dc5abac8ca4fac023f5be1d4adec6d020f3da6ee2c7a97efb0cecf58faad94ef6f33949533ac789affcecee07696ca0188fd47f0 -DIST trimesh-3.18.2.gh.tar.gz 12656555 BLAKE2B 39fb1a04a067fdf5e2e85eaacd135f79ae322cab583b1701e702c3638677d8b16d0de411300a39ee39be526500a09ca77fab65666f5eda45c0fa289a48ac1513 SHA512 662034adf97efcc50d0c665b8af5ef190ec48d116186d348d4c431dc1fc51564b36b470d996419770e8f48e2e482e3fa8aa9ced30871c7e1dcb20dcee4e9cd5a -DIST trimesh-3.18.3.gh.tar.gz 12658464 BLAKE2B 8017cc039273fd9bc01605bd80ca0f3b880a138ca81ff1ded862c8083d20f62f0775671260f7f21deeba403bc1a273dd0bbc138779fbf5c1e08bfab9c0937ec3 SHA512 af2838ae8ad01b5113d26aa955a906d6e3379f4484711da1cb76f9735f162a3356b6529e4a633ddb552edb54529c7e738e030d881322d24502e6945e17b55074 -DIST trimesh-3.19.3.gh.tar.gz 12664970 BLAKE2B 4ba302f5ea48253c5bffd9065ab4974d15b7a30cedcf3939d2306ba9db59acb33534918d3303e3cc9444cfff6557544ed16f19a0673a408c17eb056e0ead5d72 SHA512 497e417159a937bc9cbcb92af91ebd346bae67af872fefecf87c9cd3a14e0c9532cd9296ec9eec6653c2bc5c4b95d3a77a56c8235e70fbd940f5c5394ec1b931 DIST trimesh-3.19.4.gh.tar.gz 12673418 BLAKE2B c54e0e1a946b858371d5de2f028bbc64a353a06859f428d6e221058a46e853bb7f245d7348b1cc7fbbdb930ba9600e24a39c2884a9acfa00b9d31d6576b87959 SHA512 b490e6d021a41c0a094c5e3596033a189d08310c04a2ce70c9b72d492e1cad1b5c9f110487c66d0a37eed97754e979c7b449d10a6a6abdbd81241099c248d5cf diff --git a/dev-python/trimesh/files/trimesh-3.19.3-no-pyinstrument.patch b/dev-python/trimesh/files/trimesh-3.19.3-no-pyinstrument.patch deleted file mode 100644 index 76b1e552ce83..000000000000 --- a/dev-python/trimesh/files/trimesh-3.19.3-no-pyinstrument.patch +++ /dev/null @@ -1,36 +0,0 @@ -From a4a0e4ea61d41d379c9b535af11cb5845c364970 Mon Sep 17 00:00:00 2001 -From: =?UTF-8?q?Micha=C5=82=20G=C3=B3rny?= <mgorny@gentoo.org> -Date: Fri, 10 Feb 2023 13:29:21 +0100 -Subject: [PATCH] fix dummy Profiler class to be a proper context manager - -The dummy `Profiler` class that is used whenever `pyinstrument` -is not available did not return a object in its `__enter__` method, -effectively breaking statements like: - - with g.Profiler() as P: - pass - print(P.output_text()) - -Make it return itself to fix that. This fixes 4 test failures for us. ---- - tests/generic.py | 4 ++-- - 1 file changed, 2 insertions(+), 2 deletions(-) - -diff --git a/tests/generic.py b/tests/generic.py -index d18f55c1..7c418e10 100644 ---- a/tests/generic.py -+++ b/tests/generic.py -@@ -49,8 +49,8 @@ try: - except BaseException: - # make a dummy profiler which does nothing - class Profiler(object): -- def __enter__(*args, **kwargs): -- pass -+ def __enter__(self, *args, **kwargs): -+ return self - - def __exit__(*args, **kwargs): - pass --- -2.39.1 - diff --git a/dev-python/trimesh/trimesh-3.17.1.ebuild b/dev-python/trimesh/trimesh-3.17.1.ebuild deleted file mode 100644 index f00a01b8467c..000000000000 --- a/dev-python/trimesh/trimesh-3.17.1.ebuild +++ /dev/null @@ -1,77 +0,0 @@ -# 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_{7,8,9,10,11} ) - -inherit distutils-r1 multiprocessing optfeature - -DESCRIPTION="Python library for loading and using triangular meshes" -HOMEPAGE=" - https://trimsh.org/ - https://github.com/mikedh/trimesh/ - https://pypi.org/project/trimesh/ -" -SRC_URI=" - https://github.com/mikedh/${PN}/archive/${PV}.tar.gz - -> ${P}.gh.tar.gz -" - -LICENSE="MIT" -SLOT="0" -KEYWORDS="amd64 ~arm64 ~x86" - -RDEPEND=" - dev-python/chardet[${PYTHON_USEDEP}] - dev-python/colorlog[${PYTHON_USEDEP}] - dev-python/jsonschema[${PYTHON_USEDEP}] - dev-python/lxml[${PYTHON_USEDEP}] - dev-python/msgpack[${PYTHON_USEDEP}] - dev-python/networkx[${PYTHON_USEDEP}] - dev-python/numpy[${PYTHON_USEDEP}] - dev-python/pillow[${PYTHON_USEDEP}] - dev-python/pycollada[${PYTHON_USEDEP}] - <dev-python/pyglet-2[${PYTHON_USEDEP}] - dev-python/requests[${PYTHON_USEDEP}] - dev-python/scipy[${PYTHON_USEDEP}] - dev-python/setuptools[${PYTHON_USEDEP}] - >=dev-python/shapely-1.8.2[${PYTHON_USEDEP}] - dev-python/svg-path[${PYTHON_USEDEP}] - dev-python/sympy[${PYTHON_USEDEP}] - dev-python/xxhash[${PYTHON_USEDEP}] - sci-libs/rtree[${PYTHON_USEDEP}] -" -BDEPEND=" - test? ( - dev-python/pytest-xdist[${PYTHON_USEDEP}] - dev-python/mapbox_earcut[${PYTHON_USEDEP}] - ) -" - -distutils_enable_tests pytest - -src_prepare() { - # remove pyinstrument from tests, as only used for profiling - sed -e '/pyinstrument/d' -i tests/{regression,corpus,generic}.py || die - - distutils-r1_src_prepare -} - -python_test() { - local EPYTEST_DESELECT=( - # does profiling with pyinstrument - tests/test_scenegraph.py::GraphTests::test_shortest_path - ) - epytest -n "$(makeopts_jobs)" -} - -pkg_postinst() { - optfeature_header "${PN} functionality can be extended by installing the following packages:" - optfeature "making GUI applications with 3D stuff" dev-python/glooey - optfeature "2D triangulations of polygons" dev-python/mapbox_earcut - optfeature "loading a number of additional mesh formats" dev-python/meshio - optfeature "figuring out how much memory we have" dev-python/psutil - optfeature "marching cubes and other nice stuff" sci-libs/scikit-image -} diff --git a/dev-python/trimesh/trimesh-3.18.0.ebuild b/dev-python/trimesh/trimesh-3.18.0.ebuild deleted file mode 100644 index e253f20ca2f8..000000000000 --- a/dev-python/trimesh/trimesh-3.18.0.ebuild +++ /dev/null @@ -1,77 +0,0 @@ -# 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_{7,8,9,10,11} ) - -inherit distutils-r1 multiprocessing optfeature - -DESCRIPTION="Python library for loading and using triangular meshes" -HOMEPAGE=" - https://trimsh.org/ - https://github.com/mikedh/trimesh/ - https://pypi.org/project/trimesh/ -" -SRC_URI=" - https://github.com/mikedh/${PN}/archive/${PV}.tar.gz - -> ${P}.gh.tar.gz -" - -LICENSE="MIT" -SLOT="0" -KEYWORDS="~amd64 ~arm64 ~x86" - -RDEPEND=" - dev-python/chardet[${PYTHON_USEDEP}] - dev-python/colorlog[${PYTHON_USEDEP}] - dev-python/jsonschema[${PYTHON_USEDEP}] - dev-python/lxml[${PYTHON_USEDEP}] - dev-python/msgpack[${PYTHON_USEDEP}] - dev-python/networkx[${PYTHON_USEDEP}] - dev-python/numpy[${PYTHON_USEDEP}] - dev-python/pillow[${PYTHON_USEDEP}] - dev-python/pycollada[${PYTHON_USEDEP}] - <dev-python/pyglet-2[${PYTHON_USEDEP}] - dev-python/requests[${PYTHON_USEDEP}] - dev-python/scipy[${PYTHON_USEDEP}] - dev-python/setuptools[${PYTHON_USEDEP}] - >=dev-python/shapely-1.8.2[${PYTHON_USEDEP}] - dev-python/svg-path[${PYTHON_USEDEP}] - dev-python/sympy[${PYTHON_USEDEP}] - dev-python/xxhash[${PYTHON_USEDEP}] - sci-libs/rtree[${PYTHON_USEDEP}] -" -BDEPEND=" - test? ( - dev-python/pytest-xdist[${PYTHON_USEDEP}] - dev-python/mapbox_earcut[${PYTHON_USEDEP}] - ) -" - -distutils_enable_tests pytest - -src_prepare() { - # remove pyinstrument from tests, as only used for profiling - sed -e '/pyinstrument/d' -i tests/{regression,corpus,generic}.py || die - - distutils-r1_src_prepare -} - -python_test() { - local EPYTEST_DESELECT=( - # does profiling with pyinstrument - tests/test_scenegraph.py::GraphTests::test_shortest_path - ) - epytest -n "$(makeopts_jobs)" -} - -pkg_postinst() { - optfeature_header "${PN} functionality can be extended by installing the following packages:" - optfeature "making GUI applications with 3D stuff" dev-python/glooey - optfeature "2D triangulations of polygons" dev-python/mapbox_earcut - optfeature "loading a number of additional mesh formats" dev-python/meshio - optfeature "figuring out how much memory we have" dev-python/psutil - optfeature "marching cubes and other nice stuff" sci-libs/scikit-image -} diff --git a/dev-python/trimesh/trimesh-3.18.1.ebuild b/dev-python/trimesh/trimesh-3.18.1.ebuild index e253f20ca2f8..f00a01b8467c 100644 --- a/dev-python/trimesh/trimesh-3.18.1.ebuild +++ b/dev-python/trimesh/trimesh-3.18.1.ebuild @@ -21,7 +21,7 @@ SRC_URI=" LICENSE="MIT" SLOT="0" -KEYWORDS="~amd64 ~arm64 ~x86" +KEYWORDS="amd64 ~arm64 ~x86" RDEPEND=" dev-python/chardet[${PYTHON_USEDEP}] diff --git a/dev-python/trimesh/trimesh-3.18.2.ebuild b/dev-python/trimesh/trimesh-3.18.2.ebuild deleted file mode 100644 index 0ddca64f7e23..000000000000 --- a/dev-python/trimesh/trimesh-3.18.2.ebuild +++ /dev/null @@ -1,77 +0,0 @@ -# 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_{7,8,9,10,11} ) - -inherit distutils-r1 multiprocessing optfeature - -DESCRIPTION="Python library for loading and using triangular meshes" -HOMEPAGE=" - https://trimsh.org/ - https://github.com/mikedh/trimesh/ - https://pypi.org/project/trimesh/ -" -SRC_URI=" - https://github.com/mikedh/${PN}/archive/${PV}.tar.gz - -> ${P}.gh.tar.gz -" - -LICENSE="MIT" -SLOT="0" -KEYWORDS="~amd64 ~arm64 ~x86" - -RDEPEND=" - dev-python/chardet[${PYTHON_USEDEP}] - dev-python/colorlog[${PYTHON_USEDEP}] - dev-python/jsonschema[${PYTHON_USEDEP}] - dev-python/lxml[${PYTHON_USEDEP}] - dev-python/msgpack[${PYTHON_USEDEP}] - dev-python/networkx[${PYTHON_USEDEP}] - dev-python/numpy[${PYTHON_USEDEP}] - dev-python/pillow[${PYTHON_USEDEP}] - dev-python/pycollada[${PYTHON_USEDEP}] - dev-python/pyglet[${PYTHON_USEDEP}] - dev-python/requests[${PYTHON_USEDEP}] - dev-python/scipy[${PYTHON_USEDEP}] - dev-python/setuptools[${PYTHON_USEDEP}] - >=dev-python/shapely-1.8.2[${PYTHON_USEDEP}] - dev-python/svg-path[${PYTHON_USEDEP}] - dev-python/sympy[${PYTHON_USEDEP}] - dev-python/xxhash[${PYTHON_USEDEP}] - sci-libs/rtree[${PYTHON_USEDEP}] -" -BDEPEND=" - test? ( - dev-python/pytest-xdist[${PYTHON_USEDEP}] - dev-python/mapbox_earcut[${PYTHON_USEDEP}] - ) -" - -distutils_enable_tests pytest - -src_prepare() { - # remove pyinstrument from tests, as only used for profiling - sed -e '/pyinstrument/d' -i tests/{regression,corpus,generic}.py || die - - distutils-r1_src_prepare -} - -python_test() { - local EPYTEST_DESELECT=( - # does profiling with pyinstrument - tests/test_scenegraph.py::GraphTests::test_shortest_path - ) - epytest -n "$(makeopts_jobs)" -} - -pkg_postinst() { - optfeature_header "${PN} functionality can be extended by installing the following packages:" - optfeature "making GUI applications with 3D stuff" dev-python/glooey - optfeature "2D triangulations of polygons" dev-python/mapbox_earcut - optfeature "loading a number of additional mesh formats" dev-python/meshio - optfeature "figuring out how much memory we have" dev-python/psutil - optfeature "marching cubes and other nice stuff" sci-libs/scikit-image -} diff --git a/dev-python/trimesh/trimesh-3.18.3.ebuild b/dev-python/trimesh/trimesh-3.18.3.ebuild deleted file mode 100644 index 0ddca64f7e23..000000000000 --- a/dev-python/trimesh/trimesh-3.18.3.ebuild +++ /dev/null @@ -1,77 +0,0 @@ -# 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_{7,8,9,10,11} ) - -inherit distutils-r1 multiprocessing optfeature - -DESCRIPTION="Python library for loading and using triangular meshes" -HOMEPAGE=" - https://trimsh.org/ - https://github.com/mikedh/trimesh/ - https://pypi.org/project/trimesh/ -" -SRC_URI=" - https://github.com/mikedh/${PN}/archive/${PV}.tar.gz - -> ${P}.gh.tar.gz -" - -LICENSE="MIT" -SLOT="0" -KEYWORDS="~amd64 ~arm64 ~x86" - -RDEPEND=" - dev-python/chardet[${PYTHON_USEDEP}] - dev-python/colorlog[${PYTHON_USEDEP}] - dev-python/jsonschema[${PYTHON_USEDEP}] - dev-python/lxml[${PYTHON_USEDEP}] - dev-python/msgpack[${PYTHON_USEDEP}] - dev-python/networkx[${PYTHON_USEDEP}] - dev-python/numpy[${PYTHON_USEDEP}] - dev-python/pillow[${PYTHON_USEDEP}] - dev-python/pycollada[${PYTHON_USEDEP}] - dev-python/pyglet[${PYTHON_USEDEP}] - dev-python/requests[${PYTHON_USEDEP}] - dev-python/scipy[${PYTHON_USEDEP}] - dev-python/setuptools[${PYTHON_USEDEP}] - >=dev-python/shapely-1.8.2[${PYTHON_USEDEP}] - dev-python/svg-path[${PYTHON_USEDEP}] - dev-python/sympy[${PYTHON_USEDEP}] - dev-python/xxhash[${PYTHON_USEDEP}] - sci-libs/rtree[${PYTHON_USEDEP}] -" -BDEPEND=" - test? ( - dev-python/pytest-xdist[${PYTHON_USEDEP}] - dev-python/mapbox_earcut[${PYTHON_USEDEP}] - ) -" - -distutils_enable_tests pytest - -src_prepare() { - # remove pyinstrument from tests, as only used for profiling - sed -e '/pyinstrument/d' -i tests/{regression,corpus,generic}.py || die - - distutils-r1_src_prepare -} - -python_test() { - local EPYTEST_DESELECT=( - # does profiling with pyinstrument - tests/test_scenegraph.py::GraphTests::test_shortest_path - ) - epytest -n "$(makeopts_jobs)" -} - -pkg_postinst() { - optfeature_header "${PN} functionality can be extended by installing the following packages:" - optfeature "making GUI applications with 3D stuff" dev-python/glooey - optfeature "2D triangulations of polygons" dev-python/mapbox_earcut - optfeature "loading a number of additional mesh formats" dev-python/meshio - optfeature "figuring out how much memory we have" dev-python/psutil - optfeature "marching cubes and other nice stuff" sci-libs/scikit-image -} diff --git a/dev-python/trimesh/trimesh-3.19.3.ebuild b/dev-python/trimesh/trimesh-3.19.3.ebuild deleted file mode 100644 index b3819203dada..000000000000 --- a/dev-python/trimesh/trimesh-3.19.3.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_USE_PEP517=setuptools -PYTHON_COMPAT=( python3_{7,8,9,10,11} ) - -inherit distutils-r1 multiprocessing optfeature - -DESCRIPTION="Python library for loading and using triangular meshes" -HOMEPAGE=" - https://trimsh.org/ - https://github.com/mikedh/trimesh/ - https://pypi.org/project/trimesh/ -" -SRC_URI=" - https://github.com/mikedh/${PN}/archive/${PV}.tar.gz - -> ${P}.gh.tar.gz -" - -LICENSE="MIT" -SLOT="0" -KEYWORDS="~amd64 ~arm64 ~x86" - -RDEPEND=" - dev-python/chardet[${PYTHON_USEDEP}] - dev-python/colorlog[${PYTHON_USEDEP}] - dev-python/jsonschema[${PYTHON_USEDEP}] - dev-python/lxml[${PYTHON_USEDEP}] - dev-python/msgpack[${PYTHON_USEDEP}] - dev-python/networkx[${PYTHON_USEDEP}] - dev-python/numpy[${PYTHON_USEDEP}] - dev-python/pillow[${PYTHON_USEDEP}] - dev-python/pycollada[${PYTHON_USEDEP}] - dev-python/pyglet[${PYTHON_USEDEP}] - dev-python/requests[${PYTHON_USEDEP}] - dev-python/scipy[${PYTHON_USEDEP}] - dev-python/setuptools[${PYTHON_USEDEP}] - >=dev-python/shapely-1.8.2[${PYTHON_USEDEP}] - dev-python/svg-path[${PYTHON_USEDEP}] - dev-python/sympy[${PYTHON_USEDEP}] - dev-python/xxhash[${PYTHON_USEDEP}] - sci-libs/rtree[${PYTHON_USEDEP}] -" -BDEPEND=" - test? ( - dev-python/pytest-xdist[${PYTHON_USEDEP}] - dev-python/mapbox_earcut[${PYTHON_USEDEP}] - ) -" - -distutils_enable_tests pytest - -PATCHES=( - "${FILESDIR}"/trimesh-3.19.3-no-pyinstrument.patch -) - -python_test() { - epytest -n "$(makeopts_jobs)" -} - -pkg_postinst() { - optfeature_header "${PN} functionality can be extended by installing the following packages:" - optfeature "making GUI applications with 3D stuff" dev-python/glooey - optfeature "2D triangulations of polygons" dev-python/mapbox_earcut - optfeature "loading a number of additional mesh formats" dev-python/meshio - optfeature "figuring out how much memory we have" dev-python/psutil - optfeature "marching cubes and other nice stuff" sci-libs/scikit-image -} diff --git a/dev-python/versioningit/Manifest b/dev-python/versioningit/Manifest index 2dc07f510b53..621efe9961de 100644 --- a/dev-python/versioningit/Manifest +++ b/dev-python/versioningit/Manifest @@ -1 +1,2 @@ DIST versioningit-2.1.0.tar.gz 735718 BLAKE2B edceb4b5a76ecc5e4f5549a348cd5c72bd1c77be1fb6d8c1694af4c94ff38e773b2e288ad22cecd93a3cd14d602dd6c50634db74a51e486856472098cf18bf89 SHA512 0cea71e8b21edefba008d947d8527810e1e38c8e2f208707dbc913b3734b51a57b20444fa4dd703574f0106068518057496292ae5997d85ba047ff4795ba64fa +DIST versioningit-2.2.0.tar.gz 742936 BLAKE2B 05bfebce378947a9196b4bd90495dc8f89fa9b79b99e5a4423ff39df77f0353125ba5f2deec1e685feacb6fbb8ee896fd1f18155b985f803be4d21e885689128 SHA512 9169bd04c29937a5d913dfa4951affe9d01f21f513fb6f704bdd65f44c91dd47c366169fd50aecc938992cb32b6cac835359b1dc9a6b431b8b5371125564791e diff --git a/dev-python/versioningit/versioningit-2.2.0.ebuild b/dev-python/versioningit/versioningit-2.2.0.ebuild new file mode 100644 index 000000000000..9448adc1ebbf --- /dev/null +++ b/dev-python/versioningit/versioningit-2.2.0.ebuild @@ -0,0 +1,52 @@ +# 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_{7,8,9,10,11} ) + +inherit distutils-r1 + +DESCRIPTION="A setuptools plugin for versioning based on git tags" +HOMEPAGE=" + https://github.com/jwodder/versioningit/ + https://pypi.org/project/versioningit/ +" +SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64 ~arm ~arm64 ~riscv ~x86" + +RDEPEND=" + >=dev-python/packaging-17.1[${PYTHON_USEDEP}] + $(python_gen_cond_dep ' + dev-python/importlib_metadata[${PYTHON_USEDEP}] + ' 3.8 3.9) + $(python_gen_cond_dep ' + <dev-python/tomli-3[${PYTHON_USEDEP}] + ' 3.8 3.9 3.10) +" +BDEPEND=" + test? ( + dev-python/pydantic[${PYTHON_USEDEP}] + dev-python/pytest-mock[${PYTHON_USEDEP}] + ) +" + +EPYTEST_IGNORE=( + # Tries to do wheel/pip installs + test/test_end2end.py +) + +distutils_enable_tests pytest + +python_prepare_all() { + sed -i -e '/-cov/d' tox.ini || die + distutils-r1_python_prepare_all +} + +python_test() { + epytest -p no:pytest-describe +} diff --git a/dev-python/xmlschema/Manifest b/dev-python/xmlschema/Manifest index 8581fcd5ba89..be175702c31f 100644 --- a/dev-python/xmlschema/Manifest +++ b/dev-python/xmlschema/Manifest @@ -1,2 +1,3 @@ DIST xmlschema-2.1.1.tar.gz 482988 BLAKE2B 8bcd66518e99b6df96a48408830388cba33530b8787ab733f5710e8ebdee3243cbbe8968c25060396c4d0e577dd40ae2438dab7afae5958386c886f235b3d96c SHA512 2c55de21ab4aaba9f499a0b348e60a50939af41b5ce43787c339ce86e4067681acf28b155bfba90346b1e8d976c468ad0ca21f73f76afc55bd700b1866bba945 DIST xmlschema-2.2.0.tar.gz 485104 BLAKE2B 3cafd67149043e8ee8a720afd08f4a37b343fcc245302d2754230e08a8c624f507cd1f8aca884e7d75717a9e794b936bf1c54b3d98a37f3ec687d97e3f6f919a SHA512 f613a8f49f3b373398e097017407cba4e6801886ef7ff479906d5180bd2a7020b2a2fb812aae444210b82ab2f8b12438b639c4418e2d5bedaa396fcaa69271f5 +DIST xmlschema-2.2.1.tar.gz 491212 BLAKE2B 75212d7e159b0719bd1c01e8e31da6aab2b6422bb497d7312160aee4d00a920e65a135852441c2c61e83a9d8d65c94d9f5ed0f05e967fb456ffd46f314a4bb13 SHA512 8e3eef6379cbcb67fc0dd90f9a962f0ba890c5c9a1334c2cfe695e701b8a3aa1fa97f8e50c1e87cbdb5f0b7790bb84e1a181c00b678134cfbeeb8578fa78f724 diff --git a/dev-python/xmlschema/xmlschema-2.2.1.ebuild b/dev-python/xmlschema/xmlschema-2.2.1.ebuild new file mode 100644 index 000000000000..cddf92e972f7 --- /dev/null +++ b/dev-python/xmlschema/xmlschema-2.2.1.ebuild @@ -0,0 +1,38 @@ +# Copyright 2019-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=setuptools +PYTHON_COMPAT=( python3_{7,8,9,10,11} pypy3 ) + +inherit distutils-r1 + +DESCRIPTION="An XML Schema validator and decoder" +HOMEPAGE=" + https://github.com/sissaschool/xmlschema/ + https://pypi.org/project/xmlschema/ +" +SRC_URI="mirror://pypi/${PN::1}/${PN}/${P}.tar.gz" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~m68k ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~x64-macos" +IUSE="test" +RESTRICT="!test? ( test )" + +RDEPEND=" + <dev-python/elementpath-5[${PYTHON_USEDEP}] + >=dev-python/elementpath-4.0.0[${PYTHON_USEDEP}] +" +BDEPEND=" + test? ( + ${RDEPEND} + dev-python/jinja[${PYTHON_USEDEP}] + dev-python/lxml[${PYTHON_USEDEP}] + ) +" + +python_test() { + "${EPYTHON}" tests/test_all.py -v || die "Tests fail with ${EPYTHON}" +} diff --git a/dev-python/zstd/Manifest b/dev-python/zstd/Manifest index f0433def3591..627f7872e79f 100644 --- a/dev-python/zstd/Manifest +++ b/dev-python/zstd/Manifest @@ -1 +1,2 @@ DIST zstd-1.5.2.6.tar.gz 606528 BLAKE2B 0d9b0937346e69a25eb834d2894ab74efdd3f35390afebc98a6cb255f18cdbe540433139d51f43bf0a9fb5d85bee588c7df8543842248e700652af3e3e721df2 SHA512 a692d87ffad4d148d56487fa740876653ccbd151ac8a897a35946a3899d4d3b3aaf6e9954a2050b4cee8137d5161481f3460a0e64ce339c624349bf030c9f975 +DIST zstd-1.5.4.0.tar.gz 620235 BLAKE2B 490415a1be76e4957f14e2e5137eca5a80290e4b492d551cd230826b500a36a8574d0c20eabd4d0bf6bf34d8c61f60f8e6aef5220bf3b0a2e5ba95eef1aa428f SHA512 f9a9301cb0f5f3f7fbf67dd44d9b748673894b89002f5666f394c093545a779370f79ab5a4fbe853be40d8701a5c9203a26da3ef6a243650f2c81a2c0d029b2d diff --git a/dev-python/zstd/zstd-1.5.4.0.ebuild b/dev-python/zstd/zstd-1.5.4.0.ebuild new file mode 100644 index 000000000000..146dd7f8fa7e --- /dev/null +++ b/dev-python/zstd/zstd-1.5.4.0.ebuild @@ -0,0 +1,33 @@ +# 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_{7,8,9,10,11} ) + +inherit distutils-r1 + +DESCRIPTION="Simple python bindings to Yann Collet ZSTD compression library" +HOMEPAGE=" + https://github.com/sergey-dryabzhinsky/python-zstd/ + https://pypi.org/project/zstd/ +" +SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" + +LICENSE="BSD-2" +SLOT="0" +KEYWORDS="~amd64 ~arm64 ~x86" + +DEPEND=" + app-arch/zstd:= +" +RDEPEND=" + ${DEPEND} +" + +distutils_enable_tests unittest + +src_configure() { + export ZSTD_EXTERNAL=1 +} |
