summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--dev-python/ubelt/Manifest1
-rw-r--r--dev-python/ubelt/ubelt-1.3.8.ebuild47
2 files changed, 48 insertions, 0 deletions
diff --git a/dev-python/ubelt/Manifest b/dev-python/ubelt/Manifest
index e127490c2e20..19c7c058015f 100644
--- a/dev-python/ubelt/Manifest
+++ b/dev-python/ubelt/Manifest
@@ -1 +1,2 @@
DIST ubelt-1.3.7.gh.tar.gz 374636 BLAKE2B a956b9a6ccae714bb634be977376b9b6f502d8c54768173f0560ae1e17e415209aaa94f43a6e639d430b9e9ccedb70e69f835d5375335250ce2ad9a783aee975 SHA512 778cf5d737bc479bfdec497cc03111b2386f5480e7ee5017a72cff7c33c145c7db70004993bf9d438df4f5c1549344869f2853f4d5143cedf41a3ca4e1e11046
+DIST ubelt-1.3.8.gh.tar.gz 378374 BLAKE2B a4b87a9da815259b174abccd018365f009277126836d52723833bdd2ccc9cc0d55e99614586e205731848398d1f73d15cb64328b12aeed61ffcd489b398d0387 SHA512 d2ddb86c954988620b786cf2924c7ea641fad7573d199f6d5571608b8263cc6202bb323506a2e5580713483d5d54dfe1b5c9e83a5f5ba026c0bcc794bc726426
diff --git a/dev-python/ubelt/ubelt-1.3.8.ebuild b/dev-python/ubelt/ubelt-1.3.8.ebuild
new file mode 100644
index 000000000000..b898bdff5982
--- /dev/null
+++ b/dev-python/ubelt/ubelt-1.3.8.ebuild
@@ -0,0 +1,47 @@
+# Copyright 1999-2025 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+DISTUTILS_USE_PEP517=setuptools
+PYTHON_COMPAT=( python3_{11..13} )
+
+inherit distutils-r1
+
+DESCRIPTION="A stdlib like feel, and extra batteries. Hashing, Caching, Timing, Progress"
+HOMEPAGE="
+ https://github.com/Erotemic/ubelt/
+ https://pypi.org/project/ubelt/
+"
+SRC_URI="
+ https://github.com/Erotemic/${PN}/archive/v${PV}.tar.gz
+ -> ${P}.gh.tar.gz
+"
+
+LICENSE="Apache-2.0"
+SLOT="0"
+KEYWORDS="~amd64 ~arm64 ~x86"
+
+BDEPEND="
+ test? (
+ >=dev-python/numpy-1.19.2[${PYTHON_USEDEP}]
+ >=dev-python/pygments-2.2.0[${PYTHON_USEDEP}]
+ >=dev-python/python-dateutil-2.8.1[${PYTHON_USEDEP}]
+ >=dev-python/requests-2.25.1[${PYTHON_USEDEP}]
+ >=dev-python/xxhash-1.0.1[${PYTHON_USEDEP}]
+ )
+"
+
+EPYTEST_PLUGINS=( xdoctest )
+distutils_enable_tests pytest
+
+EPYTEST_DESELECT=(
+ tests/test_editable_modules.py::test_import_of_editable_install
+ # relies on passwd home being equal to ${HOME}
+ ubelt/util_path.py::userhome:0
+)
+
+EPYTEST_IGNORE=(
+ # asserts for running on win32 in global scope
+ ubelt/_win32_jaraco.py
+)