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/ukkonen/
Date: Mon, 16 May 2022 18:41:38
Message-Id: 1652726484.1e735cd335c1564717f73b66a0ddc1a8232216ed.arthurzam@gentoo
1 commit: 1e735cd335c1564717f73b66a0ddc1a8232216ed
2 Author: Arthur Zamarin <arthurzam <AT> gentoo <DOT> org>
3 AuthorDate: Mon May 16 18:23:02 2022 +0000
4 Commit: Arthur Zamarin <arthurzam <AT> gentoo <DOT> org>
5 CommitDate: Mon May 16 18:41:24 2022 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1e735cd3
7
8 dev-python/ukkonen: PEP517
9
10 Signed-off-by: Arthur Zamarin <arthurzam <AT> gentoo.org>
11
12 dev-python/ukkonen/ukkonen-1.0.1-r1.ebuild | 32 ++++++++++++++++++++++++++++++
13 1 file changed, 32 insertions(+)
14
15 diff --git a/dev-python/ukkonen/ukkonen-1.0.1-r1.ebuild b/dev-python/ukkonen/ukkonen-1.0.1-r1.ebuild
16 new file mode 100644
17 index 000000000000..61b6de821b97
18 --- /dev/null
19 +++ b/dev-python/ukkonen/ukkonen-1.0.1-r1.ebuild
20 @@ -0,0 +1,32 @@
21 +# Copyright 2021-2022 Gentoo Authors
22 +# Distributed under the terms of the GNU General Public License v2
23 +
24 +EAPI=8
25 +
26 +DISTUTILS_USE_PEP517=setuptools
27 +PYTHON_COMPAT=( python3_{8..10} pypy3 )
28 +inherit distutils-r1
29 +
30 +DESCRIPTION="Implementation of bounded Levenshtein distance (Ukkonen)"
31 +HOMEPAGE="
32 + https://pypi.org/project/ukkonen/
33 + https://github.com/asottile/ukkonen/"
34 +SRC_URI="
35 + https://github.com/asottile/ukkonen/archive/v${PV}.tar.gz
36 + -> ${P}.gh.tar.gz"
37 +
38 +LICENSE="MIT"
39 +SLOT="0"
40 +KEYWORDS="~amd64 ~hppa ~ppc ~ppc64 ~riscv ~x86"
41 +
42 +RDEPEND="
43 + $(python_gen_cond_dep '
44 + dev-python/cffi[${PYTHON_USEDEP}]
45 + ' 'python*')"
46 +BDEPEND="${RDEPEND}"
47 +
48 +PATCHES=(
49 + "${FILESDIR}"/${P}-musl-include.patch
50 +)
51 +
52 +distutils_enable_tests pytest