1
0
Fork 0

Updated ebuild to include service file

This commit is contained in:
Horea Christian 2019-05-12 04:34:14 +02:00
parent 108c368dfd
commit 1345e786b1
2 changed files with 34 additions and 8 deletions

View File

@ -0,0 +1,10 @@
[Unit]
Description=A repositorg service to check for UUID events
After=local-fs.target
[Service]
ExecStart=/usr/bin/repositorg_uuid
User=%i
[Install]
WantedBy=multi-user.target

View File

@ -1,21 +1,37 @@
# Copyright 1999-2015 Gentoo Foundation
# Copyright 1999-2018 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: $
EAPI=6
PYTHON_COMPAT=( python{2_7,3_4,3_5} )
PYTHON_COMPAT=(python2_7 python3_{4,5,6})
inherit distutils-r1 git-r3 multilib
inherit distutils-r1 git-r3 systemd
DESCRIPTION="Organize and rename large numbers of files"
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"
LICENSE="GPLv3"
SLOT="0"
IUSE=""
KEYWORDS=""
IUSE=""
DEPEND=""
DEPEND="
>=dev-python/argh-0.26.2
media-libs/mutagen
"
RDEPEND="${DEPEND}"
python_install() {
distutils-r1_python_install
systemd_newunit "${FILESDIR}/${PN}_uuid.service" "${PN}_uuid@.service"
dobin repositorg_uuid
}
src_test() {
cd test_scripts/
for i in *.sh; do
./"$i" || die "Test $i failed"
done
}