commit:     8bef7077a3fa71e18bda5ff9a2121ff6c4d34dfe
Author:     Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Fri Apr  8 07:15:48 2022 +0000
Commit:     Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Fri Apr  8 07:33:23 2022 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8bef7077

dev-python/voluptuous: pytest, GH archive

Run tests via pytest following the upstream switch.  Replace sdist
with GitHub archive to get pytest.ini.

Closes: https://bugs.gentoo.org/837215
Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>

 dev-python/voluptuous/Manifest                                     | 2 +-
 .../{voluptuous-0.13.1.ebuild => voluptuous-0.13.1-r1.ebuild}      | 7 +++++--
 2 files changed, 6 insertions(+), 3 deletions(-)

diff --git a/dev-python/voluptuous/Manifest b/dev-python/voluptuous/Manifest
index 91a515837eae..c6fd7aba77f4 100644
--- a/dev-python/voluptuous/Manifest
+++ b/dev-python/voluptuous/Manifest
@@ -1,3 +1,3 @@
 DIST voluptuous-0.12.2.tar.gz 48477 BLAKE2B 
c1cc26b3ac87bcd357d522c8a5210397f1a16e68f812727f2e8ab18c6731d12a04c2e9a96735e25926854eb378feaaeb8bafc083f394b7e9c2dfa2a503abeeb9
 SHA512 
86193294c1c6a593f6556f23a9a2c093690a06cbdabb7e268db135e36af6a15c113e78f3e05d000276b6ff54b8e17a0a01d589e9232da9eb5320500fdb5757e1
 DIST voluptuous-0.13.0.tar.gz 47117 BLAKE2B 
101cb8bb2e06cde87e1f19306188a9b7df9fa93cf940f69443b6730b678db09c93d2999b22cb22ad108b9f08c1096e4f9055330d77d31dded9bda1ae99a158d0
 SHA512 
a4b76a7d7e3f1f2697c09b025c2386b77c48e7f9d001e05ab0b93c91167e438352ac682d52527e2cc01d009787fedd4674cf7c926ed908022fe381c09d488f29
-DIST voluptuous-0.13.1.tar.gz 47706 BLAKE2B 
1e4a83b6582a7880ea0d1a639a431150895f127860f347d4761f69e3b4c7338a553610844fa67155b7781ab70f73da5283c9cdc10f858e2e81ccdfb459ccf9c5
 SHA512 
c81867ee9f95d7104a5491b35d3fe050250f80b46b2633ce72996aba32b33d043ad5ca36b6c03cd12284db2962d551b1fb0fd82682f8740a01742b907bb692cf
+DIST voluptuous-0.13.1.gh.tar.gz 42466 BLAKE2B 
ee66abe131d5ed6f49fb6ecc0227c6108617cadc694132826c88abf33b83538db1c97d38451983d2fb1191d5e7066491194fb01399e920b21a9e75d54df2d3fa
 SHA512 
874960bdd3fce213e46f8017fbc56ede02133de6f8cb439d810db38ca06d9c5fcf5496150ef4c73fd19d9e06489ba08a510fd96aa16b8825564a52fd01cc3f4f

diff --git a/dev-python/voluptuous/voluptuous-0.13.1.ebuild 
b/dev-python/voluptuous/voluptuous-0.13.1-r1.ebuild
similarity index 79%
rename from dev-python/voluptuous/voluptuous-0.13.1.ebuild
rename to dev-python/voluptuous/voluptuous-0.13.1-r1.ebuild
index 4ad07daca4d7..f758b800dd07 100644
--- a/dev-python/voluptuous/voluptuous-0.13.1.ebuild
+++ b/dev-python/voluptuous/voluptuous-0.13.1-r1.ebuild
@@ -10,7 +10,10 @@ inherit distutils-r1
 
 DESCRIPTION="A Python data validation library"
 HOMEPAGE="https://github.com/alecthomas/voluptuous/";
-SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
+SRC_URI="
+       https://github.com/alecthomas/voluptuous/archive/${PV}.tar.gz
+               -> ${P}.gh.tar.gz
+"
 
 LICENSE="BSD"
 SLOT="0"
@@ -20,4 +23,4 @@ PATCHES=(
        "${FILESDIR}"/${PN}-0.11.5-fix-doctest.patch
 )
 
-distutils_enable_tests nose
+distutils_enable_tests pytest

Reply via email to