1 |
commit: 68a264957372a636a5fffce3dd94cf2661092fd1 |
2 |
Author: Ilya Tumaykin <itumaykin <AT> gmail <DOT> com> |
3 |
AuthorDate: Wed May 31 10:35:01 2017 +0000 |
4 |
Commit: Patrice Clement <monsieurp <AT> gentoo <DOT> org> |
5 |
CommitDate: Wed May 31 16:36:11 2017 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=68a26495 |
7 |
|
8 |
dev-python/guessit: verbump to 2.1.3. |
9 |
|
10 |
Package-Manager: Portage-2.3.6, Repoman-2.3.2 |
11 |
Closes: https://github.com/gentoo/gentoo/pull/4815 |
12 |
|
13 |
dev-python/guessit/Manifest | 1 + |
14 |
dev-python/guessit/guessit-2.1.3.ebuild | 48 +++++++++++++++++++++++++++++++++ |
15 |
2 files changed, 49 insertions(+) |
16 |
|
17 |
diff --git a/dev-python/guessit/Manifest b/dev-python/guessit/Manifest |
18 |
index e4565a495ac..7217a2e4370 100644 |
19 |
--- a/dev-python/guessit/Manifest |
20 |
+++ b/dev-python/guessit/Manifest |
21 |
@@ -1,2 +1,3 @@ |
22 |
DIST guessit-2.1.1.tar.gz 86447 SHA256 cdb51ced109e05318f35dc5ee1c50182a85edd800e86de77ec96eb68a0a99391 SHA512 61ace43bacf4bf2289bd1f0cd5105080b8302d92be8bda77942355594e07db14b594c73e4bf42bd14840f9f9723d602a38cd443cc3e1fabdca335d364fa97e2f WHIRLPOOL 885ee697f4929523527747d3ce5c0b548c6bcfe34c0e590bb1b8e5e4530ae4be6c0264a62dad83c5e2356a9063a9930ea3216f44b6df1b73000fd41c45b0e905 |
23 |
DIST guessit-2.1.2.tar.gz 100478 SHA256 9f7e12b7f2215548284631a20aae6fc009c8af2bb8cc5d5e5e339cb15361dd95 SHA512 394098cb61cdd1d140e47a969dd86422d6856d2cda42dc7072ab9e482a0001d62f6ffe91d74a7bad04f274197e36e731ce203fe92930558969a94889d47c8e14 WHIRLPOOL dd26470424be58231a5787da45ca9122596800fbb968366699bc799cc29d65562cded7d40f8c6abbb6e48466300521d07560c92f44868b8a4229a68b5795468f |
24 |
+DIST guessit-2.1.3.tar.gz 102452 SHA256 b2eebbb61e4d2b3764ce4462e0b27da0dccbb25b78e13493a2f913a402e1d0fb SHA512 e10d784709b0f66e344988021274077ae7e849c75b35701ded414f80de00d5314a149a99679b4e41e52c1bc91f6b8f481e82418126be0fba43541a05ecdfe95c WHIRLPOOL 573c1efef786758555e602b1cb17891570c53d491f170371037630ba5251954f2903c273d2d508f146a3e6c526320456bcafc86393f91ed15e095e01360dc82c |
25 |
|
26 |
diff --git a/dev-python/guessit/guessit-2.1.3.ebuild b/dev-python/guessit/guessit-2.1.3.ebuild |
27 |
new file mode 100644 |
28 |
index 00000000000..409fd7259eb |
29 |
--- /dev/null |
30 |
+++ b/dev-python/guessit/guessit-2.1.3.ebuild |
31 |
@@ -0,0 +1,48 @@ |
32 |
+# Copyright 1999-2017 Gentoo Foundation |
33 |
+# Distributed under the terms of the GNU General Public License v2 |
34 |
+ |
35 |
+EAPI=6 |
36 |
+ |
37 |
+PYTHON_COMPAT=( python{2_7,3_4,3_5} ) |
38 |
+ |
39 |
+inherit distutils-r1 |
40 |
+ |
41 |
+DESCRIPTION="Python library for guessing information from video filenames" |
42 |
+HOMEPAGE="https://github.com/guessit-io/guessit https://pypi.python.org/pypi/guessit" |
43 |
+SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" |
44 |
+ |
45 |
+LICENSE="LGPL-3" |
46 |
+SLOT="0" |
47 |
+KEYWORDS="~amd64 ~x86" |
48 |
+IUSE="test" |
49 |
+ |
50 |
+RDEPEND=" |
51 |
+ >=dev-python/babelfish-0.5.5[${PYTHON_USEDEP}] |
52 |
+ >=dev-python/rebulk-0.8.2[${PYTHON_USEDEP}] |
53 |
+ dev-python/python-dateutil[${PYTHON_USEDEP}] |
54 |
+ dev-python/setuptools[${PYTHON_USEDEP}] |
55 |
+ dev-python/six[${PYTHON_USEDEP}] |
56 |
+" |
57 |
+DEPEND="${RDEPEND} |
58 |
+ test? ( |
59 |
+ >=dev-python/pytest-2.7.3[${PYTHON_USEDEP}] |
60 |
+ dev-python/pytest-capturelog[${PYTHON_USEDEP}] |
61 |
+ dev-python/pytest-runner[${PYTHON_USEDEP}] |
62 |
+ dev-python/pyyaml[${PYTHON_USEDEP}] |
63 |
+ ) |
64 |
+" |
65 |
+ |
66 |
+python_prepare_all() { |
67 |
+ # Disable benchmarks as they require unavailable pytest-benchmark. |
68 |
+ rm guessit/test/test_benchmark.py || die |
69 |
+ sed -i -e "s|'pytest-benchmark',||g" setup.py || die |
70 |
+ |
71 |
+ # Disable unconditional dependency on dev-python/pytest-runner. |
72 |
+ sed -i -e "s|'pytest-runner'||g" setup.py || die |
73 |
+ |
74 |
+ distutils-r1_python_prepare_all |
75 |
+} |
76 |
+ |
77 |
+python_test() { |
78 |
+ esetup.py test |
79 |
+} |