Gentoo Archives: gentoo-commits

From: Arthur Zamarin <arthurzam@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-python/textdistance/
Date: Wed, 29 Jun 2022 17:09:00
Message-Id: 1656522469.21aa8e58454dad82e9752c30309024fdd8dd5400.arthurzam@gentoo
1 commit: 21aa8e58454dad82e9752c30309024fdd8dd5400
2 Author: Arthur Zamarin <arthurzam <AT> gentoo <DOT> org>
3 AuthorDate: Wed Jun 29 17:06:25 2022 +0000
4 Commit: Arthur Zamarin <arthurzam <AT> gentoo <DOT> org>
5 CommitDate: Wed Jun 29 17:07:49 2022 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=21aa8e58
7
8 dev-python/textdistance: add 4.3.0
9
10 Signed-off-by: Arthur Zamarin <arthurzam <AT> gentoo.org>
11
12 dev-python/textdistance/Manifest | 1 +
13 dev-python/textdistance/textdistance-4.3.0.ebuild | 34 +++++++++++++++++++++++
14 2 files changed, 35 insertions(+)
15
16 diff --git a/dev-python/textdistance/Manifest b/dev-python/textdistance/Manifest
17 index 302ddf4598c8..9c2d9f2bc5d2 100644
18 --- a/dev-python/textdistance/Manifest
19 +++ b/dev-python/textdistance/Manifest
20 @@ -1 +1,2 @@
21 DIST textdistance-4.2.2.tar.gz 45089 BLAKE2B 8b08db743a56c289cc10a9ceb606612acb2a13d12cd12f9627870a4748c415804bde7c3f1aee54d59a49053731727827dbbd5f4ed6c2cfcc302166575ba382ca SHA512 f181686153e6e8f1541a15ac752e6a86698445713732858e63b6465c96dfeb582d2ea6cad1f7c526a3dc60796d58064355480bc6ced7dc69268a5c0abbfabdb7
22 +DIST textdistance-4.3.0.gh.tar.gz 45535 BLAKE2B e43ae62b0b7656a6c4f879b1d8e0c34ae6c83705d324aa99bb7ff6e2d0166faf1fed3ee7bc06602388c16c742a1983a4eaee143b09a7c371b9e941d53edca2b5 SHA512 30d68048b1f0b79e584f5f07731e03193af64cb2de3f52882c17154cc027f4ff8d590b994941bd5d62642d4da334ef0739d4bb65b6b12f039a1ee9aef154cde4
23
24 diff --git a/dev-python/textdistance/textdistance-4.3.0.ebuild b/dev-python/textdistance/textdistance-4.3.0.ebuild
25 new file mode 100644
26 index 000000000000..abcea1dd1ff6
27 --- /dev/null
28 +++ b/dev-python/textdistance/textdistance-4.3.0.ebuild
29 @@ -0,0 +1,34 @@
30 +# Copyright 1999-2022 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="Compute distance between the two texts"
39 +HOMEPAGE="https://github.com/life4/textdistance"
40 +SRC_URI="
41 + https://github.com/life4/textdistance/archive/${PV}.tar.gz
42 + -> ${P}.gh.tar.gz"
43 +
44 +LICENSE="MIT"
45 +SLOT="0"
46 +KEYWORDS="~amd64 ~riscv ~x86"
47 +
48 +BDEPEND="
49 + test? (
50 + dev-python/abydos[${PYTHON_USEDEP}]
51 + dev-python/hypothesis[${PYTHON_USEDEP}]
52 + dev-python/isort[${PYTHON_USEDEP}]
53 + dev-python/jellyfish[${PYTHON_USEDEP}]
54 + dev-python/numpy[${PYTHON_USEDEP}]
55 + dev-python/python-levenshtein[${PYTHON_USEDEP}]
56 + dev-python/pyxDamerauLevenshtein[${PYTHON_USEDEP}]
57 + )"
58 +
59 +distutils_enable_tests --install pytest
60 +
61 +EPYTEST_DESELECT=(
62 + tests/test_external.py
63 +)