summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichał Górny <mgorny@gentoo.org>2022-12-03 09:07:10 +0100
committerMichał Górny <mgorny@gentoo.org>2022-12-03 10:09:11 +0100
commit9cd8db7e65d1030fb10432970c34ff61cbec9dbd (patch)
treeb4ddedcc7c542a93a3ccd72f5d1d54835a85440b /dev-python/ubelt
parentdev-python/yarl: Bump to 1.8.2 (diff)
downloadgentoo-9cd8db7e65d1030fb10432970c34ff61cbec9dbd.tar.gz
gentoo-9cd8db7e65d1030fb10432970c34ff61cbec9dbd.tar.bz2
gentoo-9cd8db7e65d1030fb10432970c34ff61cbec9dbd.zip
dev-python/ubelt: Bump to 1.2.3
Signed-off-by: Michał Górny <mgorny@gentoo.org>
Diffstat (limited to 'dev-python/ubelt')
-rw-r--r--dev-python/ubelt/Manifest1
-rw-r--r--dev-python/ubelt/ubelt-1.2.3.ebuild42
2 files changed, 43 insertions, 0 deletions
diff --git a/dev-python/ubelt/Manifest b/dev-python/ubelt/Manifest
index 4579b4c8bfbb..a78ff0115155 100644
--- a/dev-python/ubelt/Manifest
+++ b/dev-python/ubelt/Manifest
@@ -1 +1,2 @@
DIST ubelt-1.2.2.gh.tar.gz 303629 BLAKE2B 624f56db069bb72ff3686db9d4ca47a1ac384ab9cb0810dd608fa8c12d00789b219d3d5a659e153cde87bb42a585f6176527c7b89fbef8afbf3f86433e456bbe SHA512 f0384cee3b8b474e2f3d893134cde6a7e96c73b98e4be6bb928dd410bdc763d9846409f867232c6b34840d0f77bcc95aa425b4a67dc3eeec3c634fd1c1311332
+DIST ubelt-1.2.3.gh.tar.gz 324632 BLAKE2B bafb67048a8a6525fc0aa1393fff22a3bf56d3843d195dc29125b8f452c4700dff77282349fbb44e0fc23a5495bcf48d6626879603f6c68a14ee04435d0f1831 SHA512 2a0a3e8b40ebaa5d2c7856cd197cdd8113ff58be6827ce57f394284f824e310078ef2a754247575c9eec2d3d1eecce2ec22239102eade025d556a79552e5f9d3
diff --git a/dev-python/ubelt/ubelt-1.2.3.ebuild b/dev-python/ubelt/ubelt-1.2.3.ebuild
new file mode 100644
index 000000000000..16848c126ff5
--- /dev/null
+++ b/dev-python/ubelt/ubelt-1.2.3.ebuild
@@ -0,0 +1,42 @@
+# 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_{8..11} )
+
+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
+"
+
+SLOT="0"
+LICENSE="Apache-2.0"
+KEYWORDS="~amd64 ~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/xdoctest[${PYTHON_USEDEP}]
+ >=dev-python/xxhash-1.0.1[${PYTHON_USEDEP}]
+ )
+"
+
+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
+)