1
0
Fork 0

app-misc/repositorg: Updated metadata and systemd

USE functionality

Package-Manager: Portage-2.3.66, Repoman-2.3.12
Signed-off-by: Horea Christian <horea.christ@yandex.com>
This commit is contained in:
Horea Christian 2019-05-12 04:47:36 +02:00
parent 1345e786b1
commit baabda1cd5
No known key found for this signature in database
GPG Key ID: EAA9223EE3BB378A
3 changed files with 28 additions and 5 deletions

View File

@ -0,0 +1,2 @@
12 May 2019; <chymera@gentoo.org> +metadata.xml, repositorg-9999.ebuild:
app-misc/repositorg: Updated metadata and systemd USE functionality

View File

@ -0,0 +1,18 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
<maintainer type="person">
<email>chr@chymer.eu</email>
<name>Horea Christian</name>
</maintainer>
<longdescription lang="en">
Repositorg is Python module that lets you automatically reposit,
organize, rename, and process large collections of files (e.g.
pictures, or video). The package includes optional systemd support
which can trigger custom repositorg scripts based on hardware
events.
</longdescription>
<upstream>
<remote-id type="github">TheChymera/repositorg</remote-id>
</upstream>
</pkgmetadata>

View File

@ -1,7 +1,7 @@
# Copyright 1999-2018 Gentoo Foundation
# Copyright 1999-2019 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=6
EAPI=7
PYTHON_COMPAT=(python2_7 python3_{4,5,6})
@ -12,20 +12,23 @@ HOMEPAGE="https://github.com/TheChymera/repositorg"
SRC_URI=""
EGIT_REPO_URI="https://github.com/TheChymera/repositorg"
LICENSE="GPLv3"
LICENSE="GPL-3"
SLOT="0"
KEYWORDS=""
IUSE=""
IUSE="systemd"
DEPEND="
>=dev-python/argh-0.26.2
media-libs/mutagen
systemd? ( sys-apps/systemd )
"
RDEPEND="${DEPEND}"
python_install() {
distutils-r1_python_install
systemd_newunit "${FILESDIR}/${PN}_uuid.service" "${PN}_uuid@.service"
if use systemd; then
systemd_newunit "${FILESDIR}/${PN}_uuid.service" "${PN}_uuid@.service"
fi
dobin repositorg_uuid
}