summaryrefslogtreecommitdiff
path: root/dev-python
diff options
context:
space:
mode:
Diffstat (limited to 'dev-python')
-rw-r--r--dev-python/unearth/Manifest1
-rw-r--r--dev-python/unearth/unearth-0.17.3.ebuild42
2 files changed, 43 insertions, 0 deletions
diff --git a/dev-python/unearth/Manifest b/dev-python/unearth/Manifest
index d530b9e6c2d6..60aa3096471b 100644
--- a/dev-python/unearth/Manifest
+++ b/dev-python/unearth/Manifest
@@ -1 +1,2 @@
DIST unearth-0.17.2.tar.gz 284430 BLAKE2B ca55cd4feb50a3803400bc70f499cfb26c6dd951966f0a37cddde5c186a1f91aa3d041f504d1b85cf632478caaf33a9b4da472070fce1e7b51ea1436d1b7b95a SHA512 927ba9004d8e893bb461a0dd8741476e39cabefca47885708b5d155514726946898dd9eb9870d86982b191aeb189490310108fbb2a70e8983dae4974d711384b
+DIST unearth-0.17.3.tar.gz 284628 BLAKE2B c9163afe1a7c57e3d3afc3643ee0e55f0cc71093369c0a7225988f12b945eb8ab3cbb7226bccecca5f1bd2d0423ff3f1342286d6123d12631059321c6886eeff SHA512 c7f68efc2efe11eb85c2b835a021996980e1b839ec6303058ff2e5f4186d3867db1e72e899b28e1fea722b4f1a0c2c33851768b89ef176c44a7c63478b5ea686
diff --git a/dev-python/unearth/unearth-0.17.3.ebuild b/dev-python/unearth/unearth-0.17.3.ebuild
new file mode 100644
index 000000000000..15f99a42a25b
--- /dev/null
+++ b/dev-python/unearth/unearth-0.17.3.ebuild
@@ -0,0 +1,42 @@
+# Copyright 2023-2025 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+DISTUTILS_USE_PEP517=pdm-backend
+PYTHON_COMPAT=( pypy3 pypy3_11 python3_{10..13} )
+
+inherit distutils-r1 pypi
+
+DESCRIPTION="A utility to fetch and download python packages"
+HOMEPAGE="
+ https://pypi.org/project/unearth/
+ https://github.com/frostming/unearth/
+"
+
+LICENSE="MIT"
+SLOT="0"
+KEYWORDS="~amd64 ~arm64"
+
+RDEPEND="
+ dev-python/packaging[${PYTHON_USEDEP}]
+ <dev-python/httpx-1[${PYTHON_USEDEP}]
+ >=dev-python/httpx-0.27.0[${PYTHON_USEDEP}]
+"
+BDEPEND="
+ test? (
+ dev-python/flask[${PYTHON_USEDEP}]
+ dev-python/pytest-httpserver[${PYTHON_USEDEP}]
+ dev-python/pytest-mock[${PYTHON_USEDEP}]
+ dev-python/requests[${PYTHON_USEDEP}]
+ dev-python/requests-wsgi-adapter[${PYTHON_USEDEP}]
+ dev-python/trustme[${PYTHON_USEDEP}]
+ )
+"
+
+distutils_enable_tests pytest
+
+python_test() {
+ local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1
+ epytest -p pytest_httpserver -p pytest_mock
+}