summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLars Wendler <polynomial-c@gentoo.org>2017-10-25 09:29:47 +0200
committerLars Wendler <polynomial-c@gentoo.org>2017-10-25 09:47:01 +0200
commit9df04f91bf4298d6cb6b5ceb67820941a72e73db (patch)
tree555553c359fd13577cb93d63ec6cd5ca246588dd /dev-libs/check
parentnet-libs/zeromq: stable 4.2.2-r2 for ppc, bug #618522 (thanks to ernsteiswuer... (diff)
downloadgentoo-9df04f91bf4298d6cb6b5ceb67820941a72e73db.tar.gz
gentoo-9df04f91bf4298d6cb6b5ceb67820941a72e73db.tar.bz2
gentoo-9df04f91bf4298d6cb6b5ceb67820941a72e73db.zip
dev-libs/check: Bump to version 0.12.0
Package-Manager: Portage-2.3.12, Repoman-2.3.3
Diffstat (limited to 'dev-libs/check')
-rw-r--r--dev-libs/check/Manifest1
-rw-r--r--dev-libs/check/check-0.12.0.ebuild61
2 files changed, 62 insertions, 0 deletions
diff --git a/dev-libs/check/Manifest b/dev-libs/check/Manifest
index 27406d3ca9b..0d91e30d7da 100644
--- a/dev-libs/check/Manifest
+++ b/dev-libs/check/Manifest
@@ -1,4 +1,5 @@
DIST check-0.10.0-github.tar.gz 257887 SHA256 38daf46cc8bf9081d63970b6ea371e8462beb5e77c03443f275cf4b10ac3a0c2 SHA512 d4a5881e07c9285a5ca4eff6f63172b19c968bab3cd5cfc06c2be54fd25ef71d63b0bd6b425c7af5cfe89d7bc3fae17e56b8648cad1db58a9972e6de1b6fd96f WHIRLPOOL f254b3cd77db9735388f482aaf0d93be24a6bbea08558632d28eeb9d0573ea73ef4d9c36b2e0571fa7c938e288d8261a51dede5bb0ccd8a2671f5788512a230a
DIST check-0.10.0.tar.gz 769119 SHA256 f5f50766aa6f8fe5a2df752666ca01a950add45079aa06416b83765b1cf71052 SHA512 82103a98382c41cf16f172ded66c0399d3da6eceb6728aab11120c028e8796f6d545a98dc4aa5f76ee68c0bfd1f842a4dd371f5d670c8ba84ce4209812bf1ac5 WHIRLPOOL d3399a2500a4a1f6fa8865fe75af67e98a22587edd2525d144f4f403dd313cc59b7622cd77cfd885b9e3dfd737e2bef5366d28062b2975c882ffac6253b02b29
DIST check-0.11.0-github.tar.gz 275579 SHA256 df18bb72ba31eed2e06c21dd97402174500a211645e4b3748e9e277551acc97d SHA512 829adee2a5793dda6ac88162e355268019dd82e7a8ad95f1287bd262c3a7764425fba6a8347f1aeebdad642a972043b70aa59d54c87b3c46e1b5b569290dc359 WHIRLPOOL a37225f70a27bf78e6d6d1eb27596f9778ef809aaee834d0a75de407daa160d8c98ab6aaebc98fa18dddf332a0d110faff073c62dc37f037ed7923ea6507b563
+DIST check-0.12.0-github.tar.gz 281127 SHA256 7816b4c38f6e23ff873786f18d966e552837677bfae144041e0587e7c39e04e8 SHA512 f7b6452b69f999a90e86a8582d980c0c1b74ba5629ee34455724463ba62bfe3501ad0415aa771170f5c638a7a253f123bf87cbef25aadc6569a7a3a4d10fce90 WHIRLPOOL b3ef728b1f442a2eafd5cc431de204a6f32d28463543693d25d49e57c53b5c062786b5eae11752515f6d5b4eff35892d483d7b54705354bcea985a58c90b2266
DIST check-0.9.11.tar.gz 691146 SHA256 ea4e8c7ffb00bb4ffb3f59f11744a71f1cc4212c79f3083c7d9a4b0953976936 SHA512 10883709463b76f6650197db989c348d9d07ccaa2cacc0bd6bd177bbcc1e9e0d88746c2e110e620ab18c23cb5f41b95797d60d77de279af1a810a42b355b742e WHIRLPOOL 9559104a68b2f1215e9b00affb4711a69bf3e4e94e0ec894de66f0f77b5637187bb183560e29d0a889ff04d0e07f2785fc407128dee1ba74d584ce9a0ff9a3b1
diff --git a/dev-libs/check/check-0.12.0.ebuild b/dev-libs/check/check-0.12.0.ebuild
new file mode 100644
index 00000000000..6f9ee0d01c5
--- /dev/null
+++ b/dev-libs/check/check-0.12.0.ebuild
@@ -0,0 +1,61 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+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}-github.tar.gz"
+
+LICENSE="LGPL-2.1"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~x64-solaris ~x86-solaris"
+IUSE="static-libs subunit"
+
+RDEPEND="subunit? ( >=dev-python/subunit-0.0.10-r1[${MULTILIB_USEDEP}] )"
+DEPEND="${RDEPEND}
+ sys-apps/texinfo
+ virtual/pkgconfig"
+
+DOCS=( AUTHORS ChangeLog NEWS README.md THANKS TODO )
+
+pkg_setup() {
+ # See multilib_src_test(), disable sleep()-based tests because they
+ # just take a long time doing pretty much nothing.
+ export CPPFLAGS="-DTIMEOUT_TESTS_ENABLED=0 ${CPPFLAGS}"
+}
+
+src_prepare() {
+ default
+
+ sed -i -e '/^docdir =/d' {.,doc}/Makefile.am \
+ || die 'failed to unset docdir in Makefile.am'
+
+ eautoreconf
+}
+
+multilib_src_configure() {
+ local myeconfargs=(
+ --disable-dependency-tracking
+ $(use_enable subunit)
+ )
+ ECONF_SOURCE="${S}" econf "${myeconfargs[@]}"
+}
+
+multilib_src_install_all() {
+ default
+
+ rm -f "${ED}/usr/share/doc/${PF}"/COPYING* || \
+ die 'failed to remove COPYING files'
+
+ find "${ED}" \( -name "*.a" -o -name "*.la" \) -delete || die
+}
+
+multilib_src_test() {
+ elog "-DTIMEOUT_TESTS_ENABLED=0 has been prepended to CPPFLAGS. To run the"
+ elog "entire testsuite for dev-libs/check, ensure that"
+ elog "-DTIMEOUT_TESTS_ENABLED=1 is in your CPPFLAGS."
+ default_src_test
+}