1 |
commit: 8bef7077a3fa71e18bda5ff9a2121ff6c4d34dfe |
2 |
Author: Michał Górny <mgorny <AT> gentoo <DOT> org> |
3 |
AuthorDate: Fri Apr 8 07:15:48 2022 +0000 |
4 |
Commit: Michał Górny <mgorny <AT> gentoo <DOT> org> |
5 |
CommitDate: Fri Apr 8 07:33:23 2022 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8bef7077 |
7 |
|
8 |
dev-python/voluptuous: pytest, GH archive |
9 |
|
10 |
Run tests via pytest following the upstream switch. Replace sdist |
11 |
with GitHub archive to get pytest.ini. |
12 |
|
13 |
Closes: https://bugs.gentoo.org/837215 |
14 |
Signed-off-by: Michał Górny <mgorny <AT> gentoo.org> |
15 |
|
16 |
dev-python/voluptuous/Manifest | 2 +- |
17 |
.../{voluptuous-0.13.1.ebuild => voluptuous-0.13.1-r1.ebuild} | 7 +++++-- |
18 |
2 files changed, 6 insertions(+), 3 deletions(-) |
19 |
|
20 |
diff --git a/dev-python/voluptuous/Manifest b/dev-python/voluptuous/Manifest |
21 |
index 91a515837eae..c6fd7aba77f4 100644 |
22 |
--- a/dev-python/voluptuous/Manifest |
23 |
+++ b/dev-python/voluptuous/Manifest |
24 |
@@ -1,3 +1,3 @@ |
25 |
DIST voluptuous-0.12.2.tar.gz 48477 BLAKE2B c1cc26b3ac87bcd357d522c8a5210397f1a16e68f812727f2e8ab18c6731d12a04c2e9a96735e25926854eb378feaaeb8bafc083f394b7e9c2dfa2a503abeeb9 SHA512 86193294c1c6a593f6556f23a9a2c093690a06cbdabb7e268db135e36af6a15c113e78f3e05d000276b6ff54b8e17a0a01d589e9232da9eb5320500fdb5757e1 |
26 |
DIST voluptuous-0.13.0.tar.gz 47117 BLAKE2B 101cb8bb2e06cde87e1f19306188a9b7df9fa93cf940f69443b6730b678db09c93d2999b22cb22ad108b9f08c1096e4f9055330d77d31dded9bda1ae99a158d0 SHA512 a4b76a7d7e3f1f2697c09b025c2386b77c48e7f9d001e05ab0b93c91167e438352ac682d52527e2cc01d009787fedd4674cf7c926ed908022fe381c09d488f29 |
27 |
-DIST voluptuous-0.13.1.tar.gz 47706 BLAKE2B 1e4a83b6582a7880ea0d1a639a431150895f127860f347d4761f69e3b4c7338a553610844fa67155b7781ab70f73da5283c9cdc10f858e2e81ccdfb459ccf9c5 SHA512 c81867ee9f95d7104a5491b35d3fe050250f80b46b2633ce72996aba32b33d043ad5ca36b6c03cd12284db2962d551b1fb0fd82682f8740a01742b907bb692cf |
28 |
+DIST voluptuous-0.13.1.gh.tar.gz 42466 BLAKE2B ee66abe131d5ed6f49fb6ecc0227c6108617cadc694132826c88abf33b83538db1c97d38451983d2fb1191d5e7066491194fb01399e920b21a9e75d54df2d3fa SHA512 874960bdd3fce213e46f8017fbc56ede02133de6f8cb439d810db38ca06d9c5fcf5496150ef4c73fd19d9e06489ba08a510fd96aa16b8825564a52fd01cc3f4f |
29 |
|
30 |
diff --git a/dev-python/voluptuous/voluptuous-0.13.1.ebuild b/dev-python/voluptuous/voluptuous-0.13.1-r1.ebuild |
31 |
similarity index 79% |
32 |
rename from dev-python/voluptuous/voluptuous-0.13.1.ebuild |
33 |
rename to dev-python/voluptuous/voluptuous-0.13.1-r1.ebuild |
34 |
index 4ad07daca4d7..f758b800dd07 100644 |
35 |
--- a/dev-python/voluptuous/voluptuous-0.13.1.ebuild |
36 |
+++ b/dev-python/voluptuous/voluptuous-0.13.1-r1.ebuild |
37 |
@@ -10,7 +10,10 @@ inherit distutils-r1 |
38 |
|
39 |
DESCRIPTION="A Python data validation library" |
40 |
HOMEPAGE="https://github.com/alecthomas/voluptuous/" |
41 |
-SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" |
42 |
+SRC_URI=" |
43 |
+ https://github.com/alecthomas/voluptuous/archive/${PV}.tar.gz |
44 |
+ -> ${P}.gh.tar.gz |
45 |
+" |
46 |
|
47 |
LICENSE="BSD" |
48 |
SLOT="0" |
49 |
@@ -20,4 +23,4 @@ PATCHES=( |
50 |
"${FILESDIR}"/${PN}-0.11.5-fix-doctest.patch |
51 |
) |
52 |
|
53 |
-distutils_enable_tests nose |
54 |
+distutils_enable_tests pytest |