1 |
commit: 6696321039a54c96e21cbb3b01d0fdcec4d70e70 |
2 |
Author: Joonas Niilola <juippis <AT> gentoo <DOT> org> |
3 |
AuthorDate: Wed May 27 06:16:56 2020 +0000 |
4 |
Commit: Joonas Niilola <juippis <AT> gentoo <DOT> org> |
5 |
CommitDate: Wed May 27 06:18:08 2020 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=66963210 |
7 |
|
8 |
dev-libs/check: remove old |
9 |
|
10 |
Signed-off-by: Joonas Niilola <juippis <AT> gentoo.org> |
11 |
|
12 |
dev-libs/check/check-0.14.0.ebuild | 65 -------------------------------------- |
13 |
1 file changed, 65 deletions(-) |
14 |
|
15 |
diff --git a/dev-libs/check/check-0.14.0.ebuild b/dev-libs/check/check-0.14.0.ebuild |
16 |
deleted file mode 100644 |
17 |
index 40aa0e80af0..00000000000 |
18 |
--- a/dev-libs/check/check-0.14.0.ebuild |
19 |
+++ /dev/null |
20 |
@@ -1,65 +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 |
-inherit autotools multilib-minimal |
27 |
- |
28 |
-DESCRIPTION="A unit test framework for C" |
29 |
-HOMEPAGE="https://libcheck.github.io/check/" |
30 |
-SRC_URI="https://github.com/lib${PN}/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz" |
31 |
- |
32 |
-LICENSE="LGPL-2.1+" |
33 |
-SLOT="0" |
34 |
-KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~m68k ~mips ppc ppc64 ~riscv s390 sparc x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~x64-solaris ~x86-solaris" |
35 |
-IUSE="doc static-libs subunit test" |
36 |
- |
37 |
-RESTRICT="!test? ( test )" |
38 |
- |
39 |
-RDEPEND="subunit? ( dev-python/subunit[${MULTILIB_USEDEP}] )" |
40 |
-DEPEND="${RDEPEND} |
41 |
- sys-apps/texinfo" |
42 |
-BDEPEND="doc? ( app-doc/doxygen )" |
43 |
- |
44 |
-PATCHES=( |
45 |
- "${FILESDIR}"/check-0.12.0-fp.patch |
46 |
- "${FILESDIR}"/check-0.14-xfail-tests.patch |
47 |
-) |
48 |
- |
49 |
-src_prepare() { |
50 |
- default |
51 |
- eautoreconf |
52 |
-} |
53 |
- |
54 |
-multilib_src_configure() { |
55 |
- local myeconfargs=( |
56 |
- $(use_enable doc build-docs) |
57 |
- $(use_enable subunit) |
58 |
- $(use_enable test timeout-tests) |
59 |
- ) |
60 |
- ECONF_SOURCE="${S}" econf "${myeconfargs[@]}" |
61 |
-} |
62 |
- |
63 |
-multilib_src_compile() { |
64 |
- default |
65 |
-} |
66 |
- |
67 |
-src_compile() { |
68 |
- if use doc; then |
69 |
- cd doc/ || die "Failed to switch directories." |
70 |
- doxygen "." || die "Failed to run doxygen to generate docs." |
71 |
- fi |
72 |
-} |
73 |
- |
74 |
-multilib_src_test() { |
75 |
- # Note: test-phase takes a long time. |
76 |
- emake -k check |
77 |
-} |
78 |
- |
79 |
-multilib_src_install_all() { |
80 |
- use doc && local HTML_DOCS=( doc/html/. ) |
81 |
- default |
82 |
- |
83 |
- rm -r "${ED}/usr/share/doc/check/" || die "Failed to remove COPYING* files" |
84 |
- find "${ED}" \( -name "*.a" -o -name "*.la" \) -delete || die |
85 |
-} |