1 |
commit: c884719a5799e378bf9208d57d032d9f0a58d473 |
2 |
Author: Alessandro Barbieri <lssndrbarbieri <AT> gmail <DOT> com> |
3 |
AuthorDate: Sat Oct 2 13:12:40 2021 +0000 |
4 |
Commit: Alessandro Barbieri <lssndrbarbieri <AT> gmail <DOT> com> |
5 |
CommitDate: Sun Oct 3 18:32:00 2021 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=c884719a |
7 |
|
8 |
dev-python/cursive: add tests |
9 |
|
10 |
Closes: https://bugs.gentoo.org/799476 |
11 |
Signed-off-by: Alessandro Barbieri <lssndrbarbieri <AT> gmail.com> |
12 |
|
13 |
dev-python/cursive/cursive-0.2.2-r1.ebuild | 28 ------------------ |
14 |
dev-python/cursive/cursive-0.2.2-r2.ebuild | 46 ++++++++++++++++++++++++++++++ |
15 |
2 files changed, 46 insertions(+), 28 deletions(-) |
16 |
|
17 |
diff --git a/dev-python/cursive/cursive-0.2.2-r1.ebuild b/dev-python/cursive/cursive-0.2.2-r1.ebuild |
18 |
deleted file mode 100644 |
19 |
index 737826a40..000000000 |
20 |
--- a/dev-python/cursive/cursive-0.2.2-r1.ebuild |
21 |
+++ /dev/null |
22 |
@@ -1,28 +0,0 @@ |
23 |
-# Copyright 1999-2020 Gentoo Authors |
24 |
-# Distributed under the terms of the GNU General Public License v2 |
25 |
- |
26 |
-EAPI=7 |
27 |
-PYTHON_COMPAT=( python3_{7,8} ) |
28 |
- |
29 |
-inherit distutils-r1 |
30 |
- |
31 |
-DESCRIPTION="Cursive implements OpenStack-specific validation of digital signatures." |
32 |
-HOMEPAGE="https://github.com/openstack/cursive" |
33 |
-SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" |
34 |
- |
35 |
-LICENSE="Apache-2.0" |
36 |
-SLOT="0" |
37 |
-KEYWORDS="~amd64 ~arm64 ~x86 ~amd64-linux ~x86-linux" |
38 |
-IUSE="" |
39 |
- |
40 |
-DEPEND=">=dev-python/pbr-1.8[${PYTHON_USEDEP}]" |
41 |
-RDEPEND=" |
42 |
- >=dev-python/pbr-1.8[${PYTHON_USEDEP}] |
43 |
- >=dev-python/cryptography-1.1.0[${PYTHON_USEDEP}] |
44 |
- >=dev-python/cryptography-1.3.0[${PYTHON_USEDEP}] |
45 |
- >=dev-python/oslo-serialization-1.10.0[${PYTHON_USEDEP}] |
46 |
- >=dev-python/oslo-utils-3.16.0[${PYTHON_USEDEP}] |
47 |
- >=dev-python/oslo-i18n-2.1.0[${PYTHON_USEDEP}] |
48 |
- >=dev-python/oslo-log-1.14.0[${PYTHON_USEDEP}] |
49 |
- >=dev-python/castellan-0.4.0[${PYTHON_USEDEP}] |
50 |
-" |
51 |
|
52 |
diff --git a/dev-python/cursive/cursive-0.2.2-r2.ebuild b/dev-python/cursive/cursive-0.2.2-r2.ebuild |
53 |
new file mode 100644 |
54 |
index 000000000..d76a041fe |
55 |
--- /dev/null |
56 |
+++ b/dev-python/cursive/cursive-0.2.2-r2.ebuild |
57 |
@@ -0,0 +1,46 @@ |
58 |
+# Copyright 1999-2021 Gentoo Authors |
59 |
+# Distributed under the terms of the GNU General Public License v2 |
60 |
+ |
61 |
+EAPI=8 |
62 |
+ |
63 |
+PYTHON_COMPAT=( python3_8 ) |
64 |
+ |
65 |
+inherit distutils-r1 |
66 |
+ |
67 |
+DESCRIPTION="Cursive implements OpenStack-specific validation of digital signatures" |
68 |
+HOMEPAGE=" |
69 |
+ https://github.com/openstack/cursive |
70 |
+ https://opendev.org/x/cursive |
71 |
+ https://launchpad.net/cursive |
72 |
+ https://pypi.org/project/cursive |
73 |
+" |
74 |
+SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" |
75 |
+ |
76 |
+LICENSE="Apache-2.0" |
77 |
+SLOT="0" |
78 |
+KEYWORDS="~amd64" |
79 |
+ |
80 |
+RDEPEND=" |
81 |
+ >=dev-python/pbr-1.6[${PYTHON_USEDEP}] |
82 |
+ >=dev-python/cryptography-1.0[${PYTHON_USEDEP}] |
83 |
+ >=dev-python/oslo-serialization-1.10.0[${PYTHON_USEDEP}] |
84 |
+ >=dev-python/oslo-utils-3.16.0[${PYTHON_USEDEP}] |
85 |
+ >=dev-python/oslo-i18n-2.1.0[${PYTHON_USEDEP}] |
86 |
+ >=dev-python/oslo-log-1.14.0[${PYTHON_USEDEP}] |
87 |
+ >=dev-python/castellan-0.4.0[${PYTHON_USEDEP}] |
88 |
+" |
89 |
+DEPEND=" |
90 |
+ ${RDEPEND} |
91 |
+ test? ( |
92 |
+ >=dev-python/hacking-0.11.0[${PYTHON_USEDEP}] |
93 |
+ >=dev-python/subunit-0.0.18[${PYTHON_USEDEP}] |
94 |
+ >=dev-python/mock-2.0.0[${PYTHON_USEDEP}] |
95 |
+ >=dev-python/oslotest-1.10.0[${PYTHON_USEDEP}] |
96 |
+ >=dev-python/testrepository-0.0.18[${PYTHON_USEDEP}] |
97 |
+ >=dev-python/testscenarios-0.4[${PYTHON_USEDEP}] |
98 |
+ >=dev-python/testtools-1.4.0[${PYTHON_USEDEP}] |
99 |
+ >=dev-python/reno-1.8.0[${PYTHON_USEDEP}] |
100 |
+ ) |
101 |
+" |
102 |
+ |
103 |
+distutils_enable_tests pytest |