1
0
mirror of synced 2024-11-11 15:38:57 +01:00
TheChymera-overlay/app-misc/repositorg/repositorg-9999.ebuild
Horea Christian 24c827886c
app-misc/repositorg: updated dependency list
Package-Manager: Portage-3.0.11, Repoman-3.0.2
Signed-off-by: Horea Christian <chr@chymera.eu>
2020-12-10 03:24:43 -05:00

44 lines
939 B
Bash

# Copyright 1999-2020 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
PYTHON_COMPAT=(python3_{6..9})
inherit distutils-r1 git-r3 systemd
DESCRIPTION="Automatically reposit, organize, rename, and process large collections of files."
HOMEPAGE="https://github.com/TheChymera/repositorg"
SRC_URI=""
EGIT_REPO_URI="https://github.com/TheChymera/repositorg"
LICENSE="GPL-3"
SLOT="0"
KEYWORDS=""
IUSE="systemd"
DEPEND="
>=dev-python/argh-0.26.2[${PYTHON_USEDEP}]
dev-python/regex[${PYTHON_USEDEP}]
media-libs/mutagen
systemd? ( sys-apps/systemd )
"
RDEPEND="${DEPEND}"
python_install() {
distutils-r1_python_install
if use systemd; then
systemd_newunit "${FILESDIR}/${PN}_uuid.service" "${PN}_uuid@.service"
else
newinitd "${FILESDIR}/${PN}_uuid.initd" "${PN}_uuid"
fi
dobin repositorg_uuid
}
src_test() {
cd test_scripts/
for i in *.sh; do
./"$i" || die "Test $i failed"
done
}