summaryrefslogtreecommitdiff
path: root/dev-python/mpdlcd
diff options
context:
space:
mode:
authorV3n3RiX <venerix@redcorelinux.org>2020-09-02 14:09:07 +0100
committerV3n3RiX <venerix@redcorelinux.org>2020-09-02 14:09:07 +0100
commitb17a3ef12038de50228bade1f05502c74e135321 (patch)
tree9026dffec53f92cba48ca9a500a4f778e6304380 /dev-python/mpdlcd
parent3cf7c3ef441822c889356fd1812ebf2944a59851 (diff)
gentoo resync : 02.09.2020
Diffstat (limited to 'dev-python/mpdlcd')
-rw-r--r--dev-python/mpdlcd/Manifest5
-rw-r--r--dev-python/mpdlcd/files/mpdlcd.confd5
-rw-r--r--dev-python/mpdlcd/files/mpdlcd.initd15
-rw-r--r--dev-python/mpdlcd/metadata.xml19
-rw-r--r--dev-python/mpdlcd/mpdlcd-0.5.2.ebuild34
5 files changed, 78 insertions, 0 deletions
diff --git a/dev-python/mpdlcd/Manifest b/dev-python/mpdlcd/Manifest
new file mode 100644
index 000000000000..02e0d89de1bc
--- /dev/null
+++ b/dev-python/mpdlcd/Manifest
@@ -0,0 +1,5 @@
+AUX mpdlcd.confd 275 BLAKE2B 995143391e3c30486cdb98f1633005c9a059124ff2fe5a3c2eb9277769f253e9e505b22d6b45ab0f205ea2edb89d11653ae13610a48be6bc7951647787e9b8ae SHA512 ae86f6610ed529e09a365eaae4d1f503a6dc2732c7a26ef447a66509af181ee1ff64c5f4baa9b9f37bacda5f11547d911b34884a06294ead6bd9824e8f8cddc5
+AUX mpdlcd.initd 367 BLAKE2B 01dafb969e424a3dd57578890676b882e47757beeaa077cbdd76fe92cecd507901d01182a26ba7569975067548f3d24625736e03797f481c29ecb2d216e53f1e SHA512 09124a0b71a1425fb8a8bfaf0c021131a5e738856433a33e716eb691a353108b0bebff8459db190be5068e1dd5927a272cb859971bb7958d7e1eb7019325e8d1
+DIST mpdlcd-0.5.2.tar.gz 30748 BLAKE2B 5609ac149a9aa806e516202adf1b9d0f4fc88e8370f331edc836082d7b3b85c519097149dd2b5cb838d8a9ff353421e17daf9236397e4b37e2923948f8dc9dac SHA512 e000120eee1ce99b549c5ac0cd00fba394ce1a373cce3dde819f6aabd6fc3b616e59ade6d6868b1e9f14afea4897cf541f2c3f5d0eaebcbbd03b15781a63b6fc
+EBUILD mpdlcd-0.5.2.ebuild 694 BLAKE2B 14e4e2946aa271d98bcc5ab808d8e8975046584da0bf40fcaa5fb6a6e33fa06214ec690113103b60c98a58158828eb2378b5dbfa033acd6d6606584609e970fd SHA512 cf05a74eb3a2b9e1a14242405a4ea50b9660e6aded47787d55c6ee9771123269dc20fb82da8d72c01d0849c3a8ef98c057b730c8cccc94d68f49d530802396cd
+MISC metadata.xml 631 BLAKE2B e262838d612d40e33e7294517b2321c74c3a10e9e7757653db0d3206da191d239b717d8b63a67bbaaa8d90ce205665e175e7c7e69e936d900296727fd0218fe7 SHA512 755679357afeddb0ced255516a993bc6293fed76e2a876d8ff58e44b5292d65b2686f0593dd103460d64a83115094ec0257b053f7ffc88ab38e7d44cd4baeb0f
diff --git a/dev-python/mpdlcd/files/mpdlcd.confd b/dev-python/mpdlcd/files/mpdlcd.confd
new file mode 100644
index 000000000000..c7813cb0dea4
--- /dev/null
+++ b/dev-python/mpdlcd/files/mpdlcd.confd
@@ -0,0 +1,5 @@
+# Copyright 1999-2020 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+# Options for your started MPDlcd
+# MPDLCD_OPTS="--mpd=mpd.example.org:1234 --lcdproc=lcd.example.org:456 --syslog --syslog-facility=user2 --loglevel=debug --lcdd-debug"
diff --git a/dev-python/mpdlcd/files/mpdlcd.initd b/dev-python/mpdlcd/files/mpdlcd.initd
new file mode 100644
index 000000000000..c1e5bc7e1a3d
--- /dev/null
+++ b/dev-python/mpdlcd/files/mpdlcd.initd
@@ -0,0 +1,15 @@
+#!/sbin/openrc-run
+# Copyright 1999-2020 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+name="MPDlcd"
+description="A small adapter which will display the status of a MPD server on a LCDproc screen"
+pidfile="/run/mpdlcd.pid"
+
+command="/usr/bin/mpdlcd"
+command_args="${MPDLCD_OPTS}"
+command_background="true"
+
+depend() {
+ need net
+}
diff --git a/dev-python/mpdlcd/metadata.xml b/dev-python/mpdlcd/metadata.xml
new file mode 100644
index 000000000000..47a1342d704b
--- /dev/null
+++ b/dev-python/mpdlcd/metadata.xml
@@ -0,0 +1,19 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="person">
+ <email>conikost@gentoo.org</email>
+ <name>Conrad Kostecki</name>
+ </maintainer>
+ <longdescription>
+ MPDLcd is a small adapter which will display the status
+ of a MPD server on a LCD screen, through lcdproc.
+
+ It allows defining various layouts depending on LCD size,
+ with fix or moving parts.
+ </longdescription>
+ <upstream>
+ <bugs-to>https://github.com/rbarrois/mpdlcd/issues</bugs-to>
+ <remote-id type="github">rbarrois/mpdlcd</remote-id>
+ </upstream>
+</pkgmetadata>
diff --git a/dev-python/mpdlcd/mpdlcd-0.5.2.ebuild b/dev-python/mpdlcd/mpdlcd-0.5.2.ebuild
new file mode 100644
index 000000000000..b5e77f3dc0be
--- /dev/null
+++ b/dev-python/mpdlcd/mpdlcd-0.5.2.ebuild
@@ -0,0 +1,34 @@
+# Copyright 1999-2020 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+PYTHON_COMPAT=( python3_{6..9} )
+
+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"
+
+LICENSE="BSD"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+
+RDEPEND="dev-python/python-mpd"
+
+S="${WORKDIR}/${PN}-${P}"
+
+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
+}