diff options
author | Johannes Huber <johu@gentoo.org> | 2016-12-06 09:43:40 +0100 |
---|---|---|
committer | Johannes Huber <johu@gentoo.org> | 2016-12-06 10:54:30 +0100 |
commit | 1c27227accbf3c8fbec9bf55c4a891c1324fa0cc (patch) | |
tree | 0983f40f40b188e4ff95f533fa2945e3cca1d358 /dev-util/cmocka | |
parent | media-sound/ardour: Fixed SRC_URI and replaced epatch with eapply. (diff) | |
download | gentoo-1c27227accbf3c8fbec9bf55c4a891c1324fa0cc.tar.gz gentoo-1c27227accbf3c8fbec9bf55c4a891c1324fa0cc.tar.bz2 gentoo-1c27227accbf3c8fbec9bf55c4a891c1324fa0cc.zip |
dev-util/cmocka: Remove 0.3.1
Package-Manager: portage-2.3.3
Diffstat (limited to 'dev-util/cmocka')
-rw-r--r-- | dev-util/cmocka/Manifest | 1 | ||||
-rw-r--r-- | dev-util/cmocka/cmocka-0.3.1-r1.ebuild | 46 | ||||
-rw-r--r-- | dev-util/cmocka/cmocka-0.3.1.ebuild | 44 | ||||
-rw-r--r-- | dev-util/cmocka/files/cmocka-automagicness.patch | 74 |
4 files changed, 0 insertions, 165 deletions
diff --git a/dev-util/cmocka/Manifest b/dev-util/cmocka/Manifest index 5c1f5947abdd..3f1bea7b6252 100644 --- a/dev-util/cmocka/Manifest +++ b/dev-util/cmocka/Manifest @@ -1,4 +1,3 @@ -DIST cmocka-0.3.1.tar.gz 100606 SHA256 4b6c61a4d880a66c4d6b3de2f488273394f4455722cd0bd7c5b8d19e21881e25 SHA512 906b977eeaf208b086a65866897b22450abb05040778959f485e616d85149e6c331426550f9478addf1034aed4df4938ed421e60b1980b1955a08421104b639a WHIRLPOOL bfc188d4208036ae92eccc6e10ac6e5f8991bf1ed60167c2edda9d1a55f34b17429bbec0f7186de6f365f1f87fc7dc428300a83251857d860b805c6a7072a963 DIST cmocka-0.4.1.tar.xz 68688 SHA256 5bba53c108a693d1cad33a2edd2ee36b0cb7ea0d9b1b94b608784d41f7fec803 SHA512 355334dbdfcda88d37bd2c60a9e714567632e481423fc45627f72a2fe13e2498152c61ad67c83da3cff7843e3e64c6bd4b806240ab714a2420c974a98a7fed96 WHIRLPOOL 52d7b51d3ae2716f0e21a7763678e3755024eba4734f44c0f719979887efa019e0d55b91c68670ab59eee6487c5d5a28c509fee472e92bcf9591210a3952f86a DIST cmocka-1.0.1.tar.xz 80240 SHA256 b36050d7a1224296803d216cba1a9d4c58c31bf308b2d6d6649d61aa5a36753b SHA512 142b3293a8ab137904d07f1ac6a56daf0afbbfcf7816a582c9998b6225aa5d6fe5f2d1b889de7b187142fc24ca4d1cfdbd630e8783858bc9ce89217ff05abc1e WHIRLPOOL c733d08a4907242bce6e8fb6989934fa8c9ae333a6c9a746c8824001722a7897cebdf8c0501bfb22d2ad29536ab32b0d004e327a1ce7b7740c9d24c6a453d6f9 DIST cmocka-1.1.0.tar.xz 85132 SHA256 e960d3bf1be618634a4b924f18bb4d6f20a825c109a8ad6d1af03913ba421330 SHA512 b45b6c6bf6c1a0e12cbbfa203afc0172aa53215e0bd43a21b30db04c0490609a7a262f1b4d87be9df0c5c486c4f4891d3432e0e053418d373d9750a6cf5adf70 WHIRLPOOL 972f1fec0c850beac388d9c8e8ff549dd4fad086fd73463df3f718f81ed84e6b47cf3e9aee184c0d25aaa6bb8b86167113b7b24b4f3a1f90371b9a446a02b1db diff --git a/dev-util/cmocka/cmocka-0.3.1-r1.ebuild b/dev-util/cmocka/cmocka-0.3.1-r1.ebuild deleted file mode 100644 index e3284a62c043..000000000000 --- a/dev-util/cmocka/cmocka-0.3.1-r1.ebuild +++ /dev/null @@ -1,46 +0,0 @@ -# Copyright 1999-2015 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Id$ - -EAPI=5 - -inherit cmake-multilib - -DESCRIPTION="A unit testing framework for C" -HOMEPAGE="http://cmocka.org/" -SRC_URI="https://open.cryptomilk.org/attachments/download/19/${P}.tar.gz" - -LICENSE="Apache-2.0" -SLOT="0" -KEYWORDS="alpha ~amd64 ~arm ~hppa ~ppc ~ppc64 ~s390 ~sparc ~x86 ~x86-fbsd ~amd64-linux ~x86-linux" -IUSE="doc static-libs test" - -DEPEND=" - doc? ( app-doc/doxygen[latex] ) -" -RDEPEND="" - -PATCHES=( "${FILESDIR}/${PN}-automagicness.patch" ) - -multilib_src_configure() { - local mycmakeargs=( - $(cmake-utils_use_with static-libs STATIC_LIB) - $(cmake-utils_use test UNIT_TESTING) - $(multilib_is_native_abi && cmake-utils_use_with doc APIDOC \ - || echo -DWITH_APIDOC=OFF) - ) - cmake-utils_src_configure -} - -multilib_src_install() { - if multilib_is_native_abi && use doc; then - pushd doc || die - doxygen doxy.config || die - rm -f html/*.md5 latex/*.md5 latex/Manifest man/man3/_* || die - dohtml html/* - dodoc latex/* - doman man/man3/*.3 - popd || die - fi - cmake-utils_src_install -} diff --git a/dev-util/cmocka/cmocka-0.3.1.ebuild b/dev-util/cmocka/cmocka-0.3.1.ebuild deleted file mode 100644 index 905d2c50e2c4..000000000000 --- a/dev-util/cmocka/cmocka-0.3.1.ebuild +++ /dev/null @@ -1,44 +0,0 @@ -# Copyright 1999-2014 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Id$ - -EAPI=5 - -inherit cmake-utils -DESCRIPTION="A unit testing framework for C" -HOMEPAGE="http://cmocka.org/" -SRC_URI="https://open.cryptomilk.org/attachments/download/19/${P}.tar.gz" - -LICENSE="Apache-2.0" -SLOT="0" -KEYWORDS="amd64 ~arm ~hppa ppc ppc64 ~s390 x86 ~x86-fbsd ~amd64-linux ~x86-linux" -IUSE="doc static-libs test" - -DEPEND=" - doc? ( app-doc/doxygen[latex] ) -" -RDEPEND="" - -PATCHES=( "${FILESDIR}/${PN}-automagicness.patch" ) - -src_configure() { - local mycmakeargs=( - $(cmake-utils_use_with static-libs STATIC_LIB) - $(cmake-utils_use test UNIT_TESTING) - $(cmake-utils_use_with doc APIDOC) - ) - cmake-utils_src_configure -} - -src_install() { - if use doc; then - pushd "${BUILD_DIR}/doc/" - doxygen doxy.config - rm html/*.md5 latex/*.md5 latex/Manifest man/man3/_* - dohtml html/* - dodoc latex/* - doman man/man3/*.3 - popd - fi - cmake-utils_src_install -} diff --git a/dev-util/cmocka/files/cmocka-automagicness.patch b/dev-util/cmocka/files/cmocka-automagicness.patch deleted file mode 100644 index 29ece4563214..000000000000 --- a/dev-util/cmocka/files/cmocka-automagicness.patch +++ /dev/null @@ -1,74 +0,0 @@ ---- a/cmake/Modules/MacroOptionalFindPackage.cmake -+++ b/cmake/Modules/MacroOptionalFindPackage.cmake -@@ -0,0 +1,48 @@ -+# - MACRO_OPTIONAL_FIND_PACKAGE() combines FIND_PACKAGE() with an OPTION() -+# MACRO_OPTIONAL_FIND_PACKAGE( <name> [QUIT] ) -+# This macro is a combination of OPTION() and FIND_PACKAGE(), it -+# works like FIND_PACKAGE(), but additionally it automatically creates -+# an option name WITH_<name>, which can be disabled via the cmake GUI. -+# or via -DWITH_<name>=OFF -+# The standard <name>_FOUND variables can be used in the same way -+# as when using the normal FIND_PACKAGE() -+ -+# Copyright (c) 2006-2010 Alexander Neundorf, <neundorf@kde.org> -+# -+# Redistribution and use is allowed according to the terms of the BSD license. -+# For details see the accompanying COPYING-CMAKE-SCRIPTS file. -+ -+# This is just a helper macro to set a bunch of variables empty. -+# We don't know whether the package uses UPPERCASENAME or CamelCaseName, so we try both: -+macro(_MOFP_SET_EMPTY_IF_DEFINED _name _var) -+ if(DEFINED ${_name}_${_var}) -+ set(${_name}_${_var} "") -+ endif(DEFINED ${_name}_${_var}) -+ -+ string(TOUPPER ${_name} _nameUpper) -+ if(DEFINED ${_nameUpper}_${_var}) -+ set(${_nameUpper}_${_var} "") -+ endif(DEFINED ${_nameUpper}_${_var}) -+endmacro(_MOFP_SET_EMPTY_IF_DEFINED _package _var) -+ -+ -+macro (MACRO_OPTIONAL_FIND_PACKAGE _name ) -+ option(WITH_${_name} "Search for ${_name} package" ON) -+ if (WITH_${_name}) -+ find_package(${_name} ${ARGN}) -+ else (WITH_${_name}) -+ string(TOUPPER ${_name} _nameUpper) -+ set(${_name}_FOUND FALSE) -+ set(${_nameUpper}_FOUND FALSE) -+ -+ _mofp_set_empty_if_defined(${_name} INCLUDE_DIRS) -+ _mofp_set_empty_if_defined(${_name} INCLUDE_DIR) -+ _mofp_set_empty_if_defined(${_name} INCLUDES) -+ _mofp_set_empty_if_defined(${_name} LIBRARY) -+ _mofp_set_empty_if_defined(${_name} LIBRARIES) -+ _mofp_set_empty_if_defined(${_name} LIBS) -+ _mofp_set_empty_if_defined(${_name} FLAGS) -+ _mofp_set_empty_if_defined(${_name} DEFINITIONS) -+ endif (WITH_${_name}) -+endmacro (MACRO_OPTIONAL_FIND_PACKAGE) -+ ---- a/CMakeLists.txt -+++ b/CMakeLists.txt -@@ -34,7 +34,7 @@ - include(DefineInstallationPaths) - include(DefineOptions.cmake) - include(CPackConfig.cmake) -- -+include(MacroOptionalFindPackage) - if (UNIT_TESTING) - include(AddCMockaTest) - endif (UNIT_TESTING) ---- a/doc/CMakeLists.txt -+++ b/doc/CMakeLists.txt -@@ -1,5 +1,7 @@ - # - # Build the documentation - # --include(UseDoxygen OPTIONAL) -- -+option(WITH_APIDOC "Use doxygen to generate documentation" ON) -+if (WITH_APIDOC) -+ include(UseDoxygen OPTIONAL) -+endif (WITH_APIDOC) |