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

30 lines
584 B
Bash
Raw Normal View History

2020-12-21 15:51:48 +01:00
# Copyright 2020 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
2022-06-18 10:42:57 +02:00
PYTHON_COMPAT=( python3_{8,9,10,11} )
2020-12-21 15:51:48 +01:00
inherit distutils-r1
DESCRIPTION="Tool for rotating backup files"
HOMEPAGE="https://gitea.fulh.ax/feffe/rotator"
if [[ ${PV} == *9999 ]] ; then
EGIT_REPO_URI="https://gitea.fulh.ax/feffe/rotator.git"
inherit git-r3
KEYWORDS="~amd64"
else
SRC_URI="https://gitea.fulh.ax/feffe/rotator/archive/v${PV}.tar.gz -> ${P}.tar.gz"
KEYWORDS="amd64"
S="${WORKDIR}/rotator"
fi
LICENSE="BSD"
SLOT="0"
IUSE=""
DEPEND=""
RDEPEND=""
BDEPEND=""