summaryrefslogtreecommitdiff
path: root/app-admin/aerie/aerie-0.1.5.ebuild
blob: 354dc94a3e1946b926cce1e65f1d720e73c6677d (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
42
43
44
45
46
47
48
# Copyright 2026 Srcux Authors
# Distributed under the terms of the GNU General Public License v2

EAPI=8

PYTHON_COMPAT=( python3_{13..14} )

inherit python-single-r1

DESCRIPTION="Repository and profile management tool for Srcux"
HOMEPAGE="https://git.srcux.com/aerie"
SRC_URI="https://www.srcux.com/distfiles/${P}.tar.gz"

LICENSE="GPL-2"
SLOT="0"
KEYWORDS="amd64 arm64"
REQUIRED_USE="${PYTHON_REQUIRED_USE}"

RDEPEND="
	${PYTHON_DEPS}
	app-portage/gentoolkit
	dev-vcs/git
"

DOCS=( README.md Changelog )

pkg_setup() {
	python-single-r1_pkg_setup
}

src_compile() {
	:
}

src_test() {
	PYTHONPATH=src "${EPYTHON}" -m unittest discover -s tests || die
}

src_install() {
	python_domodule src/aerie
	python_newscript bin/aerie aerie
	einstalldocs

	insinto "/etc/${PN}"
	doins "etc/${PN}.yml"
	doins etc/baldeagleos.conf.example
	doins etc/parent.example
}