[gentoo-commits] dev/mrueg:master commit in: media-sound/mopidy/
commit: 61363f710fa710d6bb46e8b7e22b9d9ce9b7727a Author: Manuel Rüger gentoo org> AuthorDate: Mon Sep 19 02:27:31 2016 + Commit: Manuel Rüger gentoo org> CommitDate: Mon Sep 19 02:27:31 2016 + URL:https://gitweb.gentoo.org/dev/mrueg.git/commit/?id=61363f71 media-sound/mopidy: Version bump, remove old Package-Manager: portage-2.3.0 media-sound/mopidy/Manifest | 2 +- media-sound/mopidy/{mopidy-2.0.0.ebuild => mopidy-2.0.1.ebuild} | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/media-sound/mopidy/Manifest b/media-sound/mopidy/Manifest index 6ad6748..6fbb868 100644 --- a/media-sound/mopidy/Manifest +++ b/media-sound/mopidy/Manifest @@ -1,2 +1,2 @@ DIST Mopidy-1.1.2.tar.gz 2256481 SHA256 474089ee563ff1fe96e5bcad37a731dd3207cbf0fdea952d5b805f464a2b0bc8 SHA512 1795104465e2e8ec46815d1e129f477f59f4d29d62c8a9fd501ccb65a2574dcdefffbec93dcacbf55cc5c9c39ef774e0f69d3fb0d1b9b1f67012816537f2a573 WHIRLPOOL 8b8498728e48073ad6613219ea1396e00374cbd6824dc8a5ee936e52da4c6911d5b7397ccfcf0f2f6a4c0fb4fa903666a2844f6fa1486f522da3f8bd47761e6b -DIST Mopidy-2.0.0.tar.gz 2268847 SHA256 14a04c249f83d42f2012b580f3a05853f56320f1bb68ac91c4068b64c81a9265 SHA512 7723b0c2f88e5694ef62913992ee058ae53cc9d5bab4134527789a1619e70a51aedfa8858ae925db9f4669f2111643e5653ff3f2ef8556ca8fa1265088389467 WHIRLPOOL 08c85e3a10d21f7aec1c24923128af4d84689871458b892e8f5d014a552351b47b29e951ecc7281eaa0e6419afff150606abb38491c412dc291356216bcaf96d +DIST Mopidy-2.0.1.tar.gz 2270122 SHA256 af3129d8b7e45c8a2af34f2b50592f64c00aaa0400ef6e6c742b6587ea9bdf67 SHA512 560a72c3845de6ecb45857690d22d5cccd97e26067d116ba82f26ae1b7c3cd1ad80318256084c586054f5eed0151d53792f499706612572cae7fe7f334ef1a05 WHIRLPOOL 0dda0bfb36408984834c815428fb1c4f862b30ab5bb9ead45106b2a9957318438f8eba73a15e3d2cb9c484cc1d0fabeccea05422e1d9a22e1942369322a57ece diff --git a/media-sound/mopidy/mopidy-2.0.0.ebuild b/media-sound/mopidy/mopidy-2.0.1.ebuild similarity index 97% rename from media-sound/mopidy/mopidy-2.0.0.ebuild rename to media-sound/mopidy/mopidy-2.0.1.ebuild index 4049dff..b90bd6c 100644 --- a/media-sound/mopidy/mopidy-2.0.0.ebuild +++ b/media-sound/mopidy/mopidy-2.0.1.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2015 Gentoo Foundation +# Copyright 1999-2016 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 # $Id$
[gentoo-commits] dev/mrueg:master commit in: media-sound/mopidy/files/
commit: 07d907308c2b5ed84670214cdaf306090943671d Author: Manuel Rüger gentoo org> AuthorDate: Fri Sep 9 18:39:25 2016 + Commit: Manuel Rüger gentoo org> CommitDate: Fri Sep 9 18:39:25 2016 + URL:https://gitweb.gentoo.org/dev/mrueg.git/commit/?id=07d90730 media-sound/mopidy: Fix initscript Package-Manager: portage-2.3.0 media-sound/mopidy/files/mopidy.initd | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/media-sound/mopidy/files/mopidy.initd b/media-sound/mopidy/files/mopidy.initd index 0c2f8ed..cb3fd55 100644 --- a/media-sound/mopidy/files/mopidy.initd +++ b/media-sound/mopidy/files/mopidy.initd @@ -1,5 +1,5 @@ -#!/sbin/runscript -# Copyright 1999-2015 Gentoo Foundation +#!/sbin/openrc-run +# Copyright 1999-2016 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 # $Header: $
[gentoo-commits] dev/mrueg:master commit in: media-sound/mopidy/
commit: 1225bfcdfc93fbc6ae47c02f315ee9d5a9c012b7 Author: Martin Ertsaas gmail com> AuthorDate: Tue Feb 16 08:41:33 2016 + Commit: Manuel Rüger gentoo org> CommitDate: Thu Feb 18 22:37:53 2016 + URL:https://gitweb.gentoo.org/dev/mrueg.git/commit/?id=1225bfcd mopidy: Update to v2.0.0 v2.0.0 updates from gst:0.10 to gst:1.0 Package-Manager: portage-2.2.27 media-sound/mopidy/Manifest| 1 + media-sound/mopidy/mopidy-2.0.0.ebuild | 58 ++ 2 files changed, 59 insertions(+) diff --git a/media-sound/mopidy/Manifest b/media-sound/mopidy/Manifest index 568d48f..6ad6748 100644 --- a/media-sound/mopidy/Manifest +++ b/media-sound/mopidy/Manifest @@ -1 +1,2 @@ DIST Mopidy-1.1.2.tar.gz 2256481 SHA256 474089ee563ff1fe96e5bcad37a731dd3207cbf0fdea952d5b805f464a2b0bc8 SHA512 1795104465e2e8ec46815d1e129f477f59f4d29d62c8a9fd501ccb65a2574dcdefffbec93dcacbf55cc5c9c39ef774e0f69d3fb0d1b9b1f67012816537f2a573 WHIRLPOOL 8b8498728e48073ad6613219ea1396e00374cbd6824dc8a5ee936e52da4c6911d5b7397ccfcf0f2f6a4c0fb4fa903666a2844f6fa1486f522da3f8bd47761e6b +DIST Mopidy-2.0.0.tar.gz 2268847 SHA256 14a04c249f83d42f2012b580f3a05853f56320f1bb68ac91c4068b64c81a9265 SHA512 7723b0c2f88e5694ef62913992ee058ae53cc9d5bab4134527789a1619e70a51aedfa8858ae925db9f4669f2111643e5653ff3f2ef8556ca8fa1265088389467 WHIRLPOOL 08c85e3a10d21f7aec1c24923128af4d84689871458b892e8f5d014a552351b47b29e951ecc7281eaa0e6419afff150606abb38491c412dc291356216bcaf96d diff --git a/media-sound/mopidy/mopidy-2.0.0.ebuild b/media-sound/mopidy/mopidy-2.0.0.ebuild new file mode 100644 index 000..4049dff --- /dev/null +++ b/media-sound/mopidy/mopidy-2.0.0.ebuild @@ -0,0 +1,58 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=5 +PYTHON_COMPAT=(python2_7) + +inherit user eutils systemd distutils-r1 + +DESCRIPTION="An extensible music server that plays music from local disk and more" +HOMEPAGE="http://mopidy.com https://github.com/mopidy/mopidy; +SRC_URI="mirror://pypi/M/Mopidy/Mopidy-${PV}.tar.gz" + +LICENSE="Apache-2.0" +SLOT="0" +KEYWORDS="~amd64" +IUSE="test" + +RDEPEND="dev-python/pykka[${PYTHON_USEDEP}] + >=dev-python/gst-python-1.2.3:1.0[${PYTHON_USEDEP}] + dev-python/pygobject[${PYTHON_USEDEP}] + dev-python/requests[${PYTHON_USEDEP}] + >=media-plugins/gst-plugins-meta-1.0-r2:1.0[http,mp3] + www-servers/tornado[${PYTHON_USEDEP}]" + +DEPEND="test? ( ${RDEPEND} + dev-python/mock[${PYTHON_USEDEP}] + dev-python/pytest[${PYTHON_USEDEP}] + dev-python/responses[${PYTHON_USEDEP}] ) + dev-python/setuptools[${PYTHON_USEDEP}]" + +S=${WORKDIR}/Mopidy-${PV} + +pkg_setup() { + enewgroup mopidy + enewuser mopidy -1 -1 "/etc/mopidy" mopidy + distutils-r1_pkg_setup +} + +src_install() { + distutils-r1_src_install + + dobin extra/mopidyctl/mopidyctl + doman extra/mopidyctl/mopidyctl.8 + + newinitd "${FILESDIR}"/${PN}.initd ${PN} + systemd_dounit extra/systemd/mopidy.service + domenu extra/desktop/mopidy.desktop || die + + einfo + elog "Don't forget to add the mopidy user to the audio group" + elog "usermod -a -G audio mopidy" + einfo +} + +python_test() { + py.test || die +}
[gentoo-commits] dev/mrueg:master commit in: media-sound/mopidy/
commit: f56412d982301cb7da725d04ac06408adcaac937 Author: Manuel Rüger gentoo org> AuthorDate: Wed Feb 3 23:53:55 2016 + Commit: Manuel Rüger gentoo org> CommitDate: Wed Feb 3 23:53:55 2016 + URL:https://gitweb.gentoo.org/dev/mrueg.git/commit/?id=f56412d9 media-sound/mopidy: Version bump. Remove old Package-Manager: portage-2.2.27 media-sound/mopidy/Manifest | 2 +- media-sound/mopidy/{mopidy-1.1.1.ebuild => mopidy-1.1.2.ebuild} | 0 2 files changed, 1 insertion(+), 1 deletion(-) diff --git a/media-sound/mopidy/Manifest b/media-sound/mopidy/Manifest index 1f75860..568d48f 100644 --- a/media-sound/mopidy/Manifest +++ b/media-sound/mopidy/Manifest @@ -1 +1 @@ -DIST Mopidy-1.1.1.tar.gz 2062114 SHA256 823e1ba8781a107c69e8c1cd8fad9be81dc003c946e9d54fe41cadaad3a0e78e SHA512 31b2665529dba987cd6fbbc66da10bc2937e99c42f049b05c398ce582b24c71d2daf75b62453f9947869393af659597004aa8820376401f6e9099e7dcbad09f0 WHIRLPOOL 480dcb782a119b718513cf397a405fa585be292db6487e47c36e3be4fda4a5aa8e10a377193b4515df539b29de5a2df9e7421a0ccbbb240b9ea07c4c8343038c +DIST Mopidy-1.1.2.tar.gz 2256481 SHA256 474089ee563ff1fe96e5bcad37a731dd3207cbf0fdea952d5b805f464a2b0bc8 SHA512 1795104465e2e8ec46815d1e129f477f59f4d29d62c8a9fd501ccb65a2574dcdefffbec93dcacbf55cc5c9c39ef774e0f69d3fb0d1b9b1f67012816537f2a573 WHIRLPOOL 8b8498728e48073ad6613219ea1396e00374cbd6824dc8a5ee936e52da4c6911d5b7397ccfcf0f2f6a4c0fb4fa903666a2844f6fa1486f522da3f8bd47761e6b diff --git a/media-sound/mopidy/mopidy-1.1.1.ebuild b/media-sound/mopidy/mopidy-1.1.2.ebuild similarity index 100% rename from media-sound/mopidy/mopidy-1.1.1.ebuild rename to media-sound/mopidy/mopidy-1.1.2.ebuild
[gentoo-commits] dev/mrueg:master commit in: media-sound/mopidy/
commit: b896abce80b8c1ba883cd378966fe52e87e1a421 Author: Manuel Rüger gentoo org> AuthorDate: Wed Sep 16 17:07:37 2015 + Commit: Manuel Rüger gentoo org> CommitDate: Wed Sep 16 17:07:37 2015 + URL:https://gitweb.gentoo.org/dev/mrueg.git/commit/?id=b896abce media-sound/mopidy: Version bump. Remove old Package-Manager: portage-2.2.20.1 media-sound/mopidy/Manifest | 2 +- media-sound/mopidy/{mopidy-1.1.0.ebuild => mopidy-1.1.1.ebuild} | 0 2 files changed, 1 insertion(+), 1 deletion(-) diff --git a/media-sound/mopidy/Manifest b/media-sound/mopidy/Manifest index 65a7cca..1f75860 100644 --- a/media-sound/mopidy/Manifest +++ b/media-sound/mopidy/Manifest @@ -1 +1 @@ -DIST Mopidy-1.1.0.tar.gz 2066425 SHA256 062ec9df8c5bc641b4f3f36ba0ef0da26d88f10511b99acd62dea040c8fb1f37 SHA512 a8313b55a869b808125da1f6d1259c3a28f5f17ca0dc1fe23f95ad10ef13aaeb135537733524fa7e269c72d40c718e38f1064ff799f6bd490aaef3ffccd1fd92 WHIRLPOOL c11647418f1bbc0969edb1c0dd276b2d5b073e69536a4b30646cada9400fe030bb6a84e6bcee6737cd24e8d6432b4289a0e48dc6b081ae50db90d7fc7c3ec532 +DIST Mopidy-1.1.1.tar.gz 2062114 SHA256 823e1ba8781a107c69e8c1cd8fad9be81dc003c946e9d54fe41cadaad3a0e78e SHA512 31b2665529dba987cd6fbbc66da10bc2937e99c42f049b05c398ce582b24c71d2daf75b62453f9947869393af659597004aa8820376401f6e9099e7dcbad09f0 WHIRLPOOL 480dcb782a119b718513cf397a405fa585be292db6487e47c36e3be4fda4a5aa8e10a377193b4515df539b29de5a2df9e7421a0ccbbb240b9ea07c4c8343038c diff --git a/media-sound/mopidy/mopidy-1.1.0.ebuild b/media-sound/mopidy/mopidy-1.1.1.ebuild similarity index 100% rename from media-sound/mopidy/mopidy-1.1.0.ebuild rename to media-sound/mopidy/mopidy-1.1.1.ebuild
[gentoo-commits] dev/mrueg:master commit in: media-sound/mopidy/
commit: 3e474fcf72889f2b63ca3834ad523913c22487b2 Author: Manuel Rüger mrueg AT gentoo DOT org AuthorDate: Fri Aug 28 01:45:51 2015 + Commit: Manuel Rüger mrueg AT gentoo DOT org CommitDate: Fri Aug 28 01:45:51 2015 + URL:https://gitweb.gentoo.org/dev/mrueg.git/commit/?id=3e474fcf media-sound/mopidy: Version bump. Remove old. Package-Manager: portage-2.2.20.1 media-sound/mopidy/Manifest | 2 +- media-sound/mopidy/{mopidy-1.0.8.ebuild = mopidy-1.1.0.ebuild} | 8 +--- 2 files changed, 6 insertions(+), 4 deletions(-) diff --git a/media-sound/mopidy/Manifest b/media-sound/mopidy/Manifest index 4976ff9..65a7cca 100644 --- a/media-sound/mopidy/Manifest +++ b/media-sound/mopidy/Manifest @@ -1 +1 @@ -DIST Mopidy-1.0.8.tar.gz 1952362 SHA256 e7ccc2efd626320d6117e7143af2fd681dcae2e8623902bc3922c3dd7271b863 SHA512 34304469cbed1cb1de18bf2167ad172bc9713aabb9e56d74d34fad77bad1c064b0ff7ff836378055537b3670d655b9ea31511e3ee3ed5efe109bbef8e78ab62c WHIRLPOOL 9b46c800f923d71b5643b34fde71b98c88bceafad7aae9e0a30be0f1a6104f6f4bd995c7b12307ffb61e7938fd970ddecfbc2617e27df59d902c1ff5a2256f56 +DIST Mopidy-1.1.0.tar.gz 2066425 SHA256 062ec9df8c5bc641b4f3f36ba0ef0da26d88f10511b99acd62dea040c8fb1f37 SHA512 a8313b55a869b808125da1f6d1259c3a28f5f17ca0dc1fe23f95ad10ef13aaeb135537733524fa7e269c72d40c718e38f1064ff799f6bd490aaef3ffccd1fd92 WHIRLPOOL c11647418f1bbc0969edb1c0dd276b2d5b073e69536a4b30646cada9400fe030bb6a84e6bcee6737cd24e8d6432b4289a0e48dc6b081ae50db90d7fc7c3ec532 diff --git a/media-sound/mopidy/mopidy-1.0.8.ebuild b/media-sound/mopidy/mopidy-1.1.0.ebuild similarity index 88% rename from media-sound/mopidy/mopidy-1.0.8.ebuild rename to media-sound/mopidy/mopidy-1.1.0.ebuild index 2ed146c..1c60ff9 100644 --- a/media-sound/mopidy/mopidy-1.0.8.ebuild +++ b/media-sound/mopidy/mopidy-1.1.0.ebuild @@ -18,6 +18,7 @@ IUSE=test RDEPEND=dev-python/pykka[${PYTHON_USEDEP}] dev-python/gst-python:0.10[${PYTHON_USEDEP}] + dev-python/requests[${PYTHON_USEDEP}] media-libs/gst-plugins-bad:0.10 media-libs/gst-plugins-good:0.10 media-libs/gst-plugins-ugly:0.10 @@ -25,7 +26,9 @@ RDEPEND=dev-python/pykka[${PYTHON_USEDEP}] www-servers/tornado[${PYTHON_USEDEP}] DEPEND=test? ( ${RDEPEND} - dev-python/nose[${PYTHON_USEDEP}] ) + dev-python/mock[${PYTHON_USEDEP}] + dev-python/pytest[${PYTHON_USEDEP}] + dev-python/responses[${PYTHON_USEDEP}] ) dev-python/setuptools[${PYTHON_USEDEP}] S=${WORKDIR}/Mopidy-${PV} @@ -33,7 +36,6 @@ S=${WORKDIR}/Mopidy-${PV} pkg_setup() { enewgroup mopidy enewuser mopidy -1 -1 /etc/mopidy mopidy - distutils-r1_pkg_setup } @@ -54,5 +56,5 @@ src_install() { } python_test() { - nosetests || die + py.test || die }
[gentoo-commits] dev/mrueg:master commit in: media-sound/mopidy/
commit: dc088c072d804eea5c4473a17e05c16afc4d14e1 Author: Manuel Rüger mrueg AT gentoo DOT org AuthorDate: Sun Jul 26 20:23:00 2015 + Commit: Manuel Rüger mrueg AT gentoo DOT org CommitDate: Sun Jul 26 20:23:00 2015 + URL:https://gitweb.gentoo.org/dev/mrueg.git/commit/?id=dc088c07 [media-sound/mopidy] Version bump. Package-Manager: portage-2.2.20 media-sound/mopidy/Manifest| 2 +- media-sound/mopidy/{mopidy-1.0.7-r1.ebuild = mopidy-1.0.8.ebuild} | 0 2 files changed, 1 insertion(+), 1 deletion(-) diff --git a/media-sound/mopidy/Manifest b/media-sound/mopidy/Manifest index bf2cd8e..4976ff9 100644 --- a/media-sound/mopidy/Manifest +++ b/media-sound/mopidy/Manifest @@ -1 +1 @@ -DIST Mopidy-1.0.7.tar.gz 1910270 SHA256 85f1d7ca176dd28f1880db56d26b1a4ff6dcd53e3da0918026fbaa50916ec678 SHA512 4de559df90288c7ecc875aba77689ffdfcd756acb5092775e9ae6501e143658c131ba0920e47a1e9213433967f50481668e704e27787f48534003973c7299590 WHIRLPOOL 6b7fa2bff381401bb226ad8f26552836ab33e8c89e08689edfef0fb6aabe8c54e310cde0b221f3ea2f44578da4d06c5e482046ead8452c7fb19661f96ddc6e84 +DIST Mopidy-1.0.8.tar.gz 1952362 SHA256 e7ccc2efd626320d6117e7143af2fd681dcae2e8623902bc3922c3dd7271b863 SHA512 34304469cbed1cb1de18bf2167ad172bc9713aabb9e56d74d34fad77bad1c064b0ff7ff836378055537b3670d655b9ea31511e3ee3ed5efe109bbef8e78ab62c WHIRLPOOL 9b46c800f923d71b5643b34fde71b98c88bceafad7aae9e0a30be0f1a6104f6f4bd995c7b12307ffb61e7938fd970ddecfbc2617e27df59d902c1ff5a2256f56 diff --git a/media-sound/mopidy/mopidy-1.0.7-r1.ebuild b/media-sound/mopidy/mopidy-1.0.8.ebuild similarity index 100% rename from media-sound/mopidy/mopidy-1.0.7-r1.ebuild rename to media-sound/mopidy/mopidy-1.0.8.ebuild
[gentoo-commits] dev/mrueg:master commit in: media-sound/mopidy/
commit: c75755ccdeaac09e30da26aabcb619f29b1dfcc0 Author: Manuel Rüger mrueg AT gentoo DOT org AuthorDate: Wed Jul 8 22:11:59 2015 + Commit: Manuel Rüger mrueg AT gentoo DOT org CommitDate: Wed Jul 8 22:11:59 2015 + URL:https://gitweb.gentoo.org/dev/mrueg.git/commit/?id=c75755cc [media-sound/mopidy] Update dependencies. Package-Manager: portage-2.2.20 media-sound/mopidy/mopidy-1.0.7-r1.ebuild | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/media-sound/mopidy/mopidy-1.0.7-r1.ebuild b/media-sound/mopidy/mopidy-1.0.7-r1.ebuild index a902817..5344c93 100644 --- a/media-sound/mopidy/mopidy-1.0.7-r1.ebuild +++ b/media-sound/mopidy/mopidy-1.0.7-r1.ebuild @@ -21,7 +21,7 @@ RDEPEND=dev-python/pykka[${PYTHON_USEDEP}] media-libs/gst-plugins-bad:0.10 media-libs/gst-plugins-good:0.10 media-libs/gst-plugins-ugly:0.10 - media-plugins/gst-plugins-meta:0.10 + media-plugins/gst-plugins-meta:0.10[http,mp3] www-servers/tornado[${PYTHON_USEDEP}] DEPEND=test? ( ${RDEPEND} @@ -33,6 +33,7 @@ S=${WORKDIR}/Mopidy-${PV} pkg_setup() { enewgroup mopidy enewuser mopidy -1 -1 /etc/mopidy mopidy + distutils-r1_pkg_setup }
[gentoo-commits] dev/mrueg:master commit in: media-sound/mopidy/
commit: 28a8e7e045700bea3ba5aa55b7f040de10f4545d Author: Manuel Rüger mrueg AT gentoo DOT org AuthorDate: Mon Jul 6 12:44:03 2015 + Commit: Manuel Rüger mrueg AT gentoo DOT org CommitDate: Mon Jul 6 12:44:03 2015 + URL:https://gitweb.gentoo.org/dev/mrueg.git/commit/?id=28a8e7e0 [media-sound/mopidy] Add elog wrt audio group. Package-Manager: portage-2.2.20 media-sound/mopidy/mopidy-1.0.7-r1.ebuild | 5 + 1 file changed, 5 insertions(+) diff --git a/media-sound/mopidy/mopidy-1.0.7-r1.ebuild b/media-sound/mopidy/mopidy-1.0.7-r1.ebuild index 1eeda59..a902817 100644 --- a/media-sound/mopidy/mopidy-1.0.7-r1.ebuild +++ b/media-sound/mopidy/mopidy-1.0.7-r1.ebuild @@ -45,6 +45,11 @@ src_install() { newinitd ${FILESDIR}/${PN}.initd ${PN} systemd_dounit extra/systemd/mopidy.service domenu extra/desktop/mopidy.desktop || die + + einfo + elog Don't forget to add the mopidy user to the audio group + elog usermod -a -G audio mopidy + einfo } python_test() {
[gentoo-commits] dev/mrueg:master commit in: media-sound/mopidy/, media-sound/mopidy/files/
commit: 36373359ecce4a3ec54dd5338e578e3267b828f0 Author: Manuel Rüger mrueg AT gentoo DOT org AuthorDate: Thu Jul 2 13:40:52 2015 + Commit: Manuel Rüger mrueg AT gentoo DOT org CommitDate: Thu Jul 2 13:40:52 2015 + URL:https://gitweb.gentoo.org/dev/mrueg.git/commit/?id=36373359 [media-sound/mopidy] Install init script, systemd unit file and mopidyctl Package-Manager: portage-2.2.20 media-sound/mopidy/files/mopidy.initd | 24 ++ ...{mopidy-1.0.7.ebuild = mopidy-1.0.7-r1.ebuild} | 15 -- 2 files changed, 37 insertions(+), 2 deletions(-) diff --git a/media-sound/mopidy/files/mopidy.initd b/media-sound/mopidy/files/mopidy.initd new file mode 100644 index 000..bf6cc10 --- /dev/null +++ b/media-sound/mopidy/files/mopidy.initd @@ -0,0 +1,24 @@ +#!/sbin/runscript +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: $ + +PIDFILE=/run/mopidy.pid + +start() { +ebegin Starting mopidy +start-stop-daemon --start --quiet --background \ +--user mopidy \ +--pidfile ${PIDFILE} --make-pidfile \ +--exec /usr/bin/mopidy \ +--config /usr/share/mopidy/conf.d:/etc/mopidy/mopidy.conf\ +-- --foreground +eend $? +} + +stop() { +ebegin Stopping mopidy +start-stop-daemon --stop --quiet \ +--pidfile ${PIDFILE} +eend $? +} diff --git a/media-sound/mopidy/mopidy-1.0.7.ebuild b/media-sound/mopidy/mopidy-1.0.7-r1.ebuild similarity index 76% rename from media-sound/mopidy/mopidy-1.0.7.ebuild rename to media-sound/mopidy/mopidy-1.0.7-r1.ebuild index c1090bf..90b730c 100644 --- a/media-sound/mopidy/mopidy-1.0.7.ebuild +++ b/media-sound/mopidy/mopidy-1.0.7-r1.ebuild @@ -5,7 +5,7 @@ EAPI=5 PYTHON_COMPAT=(python2_7) -inherit eutils distutils-r1 +inherit eutils systemd distutils-r1 DESCRIPTION=An extensible music server that plays music from local disk and more HOMEPAGE=http://mopidy.com https://github.com/mopidy/mopidy; @@ -30,10 +30,21 @@ DEPEND=test? ( ${RDEPEND} S=${WORKDIR}/Mopidy-${PV} +pkg_setup() { + enewuser mopidy -1 -1 /etc/mopidy mopidy + enewgroup mopidy + distutils-r1_pkg_setup +} + src_install() { distutils-r1_src_install - domenu extra/desktop/mopidy.desktop || die + dobin extra/mopidyctl/mopidyctl + doman extra/mopidyctl/mopidyctl.8 + + newinitd ${FILESDIR}/${PN}.initd ${PN} + systemd_dounit extra/systemd/mopidy.service + domenu extra/desktop/mopidy.desktop || die } python_test() {
[gentoo-commits] dev/mrueg:master commit in: media-sound/mopidy/
commit: 5816f387445ef707b2fc3da136f6969941206828 Author: Manuel Rüger mrueg AT gentoo DOT org AuthorDate: Thu Jul 2 15:22:30 2015 + Commit: Manuel Rüger mrueg AT gentoo DOT org CommitDate: Thu Jul 2 15:22:30 2015 + URL:https://gitweb.gentoo.org/dev/mrueg.git/commit/?id=5816f387 [media-sound/mopidy] Inherit user.eclass. Package-Manager: portage-2.2.20 media-sound/mopidy/mopidy-1.0.7-r1.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/media-sound/mopidy/mopidy-1.0.7-r1.ebuild b/media-sound/mopidy/mopidy-1.0.7-r1.ebuild index c5fc7da..1eeda59 100644 --- a/media-sound/mopidy/mopidy-1.0.7-r1.ebuild +++ b/media-sound/mopidy/mopidy-1.0.7-r1.ebuild @@ -5,7 +5,7 @@ EAPI=5 PYTHON_COMPAT=(python2_7) -inherit eutils systemd distutils-r1 +inherit user eutils systemd distutils-r1 DESCRIPTION=An extensible music server that plays music from local disk and more HOMEPAGE=http://mopidy.com https://github.com/mopidy/mopidy;
[gentoo-commits] dev/mrueg:master commit in: media-sound/mopidy/files/
commit: 8a900f349014e857d7f594187f4640ae4965c548 Author: Manuel Rüger mrueg AT gentoo DOT org AuthorDate: Thu Jul 2 15:28:21 2015 + Commit: Manuel Rüger mrueg AT gentoo DOT org CommitDate: Thu Jul 2 15:28:21 2015 + URL:https://gitweb.gentoo.org/dev/mrueg.git/commit/?id=8a900f34 [media-sound/mopidy] Fix init file. Package-Manager: portage-2.2.20 media-sound/mopidy/files/mopidy.initd | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/media-sound/mopidy/files/mopidy.initd b/media-sound/mopidy/files/mopidy.initd index bf6cc10..0c2f8ed 100644 --- a/media-sound/mopidy/files/mopidy.initd +++ b/media-sound/mopidy/files/mopidy.initd @@ -11,8 +11,7 @@ start() { --user mopidy \ --pidfile ${PIDFILE} --make-pidfile \ --exec /usr/bin/mopidy \ ---config /usr/share/mopidy/conf.d:/etc/mopidy/mopidy.conf\ --- --foreground +-- --config /usr/share/mopidy/conf.d:/etc/mopidy/mopidy.conf eend $? }
[gentoo-commits] dev/mrueg:master commit in: media-sound/mopidy/
commit: 4e5290e5c8fdfc983b76568bbcee3d9e237fdd42 Author: Manuel Rüger mrueg AT gentoo DOT org AuthorDate: Thu Jul 2 15:17:36 2015 + Commit: Manuel Rüger mrueg AT gentoo DOT org CommitDate: Thu Jul 2 15:17:36 2015 + URL:https://gitweb.gentoo.org/dev/mrueg.git/commit/?id=4e5290e5 [media-sound/mopidy] Create a user for mopidy. Package-Manager: portage-2.2.20 media-sound/mopidy/mopidy-1.0.7-r1.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/media-sound/mopidy/mopidy-1.0.7-r1.ebuild b/media-sound/mopidy/mopidy-1.0.7-r1.ebuild index 90b730c..c5fc7da 100644 --- a/media-sound/mopidy/mopidy-1.0.7-r1.ebuild +++ b/media-sound/mopidy/mopidy-1.0.7-r1.ebuild @@ -31,8 +31,8 @@ DEPEND=test? ( ${RDEPEND} S=${WORKDIR}/Mopidy-${PV} pkg_setup() { - enewuser mopidy -1 -1 /etc/mopidy mopidy enewgroup mopidy + enewuser mopidy -1 -1 /etc/mopidy mopidy distutils-r1_pkg_setup }
[gentoo-commits] dev/mrueg:master commit in: media-sound/mopidy/
commit: 495aac8b76a8a0ba543c7889c6461d232e5ef81c Author: Manuel Rüger mrueg AT gentoo DOT org AuthorDate: Wed Jul 1 01:48:08 2015 + Commit: Manuel Rüger mrueg AT gentoo DOT org CommitDate: Wed Jul 1 01:48:08 2015 + URL:https://gitweb.gentoo.org/dev/mrueg.git/commit/?id=495aac8b [media-sound/mopidy] Install desktop file. Package-Manager: portage-2.2.20 media-sound/mopidy/mopidy-1.0.7.ebuild | 8 ++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/media-sound/mopidy/mopidy-1.0.7.ebuild b/media-sound/mopidy/mopidy-1.0.7.ebuild index c2ee8b9..c1090bf 100644 --- a/media-sound/mopidy/mopidy-1.0.7.ebuild +++ b/media-sound/mopidy/mopidy-1.0.7.ebuild @@ -5,7 +5,7 @@ EAPI=5 PYTHON_COMPAT=(python2_7) -inherit distutils-r1 +inherit eutils distutils-r1 DESCRIPTION=An extensible music server that plays music from local disk and more HOMEPAGE=http://mopidy.com https://github.com/mopidy/mopidy; @@ -30,7 +30,11 @@ DEPEND=test? ( ${RDEPEND} S=${WORKDIR}/Mopidy-${PV} -DOCS=( README.rst ) +src_install() { + distutils-r1_src_install + domenu extra/desktop/mopidy.desktop || die + +} python_test() { nosetests || die
[gentoo-commits] dev/mrueg:master commit in: media-sound/mopidy/
commit: 272e4842d6fec5ccd32d06a355bd5c04c49b9a45 Author: Manuel Rüger mrueg AT gentoo DOT org AuthorDate: Mon Jun 29 23:40:30 2015 + Commit: Manuel Rüger mrueg AT gentoo DOT org CommitDate: Mon Jun 29 23:40:30 2015 + URL:https://gitweb.gentoo.org/dev/mrueg.git/commit/?id=272e4842 [media-sound/mopidy] Initial commit. Package-Manager: portage-2.2.20 media-sound/mopidy/Manifest| 1 + media-sound/mopidy/metadata.xml| 8 media-sound/mopidy/mopidy-1.0.7.ebuild | 30 ++ 3 files changed, 39 insertions(+) diff --git a/media-sound/mopidy/Manifest b/media-sound/mopidy/Manifest new file mode 100644 index 000..bf2cd8e --- /dev/null +++ b/media-sound/mopidy/Manifest @@ -0,0 +1 @@ +DIST Mopidy-1.0.7.tar.gz 1910270 SHA256 85f1d7ca176dd28f1880db56d26b1a4ff6dcd53e3da0918026fbaa50916ec678 SHA512 4de559df90288c7ecc875aba77689ffdfcd756acb5092775e9ae6501e143658c131ba0920e47a1e9213433967f50481668e704e27787f48534003973c7299590 WHIRLPOOL 6b7fa2bff381401bb226ad8f26552836ab33e8c89e08689edfef0fb6aabe8c54e310cde0b221f3ea2f44578da4d06c5e482046ead8452c7fb19661f96ddc6e84 diff --git a/media-sound/mopidy/metadata.xml b/media-sound/mopidy/metadata.xml new file mode 100644 index 000..bfcb697 --- /dev/null +++ b/media-sound/mopidy/metadata.xml @@ -0,0 +1,8 @@ +?xml version=1.0 encoding=UTF-8? +!DOCTYPE pkgmetadata SYSTEM http://www.gentoo.org/dtd/metadata.dtd; +pkgmetadata + maintainer + emailmr...@gentoo.org/email + nameManuel Rüger/name + /maintainer +/pkgmetadata diff --git a/media-sound/mopidy/mopidy-1.0.7.ebuild b/media-sound/mopidy/mopidy-1.0.7.ebuild new file mode 100644 index 000..15cf989 --- /dev/null +++ b/media-sound/mopidy/mopidy-1.0.7.ebuild @@ -0,0 +1,30 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: $ + +EAPI=5 +PYTHON_COMPAT=(python2_7) + +inherit distutils-r1 + +DESCRIPTION=An extensible music server that plays music from local disk and more +HOMEPAGE=http://mopidy.com https://github.com/mopidy/mopidy; +SRC_URI=mirror://pypi/M/Mopidy/Mopidy-${PV}.tar.gz + +LICENSE=Apache-2.0 +SLOT=0 +KEYWORDS=~amd64 +IUSE=test + +RDEPEND=dev-python/pykka[${PYTHON_USEDEP}] + www-servers/tornado[${PYTHON_USEDEP}] +DEPEND=test? ( dev-python/nose[${PYTHON_USEDEP}] ) + dev-python/setuptools[${PYTHON_USEDEP}] + +S=${WORKDIR}/Mopidy-${PV} + +DOCS=( README.rst ) + +python_test() { + nosetests || die +}
[gentoo-commits] dev/mrueg:master commit in: media-sound/mopidy/
commit: c200ee55b931a77188ec8f10abe3d36cf3c962d0 Author: Manuel Rüger mrueg AT gentoo DOT org AuthorDate: Mon Jun 29 23:55:45 2015 + Commit: Manuel Rüger mrueg AT gentoo DOT org CommitDate: Mon Jun 29 23:55:45 2015 + URL:https://gitweb.gentoo.org/dev/mrueg.git/commit/?id=c200ee55 [media-sound/mopidy] Update dependencies. Package-Manager: portage-2.2.20 media-sound/mopidy/mopidy-1.0.7.ebuild | 9 - 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/media-sound/mopidy/mopidy-1.0.7.ebuild b/media-sound/mopidy/mopidy-1.0.7.ebuild index 15cf989..c2ee8b9 100644 --- a/media-sound/mopidy/mopidy-1.0.7.ebuild +++ b/media-sound/mopidy/mopidy-1.0.7.ebuild @@ -17,8 +17,15 @@ KEYWORDS=~amd64 IUSE=test RDEPEND=dev-python/pykka[${PYTHON_USEDEP}] + dev-python/gst-python:0.10[${PYTHON_USEDEP}] + media-libs/gst-plugins-bad:0.10 + media-libs/gst-plugins-good:0.10 + media-libs/gst-plugins-ugly:0.10 + media-plugins/gst-plugins-meta:0.10 www-servers/tornado[${PYTHON_USEDEP}] -DEPEND=test? ( dev-python/nose[${PYTHON_USEDEP}] ) + +DEPEND=test? ( ${RDEPEND} + dev-python/nose[${PYTHON_USEDEP}] ) dev-python/setuptools[${PYTHON_USEDEP}] S=${WORKDIR}/Mopidy-${PV}