From 5ef6e388c3244b120b199fa2e6b772a336f21eeb Mon Sep 17 00:00:00 2001 From: "Liguros - Gitlab CI/CD [develop]" Date: Fri, 4 Nov 2022 08:36:05 +0000 Subject: Adding metadata --- dev-python/mpdlcd/Manifest | 2 +- dev-python/mpdlcd/mpdlcd-0.5.2-r1.ebuild | 33 ------------------------- dev-python/mpdlcd/mpdlcd-0.5.2-r2.ebuild | 41 ++++++++++++++++++++++++++++++++ 3 files changed, 42 insertions(+), 34 deletions(-) delete mode 100644 dev-python/mpdlcd/mpdlcd-0.5.2-r1.ebuild create mode 100644 dev-python/mpdlcd/mpdlcd-0.5.2-r2.ebuild (limited to 'dev-python/mpdlcd') diff --git a/dev-python/mpdlcd/Manifest b/dev-python/mpdlcd/Manifest index 48aaf4c73f1b..0792edb63c23 100644 --- a/dev-python/mpdlcd/Manifest +++ b/dev-python/mpdlcd/Manifest @@ -1 +1 @@ -DIST mpdlcd-0.5.2.tar.gz 30748 BLAKE2B 5609ac149a9aa806e516202adf1b9d0f4fc88e8370f331edc836082d7b3b85c519097149dd2b5cb838d8a9ff353421e17daf9236397e4b37e2923948f8dc9dac SHA512 e000120eee1ce99b549c5ac0cd00fba394ce1a373cce3dde819f6aabd6fc3b616e59ade6d6868b1e9f14afea4897cf541f2c3f5d0eaebcbbd03b15781a63b6fc +DIST mpdlcd-0.5.2.gh.tar.gz 30748 BLAKE2B 5609ac149a9aa806e516202adf1b9d0f4fc88e8370f331edc836082d7b3b85c519097149dd2b5cb838d8a9ff353421e17daf9236397e4b37e2923948f8dc9dac SHA512 e000120eee1ce99b549c5ac0cd00fba394ce1a373cce3dde819f6aabd6fc3b616e59ade6d6868b1e9f14afea4897cf541f2c3f5d0eaebcbbd03b15781a63b6fc diff --git a/dev-python/mpdlcd/mpdlcd-0.5.2-r1.ebuild b/dev-python/mpdlcd/mpdlcd-0.5.2-r1.ebuild deleted file mode 100644 index 014d5f93e11f..000000000000 --- a/dev-python/mpdlcd/mpdlcd-0.5.2-r1.ebuild +++ /dev/null @@ -1,33 +0,0 @@ -# Copyright 1999-2022 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -PYTHON_COMPAT=( python3_{7,8,9,10,11} ) - -inherit distutils-r1 - -DESCRIPTION="A small tool to display the MPD status on a LCDproc server" -HOMEPAGE="https://github.com/rbarrois/mpdlcd" -SRC_URI="https://github.com/rbarrois/${PN}/archive/${P}.tar.gz" -S="${WORKDIR}/${PN}-${P}" - -LICENSE="BSD" -SLOT="0" -KEYWORDS="amd64 x86" - -RDEPEND="dev-python/python-mpd" - -distutils_enable_tests pytest - -python_install_all() { - distutils-r1_python_install_all - - doman man/mpdlcd.1 - - insinto /etc - doins mpdlcd.conf - - newinitd "${FILESDIR}"/mpdlcd.initd mpdlcd - newconfd "${FILESDIR}"/mpdlcd.confd mpdlcd -} diff --git a/dev-python/mpdlcd/mpdlcd-0.5.2-r2.ebuild b/dev-python/mpdlcd/mpdlcd-0.5.2-r2.ebuild new file mode 100644 index 000000000000..2b9c2228f5d3 --- /dev/null +++ b/dev-python/mpdlcd/mpdlcd-0.5.2-r2.ebuild @@ -0,0 +1,41 @@ +# Copyright 1999-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517="setuptools" +PYTHON_COMPAT=( python3_{7,8,9,10,11} ) + +inherit distutils-r1 + +DESCRIPTION="A small tool to display the MPD status on a LCDproc server" +HOMEPAGE="https://github.com/rbarrois/mpdlcd" +SRC_URI="https://github.com/rbarrois/${PN}/archive/refs/tags/${P}.tar.gz -> ${P}.gh.tar.gz" +S="${WORKDIR}/${PN}-${P}" + +LICENSE="BSD" +SLOT="0" +KEYWORDS="amd64 x86" + +RDEPEND="dev-python/python-mpd" + +distutils_enable_tests pytest + +src_prepare() { + default + + # Fix QA 'The license_file parameter is deprecated, use license_files instead.' + sed -e 's/license_file/license_files/g' -i setup.cfg || die +} + +python_install_all() { + distutils-r1_python_install_all + + doman man/mpdlcd.1 + + insinto /etc + doins mpdlcd.conf + + newinitd "${FILESDIR}"/mpdlcd.initd mpdlcd + newconfd "${FILESDIR}"/mpdlcd.confd mpdlcd +} -- cgit v1.3