Add ebuild for media-video/subdl live version
authorDa Risk <da_risk@geekorum.com>
Sun, 26 Jul 2015 18:02:06 +0200
changeset 157 44dc790c93ba
parent 155 145d435208f4
child 158 d6fceb869d09
Add ebuild for media-video/subdl live version (Portage version: 2.2.20/hg/Linux x86_64, unsigned Manifest commit)
media-video/subdl/metadata.xml
media-video/subdl/subdl-9999.ebuild
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/media-video/subdl/metadata.xml	Sun Jul 26 18:02:06 2015 +0200
@@ -0,0 +1,11 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+	<herd>video</herd>
+	<maintainer>
+		<email>media-video@gentoo.org</email>
+	</maintainer>
+	<upstream>
+		<remote-id type="google-code">subdl</remote-id>
+	</upstream>
+</pkgmetadata>
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/media-video/subdl/subdl-9999.ebuild	Sun Jul 26 18:02:06 2015 +0200
@@ -0,0 +1,33 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: $
+
+EAPI=5
+
+PYTHON_COMPAT=( python2_7 )
+inherit python-single-r1 git-r3
+
+DESCRIPTION="A command-line tool for downloading subs from opensubtitles.org"
+HOMEPAGE="http://code.google.com/p/subdl/"
+SRC_URI=""
+EGIT_REPO_URI="https://github.com/fbarthelery/subdl.git"
+
+LICENSE="GPL-3"
+SLOT="0"
+KEYWORDS=""
+IUSE=""
+
+RDEPEND="${PYTHON_DEPS}"
+DEPEND="${RDEPEND}
+	app-arch/unzip"
+
+REQUIRED_USE=${PYTHON_REQUIRED_USE}
+
+src_prepare() {
+	python_fix_shebang ${PN}
+}
+
+src_install() {
+	dobin ${PN}
+	dodoc README.txt
+}