1 |
commit: 49ec9d3e7d53819d25c94c4c2267829d9086d0e4 |
2 |
Author: Alessandro Barbieri <lssndrbarbieri <AT> gmail <DOT> com> |
3 |
AuthorDate: Mon Oct 4 22:10:34 2021 +0000 |
4 |
Commit: Alessandro Barbieri <lssndrbarbieri <AT> gmail <DOT> com> |
5 |
CommitDate: Mon Oct 4 22:30:20 2021 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=49ec9d3e |
7 |
|
8 |
dev-python/rstr: add 3.0.0 |
9 |
|
10 |
Signed-off-by: Alessandro Barbieri <lssndrbarbieri <AT> gmail.com> |
11 |
|
12 |
dev-python/rstr/Manifest | 1 + |
13 |
dev-python/rstr/rstr-3.0.0.ebuild | 27 +++++++++++++++++++++++++++ |
14 |
2 files changed, 28 insertions(+) |
15 |
|
16 |
diff --git a/dev-python/rstr/Manifest b/dev-python/rstr/Manifest |
17 |
index b5b287942..6ae33ee17 100644 |
18 |
--- a/dev-python/rstr/Manifest |
19 |
+++ b/dev-python/rstr/Manifest |
20 |
@@ -1 +1,2 @@ |
21 |
DIST rstr-2.2.6.tar.gz 11197 BLAKE2B 115b674b6d474716623846838b77d08455b60c452150f149f1577ec18a730751af1bc9b4cf3cd445b676ebac1c9bf2262da18f15583d06b75f0746adc363be1b SHA512 ddd4eb4ca25f2bd991d14af6ae800a911a7077dfb14ad1968bf9e62363505e54b4f98b36eb53b7077435f9703116cc2338490a3e0d6d4d1d6fe9857a4d560976 |
22 |
+DIST rstr-3.0.0.tar.gz 11389 BLAKE2B 8e5283ed2fd478189a1ddb0663069ca4a50b52a928290af171d8e79b6e59659530f45eac282cffe52be150c8d4a75adca35fdc2e5afb5c0025da31ada02fc3c7 SHA512 8b9909057f44ffdbfa5a037f9eaf50e506204d846143b54c23c6c83a8589ea5dc7236fa7f987e20b127ef139bef6f47b22239fd961da1f5c5b45606f511cadd8 |
23 |
|
24 |
diff --git a/dev-python/rstr/rstr-3.0.0.ebuild b/dev-python/rstr/rstr-3.0.0.ebuild |
25 |
new file mode 100644 |
26 |
index 000000000..af5142c3c |
27 |
--- /dev/null |
28 |
+++ b/dev-python/rstr/rstr-3.0.0.ebuild |
29 |
@@ -0,0 +1,27 @@ |
30 |
+# Copyright 1999-2021 Gentoo Authors |
31 |
+# Distributed under the terms of the GNU General Public License v2 |
32 |
+ |
33 |
+EAPI=8 |
34 |
+ |
35 |
+PYTHON_COMPAT=( python3_{8..10} pypy3 ) |
36 |
+ |
37 |
+inherit distutils-r1 |
38 |
+ |
39 |
+DESCRIPTION="Easily generate random strings of various types" |
40 |
+HOMEPAGE="https://pypi.org/project/rstr" |
41 |
+SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${PN}-${PV}.tar.gz" |
42 |
+ |
43 |
+LICENSE="BSD" |
44 |
+SLOT=0 |
45 |
+KEYWORDS="~amd64" |
46 |
+ |
47 |
+distutils_enable_tests unittest |
48 |
+ |
49 |
+python_test() { |
50 |
+ "${PYTHON}" -m unittest discover -v rstr/tests || die "tests failed with ${EPYTHON}" |
51 |
+} |
52 |
+ |
53 |
+python_install_all() { |
54 |
+ distutils-r1_python_install_all |
55 |
+ find "${ED}" -type d -name "tests" -exec rm -rv {} + || die "tests removing failed" |
56 |
+} |