1 |
commit: 355b7a82a996a32e43facb8416026019bc48d6ee |
2 |
Author: Arthur Zamarin <arthurzam <AT> gentoo <DOT> org> |
3 |
AuthorDate: Sat Jul 30 08:31:12 2022 +0000 |
4 |
Commit: Arthur Zamarin <arthurzam <AT> gentoo <DOT> org> |
5 |
CommitDate: Sat Jul 30 09:32:44 2022 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=355b7a82 |
7 |
|
8 |
dev-python/pep517: add 0.13.0 |
9 |
|
10 |
Signed-off-by: Arthur Zamarin <arthurzam <AT> gentoo.org> |
11 |
|
12 |
dev-python/pep517/Manifest | 1 + |
13 |
dev-python/pep517/pep517-0.13.0.ebuild | 45 ++++++++++++++++++++++++++++++++++ |
14 |
2 files changed, 46 insertions(+) |
15 |
|
16 |
diff --git a/dev-python/pep517/Manifest b/dev-python/pep517/Manifest |
17 |
index a7c369ebdc32..463cb98685b7 100644 |
18 |
--- a/dev-python/pep517/Manifest |
19 |
+++ b/dev-python/pep517/Manifest |
20 |
@@ -1 +1,2 @@ |
21 |
DIST pep517-0.12.0.gh.tar.gz 24726 BLAKE2B 7d022ab88c68b7254df5d922db2f571e2bab2ee58b8a2ed0ce1adeadf89f22f11f6a609b558133acfed5342a9cf6a398d805949bdfb485a4abf272e2b9322e05 SHA512 6b224759733c1f5e346909788233b0acf49c60a0b6ef2d99d953b2e7bb570b2913fd0b133d5bc6884ec3de98adf2e41fa9506fed344b8fd76cc58dfcd1778e80 |
22 |
+DIST pep517-0.13.0.gh.tar.gz 23816 BLAKE2B d1bab5fe1a629384dcd264c0ea3d42d6b11de3530441de5de49516543630293b9a8023c8a55b291a7a415f8c90d4077f156cd036ed7fd477339d1210bfe47059 SHA512 dc534e73ea8659994041a39c8bfc92ee0a81b164c2d1ee383e3549d830f513fc89227d1bda3f749352532d0610e450de6b2be956aa4387f4b2f272d9f8aec0a0 |
23 |
|
24 |
diff --git a/dev-python/pep517/pep517-0.13.0.ebuild b/dev-python/pep517/pep517-0.13.0.ebuild |
25 |
new file mode 100644 |
26 |
index 000000000000..80a7a6488acf |
27 |
--- /dev/null |
28 |
+++ b/dev-python/pep517/pep517-0.13.0.ebuild |
29 |
@@ -0,0 +1,45 @@ |
30 |
+# Copyright 2021-2022 Gentoo Authors |
31 |
+# Distributed under the terms of the GNU General Public License v2 |
32 |
+ |
33 |
+EAPI=8 |
34 |
+ |
35 |
+DISTUTILS_USE_PEP517=flit |
36 |
+PYTHON_COMPAT=( python3_{8..11} pypy3 ) |
37 |
+ |
38 |
+inherit distutils-r1 |
39 |
+ |
40 |
+DESCRIPTION="Wrappers to build Python packages using PEP 517 hooks" |
41 |
+HOMEPAGE=" |
42 |
+ https://pypi.org/project/pep517/ |
43 |
+ https://github.com/pypa/pep517/ |
44 |
+ https://pep517.readthedocs.io/ |
45 |
+" |
46 |
+SRC_URI=" |
47 |
+ https://github.com/pypa/pep517/archive/v${PV}.tar.gz |
48 |
+ -> ${P}.gh.tar.gz |
49 |
+" |
50 |
+ |
51 |
+LICENSE="MIT" |
52 |
+SLOT="0" |
53 |
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86" |
54 |
+ |
55 |
+RDEPEND=" |
56 |
+ dev-python/tomli[${PYTHON_USEDEP}] |
57 |
+" |
58 |
+BDEPEND=" |
59 |
+ test? ( |
60 |
+ dev-python/testpath[${PYTHON_USEDEP}] |
61 |
+ ) |
62 |
+" |
63 |
+ |
64 |
+distutils_enable_tests pytest |
65 |
+ |
66 |
+EPYTEST_IGNORE=( |
67 |
+ # require Internet |
68 |
+ tests/test_meta.py |
69 |
+) |
70 |
+ |
71 |
+src_prepare() { |
72 |
+ sed -i -e '/--flake8/d' pytest.ini || die |
73 |
+ distutils-r1_src_prepare |
74 |
+} |