Gentoo Archives: gentoo-commits

From: "Michał Górny" <mgorny@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-python/crcmod/
Date: Sat, 29 Jan 2022 12:35:26
Message-Id: 1643459708.f25e0ee7b9e533454b70fde9933bcd1638a103c5.mgorny@gentoo
1 commit: f25e0ee7b9e533454b70fde9933bcd1638a103c5
2 Author: Michał Górny <mgorny <AT> gentoo <DOT> org>
3 AuthorDate: Sat Jan 29 12:22:01 2022 +0000
4 Commit: Michał Górny <mgorny <AT> gentoo <DOT> org>
5 CommitDate: Sat Jan 29 12:35:08 2022 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f25e0ee7
7
8 dev-python/crcmod: Switch to PEP 517 build
9
10 Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>
11
12 dev-python/crcmod/crcmod-1.7-r5.ebuild | 23 +++++++++++++++++++++++
13 1 file changed, 23 insertions(+)
14
15 diff --git a/dev-python/crcmod/crcmod-1.7-r5.ebuild b/dev-python/crcmod/crcmod-1.7-r5.ebuild
16 new file mode 100644
17 index 000000000000..0dbac02cd773
18 --- /dev/null
19 +++ b/dev-python/crcmod/crcmod-1.7-r5.ebuild
20 @@ -0,0 +1,23 @@
21 +# Copyright 1999-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} )
28 +
29 +inherit distutils-r1
30 +
31 +DESCRIPTION="Python CRC Generator module"
32 +HOMEPAGE="http://crcmod.sourceforge.net/"
33 +SRC_URI="mirror://sourceforge/crcmod/${P}.tar.gz"
34 +
35 +LICENSE="MIT"
36 +SLOT="0"
37 +KEYWORDS="~amd64 ~arm ~x86"
38 +
39 +DOCS=( changelog test/examples.py )
40 +
41 +python_test() {
42 + "${EPYTHON}" test/test_crcmod.py -v || die "Tests fail with ${EPYTHON}"
43 +}