1
0
Fork 0

app-misc/repositorg: versioned release

Package-Manager: Portage-2.3.101, Repoman-2.3.22
Signed-off-by: Horea Christian <chr@chymera.eu>
This commit is contained in:
Horea Christian 2020-06-19 01:39:47 -04:00
parent 9fcb5c668d
commit 86e98bf1c4
No known key found for this signature in database
GPG Key ID: EAA9223EE3BB378A
3 changed files with 47 additions and 0 deletions

View File

@ -1,3 +1,8 @@
*repositorg-0.1 (19 Jun 2020)
19 Jun 2020; <chymera@gentoo.org> +repositorg-0.1.ebuild:
app-misc/repositorg: versioned release
11 Jun 2020; <chymera@gentoo.org> +files/repositorg_uuid.initd,
repositorg-9999.ebuild:
app-misc/repositorg: OpenRC script

View File

@ -0,0 +1 @@
DIST repositorg-0.1.tar.gz 28654 SHA256 b3b5efda6809ef618192c8c4144a866dc70ac763bc53ab63488cf23a019e63ac SHA512 a91d09aa49ba28acdb49516e540a727d875f0850ae578a0b6e6b882a2ca255fec7fde47fcd193d580c2cb7620cab638cb44027b86d7c3f44550aadd13ffa0d38 WHIRLPOOL 9f43f226b073228257c42a1a1512ae50313e88129b0a606fb10b79d51d4f71bbc5ac2b442006b9e76c9172e91867a37e1e2baf61390a4ed3c58631c250508985

View File

@ -0,0 +1,41 @@
# Copyright 1999-2020 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
PYTHON_COMPAT=(python3_{6,7,8})
inherit distutils-r1 systemd
DESCRIPTION="Automatically reposit, organize, rename, and process large collections of files."
HOMEPAGE="https://github.com/TheChymera/repositorg"
SRC_URI="https://github.com/TheChymera/repositorg/archive/${PV}.tar.gz -> ${P}.tar.gz"
LICENSE="GPL-3"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE="systemd"
DEPEND="
>=dev-python/argh-0.26.2
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
}