From: "Joonas Niilola" <juippis@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-libs/check/, dev-libs/check/files/
Date: Sun, 2 Feb 2020 08:08:16 +0000 (UTC) [thread overview]
Message-ID: <1580630883.37cad266778683a94016f0f77877464f248af6c4.juippis@gentoo> (raw)
commit: 37cad266778683a94016f0f77877464f248af6c4
Author: Joonas Niilola <juippis <AT> gentoo <DOT> org>
AuthorDate: Sun Feb 2 07:55:23 2020 +0000
Commit: Joonas Niilola <juippis <AT> gentoo <DOT> org>
CommitDate: Sun Feb 2 08:08:03 2020 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=37cad266
dev-libs/check: bump to 0.14.0
Closes: https://bugs.gentoo.org/603234
Signed-off-by: Joonas Niilola <juippis <AT> gentoo.org>
dev-libs/check/Manifest | 1 +
dev-libs/check/check-0.14.0.ebuild | 66 +++++++++++++++++++++++
dev-libs/check/files/check-0.14-xfail-tests.patch | 13 +++++
3 files changed, 80 insertions(+)
diff --git a/dev-libs/check/Manifest b/dev-libs/check/Manifest
index 1a02283e0aa..9171a0811f9 100644
--- a/dev-libs/check/Manifest
+++ b/dev-libs/check/Manifest
@@ -1,3 +1,4 @@
DIST check-0.10.0.tar.gz 769119 BLAKE2B d5e256bef4aa010322844ce748e620ce884658d74b14e1ea5b0e1bbd4565ef7b0cb7b86d315a36f7a5e4d225e40f242ff9730790bd55fc036757b4296396d153 SHA512 82103a98382c41cf16f172ded66c0399d3da6eceb6728aab11120c028e8796f6d545a98dc4aa5f76ee68c0bfd1f842a4dd371f5d670c8ba84ce4209812bf1ac5
DIST check-0.12.0-github.tar.gz 281127 BLAKE2B d7dc89c10022594a37e9a4bc6b9fe1e8f355af864a5012c292cc3f1152e9e3e9be01fa34b39e5168f65650e540f36dbc8195952908a871d1c111283429f2f538 SHA512 f7b6452b69f999a90e86a8582d980c0c1b74ba5629ee34455724463ba62bfe3501ad0415aa771170f5c638a7a253f123bf87cbef25aadc6569a7a3a4d10fce90
DIST check-0.13.0.tar.gz 301386 BLAKE2B fbc79ad9f0bacd7c7461cde631a499d92e004233b5d35ba35cb0791195362e12fc21ca059e2019280cbf256215528af239de988755e0183cb6e332a5b145624e SHA512 7943021c5bc3b5ca7bc552f6fe1287e384724d69e5bb128d58256692e810b194e506fc1b65ea4fed27d065e2176e7371483e918beb48125abfe3b6f1ca68eb8f
+DIST check-0.14.0.tar.gz 303471 BLAKE2B d602bb56d205eccf06e4177e3f6d3f7270c3a0cba0e1d397480f0409a916ec4118c48340ad6f6a8955ea30d9e22252ff8381a687d000c3f8e62828cf656f1245 SHA512 54ad175c00cf0c73b4386cf6b3d6a404a5da4f57897d099e772f148f410108c44767c3266a940113be73a6861b3f3ee1706c558cc71ec51df99687f19f3a3bb4
diff --git a/dev-libs/check/check-0.14.0.ebuild b/dev-libs/check/check-0.14.0.ebuild
new file mode 100644
index 00000000000..c1de319b23d
--- /dev/null
+++ b/dev-libs/check/check-0.14.0.ebuild
@@ -0,0 +1,66 @@
+# Copyright 1999-2020 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+inherit autotools multilib-minimal
+
+DESCRIPTION="A unit test framework for C"
+HOMEPAGE="https://libcheck.github.io/check/"
+SRC_URI="https://github.com/lib${PN}/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz"
+
+LICENSE="LGPL-2.1+"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sh ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~x64-solaris ~x86-solaris"
+IUSE="doc static-libs subunit test"
+
+RESTRICT="!test? ( test )"
+
+RDEPEND="subunit? ( dev-python/subunit[${MULTILIB_USEDEP}] )"
+DEPEND="${RDEPEND}
+ sys-apps/texinfo"
+BDEPEND="doc? ( app-doc/doxygen )"
+
+PATCHES=(
+ "${FILESDIR}"/check-0.12.0-fp.patch
+ "${FILESDIR}"/check-0.14-xfail-tests.patch
+)
+
+src_prepare() {
+ default
+ eautoreconf
+}
+
+multilib_src_configure() {
+ local myeconfargs=(
+ --disable-dependency-tracking
+ $(use_enable doc build-docs)
+ $(use_enable subunit)
+ $(use_enable test timeout-tests)
+ )
+ ECONF_SOURCE="${S}" econf "${myeconfargs[@]}"
+}
+
+multilib_src_compile() {
+ default
+}
+
+src_compile() {
+ if use doc; then
+ cd doc/ || die "Failed to switch directories."
+ doxygen "." || die "Failed to run doxygen to generate docs."
+ fi
+}
+
+multilib_src_test() {
+ # Note: test-phase takes a long time.
+ emake -k check
+}
+
+multilib_src_install_all() {
+ use doc && local HTML_DOCS=( doc/html/. )
+ default
+
+ rm -r "${ED}/usr/share/doc/check/" || die "Failed to remove COPYING* files"
+ find "${ED}" \( -name "*.a" -o -name "*.la" \) -delete || die
+}
diff --git a/dev-libs/check/files/check-0.14-xfail-tests.patch b/dev-libs/check/files/check-0.14-xfail-tests.patch
new file mode 100644
index 00000000000..ea2ffe10aa4
--- /dev/null
+++ b/dev-libs/check/files/check-0.14-xfail-tests.patch
@@ -0,0 +1,13 @@
+--- a/tests/Makefile.am 2020-02-02 09:33:17.807391927 +0200
++++ b/tests/Makefile.am.1 2020-02-02 09:34:01.267166205 +0200
+@@ -19,6 +19,10 @@
+ # XFAIL_TESTS = \
+ # check_thread_stress
+
++XFAIL_TESTS = \
++ check_check_export \
++ check_check
++
+ noinst_PROGRAMS = \
+ check_check_export \
+ check_check \
next reply other threads:[~2020-02-02 8:08 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-02-02 8:08 Joonas Niilola [this message]
-- strict thread matches above, loose matches on Subject: below --
2020-03-23 13:14 [gentoo-commits] repo/gentoo:master commit in: dev-libs/check/, dev-libs/check/files/ Joonas Niilola
2020-03-21 8:53 Joonas Niilola
2016-12-23 8:46 Lars Wendler
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1580630883.37cad266778683a94016f0f77877464f248af6c4.juippis@gentoo \
--to=juippis@gentoo.org \
--cc=gentoo-commits@lists.gentoo.org \
--cc=gentoo-dev@lists.gentoo.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox