1 |
commit: 4807390e35cdcbf84ab977fb22b60790b9663cf5 |
2 |
Author: Michał Górny <mgorny <AT> gentoo <DOT> org> |
3 |
AuthorDate: Tue Oct 6 09:54:28 2020 +0000 |
4 |
Commit: Michał Górny <mgorny <AT> gentoo <DOT> org> |
5 |
CommitDate: Sat Oct 10 18:21:29 2020 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4807390e |
7 |
|
8 |
dev-python/miniupnpc: Use verify-sig.eclass |
9 |
|
10 |
Signed-off-by: Michał Górny <mgorny <AT> gentoo.org> |
11 |
|
12 |
dev-python/miniupnpc/Manifest | 1 + |
13 |
dev-python/miniupnpc/miniupnpc-2.1.20191224.ebuild | 11 +++++++---- |
14 |
2 files changed, 8 insertions(+), 4 deletions(-) |
15 |
|
16 |
diff --git a/dev-python/miniupnpc/Manifest b/dev-python/miniupnpc/Manifest |
17 |
index 955881a8af5..5341c95b6ff 100644 |
18 |
--- a/dev-python/miniupnpc/Manifest |
19 |
+++ b/dev-python/miniupnpc/Manifest |
20 |
@@ -1 +1,2 @@ |
21 |
DIST miniupnpc-2.1.20191224.tar.gz 94740 BLAKE2B 85c0b3eb678685bc7192dbee9440ec5f5be80cbac4d6a4e0a6473662c66f05ef512322cd535a142ffe16d3099a86f78ea70645a7eb2979c373e7a486aeab0cd5 SHA512 d362f914ce9177c1bc46f1f3ae59069c61c0c9c1b6ea7e78003d6b46445d3550835ffc541c2649b5fbc997d035357b461148edb3648135f33d0ce98b54961917 |
22 |
+DIST miniupnpc-2.1.20191224.tar.gz.sig 543 BLAKE2B ddbde04faa7bce62fdbb5b555bda9dc9ff69f09cc97442049adc787a03ec91824f14cdddaef6e577cf8d08fa96202fc792333b8dab7e6e8c30847fa9302a35d0 SHA512 b8885d2002259c95ede7ab57aaf82db83c2bd7ace3d0986179efac4245ffd42161049e0167a9ac1ff18de6c8df4d39356f0fb6aa6dada7523a238b4db4838887 |
23 |
|
24 |
diff --git a/dev-python/miniupnpc/miniupnpc-2.1.20191224.ebuild b/dev-python/miniupnpc/miniupnpc-2.1.20191224.ebuild |
25 |
index 5e1d489b2e1..e2122994dfd 100644 |
26 |
--- a/dev-python/miniupnpc/miniupnpc-2.1.20191224.ebuild |
27 |
+++ b/dev-python/miniupnpc/miniupnpc-2.1.20191224.ebuild |
28 |
@@ -5,11 +5,12 @@ EAPI=7 |
29 |
|
30 |
PYTHON_COMPAT=( python3_{6,7,8} pypy3 ) |
31 |
|
32 |
-inherit distutils-r1 |
33 |
+inherit distutils-r1 verify-sig |
34 |
|
35 |
DESCRIPTION="Python bindings for UPnP client library" |
36 |
HOMEPAGE="http://miniupnp.free.fr/" |
37 |
-SRC_URI="http://miniupnp.free.fr/files/${P}.tar.gz" |
38 |
+SRC_URI="http://miniupnp.free.fr/files/${P}.tar.gz |
39 |
+ verify-sig? ( http://miniupnp.free.fr/files/${P}.tar.gz.sig )" |
40 |
|
41 |
LICENSE="BSD" |
42 |
SLOT="0" |
43 |
@@ -17,8 +18,10 @@ KEYWORDS="amd64 ppc ppc64 x86" |
44 |
IUSE="" |
45 |
|
46 |
RDEPEND=">=net-libs/miniupnpc-${PV}:0=" |
47 |
-DEPEND="${RDEPEND} |
48 |
- dev-python/setuptools[${PYTHON_USEDEP}]" |
49 |
+DEPEND="${RDEPEND}" |
50 |
+BDEPEND="verify-sig? ( app-crypt/openpgp-keys-miniupnp )" |
51 |
+ |
52 |
+VERIFY_SIG_OPENPGP_KEY_PATH=${BROOT}/usr/share/openpgp-keys/miniupnp.asc |
53 |
|
54 |
PATCHES=( |
55 |
"${FILESDIR}"/miniupnpc-2.0.20171102-shared-lib.patch |