summaryrefslogtreecommitdiff
path: root/sec-keys/openpgp-keys-django/openpgp-keys-django-20240807.ebuild
blob: 41cf29a5b77fb6082f37d09608eafe5124475e3f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
# Copyright 1999-2024 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/"
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
"
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
	)
}