feffe-portage-overlay/sys-apps/sau/sau-9999.ebuild

30 lines
645 B
Bash
Raw Normal View History

2021-02-20 16:04:31 +01:00
# Copyright 2020 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
2024-06-04 21:05:30 +02:00
PYTHON_COMPAT=( python3_{11,12,13} )
2021-02-20 16:04:31 +01:00
inherit distutils-r1
DESCRIPTION="Tool for automatic upgrades"
HOMEPAGE="https://gitea.fulh.ax/feffe/sau"
2024-03-22 16:30:41 +01:00
if [[ ${PV} == 9999 ]] ; then
2021-02-20 16:04:31 +01:00
EGIT_REPO_URI="https://gitea.fulh.ax/feffe/sau.git"
inherit git-r3
2024-03-21 09:40:53 +01:00
KEYWORDS="~amd64 ~arm64"
2021-02-20 16:04:31 +01:00
else
SRC_URI="https://gitea.fulh.ax/feffe/sau/archive/v${PV}.tar.gz -> ${P}.tar.gz"
2021-02-21 07:03:45 +01:00
S="${WORKDIR}/sau"
2024-03-21 09:40:53 +01:00
KEYWORDS="amd64 arm64"
2021-02-20 16:04:31 +01:00
fi
LICENSE="BSD"
SLOT="0"
IUSE="selinux"
DEPEND="selinux? ( sec-policy/selinux-sau )"
RDEPEND="${DEPEND} dev-python/psutil"
BDEPEND=""