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/doublex/
Date: Sun, 12 Sep 2021 07:39:42
Message-Id: 1631432370.8ec99c1ca420de45435c65b144b98369650cb6d1.mgorny@gentoo
1 commit: 8ec99c1ca420de45435c65b144b98369650cb6d1
2 Author: Michał Górny <mgorny <AT> gentoo <DOT> org>
3 AuthorDate: Sun Sep 12 07:37:17 2021 +0000
4 Commit: Michał Górny <mgorny <AT> gentoo <DOT> org>
5 CommitDate: Sun Sep 12 07:39:30 2021 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8ec99c1c
7
8 dev-python/doublex: Remove old
9
10 Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>
11
12 dev-python/doublex/doublex-1.9.2.ebuild | 50 ---------------------------------
13 1 file changed, 50 deletions(-)
14
15 diff --git a/dev-python/doublex/doublex-1.9.2.ebuild b/dev-python/doublex/doublex-1.9.2.ebuild
16 deleted file mode 100644
17 index 14d428d7b42..00000000000
18 --- a/dev-python/doublex/doublex-1.9.2.ebuild
19 +++ /dev/null
20 @@ -1,50 +0,0 @@
21 -# Copyright 1999-2020 Gentoo Authors
22 -# Distributed under the terms of the GNU General Public License v2
23 -
24 -EAPI=7
25 -
26 -PYTHON_COMPAT=( python3_{7,8,9} )
27 -
28 -inherit distutils-r1 vcs-snapshot
29 -
30 -DESCRIPTION="Python test doubles"
31 -HOMEPAGE="https://bitbucket.org/DavidVilla/python-doublex"
32 -SRC_URI="https://bitbucket.org/DavidVilla/python-${PN}/get/v${PV}.tar.gz -> ${P}.tar.gz"
33 -
34 -LICENSE="GPL-3"
35 -SLOT="0"
36 -KEYWORDS="amd64 arm64"
37 -IUSE="doc test"
38 -RESTRICT="!test? ( test )"
39 -
40 -CDEPEND="dev-python/pyhamcrest[${PYTHON_USEDEP}]"
41 -DEPEND="
42 - ${CDEPEND}
43 - doc? ( dev-python/sphinx[${PYTHON_USEDEP}] )
44 - test? ( dev-python/nose[${PYTHON_USEDEP}] )
45 -"
46 -RDEPEND="${CDEPEND}"
47 -
48 -distutils_enable_tests setup.py
49 -
50 -python_prepare_all() {
51 - # Disable broken tests
52 - # https://bitbucket.org/DavidVilla/python-doublex/issues/5/support-for-python-36-37-38-tests-failing
53 - sed -i "s/test_*hamcrest_/_&/" doublex/test/report_tests.py || die
54 - # https://bitbucket.org/DavidVilla/python-doublex/issues/6/more-failing-tests-with-python-39
55 - sed -i -r "s/test_(proxyspy_get_stubbed_property|stub_property|custom_equality_comparable_objects)/_&/" \
56 - doublex/test/unit_tests.py || die
57 - distutils-r1_python_prepare_all
58 -}
59 -
60 -python_compile_all() {
61 - use doc && emake -C docs
62 -}
63 -
64 -python_install_all() {
65 - use doc && local HTML_DOCS=( docs/_build/html/. )
66 -
67 - distutils-r1_python_install_all
68 -
69 - rm "${ED}"/usr/README.rst || die "Couldn't remove spurious README.rst"
70 -}