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