diff options
author | Ilya Tumaykin <itumaykin@gmail.com> | 2016-09-10 21:54:09 +0300 |
---|---|---|
committer | David Seifert <soap@gentoo.org> | 2016-09-11 10:54:47 +0200 |
commit | fb3f586947b0c6b8b593498a271b2b2005bc799c (patch) | |
tree | 16264405619d430e179aaf8b62bf909717eaa6f1 /dev-python | |
parent | dev-python/guessit: remove >=python-dateutil-2.1 constraint from 9999 (diff) | |
download | gentoo-fb3f586947b0c6b8b593498a271b2b2005bc799c.tar.gz gentoo-fb3f586947b0c6b8b593498a271b2b2005bc799c.tar.bz2 gentoo-fb3f586947b0c6b8b593498a271b2b2005bc799c.zip |
dev-python/guessit: verbump to 2.1.0
Closes: https://github.com/gentoo/gentoo/pull/2294
Package-Manager: portage-2.3.0
Signed-off-by: David Seifert <soap@gentoo.org>
Diffstat (limited to 'dev-python')
-rw-r--r-- | dev-python/guessit/Manifest | 1 | ||||
-rw-r--r-- | dev-python/guessit/guessit-2.1.0.ebuild | 49 |
2 files changed, 50 insertions, 0 deletions
diff --git a/dev-python/guessit/Manifest b/dev-python/guessit/Manifest index fcec1cd4f52f..e03b1b909af5 100644 --- a/dev-python/guessit/Manifest +++ b/dev-python/guessit/Manifest @@ -1,2 +1,3 @@ DIST guessit-1.0.3.tar.gz 1200782 SHA256 6de9149b663b415ebc1f4ab9f12eb624ca859cf13cc1a491382f56619f33f59b SHA512 be427d3ac5b598fe14b26b4fa41c3bd9c0cc946df85381c61be9180275b54f6beac9d433ba781f4351bf94eba5a53b1097d8503268efd9019d50beb60f92cfcb WHIRLPOOL 31b2bb0e57a395f38f7ebe2420945cf00e00149a8345db245c3978cebb6366b53b8b1eae89838d4729e1e8c15abef2f4c8c91f64e5eb3e6f36a56f54de715546 DIST guessit-2.0.5.tar.gz 74464 SHA256 626e0024c5cca9b84883b65246e4f238e3f39064664486f69f086c853a63ff61 SHA512 6d02df5caebc0373ea0609b2ef4fa0b2ca2bedce62f5df3f1bdcf84808c09aff57f1c043704effedfb3ca4dbd4235f5a84c5580b1f2839f79933b40342309d2a WHIRLPOOL da5da3ac6a27f96714683acafe9664c316c522290cdd01308097c42fd55e8df16f735e54938c1e8b7b3c2531426d00b60c5361aedd8da8eea597fdc27a22b858 +DIST guessit-2.1.0.tar.gz 77587 SHA256 a534a46bef3bbac7b313a55744860a9ddd5b7fae6abb6f6ae8bbace2b3e973b1 SHA512 0acdfa75dab709cfab00772536404503865554f060052ddb05c120d019e4c70833a4af7a7a7401ca608a65a0e8927e61e11d10878ba77b51fc8f99b3950e2ec0 WHIRLPOOL eafc863bddda4f63a22b9088ae7eba3d9ce7c56f82b25d5e0a6c84e6c20a877906d651acf04cd9d5243ebd32ac73064c2e96c2ae83226fbe814e2831cebaf590 diff --git a/dev-python/guessit/guessit-2.1.0.ebuild b/dev-python/guessit/guessit-2.1.0.ebuild new file mode 100644 index 000000000000..2661caa6e01a --- /dev/null +++ b/dev-python/guessit/guessit-2.1.0.ebuild @@ -0,0 +1,49 @@ +# Copyright 1999-2016 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=6 + +PYTHON_COMPAT=( python{2_7,3_4,3_5} ) + +inherit distutils-r1 + +DESCRIPTION="Python library for guessing information from video filenames" +HOMEPAGE="https://github.com/guessit-io/guessit https://pypi.python.org/pypi/guessit" +SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" + +LICENSE="LGPL-3" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="test" + +RDEPEND=" + >=dev-python/babelfish-0.5.5[${PYTHON_USEDEP}] + >=dev-python/rebulk-0.7.3[${PYTHON_USEDEP}] + dev-python/python-dateutil[${PYTHON_USEDEP}] + dev-python/setuptools[${PYTHON_USEDEP}] + dev-python/six[${PYTHON_USEDEP}] +" +DEPEND="${RDEPEND} + test? ( + >=dev-python/pytest-2.7.3[${PYTHON_USEDEP}] + dev-python/pytest-capturelog[${PYTHON_USEDEP}] + dev-python/pytest-runner[${PYTHON_USEDEP}] + dev-python/pyyaml[${PYTHON_USEDEP}] + ) +" + +python_prepare_all() { + # Disable benchmarks as they require unavailable pytest-benchmark. + rm guessit/test/test_benchmark.py || die + sed -i -e "s|'pytest-benchmark',||g" setup.py || die + + # Disable unconditional dependency on dev-python/pytest-runner. + sed -i -e "s|'pytest-runner'||g" setup.py || die + + distutils-r1_python_prepare_all +} + +python_test() { + esetup.py test +} |