Updated ebuild to include service file
This commit is contained in:
parent
108c368dfd
commit
1345e786b1
10
app-misc/repositorg/files/repositorg_uuid.service
Normal file
10
app-misc/repositorg/files/repositorg_uuid.service
Normal 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
|
@ -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
|
# Distributed under the terms of the GNU General Public License v2
|
||||||
# $Header: $
|
|
||||||
|
|
||||||
EAPI=6
|
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"
|
HOMEPAGE="https://github.com/TheChymera/repositorg"
|
||||||
SRC_URI=""
|
SRC_URI=""
|
||||||
EGIT_REPO_URI="https://github.com/TheChymera/repositorg"
|
EGIT_REPO_URI="https://github.com/TheChymera/repositorg"
|
||||||
|
|
||||||
LICENSE="GPL-3"
|
LICENSE="GPLv3"
|
||||||
SLOT="0"
|
SLOT="0"
|
||||||
IUSE=""
|
|
||||||
KEYWORDS=""
|
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
|
||||||
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user