1 |
commit: e8107e87eac45bec2807f74df7896da56e078ae9 |
2 |
Author: Michał Górny <mgorny <AT> gentoo <DOT> org> |
3 |
AuthorDate: Sat Jun 25 08:31:53 2022 +0000 |
4 |
Commit: Michał Górny <mgorny <AT> gentoo <DOT> org> |
5 |
CommitDate: Sat Jun 25 11:18:42 2022 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e8107e87 |
7 |
|
8 |
dev-python/trove-classifiers: New package, v2022.6.23 |
9 |
|
10 |
This was originally needed for validate-pyproject but that package |
11 |
is too bad to be included in Gentoo. |
12 |
|
13 |
Signed-off-by: Michał Górny <mgorny <AT> gentoo.org> |
14 |
|
15 |
dev-python/trove-classifiers/Manifest | 1 + |
16 |
dev-python/trove-classifiers/metadata.xml | 11 +++++++ |
17 |
.../trove-classifiers-2022.6.23.ebuild | 34 ++++++++++++++++++++++ |
18 |
3 files changed, 46 insertions(+) |
19 |
|
20 |
diff --git a/dev-python/trove-classifiers/Manifest b/dev-python/trove-classifiers/Manifest |
21 |
new file mode 100644 |
22 |
index 000000000000..ff70d51e74ac |
23 |
--- /dev/null |
24 |
+++ b/dev-python/trove-classifiers/Manifest |
25 |
@@ -0,0 +1 @@ |
26 |
+DIST trove-classifiers-2022.6.23.gh.tar.gz 14950 BLAKE2B 7203b8edb6f8a8886371a60f3c273b02b7fe045230a3a0c89a7282a896e513535a47fe06834fd6e33b98c480695b69be524dea1402f463f3c82fc80ddf8ac320 SHA512 c2c186b5d13f626a43f29a1eff6ebf2f17f8240af554f27ffdf05b506d428dd59582e7357a85b62f94714e024ae98ea216487726526639371c24c6b46b96df4e |
27 |
|
28 |
diff --git a/dev-python/trove-classifiers/metadata.xml b/dev-python/trove-classifiers/metadata.xml |
29 |
new file mode 100644 |
30 |
index 000000000000..210953a4e27e |
31 |
--- /dev/null |
32 |
+++ b/dev-python/trove-classifiers/metadata.xml |
33 |
@@ -0,0 +1,11 @@ |
34 |
+<?xml version="1.0" encoding="UTF-8"?> |
35 |
+<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd"> |
36 |
+<pkgmetadata> |
37 |
+ <maintainer type="project"> |
38 |
+ <email>python@g.o</email> |
39 |
+ </maintainer> |
40 |
+ <upstream> |
41 |
+ <remote-id type="github">pypa/trove-classifiers</remote-id> |
42 |
+ <remote-id type="pypi">trove-classifiers</remote-id> |
43 |
+ </upstream> |
44 |
+</pkgmetadata> |
45 |
|
46 |
diff --git a/dev-python/trove-classifiers/trove-classifiers-2022.6.23.ebuild b/dev-python/trove-classifiers/trove-classifiers-2022.6.23.ebuild |
47 |
new file mode 100644 |
48 |
index 000000000000..964617661415 |
49 |
--- /dev/null |
50 |
+++ b/dev-python/trove-classifiers/trove-classifiers-2022.6.23.ebuild |
51 |
@@ -0,0 +1,34 @@ |
52 |
+# Copyright 2022 Gentoo Authors |
53 |
+# Distributed under the terms of the GNU General Public License v2 |
54 |
+ |
55 |
+EAPI=8 |
56 |
+ |
57 |
+DISTUTILS_USE_PEP517=setuptools |
58 |
+PYTHON_COMPAT=( pypy3 python3_{8..11} ) |
59 |
+ |
60 |
+inherit distutils-r1 |
61 |
+ |
62 |
+DESCRIPTION="Canonical source for classifiers on PyPI (pypi.org)" |
63 |
+HOMEPAGE=" |
64 |
+ https://github.com/pypa/trove-classifiers/ |
65 |
+ https://pypi.org/project/trove-classifiers/ |
66 |
+" |
67 |
+SRC_URI=" |
68 |
+ https://github.com/pypa/trove-classifiers/archive/${PV}.tar.gz |
69 |
+ -> ${P}.gh.tar.gz |
70 |
+" |
71 |
+ |
72 |
+LICENSE="Apache-2.0" |
73 |
+SLOT="0" |
74 |
+KEYWORDS="~amd64" |
75 |
+ |
76 |
+BDEPEND=" |
77 |
+ dev-python/calver[${PYTHON_USEDEP}] |
78 |
+" |
79 |
+ |
80 |
+distutils_enable_tests pytest |
81 |
+ |
82 |
+python_test() { |
83 |
+ epytest |
84 |
+ "${EPYTHON}" -m tests.lib || die |
85 |
+} |