1 |
commit: ee0851994748dec6bc659c6a6ba2648011eb8449 |
2 |
Author: Michał Górny <mgorny <AT> gentoo <DOT> org> |
3 |
AuthorDate: Fri Feb 5 20:27:56 2021 +0000 |
4 |
Commit: Michał Górny <mgorny <AT> gentoo <DOT> org> |
5 |
CommitDate: Fri Feb 5 21:28:25 2021 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ee085199 |
7 |
|
8 |
dev-python/ubelt: Bump to 0.9.5 |
9 |
|
10 |
Signed-off-by: Michał Górny <mgorny <AT> gentoo.org> |
11 |
|
12 |
dev-python/ubelt/Manifest | 1 + |
13 |
dev-python/ubelt/ubelt-0.9.5.ebuild | 33 +++++++++++++++++++++++++++++++++ |
14 |
2 files changed, 34 insertions(+) |
15 |
|
16 |
diff --git a/dev-python/ubelt/Manifest b/dev-python/ubelt/Manifest |
17 |
index 834aa1800c9..d960d74d7bd 100644 |
18 |
--- a/dev-python/ubelt/Manifest |
19 |
+++ b/dev-python/ubelt/Manifest |
20 |
@@ -1 +1,2 @@ |
21 |
DIST ubelt-0.9.4.tar.gz 185601 BLAKE2B 09c236b6ecd0d434f8bec104afc89082fbdff9954d64b5063ba29f1ca456a6ab68937fd6e0db4cc672589135b99ea1a6448720dbea00acdbc2a3b441b1357682 SHA512 e562949fe27a19f6708dbc1f9e92a1d5a14857159f03840b525c1b77e660ce64f1ea2e2198c7068f9835343230ddee7fa66672c2e81126f9e4afddf729f19cb7 |
22 |
+DIST ubelt-0.9.5.tar.gz 193739 BLAKE2B 90597750c9ae1c1a4aa9d3180119665a6d1bf9fddb57f220d8ab6d8d0daf521d4e2648247753446e0e285b9f24f57c35d10abdcdd06e566fdd3415c77f10e50d SHA512 fbe17001c03da513238ab2ae101a9ac8c334943e88bf3037243c8ad4998e42a38e2907a408866a8acf2f7e2061c86a186b7955429564a6245ffca2bed25b8e54 |
23 |
|
24 |
diff --git a/dev-python/ubelt/ubelt-0.9.5.ebuild b/dev-python/ubelt/ubelt-0.9.5.ebuild |
25 |
new file mode 100644 |
26 |
index 00000000000..1505cc0f7ac |
27 |
--- /dev/null |
28 |
+++ b/dev-python/ubelt/ubelt-0.9.5.ebuild |
29 |
@@ -0,0 +1,33 @@ |
30 |
+# Copyright 1999-2021 Gentoo Authors |
31 |
+# Distributed under the terms of the GNU General Public License v2 |
32 |
+ |
33 |
+EAPI=7 |
34 |
+ |
35 |
+PYTHON_COMPAT=( python3_{7..9} ) |
36 |
+ |
37 |
+inherit distutils-r1 |
38 |
+ |
39 |
+DESCRIPTION="A stdlib like feel, and extra batteries. Hashing, Caching, Timing, Progress" |
40 |
+HOMEPAGE="https://github.com/Erotemic/ubelt" |
41 |
+SRC_URI="https://github.com/Erotemic/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz" |
42 |
+ |
43 |
+SLOT="0" |
44 |
+LICENSE="Apache-2.0" |
45 |
+KEYWORDS="~amd64 ~x86" |
46 |
+ |
47 |
+RDEPEND="dev-python/six[${PYTHON_USEDEP}] |
48 |
+ dev-python/ordered-set[${PYTHON_USEDEP}]" |
49 |
+ |
50 |
+DEPEND="test? ( dev-python/xdoctest[${PYTHON_USEDEP}] )" |
51 |
+ |
52 |
+distutils_enable_tests pytest |
53 |
+ |
54 |
+python_test() { |
55 |
+ local deselect=( |
56 |
+ # relies on passwd being equal to ${HOME} |
57 |
+ ubelt/util_path.py::userhome:0 |
58 |
+ ) |
59 |
+ |
60 |
+ pytest -vv ${deselect[@]/#/--deselect } tests || |
61 |
+ die "Tests fail with ${EPYTHON}" |
62 |
+} |