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: Thu, 18 Jul 2019 10:18:57
Message-Id: 1563445127.a334a2fc4d89b356c8d947238c8d9ff1dfd2b2f4.mgorny@gentoo
1 commit: a334a2fc4d89b356c8d947238c8d9ff1dfd2b2f4
2 Author: Michał Górny <mgorny <AT> gentoo <DOT> org>
3 AuthorDate: Thu Jul 18 09:23:06 2019 +0000
4 Commit: Michał Górny <mgorny <AT> gentoo <DOT> org>
5 CommitDate: Thu Jul 18 10:18:47 2019 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a334a2fc
7
8 dev-python/crcmod: EAPI=7, Py3.7
9
10 Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>
11
12 dev-python/crcmod/crcmod-1.7-r3.ebuild | 23 +++++++++++++++++++++++
13 1 file changed, 23 insertions(+)
14
15 diff --git a/dev-python/crcmod/crcmod-1.7-r3.ebuild b/dev-python/crcmod/crcmod-1.7-r3.ebuild
16 new file mode 100644
17 index 00000000000..14a3f65d101
18 --- /dev/null
19 +++ b/dev-python/crcmod/crcmod-1.7-r3.ebuild
20 @@ -0,0 +1,23 @@
21 +# Copyright 1999-2019 Gentoo Authors
22 +# Distributed under the terms of the GNU General Public License v2
23 +
24 +EAPI=7
25 +
26 +PYTHON_COMPAT=( python{2_7,3_5,3_6,3_7} pypy )
27 +
28 +inherit distutils-r1
29 +
30 +DESCRIPTION="Python CRC Generator module"
31 +HOMEPAGE="http://crcmod.sourceforge.net/"
32 +SRC_URI="mirror://sourceforge/crcmod/${P}.tar.gz"
33 +
34 +LICENSE="MIT"
35 +SLOT="0"
36 +KEYWORDS="~amd64 ~arm ~x86"
37 +IUSE=""
38 +
39 +DOCS=( changelog test/examples.py )
40 +
41 +python_test() {
42 + "${EPYTHON}" test/test_crcmod.py -v || die "Tests fail with ${EPYTHON}"
43 +}