1 |
commit: 81b1e96786437ad341423ce642259eaecbba330f |
2 |
Author: Michał Górny <mgorny <AT> gentoo <DOT> org> |
3 |
AuthorDate: Thu Jul 8 06:43:15 2021 +0000 |
4 |
Commit: Michał Górny <mgorny <AT> gentoo <DOT> org> |
5 |
CommitDate: Thu Jul 8 06:55:26 2021 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=81b1e967 |
7 |
|
8 |
dev-python/coreapi: Port to py3.10, enable tests |
9 |
|
10 |
Signed-off-by: Michał Górny <mgorny <AT> gentoo.org> |
11 |
|
12 |
dev-python/coreapi/Manifest | 2 +- |
13 |
dev-python/coreapi/coreapi-2.3.3-r1.ebuild | 17 ++++++++++------- |
14 |
2 files changed, 11 insertions(+), 8 deletions(-) |
15 |
|
16 |
diff --git a/dev-python/coreapi/Manifest b/dev-python/coreapi/Manifest |
17 |
index bf4701165ff..e04cc791180 100644 |
18 |
--- a/dev-python/coreapi/Manifest |
19 |
+++ b/dev-python/coreapi/Manifest |
20 |
@@ -1 +1 @@ |
21 |
-DIST coreapi-2.3.3.tar.gz 18788 BLAKE2B f7837d6a0430e6617a2589aa84a209b3c544a913773bc4388c3bdef7348c83577e1b216e83c14736b15174ede840ae297b050eba551b4fe22d784e4d51677956 SHA512 5a66cf9613a9e11046577684b837f48e17db2285d14a51a77aa47eb945eef72a9ee0525b7b1b1c57fddec102c144ce56430ed5a95717e77d906d0b617dce708d |
22 |
+DIST core-api-python-client-2.3.3.tar.gz 37470 BLAKE2B ce3f88e1608715eec06a50fa5df4cd331e90509d0b7e9ab275ccfb4b3b5216115539b7fcd70af64794f0ae50a5084873d2dbbd38c85cb8be3f319d6880f5993e SHA512 aeae3ace84c0ce61552236b83db28e47492f5ac17a0e216e1a8eeddaf67270b94127f7a40f8a37cc5051abe097555adfd690a7e6c8801524ca77c916bd451ab8 |
23 |
|
24 |
diff --git a/dev-python/coreapi/coreapi-2.3.3-r1.ebuild b/dev-python/coreapi/coreapi-2.3.3-r1.ebuild |
25 |
index 6b899647835..f1d85bb6616 100644 |
26 |
--- a/dev-python/coreapi/coreapi-2.3.3-r1.ebuild |
27 |
+++ b/dev-python/coreapi/coreapi-2.3.3-r1.ebuild |
28 |
@@ -1,15 +1,18 @@ |
29 |
-# Copyright 1999-2020 Gentoo Authors |
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 |
+EAPI=8 |
37 |
|
38 |
+PYTHON_COMPAT=( python3_{8..10} ) |
39 |
inherit distutils-r1 |
40 |
|
41 |
+MY_P=python-client-${PV} |
42 |
DESCRIPTION="Python client library for Core API" |
43 |
HOMEPAGE="https://github.com/core-api/python-client" |
44 |
-SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" |
45 |
+SRC_URI=" |
46 |
+ https://github.com/core-api/python-client/archive/${PV}.tar.gz |
47 |
+ -> core-api-${MY_P}.tar.gz" |
48 |
+S=${WORKDIR}/${MY_P} |
49 |
|
50 |
LICENSE="BSD" |
51 |
SLOT="0" |
52 |
@@ -19,5 +22,5 @@ RDEPEND="dev-python/coreschema[${PYTHON_USEDEP}] |
53 |
dev-python/itypes[${PYTHON_USEDEP}] |
54 |
dev-python/uritemplate[${PYTHON_USEDEP}] |
55 |
dev-python/requests[${PYTHON_USEDEP}]" |
56 |
-DEPEND="${RDEPEND} |
57 |
-dev-python/setuptools[${PYTHON_USEDEP}]" |
58 |
+ |
59 |
+distutils_enable_tests pytest |