1 |
commit: b4ba553d85cfe4dd19c8d6883e46487009c05afc |
2 |
Author: Michał Górny <mgorny <AT> gentoo <DOT> org> |
3 |
AuthorDate: Wed Dec 1 18:58:57 2021 +0000 |
4 |
Commit: Michał Górny <mgorny <AT> gentoo <DOT> org> |
5 |
CommitDate: Wed Dec 1 19:14:54 2021 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b4ba553d |
7 |
|
8 |
dev-python/pkginfo: Bump to 1.8.1 |
9 |
|
10 |
Signed-off-by: Michał Górny <mgorny <AT> gentoo.org> |
11 |
|
12 |
dev-python/pkginfo/Manifest | 1 + |
13 |
dev-python/pkginfo/pkginfo-1.8.1.ebuild | 29 +++++++++++++++++++++++++++++ |
14 |
2 files changed, 30 insertions(+) |
15 |
|
16 |
diff --git a/dev-python/pkginfo/Manifest b/dev-python/pkginfo/Manifest |
17 |
index bd94cbfa4e78..76702fec59b6 100644 |
18 |
--- a/dev-python/pkginfo/Manifest |
19 |
+++ b/dev-python/pkginfo/Manifest |
20 |
@@ -1 +1,2 @@ |
21 |
DIST pkginfo-1.7.1.tar.gz 34280 BLAKE2B ad928cf80423977e5944e3110150afb3e5ae416bf1fd28aec8099c3f25e41956b49e4134cdee5e0621e5bdff44d7161c3b1783b3c6d15555eee86e2e14c29fbb SHA512 5b6374e45e7ccd68f3a28145c2fc350e630e97fcc5e97d46d05c32f0958a51e4713487b809099ddf0a9ab07840f7fb4409438ab7b7a9b0b05e94d292088b2c26 |
22 |
+DIST pkginfo-1.8.1.tar.gz 373496 BLAKE2B 13e21a07f389d5971dc8a999f999c8ef15b84d82f782c29a4912ab5f2a80ed2b812225469d03747e570b8985023c96d2ef05f5449d6b54439dc0efa748a4c5ed SHA512 463dc7d32687ef5105721509f0970efde6da0f00b96f2f6d407a05dc95d5f491838fe5a88b55061df878f0b760d5d825b1f5a65dd1ba1d7f2e1805ed80f72617 |
23 |
|
24 |
diff --git a/dev-python/pkginfo/pkginfo-1.8.1.ebuild b/dev-python/pkginfo/pkginfo-1.8.1.ebuild |
25 |
new file mode 100644 |
26 |
index 000000000000..090f27714158 |
27 |
--- /dev/null |
28 |
+++ b/dev-python/pkginfo/pkginfo-1.8.1.ebuild |
29 |
@@ -0,0 +1,29 @@ |
30 |
+# Copyright 1999-2021 Gentoo Authors |
31 |
+# Distributed under the terms of the GNU General Public License v2 |
32 |
+ |
33 |
+EAPI=8 |
34 |
+ |
35 |
+PYTHON_COMPAT=( python3_{8..10} pypy3 ) |
36 |
+inherit distutils-r1 |
37 |
+ |
38 |
+DESCRIPTION="Provides an API for querying the distutils metadata written in a PKG-INFO file" |
39 |
+HOMEPAGE="https://pypi.org/project/pkginfo/" |
40 |
+SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" |
41 |
+ |
42 |
+LICENSE="MIT" |
43 |
+SLOT="0" |
44 |
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~ppc ~ppc64 ~riscv ~sparc ~x86 ~x64-macos" |
45 |
+ |
46 |
+distutils_enable_tests pytest |
47 |
+distutils_enable_sphinx docs |
48 |
+ |
49 |
+python_test() { |
50 |
+ local EPYTEST_DESELECT=() |
51 |
+ |
52 |
+ [[ ${EPYTHON} == pypy3 ]] && EPYTEST_DESELECT+=( |
53 |
+ # https://bugs.launchpad.net/pkginfo/+bug/1952946 |
54 |
+ pkginfo/tests/test_installed.py::InstalledTests::test_ctor_w_package_no_PKG_INFO |
55 |
+ ) |
56 |
+ |
57 |
+ epytest |
58 |
+} |