add sysalert ebuild

This commit is contained in:
Fredrik Eriksson 2024-07-13 19:41:07 +02:00
parent a38a7363db
commit a9831988a7
Signed by: feffe
GPG Key ID: E6B5580B853D322B
2 changed files with 30 additions and 0 deletions

View File

@ -0,0 +1 @@
EBUILD sysalert-9999.ebuild 651 BLAKE2B 769429e3189b455a95c7dfa8111ac7c58bb5073302d612473b459121815b02e149d6ee658d0c4424970909382c77fc2a3a9d7f92cf08c3d5115fc7834329ce91 SHA512 e9d5896e2b36c23679049aacf18cabae2043f6268c00d75feecd304777deea2793e169cbf27877c8ea5e8f21ee11c0744afc1f3fa0e491ddf6b805c7f68e0938

View File

@ -0,0 +1,29 @@
# Copyright 2020 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
DISTUTILS_USE_PEP517=setuptools
PYTHON_COMPAT=( python3_{11,12,13} )
inherit distutils-r1
DESCRIPTION="Systemd failure handler"
HOMEPAGE="https://gitea.fulh.ax/feffe/sysalert"
if [[ ${PV} == 9999 ]] ; then
EGIT_REPO_URI="https://gitea.fulh.ax/feffe/sysalert.git"
inherit git-r3
KEYWORDS="~amd64 ~arm64"
else
SRC_URI="https://gitea.fulh.ax/feffe/sysalert/archive/v${PV}.tar.gz -> ${P}.tar.gz"
S="${WORKDIR}/sysalert"
KEYWORDS="amd64 arm64"
fi
LICENSE="MIT"
SLOT="0"
DEPEND=""
RDEPEND="${DEPEND} dev-python/python-systemd"
BDEPEND=""