media-sound/mps-youtube: initial import
authorTim Harder <radhermit@gentoo.org>
Wed, 17 Aug 2016 00:55:32 +0000 (20:55 -0400)
committerTim Harder <radhermit@gentoo.org>
Wed, 17 Aug 2016 00:57:28 +0000 (20:57 -0400)
media-sound/mps-youtube/Manifest [new file with mode: 0644]
media-sound/mps-youtube/metadata.xml [new file with mode: 0644]
media-sound/mps-youtube/mps-youtube-0.2.7.1.ebuild [new file with mode: 0644]

diff --git a/media-sound/mps-youtube/Manifest b/media-sound/mps-youtube/Manifest
new file mode 100644 (file)
index 0000000..87f9a8a
--- /dev/null
@@ -0,0 +1 @@
+DIST mps-youtube-0.2.7.1.tar.gz 78128 SHA256 e3df5dc80f39941cb38f5678d1cc397a37a6dc5577e487b24fbf66fffe2afd03 SHA512 760bd6ef6c04606e6e70e4d7f985482c5d5f1f33481a69398d20c2518ae7a1b0371501e31b6d0bcb46e702c53d8b2311e4556700c7d2ae4011006ffe9582de9b WHIRLPOOL e18d80a9accb8309724d7f9df486b20c4c5f8bd44502a392d4d3835c55e2446a992a9fddb8eeb62836cd16185dc823299527150d79209c6501db42741f4fa121
diff --git a/media-sound/mps-youtube/metadata.xml b/media-sound/mps-youtube/metadata.xml
new file mode 100644 (file)
index 0000000..2705b7d
--- /dev/null
@@ -0,0 +1,12 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+       <maintainer type="project">
+               <email>sound@gentoo.org</email>
+               <name>Gentoo Sound project</name>
+       </maintainer>
+       <upstream>
+               <remote-id type="pypi">mps-youtube</remote-id>
+               <remote-id type="github">mps-youtube/mps-youtube</remote-id>
+       </upstream>
+</pkgmetadata>
diff --git a/media-sound/mps-youtube/mps-youtube-0.2.7.1.ebuild b/media-sound/mps-youtube/mps-youtube-0.2.7.1.ebuild
new file mode 100644 (file)
index 0000000..ebc4518
--- /dev/null
@@ -0,0 +1,21 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=6
+PYTHON_COMPAT=( python{3_3,3_4,3_5} )
+inherit distutils-r1
+
+DESCRIPTION="Terminal-based YouTube player and downloader"
+HOMEPAGE="https://github.com/mps-youtube/mps-youtube https://pypi.python.org/pypi/mps-youtube"
+SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
+
+LICENSE="GPL-3"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+
+DEPEND="dev-python/setuptools[${PYTHON_USEDEP}]"
+RDEPEND="${DEPEND}
+       dev-python/pafy[${PYTHON_USEDEP}]
+       virtual/ffmpeg
+       || ( media-video/mplayer media-video/mpv )"