1 |
commit: aef0e289bb46a8ae8a49640c0ddd1cc1e3323fdd |
2 |
Author: Michał Górny <mgorny <AT> gentoo <DOT> org> |
3 |
AuthorDate: Thu Dec 24 00:11:59 2020 +0000 |
4 |
Commit: Michał Górny <mgorny <AT> gentoo <DOT> org> |
5 |
CommitDate: Thu Dec 24 00:11:59 2020 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=aef0e289 |
7 |
|
8 |
dev-python/guessit: Bump to 3.2.0 |
9 |
|
10 |
Signed-off-by: Michał Górny <mgorny <AT> gentoo.org> |
11 |
|
12 |
dev-python/guessit/Manifest | 1 + |
13 |
dev-python/guessit/guessit-3.2.0.ebuild | 38 +++++++++++++++++++++++++++++++++ |
14 |
2 files changed, 39 insertions(+) |
15 |
|
16 |
diff --git a/dev-python/guessit/Manifest b/dev-python/guessit/Manifest |
17 |
index 7c2572a027b..301b399768d 100644 |
18 |
--- a/dev-python/guessit/Manifest |
19 |
+++ b/dev-python/guessit/Manifest |
20 |
@@ -1 +1,2 @@ |
21 |
DIST guessit-3.1.1.tar.gz 147605 BLAKE2B 3b11747b652e922aada12ce771c1e91e8842c78c221ac39c068488ae6cae95ebc6d9f6d8849aaef11d522e2c7d6e6f8e34981179e48d9db649e811c5fa2e52ef SHA512 6a02c4024d286cf49c62e072bcb616a052cec1ce51d364b17cea1768504c4ecebba914a3bf5beda9a61dca0e7764c8642cb5b918a20fb25cdd7120ad1667825f |
22 |
+DIST guessit-3.2.0.tar.gz 147286 BLAKE2B 0ab249eb82204fd58a6d6c960b11b2009a3055ae91a91c244192a2bd9832e7356f444a6b4291cf56d55a4c9a1cd0ccec22d527114d61f9f5888a8439918ba6bc SHA512 5eaa0ad8cdf60812bebf10af51f62095baa70f48b66a052002fceb0d705daab3b8bcd2cb0fc3d18b63b9f4aa8118b9d85283bebdcfdb8ed4204e1b7e2b5ae78c |
23 |
|
24 |
diff --git a/dev-python/guessit/guessit-3.2.0.ebuild b/dev-python/guessit/guessit-3.2.0.ebuild |
25 |
new file mode 100644 |
26 |
index 00000000000..ddba17cae04 |
27 |
--- /dev/null |
28 |
+++ b/dev-python/guessit/guessit-3.2.0.ebuild |
29 |
@@ -0,0 +1,38 @@ |
30 |
+# Copyright 1999-2020 Gentoo Authors |
31 |
+# Distributed under the terms of the GNU General Public License v2 |
32 |
+ |
33 |
+EAPI=7 |
34 |
+ |
35 |
+DISTUTILS_USE_SETUPTOOLS=rdepend |
36 |
+PYTHON_COMPAT=( python3_{6,7,8,9} ) |
37 |
+ |
38 |
+inherit distutils-r1 |
39 |
+ |
40 |
+DESCRIPTION="Python library for guessing information from video filenames" |
41 |
+HOMEPAGE="https://github.com/guessit-io/guessit |
42 |
+ https://pypi.org/project/guessit/" |
43 |
+SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" |
44 |
+ |
45 |
+LICENSE="LGPL-3" |
46 |
+SLOT="0" |
47 |
+KEYWORDS="~amd64 ~arm ~arm64 ~x86" |
48 |
+ |
49 |
+RDEPEND=" |
50 |
+ >=dev-python/babelfish-0.5.5[${PYTHON_USEDEP}] |
51 |
+ >=dev-python/rebulk-3[${PYTHON_USEDEP}] |
52 |
+ dev-python/python-dateutil[${PYTHON_USEDEP}] |
53 |
+ dev-python/pyyaml[${PYTHON_USEDEP}] |
54 |
+" |
55 |
+ |
56 |
+distutils_enable_tests pytest |
57 |
+ |
58 |
+python_prepare_all() { |
59 |
+ # Disable benchmarks as they require unavailable pytest-benchmark. |
60 |
+ rm guessit/test/test_benchmark.py || die |
61 |
+ sed -i -e "s|'pytest-benchmark',||g" setup.py || die |
62 |
+ |
63 |
+ # Disable unconditional dependency on dev-python/pytest-runner. |
64 |
+ sed -i -e "s|'pytest-runner'||g" setup.py || die |
65 |
+ |
66 |
+ distutils-r1_python_prepare_all |
67 |
+} |