Gentoo Archives: gentoo-commits

From: Sebastian Pipping <sping@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-util/cram/
Date: Sat, 09 Apr 2022 14:38:31
Message-Id: 1649515083.550c31473cb2bf5bb635a3660ecf9f52e2a741e1.sping@gentoo
1 commit: 550c31473cb2bf5bb635a3660ecf9f52e2a741e1
2 Author: Sebastian Pipping <sping <AT> gentoo <DOT> org>
3 AuthorDate: Sat Apr 9 14:35:12 2022 +0000
4 Commit: Sebastian Pipping <sping <AT> gentoo <DOT> org>
5 CommitDate: Sat Apr 9 14:38:03 2022 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=550c3147
7
8 dev-util/cram: Add missing DISTUTILS_USE_SETUPTOOLS=no
9
10 Closes: https://bugs.gentoo.org/749888
11 Signed-off-by: Sebastian Pipping <sping <AT> gentoo.org>
12 Package-Manager: Portage-3.0.30, Repoman-3.0.3
13
14 dev-util/cram/cram-0.7-r2.ebuild | 22 ++++++++++++++++++++++
15 1 file changed, 22 insertions(+)
16
17 diff --git a/dev-util/cram/cram-0.7-r2.ebuild b/dev-util/cram/cram-0.7-r2.ebuild
18 new file mode 100644
19 index 000000000000..56867074f7fe
20 --- /dev/null
21 +++ b/dev-util/cram/cram-0.7-r2.ebuild
22 @@ -0,0 +1,22 @@
23 +# Copyright 1999-2022 Gentoo Authors
24 +# Distributed under the terms of the GNU General Public License v2
25 +
26 +EAPI=7
27 +
28 +PYTHON_COMPAT=( python3_{8..10} pypy3 )
29 +DISTUTILS_USE_SETUPTOOLS=no
30 +
31 +inherit distutils-r1
32 +
33 +DESCRIPTION="Functional testing framework for command line applications"
34 +HOMEPAGE="https://bitheap.org/cram/"
35 +SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
36 +
37 +LICENSE="GPL-2"
38 +SLOT="0"
39 +KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~mips ~ppc ~ppc64 ~riscv ~x86"
40 +
41 +python_test() {
42 + distutils_install_for_testing
43 + "${EPYTHON}" "${TEST_DIR}"/scripts/cram tests || die "Tests fail with ${EPYTHON}"
44 +}