gentoo/sec-keys/openpgp-keys-django/openpgp-keys-django-20241002.ebuild
Sam James 03f0907146
sec-keys/openpgp-keys-django: Stabilize 20241002 ALLARCHES, #963669
Signed-off-by: Sam James <sam@gentoo.org>
2025-10-02 23:22:51 +01:00

38 lines
1.2 KiB
Bash

# Copyright 1999-2025 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
DESCRIPTION="OpenPGP keys used to sign Django releases"
HOMEPAGE="https://www.djangoproject.com/download/"
# key URL is given in the *-checksums.txt file
SRC_URI="
https://keys.openpgp.org/vks/v1/by-fingerprint/FE5FB63876A1D718A8C67556E17DF5C82B4F9D00
-> FE5FB63876A1D718A8C67556E17DF5C82B4F9D00.r1.asc
https://keybase.io/felixx/pgp_keys.asc?fingerprint=abb2c2a8cd01f1613618b70d2ef56372ba48cd1b
-> ABB2C2A8CD01F1613618B70D2EF56372BA48CD1B.asc
https://github.com/nessita.gpg
-> 5B5B1BA10D85AC7C5C76E38F2EE82A8D9470983E.asc
https://github.com/sarahboyce.gpg
-> EB1B380D8AC52D002BACD3323955B19851EA96EF.asc
https://github.com/jacobtylerwalls.gpg
-> 53D46942E006A2A3EEDC8BC8131403F4D16D8DC7.asc
"
S=${WORKDIR}
LICENSE="public-domain"
SLOT="0"
KEYWORDS="~alpha amd64 arm arm64 ~hppa ~loong ~m68k ~mips ppc ppc64 ~riscv ~s390 ~sparc x86"
src_install() {
insinto /usr/share/openpgp-keys
newins - django.asc < <(
for x in ${A}; do
cat "${DISTDIR}/${x}"
# GitHub outputs keys without trailing newline, so we cannot
# just concatenate them
echo
done
)
}