summaryrefslogtreecommitdiff
path: root/app-portage/eschwartz-dev-scripts/eschwartz-dev-scripts-2.ebuild
blob: 0ada8519c0d81f16b6c79a1c18535084cdf5c903 (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
35
36
37
38
39
40
41
# Copyright 2025 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2

EAPI=8

PYTHON_COMPAT=( python3_{11..14} )

inherit meson python-single-r1 verify-sig

DESCRIPTION="Collection of QA scripts for ebuild development"
HOMEPAGE="https://codeberg.org/eli-schwartz/eschwartz-dev-scripts"
SRC_URI="
	https://codeberg.org/eli-schwartz/eschwartz-dev-scripts/releases/download/${PV}/${P}.tar.xz
	verify-sig? ( https://codeberg.org/eli-schwartz/eschwartz-dev-scripts/releases/download/${PV}/${P}.tar.xz.asc )
"

LICENSE="GPL-2+"
SLOT="0"
KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~loong ~ppc ~ppc64 ~riscv ~sparc ~x86"

REQUIRED_USE="${PYTHON_REQUIRED_USE}"

RDEPEND="
	${PYTHON_DEPS}
	sys-apps/portage
	$(python_gen_cond_dep '
		sys-apps/pkgcore[${PYTHON_USEDEP}]
	')

"
BDEPEND="
	${PYTHON_DEPS}
	verify-sig? ( >=sec-keys/openpgp-keys-eschwartz-20250723-r1 )
"

VERIFY_SIG_OPENPGP_KEY_PATH=/usr/share/openpgp-keys/eschwartz.asc

src_install() {
	meson_src_install
	python_fix_shebang "${ED}"/usr/libexec
}