dev-libs/check: remove old

Signed-off-by: Joonas Niilola <juippis@gentoo.org>
This commit is contained in:
Joonas Niilola
2020-03-26 20:13:35 +02:00
parent 6cfba33712
commit 6cf035a2b8
3 changed files with 0 additions and 134 deletions

View File

@@ -1,3 +1 @@
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.14.0.tar.gz 303471 BLAKE2B d602bb56d205eccf06e4177e3f6d3f7270c3a0cba0e1d397480f0409a916ec4118c48340ad6f6a8955ea30d9e22252ff8381a687d000c3f8e62828cf656f1245 SHA512 54ad175c00cf0c73b4386cf6b3d6a404a5da4f57897d099e772f148f410108c44767c3266a940113be73a6861b3f3ee1706c558cc71ec51df99687f19f3a3bb4

View File

@@ -1,65 +0,0 @@
# Copyright 1999-2020 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=5
AUTOTOOLS_PRUNE_LIBTOOL_FILES="all"
inherit autotools autotools-multilib
DESCRIPTION="A unit test framework for C"
HOMEPAGE="https://sourceforge.net/projects/check/"
SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz"
LICENSE="LGPL-2.1"
SLOT="0"
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"
IUSE="static-libs subunit"
RDEPEND="
subunit? ( >=dev-python/subunit-0.0.10-r1[${MULTILIB_USEDEP}] )"
DEPEND="
${RDEPEND}
sys-apps/texinfo
virtual/pkgconfig"
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() {
sed -i -e '/^docdir =/d' {.,doc}/Makefile.am \
|| die 'failed to unset docdir in Makefile.am'
# fix out-of-sourcedir build having inconsistent check.h files, for
# example breaks USE=subunit.
rm src/check.h || die 'failed to remove src/check.h'
eautoreconf
}
src_configure() {
local myeconfargs=(
$(use_enable subunit)
--docdir="${EPREFIX}/usr/share/doc/${PF}"
)
autotools-multilib_src_configure
}
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
}
src_install() {
autotools-multilib_src_install
dodoc AUTHORS *ChangeLog* NEWS README THANKS TODO
rm -f "${ED}/usr/share/doc/${PF}"/COPYING* || \
die 'failed to remove COPYING files'
}

View File

@@ -1,67 +0,0 @@
# Copyright 1999-2020 Gentoo Authors
# 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 ~riscv ~s390 sparc x86 ~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
"
PATCHES=(
# Fix test failures due to varying floating point behavior across platforms
# (#648920), patch from Fedora.
"${FILESDIR}/${PN}-0.12.0-fp.patch"
)
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=(
$(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
}