From b3219b4d742283192d0e9e98615a29d8ab8bfc41 Mon Sep 17 00:00:00 2001 From: "Liguros - Gitlab CI/CD [develop]" Date: Thu, 7 Apr 2022 01:42:45 +0000 Subject: Adding metadata --- dev-python/anyio/Manifest | 1 - dev-python/anyio/anyio-3.4.0.ebuild | 45 ------------ dev-python/anyio/anyio-3.5.0-r1.ebuild | 50 +++++++++++++ dev-python/anyio/anyio-3.5.0.ebuild | 45 ------------ dev-python/anyio/files/anyio-3.5.0-pytest-7.patch | 78 ++++++++++++++++++++ dev-python/astor/astor-0.8.1-r1.ebuild | 23 ++++++ dev-python/astor/astor-0.8.1.ebuild | 4 +- dev-python/cachelib/metadata.xml | 1 + dev-python/chameleon/Manifest | 1 + dev-python/chameleon/chameleon-3.10.0.ebuild | 30 ++++++++ dev-python/editables/Manifest | 1 + dev-python/editables/editables-0.2.ebuild | 25 +++++++ dev-python/editables/metadata.xml | 9 +++ dev-python/eradicate/Manifest | 1 + dev-python/eradicate/eradicate-2.1.0.ebuild | 21 ++++++ dev-python/hatchling/Manifest | 1 + dev-python/hatchling/hatchling-0.22.0.ebuild | 69 ++++++++++++++++++ dev-python/hatchling/metadata.xml | 9 +++ dev-python/immutables/immutables-0.16.ebuild | 4 +- dev-python/immutables/immutables-0.17.ebuild | 2 +- dev-python/keep/metadata.xml | 1 + dev-python/outcome/outcome-1.1.0-r1.ebuild | 37 ++++++++++ dev-python/outcome/outcome-1.1.0.ebuild | 18 +++-- dev-python/reedsolomon/reedsolomon-1.5.4-r1.ebuild | 2 +- dev-python/reedsolomon/reedsolomon-1.5.4.ebuild | 26 ------- dev-python/rpyc/Manifest | 1 + dev-python/rpyc/rpyc-5.1.0.ebuild | 60 ++++++++++++++++ dev-python/sqlalchemy/Manifest | 1 + dev-python/sqlalchemy/sqlalchemy-1.4.35.ebuild | 83 ++++++++++++++++++++++ dev-python/trimesh/Manifest | 2 +- dev-python/trimesh/trimesh-3.10.6.ebuild | 62 ---------------- dev-python/trimesh/trimesh-3.10.7.ebuild | 62 ++++++++++++++++ dev-python/unittest-or-fail/Manifest | 1 + .../unittest-or-fail/unittest-or-fail-2.ebuild | 27 +++++++ 34 files changed, 610 insertions(+), 193 deletions(-) delete mode 100644 dev-python/anyio/anyio-3.4.0.ebuild create mode 100644 dev-python/anyio/anyio-3.5.0-r1.ebuild delete mode 100644 dev-python/anyio/anyio-3.5.0.ebuild create mode 100644 dev-python/anyio/files/anyio-3.5.0-pytest-7.patch create mode 100644 dev-python/astor/astor-0.8.1-r1.ebuild create mode 100644 dev-python/chameleon/chameleon-3.10.0.ebuild create mode 100644 dev-python/editables/Manifest create mode 100644 dev-python/editables/editables-0.2.ebuild create mode 100644 dev-python/editables/metadata.xml create mode 100644 dev-python/eradicate/eradicate-2.1.0.ebuild create mode 100644 dev-python/hatchling/Manifest create mode 100644 dev-python/hatchling/hatchling-0.22.0.ebuild create mode 100644 dev-python/hatchling/metadata.xml create mode 100644 dev-python/outcome/outcome-1.1.0-r1.ebuild delete mode 100644 dev-python/reedsolomon/reedsolomon-1.5.4.ebuild create mode 100644 dev-python/rpyc/rpyc-5.1.0.ebuild create mode 100644 dev-python/sqlalchemy/sqlalchemy-1.4.35.ebuild delete mode 100644 dev-python/trimesh/trimesh-3.10.6.ebuild create mode 100644 dev-python/trimesh/trimesh-3.10.7.ebuild create mode 100644 dev-python/unittest-or-fail/unittest-or-fail-2.ebuild (limited to 'dev-python') diff --git a/dev-python/anyio/Manifest b/dev-python/anyio/Manifest index d8102ac9e4f7..649b535674dc 100644 --- a/dev-python/anyio/Manifest +++ b/dev-python/anyio/Manifest @@ -1,2 +1 @@ -DIST anyio-3.4.0.tar.gz 135737 BLAKE2B 6023d051a10a067b8c86576dd80571a64c72a807c56235ecd7bad364b79b10c5b845c6b584c5310db01b3bfdd92deeaf64b855716b9fa817fe2fc590de33ec4c SHA512 276fb5fc243e2c7f80a069f604ef68eeaca923c0df6f533878f9bf2185e846e537a1b9a8f19260a3c9ad3aad70898884316e6783057044a936762f7eb1f1cb9a DIST anyio-3.5.0.tar.gz 136934 BLAKE2B 422d604c23658844467926f42c09895e54debfd3ddf2f7fa561eccae0c9cbc225f51d663cb9f98a2455736ad7a81eb4ae40a6f3ad66f3d2f0b02d0a5157203e0 SHA512 b91124c95d194eb7e4542405a973895d21562a2636d9600d528465da52536d1ffedbf5a6fc3ea5b1ff3e83e7dca2b42f090bb2ff6b077e32f5a2c314f07d3206 diff --git a/dev-python/anyio/anyio-3.4.0.ebuild b/dev-python/anyio/anyio-3.4.0.ebuild deleted file mode 100644 index 2ed3197e944c..000000000000 --- a/dev-python/anyio/anyio-3.4.0.ebuild +++ /dev/null @@ -1,45 +0,0 @@ -# Copyright 1999-2022 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=7 - -PYTHON_COMPAT=( python3_{7,8,9,10} ) - -inherit distutils-r1 - -DESCRIPTION="Compatibility layer for multiple asynchronous event loop implementations" -HOMEPAGE=" - https://github.com/agronholm/anyio - https://pypi.org/project/anyio/ -" -SRC_URI="mirror://pypi/${P:0:1}/${PN}/${P}.tar.gz" - -LICENSE="MIT" -SLOT="0" -KEYWORDS="amd64 arm arm64 hppa ppc ppc64 ~riscv sparc x86" - -RDEPEND=" - >=dev-python/idna-2.8[${PYTHON_USEDEP}] - >=dev-python/sniffio-1.1[${PYTHON_USEDEP}] -" - -BDEPEND=" - test? ( - >=dev-python/hypothesis-4.0[${PYTHON_USEDEP}] - >=dev-python/pytest-6.2[${PYTHON_USEDEP}] - >=dev-python/pytest-mock-3.6.1[${PYTHON_USEDEP}] - dev-python/trustme[${PYTHON_USEDEP}] - >=dev-python/uvloop-0.15[${PYTHON_USEDEP}] - ) -" - -distutils_enable_tests --install pytest -distutils_enable_sphinx docs \ - dev-python/sphinx_rtd_theme \ - dev-python/sphinx-autodoc-typehints - -python_test() { - local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1 - distutils_install_for_testing --via-venv - epytest -m 'not network' -} diff --git a/dev-python/anyio/anyio-3.5.0-r1.ebuild b/dev-python/anyio/anyio-3.5.0-r1.ebuild new file mode 100644 index 000000000000..d9afa6b0629d --- /dev/null +++ b/dev-python/anyio/anyio-3.5.0-r1.ebuild @@ -0,0 +1,50 @@ +# Copyright 1999-2022 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} ) + +inherit distutils-r1 + +DESCRIPTION="Compatibility layer for multiple asynchronous event loop implementations" +HOMEPAGE=" + https://github.com/agronholm/anyio/ + https://pypi.org/project/anyio/ +" +SRC_URI="mirror://pypi/${P:0:1}/${PN}/${P}.tar.gz" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="amd64 arm arm64 hppa ~ia64 ppc ppc64 ~riscv ~s390 sparc x86" + +RDEPEND=" + >=dev-python/idna-2.8[${PYTHON_USEDEP}] + >=dev-python/sniffio-1.1[${PYTHON_USEDEP}] +" +# On amd64, let's get more test coverage by dragging in uvloop, but let's +# not bother on other arches where uvloop may not be supported. +BDEPEND=" + test? ( + >=dev-python/hypothesis-4.0[${PYTHON_USEDEP}] + >=dev-python/pytest-7[${PYTHON_USEDEP}] + >=dev-python/pytest-mock-3.6.1[${PYTHON_USEDEP}] + dev-python/trustme[${PYTHON_USEDEP}] + amd64? ( >=dev-python/uvloop-0.15[${PYTHON_USEDEP}] ) + ) +" + +distutils_enable_tests pytest +distutils_enable_sphinx docs \ + dev-python/sphinx_rtd_theme \ + dev-python/sphinx-autodoc-typehints + +PATCHES=( + "${FILESDIR}"/${P}-pytest-7.patch +) + +python_test() { + local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1 + epytest -m 'not network' +} diff --git a/dev-python/anyio/anyio-3.5.0.ebuild b/dev-python/anyio/anyio-3.5.0.ebuild deleted file mode 100644 index 3d24b45cd56c..000000000000 --- a/dev-python/anyio/anyio-3.5.0.ebuild +++ /dev/null @@ -1,45 +0,0 @@ -# Copyright 1999-2022 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -PYTHON_COMPAT=( python3_{7,8,9,10} ) -inherit distutils-r1 - -DESCRIPTION="Compatibility layer for multiple asynchronous event loop implementations" -HOMEPAGE=" - https://github.com/agronholm/anyio - https://pypi.org/project/anyio/ -" -SRC_URI="mirror://pypi/${P:0:1}/${PN}/${P}.tar.gz" - -LICENSE="MIT" -SLOT="0" -KEYWORDS="amd64 arm arm64 hppa ~ia64 ppc ppc64 ~riscv ~s390 sparc x86" - -RDEPEND=" - >=dev-python/idna-2.8[${PYTHON_USEDEP}] - >=dev-python/sniffio-1.1[${PYTHON_USEDEP}] -" -# On amd64, let's get more test coverage by dragging in uvloop, but let's -# not bother on other arches where uvloop may not be supported. -BDEPEND=" - test? ( - >=dev-python/hypothesis-4.0[${PYTHON_USEDEP}] - >=dev-python/pytest-6.2[${PYTHON_USEDEP}] - >=dev-python/pytest-mock-3.6.1[${PYTHON_USEDEP}] - dev-python/trustme[${PYTHON_USEDEP}] - amd64? ( >=dev-python/uvloop-0.15[${PYTHON_USEDEP}] ) - ) -" - -distutils_enable_tests --install pytest -distutils_enable_sphinx docs \ - dev-python/sphinx_rtd_theme \ - dev-python/sphinx-autodoc-typehints - -python_test() { - local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1 - distutils_install_for_testing --via-venv - epytest -m 'not network' -} diff --git a/dev-python/anyio/files/anyio-3.5.0-pytest-7.patch b/dev-python/anyio/files/anyio-3.5.0-pytest-7.patch new file mode 100644 index 000000000000..858404632959 --- /dev/null +++ b/dev-python/anyio/files/anyio-3.5.0-pytest-7.patch @@ -0,0 +1,78 @@ +From fed7cc4f95e196f68251bcb9253da3b143ea8e7e Mon Sep 17 00:00:00 2001 +From: =?UTF-8?q?Alex=20Gr=C3=B6nholm?= +Date: Mon, 7 Feb 2022 00:16:18 +0200 +Subject: [PATCH] Upgraded pytest to 7.0 + +--- + setup.cfg | 2 +- + tests/test_pytest_plugin.py | 14 +++++++------- + 2 files changed, 8 insertions(+), 8 deletions(-) + +diff --git a/tests/test_pytest_plugin.py b/tests/test_pytest_plugin.py +index 4255702..f3b0e0c 100644 +--- a/tests/test_pytest_plugin.py ++++ b/tests/test_pytest_plugin.py +@@ -1,5 +1,5 @@ + import pytest +-from _pytest.pytester import Testdir ++from _pytest.pytester import Pytester + + from anyio import get_all_backends + +@@ -9,7 +9,7 @@ pytestmark = pytest.mark.filterwarnings( + pytest_args = '-v', '-p', 'anyio', '-p', 'no:asyncio' + + +-def test_plugin(testdir: Testdir) -> None: ++def test_plugin(testdir: Pytester) -> None: + testdir.makeconftest( + """ + import sniffio +@@ -67,7 +67,7 @@ def test_plugin(testdir: Testdir) -> None: + result.assert_outcomes(passed=3 * len(get_all_backends()), skipped=len(get_all_backends())) + + +-def test_asyncio(testdir: Testdir) -> None: ++def test_asyncio(testdir: Pytester) -> None: + testdir.makeconftest( + """ + import asyncio +@@ -140,7 +140,7 @@ def test_asyncio(testdir: Testdir) -> None: + result.assert_outcomes(passed=2, failed=1, errors=2) + + +-def test_autouse_async_fixture(testdir: Testdir) -> None: ++def test_autouse_async_fixture(testdir: Pytester) -> None: + testdir.makeconftest( + """ + import pytest +@@ -177,7 +177,7 @@ def test_autouse_async_fixture(testdir: Testdir) -> None: + result.assert_outcomes(passed=len(get_all_backends())) + + +-def test_cancel_scope_in_asyncgen_fixture(testdir: Testdir) -> None: ++def test_cancel_scope_in_asyncgen_fixture(testdir: Pytester) -> None: + testdir.makepyfile( + """ + import pytest +@@ -204,7 +204,7 @@ def test_cancel_scope_in_asyncgen_fixture(testdir: Testdir) -> None: + result.assert_outcomes(passed=len(get_all_backends())) + + +-def test_hypothesis_module_mark(testdir: Testdir) -> None: ++def test_hypothesis_module_mark(testdir: Pytester) -> None: + testdir.makepyfile( + """ + import pytest +@@ -235,7 +235,7 @@ def test_hypothesis_module_mark(testdir: Testdir) -> None: + result.assert_outcomes(passed=len(get_all_backends()) + 1, xfailed=len(get_all_backends())) + + +-def test_hypothesis_function_mark(testdir: Testdir) -> None: ++def test_hypothesis_function_mark(testdir: Pytester) -> None: + testdir.makepyfile( + """ + import pytest +-- +2.35.1 + diff --git a/dev-python/astor/astor-0.8.1-r1.ebuild b/dev-python/astor/astor-0.8.1-r1.ebuild new file mode 100644 index 000000000000..fa5931bb8ab8 --- /dev/null +++ b/dev-python/astor/astor-0.8.1-r1.ebuild @@ -0,0 +1,23 @@ +# Copyright 1999-2022 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} pypy3 ) + +inherit distutils-r1 + +DESCRIPTION="Read/rewrite/write Python ASTs" +SRC_URI="mirror://pypi/${P:0:1}/${PN}/${P}.tar.gz" +HOMEPAGE="https://pypi.org/project/astor/" + +LICENSE="BSD" +SLOT="0" +KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ia64 ~ppc ~ppc64 ~riscv ~sparc ~x86" + +distutils_enable_tests pytest + +EPYTEST_IGNORE=( + tests/test_rtrip.py +) diff --git a/dev-python/astor/astor-0.8.1.ebuild b/dev-python/astor/astor-0.8.1.ebuild index 643709f7888c..b32ad2d286f4 100644 --- a/dev-python/astor/astor-0.8.1.ebuild +++ b/dev-python/astor/astor-0.8.1.ebuild @@ -1,9 +1,9 @@ -# Copyright 1999-2021 Gentoo Authors +# Copyright 1999-2022 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=7 -PYTHON_COMPAT=( python3_{7,8,9,10} ) +PYTHON_COMPAT=( python3_{7,8,9,10} pypy3 ) inherit distutils-r1 DESCRIPTION="Read/rewrite/write Python ASTs" diff --git a/dev-python/cachelib/metadata.xml b/dev-python/cachelib/metadata.xml index 6e55d8c349fa..f2997735a4a2 100644 --- a/dev-python/cachelib/metadata.xml +++ b/dev-python/cachelib/metadata.xml @@ -3,6 +3,7 @@ kensington@gentoo.org + Michael Palimaka python@gentoo.org diff --git a/dev-python/chameleon/Manifest b/dev-python/chameleon/Manifest index c2631240c51b..07573ec9b4b2 100644 --- a/dev-python/chameleon/Manifest +++ b/dev-python/chameleon/Manifest @@ -1 +1,2 @@ +DIST chameleon-3.10.0.gh.tar.gz 136996 BLAKE2B a622fa4d972dc0bea9532f0815b586e17d56fc4da94bad37f83fb29d2a94442da2a7d1ebd00fdfb0a877fcf9a2d269c2c3780ec9cf96ad772952b096a1ca1db2 SHA512 de59a4f1d0243beae91008f93741e9565831ea3b07c3f39e20e15ecc7220711a78bf475844fcaa9dc25f2376b0e937779ca28bd58f7c9b95fa2cf35cc7212117 DIST chameleon-3.9.1.gh.tar.gz 136555 BLAKE2B 277df179cd26f1edc6513bc6a80d6f7a7f9f95b1562efa23f454d7055ffbeaf59d7a726bfe8969505b0839138c7f97fdb810754bb0342060a79b23abecb3ad36 SHA512 53b0aeeef89df7cacc299dad20e05023c638e708604876ce5269f22bab00e5001b640123920aef0ef9a0f554bbd37d151bedfdfe55ec161defe6b6f3781d841e diff --git a/dev-python/chameleon/chameleon-3.10.0.ebuild b/dev-python/chameleon/chameleon-3.10.0.ebuild new file mode 100644 index 000000000000..453d6d5462f0 --- /dev/null +++ b/dev-python/chameleon/chameleon-3.10.0.ebuild @@ -0,0 +1,30 @@ +# Copyright 1999-2022 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} pypy3 ) + +inherit distutils-r1 + +DESCRIPTION="Fast HTML/XML template compiler for Python" +HOMEPAGE=" + https://github.com/malthe/chameleon/ + https://pypi.org/project/Chameleon/ +" +SRC_URI=" + https://github.com/malthe/chameleon/archive/${PV}.tar.gz + -> ${P}.gh.tar.gz +" + +LICENSE="repoze" +SLOT="0" +KEYWORDS="~amd64 ~x86" + +distutils_enable_tests unittest + +src_test() { + cd src || die + distutils-r1_src_test +} diff --git a/dev-python/editables/Manifest b/dev-python/editables/Manifest new file mode 100644 index 000000000000..638b7f405e29 --- /dev/null +++ b/dev-python/editables/Manifest @@ -0,0 +1 @@ +DIST editables-0.2.gh.tar.gz 6488 BLAKE2B 02c3e0c352effa902306f5c5a7b6b96cae74c8d8f620dabb3fa4df2568c5d730ecf3a078bfdab8ef87bfa29cb95b24563587de361337a8617fa0776b890b35d2 SHA512 39adc72f9710c28853ffebc9c0757f779e948bed7fc32f78bf52bc26ef4a6a5b351bf011bbf9353fc68e6ef2506481927c3558f8fd6650d61ac7a09591566b74 diff --git a/dev-python/editables/editables-0.2.ebuild b/dev-python/editables/editables-0.2.ebuild new file mode 100644 index 000000000000..b43cd082926a --- /dev/null +++ b/dev-python/editables/editables-0.2.ebuild @@ -0,0 +1,25 @@ +# Copyright 2022 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} pypy3 ) + +inherit distutils-r1 + +DESCRIPTION="A Python library for creating 'editable wheels'" +HOMEPAGE=" + https://pypi.org/project/editables/ + https://github.com/pfmoore/editables/ +" +SRC_URI=" + https://github.com/mgorny/editables/archive/v${PV}.tar.gz + -> ${P}.gh.tar.gz +" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64" + +distutils_enable_tests pytest diff --git a/dev-python/editables/metadata.xml b/dev-python/editables/metadata.xml new file mode 100644 index 000000000000..7ad11570cc7d --- /dev/null +++ b/dev-python/editables/metadata.xml @@ -0,0 +1,9 @@ + + + + + python@gentoo.org + + + gentoo-staging + \ No newline at end of file diff --git a/dev-python/eradicate/Manifest b/dev-python/eradicate/Manifest index b5574785b132..83c173a3975f 100644 --- a/dev-python/eradicate/Manifest +++ b/dev-python/eradicate/Manifest @@ -1 +1,2 @@ DIST eradicate-2.0.0.tar.gz 8390 BLAKE2B 22dced2414622138655be80d1c10b746519d313959c7620cb54c4dc27247b0c29b7607c54934fe1dc379bec2cb729213b7ffb1d27f3f7f9b9a9d186aa9402674 SHA512 947a3890ccb1dbb52e73b37e632ae5ba1eff732d9d0b0dc127fa8dc908412e864fcda3203274d5eb1645b22f6e97a90ebb13cd4363a2360d6591475d909bdb96 +DIST eradicate-2.1.0.tar.gz 8706 BLAKE2B 5b5cab1c465c8295157bec1e8e39f0e33dbe31957da01ec44bbabf54a2b19c519a35cd7d2b92217d5395ce7397b3ae70175766a83b66d05e723fc5b5a019eb40 SHA512 a9b06745bceff909a1bbe34348b8e4c17d7f1e0ab3b554206633f350725c34a9b7238b3af6a40516081bc06aa86cdd593b27b90efa083ac024b0226f7cfc4df3 diff --git a/dev-python/eradicate/eradicate-2.1.0.ebuild b/dev-python/eradicate/eradicate-2.1.0.ebuild new file mode 100644 index 000000000000..735580da535b --- /dev/null +++ b/dev-python/eradicate/eradicate-2.1.0.ebuild @@ -0,0 +1,21 @@ +# Copyright 1999-2022 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} pypy3 ) + +inherit distutils-r1 + +DESCRIPTION="Removes commented-out code from Python files" +HOMEPAGE="https://github.com/myint/eradicate" +# TODO: revert to PyPI tarball once it includes tests +# https://github.com/myint/eradicate/pull/28 +SRC_URI="https://github.com/myint/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86" + +distutils_enable_tests unittest diff --git a/dev-python/hatchling/Manifest b/dev-python/hatchling/Manifest new file mode 100644 index 000000000000..cbdd38ddb3fb --- /dev/null +++ b/dev-python/hatchling/Manifest @@ -0,0 +1 @@ +DIST hatch-hatchling-v0.22.0.tar.gz 201590 BLAKE2B c75e48a19e10f04d9bb1d09beea0ec6598bded5dc9e595f363a076731b7708bae55169ee780931b548478c16db093053c65e30a5510f7b0136c1d339caf29d39 SHA512 cc532b66752d0494b62fb4ed88c8b7870d5618c991b301f46b644aa90b656cfe842efd2fa96797a6b96015deb3468ff8ff69058bd146133360de340d367a5489 diff --git a/dev-python/hatchling/hatchling-0.22.0.ebuild b/dev-python/hatchling/hatchling-0.22.0.ebuild new file mode 100644 index 000000000000..565caded177b --- /dev/null +++ b/dev-python/hatchling/hatchling-0.22.0.ebuild @@ -0,0 +1,69 @@ +# Copyright 2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=standalone +PYTHON_COMPAT=( python3_{7,8,9,10} ) + +inherit distutils-r1 + +TAG=${P/-/-v} +MY_P=hatch-${TAG} +DESCRIPTION="Modern, extensible Python build backend" +HOMEPAGE=" + https://pypi.org/project/hatchling/ + https://github.com/ofek/hatch/ +" +SRC_URI=" + https://github.com/ofek/hatch/archive/${TAG}.tar.gz + -> ${MY_P}.tar.gz +" +S=${WORKDIR}/${MY_P}/backend + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64" + +RDEPEND=" + >=dev-python/editables-0.2[${PYTHON_USEDEP}] + >=dev-python/packaging-21.3[${PYTHON_USEDEP}] + >=dev-python/pathspec-0.9[${PYTHON_USEDEP}] + >=dev-python/pluggy-1.0.0[${PYTHON_USEDEP}] + >=dev-python/tomli-1.2.2[${PYTHON_USEDEP}] +" +BDEPEND=" + ${RDEPEND} + test? ( + dev-python/atomicwrites[${PYTHON_USEDEP}] + dev-python/click[${PYTHON_USEDEP}] + dev-python/httpx[${PYTHON_USEDEP}] + dev-python/rich[${PYTHON_USEDEP}] + ) +" + +distutils_enable_tests pytest + +python_compile() { + # TODO: remove this when gpep517 is the norm + local -x PYTHONPATH=src + distutils-r1_python_compile +} + +python_test() { + local -x EPYTEST_DESELECT=( + # these run pip to install stuff + tests/backend/dep/test_core.py::test_dependency_found + tests/backend/dep/test_core.py::test_extra_met + tests/backend/dep/test_core.py::test_extra_no_dependencies + tests/backend/dep/test_core.py::test_extra_unmet + tests/backend/dep/test_core.py::test_unknown_extra + tests/backend/dep/test_core.py::test_version_unmet + ) + + # top-level "tests" directory contains tests both for hatch + # and hatchling + cd "${WORKDIR}/${MY_P}" || die + local -x PYTHONPATH="src:${PYTHONPATH}" + epytest -x tests/backend +} diff --git a/dev-python/hatchling/metadata.xml b/dev-python/hatchling/metadata.xml new file mode 100644 index 000000000000..7ad11570cc7d --- /dev/null +++ b/dev-python/hatchling/metadata.xml @@ -0,0 +1,9 @@ + + + + + python@gentoo.org + + + gentoo-staging + \ No newline at end of file diff --git a/dev-python/immutables/immutables-0.16.ebuild b/dev-python/immutables/immutables-0.16.ebuild index 34cc1625a692..d558c19dc635 100644 --- a/dev-python/immutables/immutables-0.16.ebuild +++ b/dev-python/immutables/immutables-0.16.ebuild @@ -1,9 +1,9 @@ -# Copyright 2019-2021 Gentoo Authors +# Copyright 2019-2022 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 -PYTHON_COMPAT=( python3_{7,8,9,10} ) +PYTHON_COMPAT=( python3_{7,8,9,10} pypy3 ) inherit distutils-r1 DESCRIPTION="A high-performance immutable mapping type for Python" diff --git a/dev-python/immutables/immutables-0.17.ebuild b/dev-python/immutables/immutables-0.17.ebuild index ec2584457b16..58044d02460b 100644 --- a/dev-python/immutables/immutables-0.17.ebuild +++ b/dev-python/immutables/immutables-0.17.ebuild @@ -4,7 +4,7 @@ EAPI=8 DISTUTILS_USE_PEP517=setuptools -PYTHON_COMPAT=( python3_{7,8,9,10} ) +PYTHON_COMPAT=( python3_{7,8,9,10} pypy3 ) inherit distutils-r1 diff --git a/dev-python/keep/metadata.xml b/dev-python/keep/metadata.xml index 8534ae9521b2..f0b149db7fa9 100644 --- a/dev-python/keep/metadata.xml +++ b/dev-python/keep/metadata.xml @@ -3,6 +3,7 @@ kensington@gentoo.org + Michael Palimaka gentoo-staging diff --git a/dev-python/outcome/outcome-1.1.0-r1.ebuild b/dev-python/outcome/outcome-1.1.0-r1.ebuild new file mode 100644 index 000000000000..c101612e0382 --- /dev/null +++ b/dev-python/outcome/outcome-1.1.0-r1.ebuild @@ -0,0 +1,37 @@ +# Copyright 1999-2022 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} pypy3 ) + +inherit distutils-r1 + +DESCRIPTION="Capture the outcome of Python function calls" +HOMEPAGE=" + https://github.com/python-trio/outcome + https://pypi.org/project/outcome +" +SRC_URI=" + https://github.com/python-trio/${PN}/archive/v${PV}.tar.gz + -> ${P}.tar.gz +" + +LICENSE="|| ( Apache-2.0 MIT )" +SLOT="0" +KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ia64 ~ppc ~ppc64 ~riscv ~sparc ~x86" + +RDEPEND=" + dev-python/attrs[${PYTHON_USEDEP}] +" + +BDEPEND=" + test? ( + dev-python/async_generator[${PYTHON_USEDEP}] + dev-python/pytest-asyncio[${PYTHON_USEDEP}] + ) +" + +distutils_enable_tests pytest +distutils_enable_sphinx docs/source dev-python/sphinxcontrib-trio diff --git a/dev-python/outcome/outcome-1.1.0.ebuild b/dev-python/outcome/outcome-1.1.0.ebuild index e19f77907b79..8e26f96022ce 100644 --- a/dev-python/outcome/outcome-1.1.0.ebuild +++ b/dev-python/outcome/outcome-1.1.0.ebuild @@ -1,9 +1,9 @@ -# Copyright 1999-2021 Gentoo Authors +# Copyright 1999-2022 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=7 -PYTHON_COMPAT=( python3_{7,8,9,10} ) +PYTHON_COMPAT=( python3_{7,8,9,10} pypy3 ) inherit distutils-r1 @@ -18,12 +18,16 @@ LICENSE="|| ( Apache-2.0 MIT )" SLOT="0" KEYWORDS="amd64 arm arm64 hppa ~ia64 ppc ppc64 ~riscv sparc x86" -RDEPEND="dev-python/attrs[${PYTHON_USEDEP}]" +RDEPEND=" + dev-python/attrs[${PYTHON_USEDEP}] +" -BDEPEND="test? ( - dev-python/async_generator[${PYTHON_USEDEP}] - dev-python/pytest-asyncio[${PYTHON_USEDEP}] -)" +BDEPEND=" + test? ( + dev-python/async_generator[${PYTHON_USEDEP}] + dev-python/pytest-asyncio[${PYTHON_USEDEP}] + ) +" distutils_enable_tests pytest distutils_enable_sphinx docs/source dev-python/sphinxcontrib-trio diff --git a/dev-python/reedsolomon/reedsolomon-1.5.4-r1.ebuild b/dev-python/reedsolomon/reedsolomon-1.5.4-r1.ebuild index ef8846cb39b5..77c71c431f81 100644 --- a/dev-python/reedsolomon/reedsolomon-1.5.4-r1.ebuild +++ b/dev-python/reedsolomon/reedsolomon-1.5.4-r1.ebuild @@ -12,7 +12,7 @@ SRC_URI="https://github.com/tomerfiliba/${PN}/archive/v${PV}.tar.gz -> ${P}.tar. LICENSE="public-domain" SLOT="0" -KEYWORDS="~amd64 ~arm ~arm64 x86" +KEYWORDS="amd64 ~arm ~arm64 x86" IUSE="test" RESTRICT="!test? ( test )" diff --git a/dev-python/reedsolomon/reedsolomon-1.5.4.ebuild b/dev-python/reedsolomon/reedsolomon-1.5.4.ebuild deleted file mode 100644 index 84340d0499d8..000000000000 --- a/dev-python/reedsolomon/reedsolomon-1.5.4.ebuild +++ /dev/null @@ -1,26 +0,0 @@ -# Copyright 2020-2021 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=7 - -PYTHON_COMPAT=( python3_{7,8,9,10} ) -inherit distutils-r1 - -DESCRIPTION="Pure-Python Reed Solomon encoder/decoder" -HOMEPAGE="https://github.com/tomerfiliba/reedsolomon https://pypi.org/project/reedsolo/" -SRC_URI="https://github.com/tomerfiliba/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz" - -LICENSE="public-domain" -SLOT="0" -KEYWORDS="amd64 ~arm ~arm64 x86" -IUSE="test" -RESTRICT="!test? ( test )" - -BDEPEND=" - dev-python/cython[${PYTHON_USEDEP}] -" - -python_test() { - ${EPYTHON} tests/test_creedsolo.py || die "creedsolo test failed with ${EPYTHON}" - ${EPYTHON} tests/test_reedsolo.py || die "reedsolo test failed with ${EPYTHON}" -} diff --git a/dev-python/rpyc/Manifest b/dev-python/rpyc/Manifest index 5f6d96f50968..53b06ac7aae5 100644 --- a/dev-python/rpyc/Manifest +++ b/dev-python/rpyc/Manifest @@ -1 +1,2 @@ DIST rpyc-5.0.1.tar.gz 1258657 BLAKE2B 84d0bee67004928c26a1765a26267e3e8eb5dc09a8fd53c1d75ca691cf313a7563398626b7e89a8893415294721623206204784da01444708edb56aec8101719 SHA512 57b0d6b2dba33c7f6c9d204b4deae8ab08ed56e5799aa2c7ae4bcb8ab98486055090e3079d8b0d615fcd517111a6e02893dff85607aaca5497ae76429abe3148 +DIST rpyc-5.1.0.tar.gz 1260651 BLAKE2B 4be17e5de4b0475cd63b99bf20e55e3221149f974b9efec638e0387d71815a5a2e4ea782578152690e019e7b8a4ece17405eed6626578a9c9e379d0f4b589008 SHA512 e9783392f423abca6b488dff5be36dae066980004bd221ca5a1c451f0f9dc7e1daf749650106802f9159de619a8d5e2cd6dc90e9a5f49d16f01bbedd59b504cf diff --git a/dev-python/rpyc/rpyc-5.1.0.ebuild b/dev-python/rpyc/rpyc-5.1.0.ebuild new file mode 100644 index 000000000000..0c0fe085a542 --- /dev/null +++ b/dev-python/rpyc/rpyc-5.1.0.ebuild @@ -0,0 +1,60 @@ +# Copyright 1999-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 +PYTHON_COMPAT=( python3_{7,8,9,10} ) + +inherit distutils-r1 + +DESCRIPTION="Remote Python Call (RPyC), a transparent and symmetric RPC library" +HOMEPAGE="https://rpyc.readthedocs.io/en/latest/ + https://pypi.org/project/rpyc/ + https://github.com/tomerfiliba-org/rpyc" +SRC_URI="https://github.com/tomerfiliba-org/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64 ~x86" + +# USE flags gdb, numpy are used *only* to run tests depending on these packages +IUSE="test numpy gdb" +RESTRICT="!test? ( test )" +DEPEND="dev-python/setuptools[${PYTHON_USEDEP}] + numpy? ( dev-python/numpy[${PYTHON_USEDEP}] dev-python/pandas[${PYTHON_USEDEP}] ) + gdb? ( sys-devel/gdb )" + +RDEPEND="dev-python/plumbum[${PYTHON_USEDEP}] + dev-python/gevent[${PYTHON_USEDEP}]" + +src_prepare() { + default + + # Windows specific test + rm tests/test_win32pipes.py || die "rm tests/test_win32pipes.py failed" + + # These tests require running sshd + rm tests/test_ssh.py tests/test_deploy.py || die "rm test_ssh.py test_deploy.py failed" + + # This test requires internet access + rm tests/test_registry.py || die "rm test_registry.py failed" + + # This test fails with NO_CIPHERS_AVAILABLE + rm tests/test_ssl.py || die "rm test_ssl.py failed" + + if ! use numpy + then rm tests/test_service_pickle.py || die "rm test_service_pickle.py failed" + fi + + if ! use gdb + then rm tests/test_gdb.py || die "rm test_gdb.py failed" + fi +} + +python_test() { + # for some reason, when tests are run via pytest or nose, some of them hung + pushd tests > /dev/null || die "pushd tests failed" + for x in test_*.py + do ${PYTHON} ${x} || die "${x} failed" + done + popd > /dev/null +} diff --git a/dev-python/sqlalchemy/Manifest b/dev-python/sqlalchemy/Manifest index a8231818fc7b..dbee9b2d4c8c 100644 --- a/dev-python/sqlalchemy/Manifest +++ b/dev-python/sqlalchemy/Manifest @@ -2,3 +2,4 @@ DIST SQLAlchemy-1.3.24.tar.gz 6353598 BLAKE2B 6eb92b20fa3412a1f1398e18e902e33383 DIST SQLAlchemy-1.4.31.tar.gz 7999646 BLAKE2B 4c394aaa4bc5636cc90f06017466c227b5e16fc54c3a9a42b18cc13906640e4710146325e870598f8905074bf6dad42ea524febc029b1dd5f063e978ebc9a442 SHA512 e54261fcf992845b2e6be47d23f530aec28c7517e6741b1b6a101b9888d3dc3162c1eeab0acc1edb33f56f1360bae3cdccdbcbff0e1e88e477c93d0cd910c17c DIST SQLAlchemy-1.4.32.tar.gz 8077546 BLAKE2B 8eb0b617cdc147da21722f3e9b7c9c0659c9bc02f0530c724a7c8afafa9ea018c0558b58baa0387d84627115d474e87996fe8c7768ac53d55a0c817bc8f167b7 SHA512 e9bc125cb531182c97c9588bc7b87028ec334efe63d81d0bee0e7f74b0ce88ac183236298a05cdac42f3a0241b543528bf6f225d199e4bf6d8199caca63581bd DIST SQLAlchemy-1.4.34.tar.gz 8133799 BLAKE2B ec8b14bf4df2d9188805bf49aac394d5944e234099bcb9f20cbbb4114c757bee5933d1fd7025e6eda01bf7be6603cae83ff751928783134031ddf1ccf5d36da7 SHA512 c3158dc2c52dd865d98b84ce4cf0adde38300504d5f5ff61f953927baf8f2264d53255f6e83e2ce2f720529f1e8b3e57e684d56a57fd6a0881bd4f1ba10b373f +DIST SQLAlchemy-1.4.35.tar.gz 8136388 BLAKE2B 01a47eab8e11daef133a218a7ef13fa149fb4616b531c3c6d227cc26e3264c259f42770b72335a9fbda5e66ae1ce242fcbe676a528ca1af896d990a84a1f1a57 SHA512 195ab35934bca36e7c4c2127f153eff31775f7f150163912f79143efae63911eded67d8645e08ede2c533c675d18c3c5796235e0c0f6d1e6ebb97664ac13f171 diff --git a/dev-python/sqlalchemy/sqlalchemy-1.4.35.ebuild b/dev-python/sqlalchemy/sqlalchemy-1.4.35.ebuild new file mode 100644 index 000000000000..3bc07d870bc8 --- /dev/null +++ b/dev-python/sqlalchemy/sqlalchemy-1.4.35.ebuild @@ -0,0 +1,83 @@ +# Copyright 1999-2022 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} pypy3 ) +PYTHON_REQ_USE="sqlite?" + +inherit distutils-r1 optfeature + +MY_PN="SQLAlchemy" +MY_P="${MY_PN}-${PV/_beta/b}" + +DESCRIPTION="Python SQL toolkit and Object Relational Mapper" +HOMEPAGE=" + https://www.sqlalchemy.org/ + https://pypi.org/project/SQLAlchemy/ + https://github.com/sqlalchemy/sqlalchemy/ +" +SRC_URI="mirror://pypi/${MY_P:0:1}/${MY_PN}/${MY_P}.tar.gz" +S="${WORKDIR}/${MY_P}" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x64-solaris" +IUSE="examples +sqlite test" + +BDEPEND=" + test? ( + $(python_gen_impl_dep sqlite) + ) +" + +distutils_enable_tests pytest + +EPYTEST_IGNORE=( + # hardcode call counts specific to Python versions + test/aaa_profiling +) + +src_prepare() { + sed -i -e '/greenlet/d' setup.cfg || die + distutils-r1_src_prepare +} + +python_test() { + local EPYTEST_DESELECT=() + [[ ${EPYTHON} == pypy3 ]] && EPYTEST_DESELECT+=( + test/ext/test_associationproxy.py::ProxyHybridTest::test_msg_fails_on_cls_access + ) + + # upstream's test suite is horribly hacky; it relies on disabling + # the warnings plugin and turning warnings into errors; this also + # means that any DeprecationWarnings from third-party plugins cause + # everything to explode + local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1 + local -x PYTEST_PLUGINS= + # upstream automagically depends on xdist when it is importable + if has_version "dev-python/pytest-xdist[${PYTHON_USEDEP}]"; then + PYTEST_PLUGINS+=xdist.plugin + fi + epytest +} + +python_install_all() { + if use examples; then + docompress -x "/usr/share/doc/${PF}/examples" + dodoc -r examples + fi + + distutils-r1_python_install_all +} + +pkg_postinst() { + optfeature "asyncio support" dev-python/greenlet + optfeature "MySQL support" \ + dev-python/mysqlclient \ + dev-python/pymysql \ + dev-python/mysql-connector-python + optfeature "mssql support" dev-python/pymssql + optfeature "postgresql support" dev-python/psycopg:2 +} diff --git a/dev-python/trimesh/Manifest b/dev-python/trimesh/Manifest index f31234b2360d..969ec6680882 100644 --- a/dev-python/trimesh/Manifest +++ b/dev-python/trimesh/Manifest @@ -1,3 +1,3 @@ DIST trimesh-3.10.2.gh.tar.gz 10738967 BLAKE2B 70aecc2d7524eec7eb5499f2926072139bab26cadd24a7f2200975ba1d15d7ee2a264efa124be69669f70c2a3026aa67ff3c6f56156dbf940027b48b57de4f9f SHA512 3fed75b26187dc8b682e7befd7c23c96a33cb3375255a26b3c80513d8ea9b2308f7570940a8c11da1455bd7acf5b89aead65a9743d76d2adf8e6faf5260a6b77 DIST trimesh-3.10.3.gh.tar.gz 10739164 BLAKE2B 558e9b66b6398b10ffaa1117f07d1ea7464d5e230d201473cf24efbb2e88e534883cc33fc13a6e217f76d5d40dc5f507b5fdca73f4275a79e67ac8a654c8199d SHA512 0f20e77bb4c94a723aa50a15cb0c401d410d4112ef936e4340ad45ca2b88ee42881a02c280bc51635f443c4c38078db218b334405c3de9fc7236f6bc3cef3855 -DIST trimesh-3.10.6.gh.tar.gz 10740778 BLAKE2B 3e0b456f44b557d0176e8c2bcde36e49c01c2d95468329453dd4bbbc3253d2f2a2e5ad6ee3201def0c8c657e9521fcad9d2b33c43fc1d44337cca3b0ec6f1826 SHA512 df83d2b31f33d448ab321cf32c8ca37689ca201dbd8a963166e33be8266120db9ac4749c7360f3739f8289a755a7d40ea2c4b09cd4c2e07851adce0be743081c +DIST trimesh-3.10.7.gh.tar.gz 10741141 BLAKE2B 6ce46ee661a8fa44aa95e8a56d928a9146318d83b55027125177ab60283072bcad520ca5d8ac1a8bd92bf894a358f02b94eae9ac4644a2ac79a986a3ab150974 SHA512 d1c721af449f27d4820e8c831ae3da0cb4bfeeba94c7f689ff6505d36bb8b7f32cdacd1eb7bbff8d3a35fc6cd0b4e0d43b205cbfc7ef795baed6833015b62bf2 diff --git a/dev-python/trimesh/trimesh-3.10.6.ebuild b/dev-python/trimesh/trimesh-3.10.6.ebuild deleted file mode 100644 index 719b7b502e7b..000000000000 --- a/dev-python/trimesh/trimesh-3.10.6.ebuild +++ /dev/null @@ -1,62 +0,0 @@ -# Copyright 1999-2022 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} ) - -inherit distutils-r1 multiprocessing optfeature - -DESCRIPTION="Python library for loading and using triangular meshes" -HOMEPAGE="https://trimsh.org/ https://github.com/mikedh/trimesh" -# No tests in PyPI tarballs -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/svg-path[${PYTHON_USEDEP}] - dev-python/sympy[${PYTHON_USEDEP}] - dev-python/xxhash[${PYTHON_USEDEP}] - sci-libs/rtree[${PYTHON_USEDEP}] - sci-libs/shapely[${PYTHON_USEDEP}] -" -BDEPEND=" - test? ( - dev-python/pytest-xdist[${PYTHON_USEDEP}] - ) -" - -distutils_enable_tests pytest - -python_test() { - epytest -n "$(makeopts_jobs "${MAKEOPTS}" "$(get_nproc)")" -} - -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.10.7.ebuild b/dev-python/trimesh/trimesh-3.10.7.ebuild new file mode 100644 index 000000000000..719b7b502e7b --- /dev/null +++ b/dev-python/trimesh/trimesh-3.10.7.ebuild @@ -0,0 +1,62 @@ +# Copyright 1999-2022 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} ) + +inherit distutils-r1 multiprocessing optfeature + +DESCRIPTION="Python library for loading and using triangular meshes" +HOMEPAGE="https://trimsh.org/ https://github.com/mikedh/trimesh" +# No tests in PyPI tarballs +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/svg-path[${PYTHON_USEDEP}] + dev-python/sympy[${PYTHON_USEDEP}] + dev-python/xxhash[${PYTHON_USEDEP}] + sci-libs/rtree[${PYTHON_USEDEP}] + sci-libs/shapely[${PYTHON_USEDEP}] +" +BDEPEND=" + test? ( + dev-python/pytest-xdist[${PYTHON_USEDEP}] + ) +" + +distutils_enable_tests pytest + +python_test() { + epytest -n "$(makeopts_jobs "${MAKEOPTS}" "$(get_nproc)")" +} + +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/unittest-or-fail/Manifest b/dev-python/unittest-or-fail/Manifest index b5721178f45f..24314035a54c 100644 --- a/dev-python/unittest-or-fail/Manifest +++ b/dev-python/unittest-or-fail/Manifest @@ -1 +1,2 @@ DIST unittest-or-fail-1.tar.gz 2739 BLAKE2B 781fff33d12e2ebbf408875d8677a73fe3d5025c6d7e5e67ce23e1f5a36479e7680ffafc9ec73830a70114ddb8bb0c784095f15e8ee13fcf95fe4712c2d8a080 SHA512 c58a2b6a3723d1327d74fb528a5742f576a70453c81bcd55b551a6eac05bb6af4555b9274ca939df70ada85a0be42edd258ea7644ab1d24fbf897a1e96b23055 +DIST unittest-or-fail-2.tar.gz 3177 BLAKE2B 862a406f3faea7bdf47b8e3f9dfa0057cb45669d9ed47f94dd51b2db107be62d1a332e7e6f0fc8f8f1f6719db90a9ebe19a8379d12a3f0908b073f1dd1dc4643 SHA512 f5b34ed5f312618e174147d1717142fe817fca3f993606f572a6e3f7481f055f793c3b4bc56481e259513ca7ac1b94b8a27ac6e319ccf909f55492edd5f14951 diff --git a/dev-python/unittest-or-fail/unittest-or-fail-2.ebuild b/dev-python/unittest-or-fail/unittest-or-fail-2.ebuild new file mode 100644 index 000000000000..20e7cfc80078 --- /dev/null +++ b/dev-python/unittest-or-fail/unittest-or-fail-2.ebuild @@ -0,0 +1,27 @@ +# Copyright 2021-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=flit +PYTHON_COMPAT=( python3_{7,8,9,10} pypy3 ) + +inherit distutils-r1 + +DESCRIPTION="Run unittests or fail if no tests were found" +HOMEPAGE="https://github.com/mgorny/unittest-or-fail/" +SRC_URI=" + https://github.com/mgorny/unittest-or-fail/archive/v${PV}.tar.gz + -> ${P}.tar.gz +" + +LICENSE="BSD-2" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris" + +# Warning: do not use distutils_enable_tests to avoid a circular +# dependency on itself! +python_test() { + "${EPYTHON}" -m unittest -v test/test_unittest_or_fail.py || + die "Tests failed with ${EPYTHON}" +} -- cgit v1.3