Gentoo Archives: gentoo-dev

From: "Michał Górny" <mgorny@g.o>
To: gentoo-dev@l.g.o
Subject: Re: [gentoo-dev] [PATCH 5/5] dev-python/miniupnpc: Use verify-sig.eclass
Date: Tue, 06 Oct 2020 11:47:24
Message-Id: 0a79413e1a70d6804f087cf41005e98cb4430dcd.camel@gentoo.org
In Reply to: Re: [gentoo-dev] [PATCH 5/5] dev-python/miniupnpc: Use verify-sig.eclass by Alexey Sokolov
1 On Tue, 2020-10-06 at 11:24 +0100, Alexey Sokolov wrote:
2 > вт, 6 окт. 2020 г. в 10:59, Michał Górny <mgorny@g.o>:
3 > > Signed-off-by: Michał Górny <mgorny@g.o>
4 > > ---
5 > > dev-python/miniupnpc/Manifest | 1 +
6 > > dev-python/miniupnpc/miniupnpc-2.1.20191224.ebuild | 11 +++++++----
7 > > 2 files changed, 8 insertions(+), 4 deletions(-)
8 > >
9 > > diff --git a/dev-python/miniupnpc/Manifest b/dev-python/miniupnpc/Manifest
10 > > index 955881a8af5a..5341c95b6ff0 100644
11 > > --- a/dev-python/miniupnpc/Manifest
12 > > +++ b/dev-python/miniupnpc/Manifest
13 > > @@ -1 +1,2 @@
14 > > DIST miniupnpc-2.1.20191224.tar.gz 94740 BLAKE2B 85c0b3eb678685bc7192dbee9440ec5f5be80cbac4d6a4e0a6473662c66f05ef512322cd535a142ffe16d3099a86f78ea70645a7eb2979c373e7a486aeab0cd5 SHA512 d362f914ce9177c1bc46f1f3ae59069c61c0c9c1b6ea7e78003d6b46445d3550835ffc541c2649b5fbc997d035357b461148edb3648135f33d0ce98b54961917
15 > > +DIST miniupnpc-2.1.20191224.tar.gz.sig 543 BLAKE2B ddbde04faa7bce62fdbb5b555bda9dc9ff69f09cc97442049adc787a03ec91824f14cdddaef6e577cf8d08fa96202fc792333b8dab7e6e8c30847fa9302a35d0 SHA512 b8885d2002259c95ede7ab57aaf82db83c2bd7ace3d0986179efac4245ffd42161049e0167a9ac1ff18de6c8df4d39356f0fb6aa6dada7523a238b4db4838887
16 > > diff --git a/dev-python/miniupnpc/miniupnpc-2.1.20191224.ebuild b/dev-python/miniupnpc/miniupnpc-2.1.20191224.ebuild
17 > > index 5e1d489b2e1e..e42aadd90e0d 100644
18 > > --- a/dev-python/miniupnpc/miniupnpc-2.1.20191224.ebuild
19 > > +++ b/dev-python/miniupnpc/miniupnpc-2.1.20191224.ebuild
20 > > @@ -5,11 +5,12 @@ EAPI=7
21 > >
22 > > PYTHON_COMPAT=( python3_{6,7,8} pypy3 )
23 > >
24 > > -inherit distutils-r1
25 > > +inherit distutils-r1 verify-sig
26 > >
27 > > DESCRIPTION="Python bindings for UPnP client library"
28 > > HOMEPAGE="http://miniupnp.free.fr/"
29 > > -SRC_URI="http://miniupnp.free.fr/files/${P}.tar.gz"
30 > > +SRC_URI="http://miniupnp.free.fr/files/${P}.tar.gz
31 > > + verify-sig? ( http://miniupnp.free.fr/files/${P}.tar.gz.sig )"
32 > >
33 > > LICENSE="BSD"
34 > > SLOT="0"
35 > > @@ -17,8 +18,10 @@ KEYWORDS="amd64 ppc ppc64 x86"
36 > > IUSE=""
37 > >
38 > > RDEPEND=">=net-libs/miniupnpc-${PV}:0="
39 > > -DEPEND="${RDEPEND}
40 > > - dev-python/setuptools[${PYTHON_USEDEP}]"
41 > > +DEPEND="${RDEPEND}"
42 > > +BDEPEND="verify-sig? ( app-crypt/openpgp-keys-miniupnp )"
43 > > +
44 > > +VERIFY_SIG_OPENPGP_KEY_PATH=/usr/share/openpgp-keys/miniupnp.asc
45 >
46 > Shouldn't this be prefixed with ${BROOT}? (preferably, in the eclass)
47 >
48
49 You are correct indeed.
50
51 --
52 Best regards,
53 Michał Górny

Attachments

File name MIME type
signature.asc application/pgp-signature