summaryrefslogtreecommitdiff
path: root/app-admin/aerie/aerie-0.3.0.ebuild
blob: efd6ab3325be646efdf595fac869f758c802dc74 (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
# 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="Scout client runtime with compatible Aerie commands"
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"
BDEPEND="test? ( dev-vcs/git )"
IUSE="test"
RESTRICT="!test? ( test )"
DOCS=( README.md Changelog )

src_compile() {
	:
}

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

src_install() {
	python_domodule src/aerie
	python_newscript bin/aerie aerie
	python_newscript bin/scout scout
	einstalldocs
	insinto /etc/aerie
	doins etc/aerie.yml etc/baldeagleos.conf.example etc/parent.example
}