1 |
commit: 095f4cb24eb9133c96057cd023856b82fd7777b0 |
2 |
Author: Anna (cybertailor) Vyalkova <cyber+gentoo <AT> sysrq <DOT> in> |
3 |
AuthorDate: Mon Dec 6 17:22:35 2021 +0000 |
4 |
Commit: Anna Vyalkova <cyber+gentoo <AT> sysrq <DOT> in> |
5 |
CommitDate: Mon Dec 6 17:22:35 2021 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=095f4cb2 |
7 |
|
8 |
dev-python/build: initial import |
9 |
|
10 |
Signed-off-by: Anna (cybertailor) Vyalkova <cyber+gentoo <AT> sysrq.in> |
11 |
|
12 |
dev-python/build/Manifest | 1 + |
13 |
dev-python/build/build-0.7.0.ebuild | 46 +++++++++++++++++++++++++++++++++++++ |
14 |
dev-python/build/metadata.xml | 12 ++++++++++ |
15 |
3 files changed, 59 insertions(+) |
16 |
|
17 |
diff --git a/dev-python/build/Manifest b/dev-python/build/Manifest |
18 |
new file mode 100644 |
19 |
index 000000000..82632e0ef |
20 |
--- /dev/null |
21 |
+++ b/dev-python/build/Manifest |
22 |
@@ -0,0 +1 @@ |
23 |
+DIST build-0.7.0.tar.gz 37127 BLAKE2B b06ba16c154087046bd5efddb5fd6f60dad9ee79a204a0c1124fb4885d3692bcf4bd88b75c9665ade3f8457e12742d32e3cef40a0ffb5a894b049a6e942c09e3 SHA512 fd8410dc91333ba94c5141dd78f8052b66f947839752a5d0f401630f6bceed5be2e1f45eceaa2a98908c0e3ddb88a00e3ccca341a3890fa99202bc560ab6ff42 |
24 |
|
25 |
diff --git a/dev-python/build/build-0.7.0.ebuild b/dev-python/build/build-0.7.0.ebuild |
26 |
new file mode 100644 |
27 |
index 000000000..9a6c1436d |
28 |
--- /dev/null |
29 |
+++ b/dev-python/build/build-0.7.0.ebuild |
30 |
@@ -0,0 +1,46 @@ |
31 |
+# Copyright 2021 Gentoo Authors |
32 |
+# Distributed under the terms of the GNU General Public License v2 |
33 |
+ |
34 |
+EAPI=8 |
35 |
+ |
36 |
+PYTHON_COMPAT=( python3_{8..10} pypy3 ) |
37 |
+inherit distutils-r1 |
38 |
+ |
39 |
+DESCRIPTION="A simple, correct PEP517 build frontend" |
40 |
+HOMEPAGE="https://github.com/pypa/build https://pypi.org/project/build/" |
41 |
+SRC_URI="https://github.com/pypa/${PN}/archive/refs/tags/${PV}.tar.gz -> ${P}.tar.gz" |
42 |
+ |
43 |
+LICENSE="MIT" |
44 |
+SLOT="0" |
45 |
+KEYWORDS="~amd64" |
46 |
+ |
47 |
+RDEPEND=" |
48 |
+ dev-python/packaging[${PYTHON_USEDEP}] |
49 |
+ dev-python/pep517[${PYTHON_USEDEP}] |
50 |
+ dev-python/tomli[${PYTHON_USEDEP}] |
51 |
+" |
52 |
+BDEPEND="test? ( |
53 |
+ dev-python/filelock[${PYTHON_USEDEP}] |
54 |
+ dev-python/flaky[${PYTHON_USEDEP}] |
55 |
+ dev-python/pytest-mock[${PYTHON_USEDEP}] |
56 |
+ dev-python/toml[${PYTHON_USEDEP}] |
57 |
+ dev-python/wheel[${PYTHON_USEDEP}] |
58 |
+)" |
59 |
+ |
60 |
+distutils_enable_tests pytest |
61 |
+ |
62 |
+# distutils_enable_sphinx docs \ |
63 |
+# dev-python/furo \ |
64 |
+# dev-python/sphinx-argparse-cli \ |
65 |
+# dev-python/sphinx-autodoc-typehints |
66 |
+ |
67 |
+EPYTEST_DESELECT=( |
68 |
+ tests/test_env.py::test_isolated_env_log |
69 |
+ tests/test_main.py::test_build_package |
70 |
+ tests/test_main.py::test_build_package_via_sdist |
71 |
+ tests/test_main.py::test_output |
72 |
+ tests/test_main.py::test_output_env_subprocess_error |
73 |
+ "tests/test_util.py::test_wheel_metadata[True]" |
74 |
+ tests/test_util.py::test_wheel_metadata_isolation |
75 |
+ tests/test_util.py::test_with_get_requires |
76 |
+) |
77 |
|
78 |
diff --git a/dev-python/build/metadata.xml b/dev-python/build/metadata.xml |
79 |
new file mode 100644 |
80 |
index 000000000..56d65e261 |
81 |
--- /dev/null |
82 |
+++ b/dev-python/build/metadata.xml |
83 |
@@ -0,0 +1,12 @@ |
84 |
+<?xml version="1.0" encoding="UTF-8"?> |
85 |
+<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd"> |
86 |
+<pkgmetadata> |
87 |
+ <upstream> |
88 |
+ <remote-id type="pypi">build</remote-id> |
89 |
+ <doc>https://pypa-build.readthedocs.io/en/latest/</doc> |
90 |
+ </upstream> |
91 |
+ <maintainer type="person"> |
92 |
+ <email>cyber+gentoo@×××××.in</email> |
93 |
+ <name>Anna</name> |
94 |
+ </maintainer> |
95 |
+</pkgmetadata> |