summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2016-04-05 15:48:04 -0400
committerMike Frysinger <vapier@gentoo.org>2016-04-05 15:48:15 -0400
commit247ddddd74b29a5bd1e7b4c67955f321e4f3024a (patch)
treec4b167617b09fd8df30da7c6c9e0c7d0cc217311 /dev-python/guessit/guessit-9999.ebuild
parentdev-python/babelfish: version bump to 0.5.5 (diff)
downloadgentoo-247ddddd74b29a5bd1e7b4c67955f321e4f3024a.tar.gz
gentoo-247ddddd74b29a5bd1e7b4c67955f321e4f3024a.tar.bz2
gentoo-247ddddd74b29a5bd1e7b4c67955f321e4f3024a.zip
dev-python/guessit: version bump to 1.0.3
Diffstat (limited to 'dev-python/guessit/guessit-9999.ebuild')
-rw-r--r--dev-python/guessit/guessit-9999.ebuild19
1 files changed, 14 insertions, 5 deletions
diff --git a/dev-python/guessit/guessit-9999.ebuild b/dev-python/guessit/guessit-9999.ebuild
index feb5e9ef4dd9..83f23cb50d4e 100644
--- a/dev-python/guessit/guessit-9999.ebuild
+++ b/dev-python/guessit/guessit-9999.ebuild
@@ -1,31 +1,40 @@
-# 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} )
-EGIT_REPO_URI="https://github.com/wackou/guessit.git"
-inherit distutils-r1 git-r3
+if [[ ${PV} == "9999" ]] ; then
+ EGIT_REPO_URI="https://github.com/wackou/guessit.git"
+ inherit git-r3
+else
+ SRC_URI="https://github.com/wackou/guessit/archive/${PV}.tar.gz -> ${P}.tar.gz"
+ KEYWORDS="~amd64 ~x86"
+fi
+
+inherit distutils-r1
DESCRIPTION="library for guessing information from video files"
HOMEPAGE="http://guessit.readthedocs.org https://github.com/wackou/guessit https://pypi.python.org/pypi/guessit"
LICENSE="LGPL-3"
SLOT="0"
-KEYWORDS=""
IUSE="test"
RDEPEND="
- >=dev-python/babelfish-0.5.3[${PYTHON_USEDEP}]
+ >=dev-python/babelfish-0.5.5[${PYTHON_USEDEP}]
>=dev-python/stevedore-0.14[${PYTHON_USEDEP}]
dev-python/requests[${PYTHON_USEDEP}]
>=dev-python/python-dateutil-2.1[${PYTHON_USEDEP}]
"
DEPEND="${RDEPEND}
test? (
+ >=dev-python/pytest-2.7.3[${PYTHON_USEDEP}]
+ dev-python/pytest-capturelog[${PYTHON_USEDEP}]
dev-python/pyyaml[${PYTHON_USEDEP}]
)
+ dev-python/pytest-runner[${PYTHON_USEDEP}]
dev-python/setuptools[${PYTHON_USEDEP}]
"