Gentoo Archives: gentoo-dev

From: "Michał Górny" <mgorny@g.o>
To: gentoo-dev@l.g.o
Cc: "Michał Górny" <mgorny@g.o>
Subject: [gentoo-dev] [PATCH 11/18] dev-python/clang-python: Dedupe with new eclass code
Date: Sat, 20 Jun 2020 21:20:40
Message-Id: 20200620211624.427466-12-mgorny@gentoo.org
In Reply to: [gentoo-dev] [PATCH 00/18] llvm.org.eclass: more deduplication with packages by "Michał Górny"
1 Signed-off-by: Michał Górny <mgorny@g.o>
2 ---
3 dev-python/clang-python/clang-python-10.0.1.9999.ebuild | 5 -----
4 dev-python/clang-python/clang-python-10.0.1_rc1.ebuild | 5 -----
5 dev-python/clang-python/clang-python-11.0.0.9999.ebuild | 5 -----
6 3 files changed, 15 deletions(-)
7
8 diff --git a/dev-python/clang-python/clang-python-10.0.1.9999.ebuild b/dev-python/clang-python/clang-python-10.0.1.9999.ebuild
9 index e1b9340c6319..6d7cb294e651 100644
10 --- a/dev-python/clang-python/clang-python-10.0.1.9999.ebuild
11 +++ b/dev-python/clang-python/clang-python-10.0.1.9999.ebuild
12 @@ -27,11 +27,6 @@ RDEPEND="
13 ${PYTHON_DEPS}"
14 DEPEND="${RDEPEND}"
15
16 -src_prepare() {
17 - cd "${WORKDIR}" || die
18 - default
19 -}
20 -
21 python_test() {
22 "${EPYTHON}" -m unittest discover -v || die "Tests fail with ${EPYTHON}"
23 }
24 diff --git a/dev-python/clang-python/clang-python-10.0.1_rc1.ebuild b/dev-python/clang-python/clang-python-10.0.1_rc1.ebuild
25 index e1b9340c6319..6d7cb294e651 100644
26 --- a/dev-python/clang-python/clang-python-10.0.1_rc1.ebuild
27 +++ b/dev-python/clang-python/clang-python-10.0.1_rc1.ebuild
28 @@ -27,11 +27,6 @@ RDEPEND="
29 ${PYTHON_DEPS}"
30 DEPEND="${RDEPEND}"
31
32 -src_prepare() {
33 - cd "${WORKDIR}" || die
34 - default
35 -}
36 -
37 python_test() {
38 "${EPYTHON}" -m unittest discover -v || die "Tests fail with ${EPYTHON}"
39 }
40 diff --git a/dev-python/clang-python/clang-python-11.0.0.9999.ebuild b/dev-python/clang-python/clang-python-11.0.0.9999.ebuild
41 index e1b9340c6319..6d7cb294e651 100644
42 --- a/dev-python/clang-python/clang-python-11.0.0.9999.ebuild
43 +++ b/dev-python/clang-python/clang-python-11.0.0.9999.ebuild
44 @@ -27,11 +27,6 @@ RDEPEND="
45 ${PYTHON_DEPS}"
46 DEPEND="${RDEPEND}"
47
48 -src_prepare() {
49 - cd "${WORKDIR}" || die
50 - default
51 -}
52 -
53 python_test() {
54 "${EPYTHON}" -m unittest discover -v || die "Tests fail with ${EPYTHON}"
55 }
56 --
57 2.27.0