summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2016-04-05 16:14:05 -0400
committerMike Frysinger <vapier@gentoo.org>2016-04-05 16:14:29 -0400
commitb13ea5bb2e8462878df54b3e629e215e0741315a (patch)
tree9091c1b76dbb94dcd29fea60fae17eee55213026 /media-video/subliminal/subliminal-9999.ebuild
parentdev-games/cegui: version bump (diff)
downloadgentoo-b13ea5bb2e8462878df54b3e629e215e0741315a.tar.gz
gentoo-b13ea5bb2e8462878df54b3e629e215e0741315a.tar.bz2
gentoo-b13ea5bb2e8462878df54b3e629e215e0741315a.zip
media-video/subliminal: version bump to 1.1.1
Diffstat (limited to 'media-video/subliminal/subliminal-9999.ebuild')
-rw-r--r--media-video/subliminal/subliminal-9999.ebuild41
1 files changed, 27 insertions, 14 deletions
diff --git a/media-video/subliminal/subliminal-9999.ebuild b/media-video/subliminal/subliminal-9999.ebuild
index 1d4be1b3549..1ca71dedbdf 100644
--- a/media-video/subliminal/subliminal-9999.ebuild
+++ b/media-video/subliminal/subliminal-9999.ebuild
@@ -1,34 +1,47 @@
-# Copyright 1999-2014 Gentoo Foundation
+# Copyright 1999-2016 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Id$
EAPI="5"
PYTHON_COMPAT=( python{2_7,3_3,3_4} )
-inherit distutils-r1 git-r3
+if [[ ${PV} == "9999" ]] ; then
+ EGIT_REPO_URI="https://github.com/Diaoul/subliminal.git"
+ inherit git-r3
+else
+ SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
+ KEYWORDS="~amd64 ~x86"
+fi
+
+inherit distutils-r1
DESCRIPTION="Python library to search and download subtitles"
HOMEPAGE="http://subliminal.readthedocs.org https://github.com/Diaoul/subliminal https://pypi.python.org/pypi/subliminal"
-EGIT_REPO_URI="https://github.com/Diaoul/subliminal.git"
LICENSE="MIT"
SLOT="0"
-KEYWORDS=""
-IUSE=""
+IUSE="test"
RDEPEND="
- >=dev-python/beautifulsoup-4.3.2:4[${PYTHON_USEDEP}]
- >=dev-python/guessit-0.7[${PYTHON_USEDEP}]
- >=dev-python/requests-2.0.1[${PYTHON_USEDEP}]
- >=dev-python/enzyme-0.4[${PYTHON_USEDEP}]
- >=dev-python/html5lib-0.99[${PYTHON_USEDEP}]
- >=dev-python/dogpile-cache-0.5.2[${PYTHON_USEDEP}]
- >=dev-python/babelfish-0.5.1[${PYTHON_USEDEP}]
- >=dev-python/chardet-2.2.1[${PYTHON_USEDEP}]
+ >=dev-python/babelfish-0.5.2[${PYTHON_USEDEP}]
+ >=dev-python/beautifulsoup-4.2.0:4[${PYTHON_USEDEP}]
+ >=dev-python/chardet-2.3.0[${PYTHON_USEDEP}]
+ >=dev-python/click-4.0[${PYTHON_USEDEP}]
+ >=dev-python/dogpile-cache-0.5.4[${PYTHON_USEDEP}]
+ >=dev-python/enzyme-0.4.1[${PYTHON_USEDEP}]
+ >=dev-python/guessit-0.9.1[${PYTHON_USEDEP}]
>=dev-python/pysrt-1.0.1[${PYTHON_USEDEP}]
- >=dev-python/pyxdg-0.25[${PYTHON_USEDEP}]
+ >=dev-python/requests-2.0.1[${PYTHON_USEDEP}]
+ >=dev-python/six-1.9.0[${PYTHON_USEDEP}]
+ >=dev-python/stevedore-1.0.0[${PYTHON_USEDEP}]
"
DEPEND="${RDEPEND}
+ test? (
+ dev-python/pytest[${PYTHON_USEDEP}]
+ dev-python/pytest-cov[${PYTHON_USEDEP}]
+ dev-python/sympy[${PYTHON_USEDEP}]
+ >=dev-python/vcrpy-1.6.1[${PYTHON_USEDEP}]
+ )
dev-python/setuptools[${PYTHON_USEDEP}]
"
# tests need network