Gentoo Archives: gentoo-commits

From: Aaron Bauman <bman@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-python/ctypesgen/
Date: Sat, 01 Aug 2020 20:55:49
Message-Id: 1596315337.c36f6e373a2f34541dc5dae46ea202c7d004e6bb.bman@gentoo
1 commit: c36f6e373a2f34541dc5dae46ea202c7d004e6bb
2 Author: Aaron Bauman <bman <AT> gentoo <DOT> org>
3 AuthorDate: Sat Aug 1 20:54:13 2020 +0000
4 Commit: Aaron Bauman <bman <AT> gentoo <DOT> org>
5 CommitDate: Sat Aug 1 20:55:37 2020 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c36f6e37
7
8 dev-python/ctypesgen: bump to 1.0.2; bump EAPI
9
10 * pkg will build fine with python3_{8,9} but tests fail
11
12 Closes: https://bugs.gentoo.org/730474
13 Signed-off-by: Aaron Bauman <bman <AT> gentoo.org>
14
15 dev-python/ctypesgen/Manifest | 1 +
16 dev-python/ctypesgen/ctypesgen-1.0.2.ebuild | 29 +++++++++++++++++++++++++++++
17 2 files changed, 30 insertions(+)
18
19 diff --git a/dev-python/ctypesgen/Manifest b/dev-python/ctypesgen/Manifest
20 index d0814d56c0e..fe3c67a7750 100644
21 --- a/dev-python/ctypesgen/Manifest
22 +++ b/dev-python/ctypesgen/Manifest
23 @@ -1 +1,2 @@
24 DIST ctypesgen-0_p72.tar.bz2 85694 BLAKE2B eab6f01c7fc541f069d131abe255a51dd876e0629639cb46a8fac215da55af80746771cd15a5de4b300c58f56e4b975985953d4efe5327c8d2b29c37c166c393 SHA512 eab85c71a2f98fd03ae582899de680bd861e7e6e20841ac087520f8b844dc686ea519b0510382cedec09ff3fa1d87fcc1c79878a2eb9219d7cc092423813e2e5
25 +DIST ctypesgen-1.0.2.tar.gz 119413 BLAKE2B 27bc387ccbcd62cd164aef544129ead58248272251d2e2737f7fd65f22b92def3b62845a92dab4e1ba3faf030a002b4f2a67bfb0492ffb6298ddba9d7a2ba0f3 SHA512 d5168f72a04878d64b43c096f84f2a32663d481d7ac37f78d706f11aa09b68fe267af476885232a8c64be0f33dec20937e11bbfdef6231ecef1b19eae592d638
26
27 diff --git a/dev-python/ctypesgen/ctypesgen-1.0.2.ebuild b/dev-python/ctypesgen/ctypesgen-1.0.2.ebuild
28 new file mode 100644
29 index 00000000000..0ea04a16357
30 --- /dev/null
31 +++ b/dev-python/ctypesgen/ctypesgen-1.0.2.ebuild
32 @@ -0,0 +1,29 @@
33 +# Copyright 1999-2020 Gentoo Authors
34 +# Distributed under the terms of the GNU General Public License v2
35 +
36 +EAPI=7
37 +
38 +# pkg compiles fine with py3_{8,9} but tests fail
39 +PYTHON_COMPAT=( python3_7 )
40 +
41 +DISTUTILS_USE_SETUPTOOLS=rdepend
42 +
43 +inherit distutils-r1
44 +
45 +DESCRIPTION="Python wrapper generator for ctypes"
46 +HOMEPAGE="https://github.com/davidjamesca/ctypesgen"
47 +SRC_URI="https://github.com/davidjamesca/ctypesgen/archive/${P}.tar.gz"
48 +
49 +LICENSE="BSD"
50 +SLOT="0"
51 +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sparc ~x86"
52 +IUSE=""
53 +
54 +DEPEND=""
55 +RDEPEND=""
56 +
57 +S="${WORKDIR}/${PN}-${PN}-${PV}"
58 +
59 +python_test() {
60 + "${PYTHON}" "${PN}/test/testsuite.py" || die "Test ${f} fails with ${EPYTHON}"
61 +}