1 |
commit: 73bd795e295490c7b85d0a9ed281a2f6520e084c |
2 |
Author: Andreas Sturmlechner <asturm <AT> gentoo <DOT> org> |
3 |
AuthorDate: Sat Jun 1 12:53:53 2019 +0000 |
4 |
Commit: Andreas Sturmlechner <asturm <AT> gentoo <DOT> org> |
5 |
CommitDate: Sat Jun 1 14:26:01 2019 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=73bd795e |
7 |
|
8 |
dev-python/jellyfish: 0.7.1 version bump, EAPI-7, python2_7-- |
9 |
|
10 |
Closes: https://bugs.gentoo.org/686808 |
11 |
Package-Manager: Portage-2.3.67, Repoman-2.3.13 |
12 |
Signed-off-by: Andreas Sturmlechner <asturm <AT> gentoo.org> |
13 |
|
14 |
dev-python/jellyfish/Manifest | 1 + |
15 |
dev-python/jellyfish/jellyfish-0.7.1.ebuild | 43 +++++++++++++++++++++++++++++ |
16 |
2 files changed, 44 insertions(+) |
17 |
|
18 |
diff --git a/dev-python/jellyfish/Manifest b/dev-python/jellyfish/Manifest |
19 |
index 136a243d0f7..c47409de319 100644 |
20 |
--- a/dev-python/jellyfish/Manifest |
21 |
+++ b/dev-python/jellyfish/Manifest |
22 |
@@ -1 +1,2 @@ |
23 |
DIST jellyfish-0.5.6.tar.gz 132177 BLAKE2B f5d3ac95c6057fc890705c7435c4d79ce81de4684cecea89001c00f785bc85c316587a85ffc5e3334d239d1ae6b375525924fcadb32d5159925d0217e488465a SHA512 12f09e877dd2a9386adc336a56c8ea6566179e5ba333045ad70604c17c288fa61fad2aa9735c76c58d69dfba95f99876e608e2d05995085f970834132fb8504f |
24 |
+DIST jellyfish-0.7.1.tar.gz 131122 BLAKE2B c494e38d3101b1a7bfd295b80957d834bc3e475dac72bd9d81669466eb395e293faa41a581953250133d455d20ca71959414cabd73d5c3dea444ee39e4e8f973 SHA512 c8464171cead812f6dab8c61c74d83afafbf6451e7143e5be74400dffcf895be925a3628ac4fff47467b6dbf70b6d068daaf1c141b1846e53d5d19bed1617ca0 |
25 |
|
26 |
diff --git a/dev-python/jellyfish/jellyfish-0.7.1.ebuild b/dev-python/jellyfish/jellyfish-0.7.1.ebuild |
27 |
new file mode 100644 |
28 |
index 00000000000..f3bfa9346a1 |
29 |
--- /dev/null |
30 |
+++ b/dev-python/jellyfish/jellyfish-0.7.1.ebuild |
31 |
@@ -0,0 +1,43 @@ |
32 |
+# Copyright 1999-2019 Gentoo Authors |
33 |
+# Distributed under the terms of the GNU General Public License v2 |
34 |
+ |
35 |
+EAPI=7 |
36 |
+ |
37 |
+PYTHON_COMPAT=( python3_{5,6,7} ) |
38 |
+DISTUTILS_IN_SOURCE_BUILD=1 |
39 |
+inherit distutils-r1 |
40 |
+ |
41 |
+DESCRIPTION="Python module for doing approximate and phonetic matching of strings" |
42 |
+HOMEPAGE="https://github.com/jamesturk/jellyfish https://pypi.org/project/jellyfish/" |
43 |
+SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" |
44 |
+ |
45 |
+LICENSE="BSD-2" |
46 |
+SLOT="0" |
47 |
+KEYWORDS="~amd64 ~x86" |
48 |
+IUSE="doc test" |
49 |
+ |
50 |
+DEPEND=" |
51 |
+ dev-python/setuptools[${PYTHON_USEDEP}] |
52 |
+ doc? ( dev-python/sphinx[${PYTHON_USEDEP}] ) |
53 |
+ test? ( |
54 |
+ dev-python/pytest-runner[${PYTHON_USEDEP}] |
55 |
+ dev-python/pytest[${PYTHON_USEDEP}] |
56 |
+ dev-python/unicodecsv[${PYTHON_USEDEP}] |
57 |
+ ) |
58 |
+" |
59 |
+ |
60 |
+python_compile() { |
61 |
+ esetup.py build_ext --inplace |
62 |
+ esetup.py build |
63 |
+} |
64 |
+ |
65 |
+python_compile_all() { |
66 |
+ if use doc; then |
67 |
+ esetup.py build_sphinx |
68 |
+ HTML_DOCS=( build/sphinx/html/. ) |
69 |
+ fi |
70 |
+} |
71 |
+ |
72 |
+python_test() { |
73 |
+ py.test jellyfish/test.py || die "tests failed with ${EPYTHON}" |
74 |
+} |