1 |
commit: 550de61ab83a660bb28ec96144fe490c13cea064 |
2 |
Author: Arthur Zamarin <arthurzam <AT> gentoo <DOT> org> |
3 |
AuthorDate: Tue Nov 29 19:41:38 2022 +0000 |
4 |
Commit: Arthur Zamarin <arthurzam <AT> gentoo <DOT> org> |
5 |
CommitDate: Tue Nov 29 19:46:09 2022 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=550de61a |
7 |
|
8 |
dev-python/pkginfo: add 1.9.0 |
9 |
|
10 |
Signed-off-by: Arthur Zamarin <arthurzam <AT> gentoo.org> |
11 |
|
12 |
dev-python/pkginfo/Manifest | 1 + |
13 |
dev-python/pkginfo/pkginfo-1.9.0.ebuild | 35 +++++++++++++++++++++++++++++++++ |
14 |
2 files changed, 36 insertions(+) |
15 |
|
16 |
diff --git a/dev-python/pkginfo/Manifest b/dev-python/pkginfo/Manifest |
17 |
index ed104b7ab701..a2e5e5a27ee6 100644 |
18 |
--- a/dev-python/pkginfo/Manifest |
19 |
+++ b/dev-python/pkginfo/Manifest |
20 |
@@ -1 +1,2 @@ |
21 |
DIST pkginfo-1.8.3.tar.gz 375734 BLAKE2B a3e9779bcb7cd326d8bd8137fa388055032fd4ee7732d47a341807201a97f1d44652d8e46adefd301cf7cd3c1d041e49a6ed2b8752e12347a8a2a2349cf397bd SHA512 54a67bdf078b38600651cb94afa62e9d86fce512022b1e79eb4565289ae3fad2325647654704488968e18cd85cbba4bd0ce28392fd09ae9638ee449e802273eb |
22 |
+DIST pkginfo-1.9.0.tar.gz 376601 BLAKE2B 1823140bcd109cf2549f0c7f8db4315880a86030a8400838755664794a7cac94998a6a20832db6b29d5f8623fc16d0bed477eb48750184ba04b6440063d6bf02 SHA512 5189929a80aedbeb65ad3b243d6f916854887e34d3489eab71a6ca69ab82d0fb2cc62ec7a49999890eb323be981d35505a6f47d2debc83cfa1cc8bb04523dcb0 |
23 |
|
24 |
diff --git a/dev-python/pkginfo/pkginfo-1.9.0.ebuild b/dev-python/pkginfo/pkginfo-1.9.0.ebuild |
25 |
new file mode 100644 |
26 |
index 000000000000..263179ac56d4 |
27 |
--- /dev/null |
28 |
+++ b/dev-python/pkginfo/pkginfo-1.9.0.ebuild |
29 |
@@ -0,0 +1,35 @@ |
30 |
+# Copyright 1999-2022 Gentoo Authors |
31 |
+# Distributed under the terms of the GNU General Public License v2 |
32 |
+ |
33 |
+EAPI=8 |
34 |
+ |
35 |
+DISTUTILS_USE_PEP517=setuptools |
36 |
+PYTHON_COMPAT=( python3_{8..11} pypy3 ) |
37 |
+ |
38 |
+inherit distutils-r1 |
39 |
+ |
40 |
+DESCRIPTION="Provides an API for querying the distutils metadata written in a PKG-INFO file" |
41 |
+HOMEPAGE=" |
42 |
+ https://launchpad.net/pkginfo/ |
43 |
+ https://pypi.org/project/pkginfo/ |
44 |
+" |
45 |
+SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" |
46 |
+ |
47 |
+LICENSE="MIT" |
48 |
+SLOT="0" |
49 |
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~x64-macos" |
50 |
+ |
51 |
+BDEPEND=" |
52 |
+ test? ( |
53 |
+ dev-python/wheel[${PYTHON_USEDEP}] |
54 |
+ ) |
55 |
+" |
56 |
+ |
57 |
+distutils_enable_tests pytest |
58 |
+distutils_enable_sphinx docs |
59 |
+ |
60 |
+EPYTEST_DESELECT=( |
61 |
+ # fail because of extra python 2.7 classifier |
62 |
+ pkginfo/tests/test_utils.py::Test_get_metadata::test_w_module_and_metadata_version |
63 |
+ pkginfo/tests/test_utils.py::Test_get_metadata::test_w_package_name_and_metadata_version |
64 |
+) |