diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2018-05-06 11:18:16 +0100 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2018-05-06 11:18:16 +0100 |
commit | ebce8994fe3cc4ca9fbc96ca837cb4c4e98adcbd (patch) | |
tree | f2204ce5f94dc3cb13728ff93649d889944952bb /dev-cpp/gmock | |
parent | fe1c8b732bd548b699d4c2ef725f67f8b8c8911c (diff) |
gentoo resync : 06.05.2018
Diffstat (limited to 'dev-cpp/gmock')
-rw-r--r-- | dev-cpp/gmock/Manifest | 4 | ||||
-rw-r--r-- | dev-cpp/gmock/files/gmock-1.7.0-gcc6.patch | 32 | ||||
-rw-r--r-- | dev-cpp/gmock/gmock-1.7.0-r1.ebuild | 61 | ||||
-rw-r--r-- | dev-cpp/gmock/metadata.xml | 9 |
4 files changed, 0 insertions, 106 deletions
diff --git a/dev-cpp/gmock/Manifest b/dev-cpp/gmock/Manifest deleted file mode 100644 index afe0ece52737..000000000000 --- a/dev-cpp/gmock/Manifest +++ /dev/null @@ -1,4 +0,0 @@ -AUX gmock-1.7.0-gcc6.patch 981 BLAKE2B 068462693a68144441d5572678609b6bfc58b9415f620df4c1d88b3b629dbdb16787ef5eda714b40a0db3577f84b4493b18fadaf63ff54474de1fab74479b5a7 SHA512 8deb186aaeed74c2e4b2f030f2d9a1f224ba698931862d48775db07a88b798e20e28494b6840dad53fd9f9370dbd506d87425ca52b7fb28f5361b4c9392fd6b2 -DIST gmock-1.7.0.zip 2167746 BLAKE2B fc8939615d076512181c62e87028f55ac962a462a625faa4dbf4e8368dc59949f38413293e941c02e21c459190a8678f6618f252364d288b1d2323bcd19bd525 SHA512 0ab7bb2614f8c00e4842a6819dbc6d9323c42241335078c23eaee53ed420d42f1845d44334eccbf7c114cc88f6ac7a493e20d9b46c58cdba645bbd400eb6db55 -EBUILD gmock-1.7.0-r1.ebuild 1289 BLAKE2B da7c07b45f14cff9451342e898bbe9339979782d933720fd44effadf492b31d644237e40afad503f288191a6a662aecf74c10328af87a4103474ad56ece6520e SHA512 9f74c87f0858ac7c9c7ba06758473e637baa858d6a4f7541f84559257d1dcf70d7aaf01077724e6ad2893bf23c68ee788df23ff2bccca8b63940fb9b8f0140dd -MISC metadata.xml 304 BLAKE2B 4b8caac4a67750f2d058c06572784636ea7374bea3d7da8dc98ce5848365ffce343d58958e166d954ef590708c43de70db0febf01d075b5bd52e50f806027a3f SHA512 573fc08baeff103567932299b2a802742cec7c389cd4d06fb4538d5a07bcacae12a2d4455f44e736e83bc417faa60f153db8fc318aba1d9f21a432bcae2c70f9 diff --git a/dev-cpp/gmock/files/gmock-1.7.0-gcc6.patch b/dev-cpp/gmock/files/gmock-1.7.0-gcc6.patch deleted file mode 100644 index 58a78462d60d..000000000000 --- a/dev-cpp/gmock/files/gmock-1.7.0-gcc6.patch +++ /dev/null @@ -1,32 +0,0 @@ -Bug: https://bugs.gentoo.org/602158 -Patch: https://github.com/google/googletest/issues/705#issuecomment-235067917 - ---- a/include/gmock/gmock-spec-builders.h -+++ b/include/gmock/gmock-spec-builders.h -@@ -1370,6 +1370,8 @@ - template <> - class ActionResultHolder<void> : public UntypedActionResultHolderBase { - public: -+ explicit ActionResultHolder() {} -+ - void GetValueAndDelete() const { delete this; } - - virtual void PrintAsActionResult(::std::ostream* /* os */) const {} -@@ -1381,7 +1383,7 @@ - const typename Function<F>::ArgumentTuple& args, - const string& call_description) { - func_mocker->PerformDefaultAction(args, call_description); -- return NULL; -+ return new ActionResultHolder(); - } - - // Performs the given action and returns NULL. -@@ -1390,7 +1392,7 @@ - const Action<F>& action, - const typename Function<F>::ArgumentTuple& args) { - action.Perform(args); -- return NULL; -+ return new ActionResultHolder(); - } - }; - diff --git a/dev-cpp/gmock/gmock-1.7.0-r1.ebuild b/dev-cpp/gmock/gmock-1.7.0-r1.ebuild deleted file mode 100644 index 42e424f63b84..000000000000 --- a/dev-cpp/gmock/gmock-1.7.0-r1.ebuild +++ /dev/null @@ -1,61 +0,0 @@ -# Copyright 1999-2017 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 - -EAPI="4" - -PYTHON_COMPAT=( python2_7 ) - -inherit epatch libtool multilib-minimal python-any-r1 - -DESCRIPTION="Google's C++ mocking framework" -HOMEPAGE="https://github.com/google/googlemock" -SRC_URI="https://googlemock.googlecode.com/files/${P}.zip" - -LICENSE="BSD" -SLOT="0" -KEYWORDS="alpha amd64 arm arm64 hppa ia64 m68k ~mips ppc ppc64 s390 sh sparc x86" -IUSE="static-libs test" - -RDEPEND="=dev-cpp/gtest-${PV}*[${MULTILIB_USEDEP}]" -DEPEND="${RDEPEND} - test? ( ${PYTHON_DEPS} ) - app-arch/unzip" - -pkg_setup() { - # Stub to disable python_setup running when USE=-test. - # We'll handle it down in src_test ourselves. - : -} - -src_unpack() { - default - # make sure we always use the system one - rm -r "${S}"/gtest/{Makefile,configure}* || die -} - -src_prepare() { - epatch "${FILESDIR}"/${P}-gcc6.patch - - sed -i -r \ - -e '/^install-(data|exec)-local:/s|^.*$|&\ndisabled-&|' \ - Makefile.in - elibtoolize -} - -multilib_src_configure() { - ECONF_SOURCE=${S} econf $(use_enable static-libs static) -} - -multilib_src_test() { - python_setup - emake check -} - -multilib_src_install() { - default - dobin scripts/gmock-config -} - -multilib_src_install_all() { - use static-libs || find "${ED}" -name '*.la' -delete -} diff --git a/dev-cpp/gmock/metadata.xml b/dev-cpp/gmock/metadata.xml deleted file mode 100644 index 09ce02b4056b..000000000000 --- a/dev-cpp/gmock/metadata.xml +++ /dev/null @@ -1,9 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> -<pkgmetadata> - <!-- maintainer-needed --> - <upstream> - <remote-id type="google-code">googlemock</remote-id> - <remote-id type="github">google/googlemock</remote-id> - </upstream> -</pkgmetadata> |