1 |
commit: e61ccb6f836b6b414a2a3df25747bfd63d4371bf |
2 |
Author: Michał Górny <mgorny <AT> gentoo <DOT> org> |
3 |
AuthorDate: Sat Feb 26 17:49:43 2022 +0000 |
4 |
Commit: Michał Górny <mgorny <AT> gentoo <DOT> org> |
5 |
CommitDate: Sat Feb 26 17:59:50 2022 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e61ccb6f |
7 |
|
8 |
dev-python/coreapi: Migrate to PEP517 build |
9 |
|
10 |
Signed-off-by: Michał Górny <mgorny <AT> gentoo.org> |
11 |
|
12 |
dev-python/coreapi/coreapi-2.3.3-r2.ebuild | 31 ++++++++++++++++++++++++++++++ |
13 |
1 file changed, 31 insertions(+) |
14 |
|
15 |
diff --git a/dev-python/coreapi/coreapi-2.3.3-r2.ebuild b/dev-python/coreapi/coreapi-2.3.3-r2.ebuild |
16 |
new file mode 100644 |
17 |
index 000000000000..02f186b758d1 |
18 |
--- /dev/null |
19 |
+++ b/dev-python/coreapi/coreapi-2.3.3-r2.ebuild |
20 |
@@ -0,0 +1,31 @@ |
21 |
+# Copyright 1999-2022 Gentoo Authors |
22 |
+# Distributed under the terms of the GNU General Public License v2 |
23 |
+ |
24 |
+EAPI=8 |
25 |
+ |
26 |
+DISTUTILS_USE_PEP517=setuptools |
27 |
+PYTHON_COMPAT=( python3_{8..10} ) |
28 |
+ |
29 |
+inherit distutils-r1 |
30 |
+ |
31 |
+MY_P=python-client-${PV} |
32 |
+DESCRIPTION="Python client library for Core API" |
33 |
+HOMEPAGE="https://github.com/core-api/python-client" |
34 |
+SRC_URI=" |
35 |
+ https://github.com/core-api/python-client/archive/${PV}.tar.gz |
36 |
+ -> core-api-${MY_P}.tar.gz |
37 |
+" |
38 |
+S=${WORKDIR}/${MY_P} |
39 |
+ |
40 |
+LICENSE="BSD" |
41 |
+SLOT="0" |
42 |
+KEYWORDS="~amd64" |
43 |
+ |
44 |
+RDEPEND=" |
45 |
+ dev-python/coreschema[${PYTHON_USEDEP}] |
46 |
+ dev-python/itypes[${PYTHON_USEDEP}] |
47 |
+ dev-python/uritemplate[${PYTHON_USEDEP}] |
48 |
+ dev-python/requests[${PYTHON_USEDEP}] |
49 |
+" |
50 |
+ |
51 |
+distutils_enable_tests pytest |