summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichał Górny <mgorny@gentoo.org>2021-08-23 07:48:19 +0200
committerMichał Górny <mgorny@gentoo.org>2021-08-23 08:07:13 +0200
commit1b0a8fa1076bcfcf053e9c84130f6fd00add5304 (patch)
tree148a077cfb41ec8bec5f6d70f85fd431c73184bc /dev-python/ubelt
parentapp-arch/libarchive: Bump to 3.5.2 (diff)
downloadgentoo-1b0a8fa1076bcfcf053e9c84130f6fd00add5304.tar.gz
gentoo-1b0a8fa1076bcfcf053e9c84130f6fd00add5304.tar.bz2
gentoo-1b0a8fa1076bcfcf053e9c84130f6fd00add5304.zip
dev-python/ubelt: Bump to 0.10.0
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-0.10.0.ebuild31
2 files changed, 32 insertions, 0 deletions
diff --git a/dev-python/ubelt/Manifest b/dev-python/ubelt/Manifest
index 4ce2bf9870f9..c39afc9588aa 100644
--- a/dev-python/ubelt/Manifest
+++ b/dev-python/ubelt/Manifest
@@ -1 +1,2 @@
+DIST ubelt-0.10.0.tar.gz 213813 BLAKE2B f44798dee470ebbdaedba4af6ef03c663f47e171258877c70c99b4dceabb991d2b142815965cdf873aceb9d34e248e341fd88e6b8d2c2554309f6d8d1302e2bd SHA512 dc6b1193838c7def5e3ab8f64b2708cb857bca52c2debe7b32f4fb80453904fe2dd6060383b73ae09b4ef6cc63bd45be1ff3d64bb4db72149046c89b39243a1e
DIST ubelt-0.9.5.tar.gz 193739 BLAKE2B 90597750c9ae1c1a4aa9d3180119665a6d1bf9fddb57f220d8ab6d8d0daf521d4e2648247753446e0e285b9f24f57c35d10abdcdd06e566fdd3415c77f10e50d SHA512 fbe17001c03da513238ab2ae101a9ac8c334943e88bf3037243c8ad4998e42a38e2907a408866a8acf2f7e2061c86a186b7955429564a6245ffca2bed25b8e54
diff --git a/dev-python/ubelt/ubelt-0.10.0.ebuild b/dev-python/ubelt/ubelt-0.10.0.ebuild
new file mode 100644
index 000000000000..aad8e9f06c5c
--- /dev/null
+++ b/dev-python/ubelt/ubelt-0.10.0.ebuild
@@ -0,0 +1,31 @@
+# Copyright 1999-2021 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+PYTHON_COMPAT=( python3_{8..10} )
+inherit distutils-r1
+
+DESCRIPTION="A stdlib like feel, and extra batteries. Hashing, Caching, Timing, Progress"
+HOMEPAGE="https://github.com/Erotemic/ubelt"
+SRC_URI="https://github.com/Erotemic/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz"
+
+SLOT="0"
+LICENSE="Apache-2.0"
+KEYWORDS="~amd64 ~x86"
+
+RDEPEND="dev-python/six[${PYTHON_USEDEP}]
+ dev-python/ordered-set[${PYTHON_USEDEP}]"
+
+DEPEND="test? ( dev-python/xdoctest[${PYTHON_USEDEP}] )"
+
+distutils_enable_tests pytest
+
+python_test() {
+ local deselect=(
+ # relies on passwd being equal to ${HOME}
+ ubelt/util_path.py::userhome:0
+ )
+
+ epytest ${deselect[@]/#/--deselect } tests
+}