From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id B0A1B138334 for ; Sat, 4 Jan 2020 11:32:14 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id CB64CE0878; Sat, 4 Jan 2020 11:32:13 +0000 (UTC) Received: from smtp.gentoo.org (mail.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 49163E0878 for ; Sat, 4 Jan 2020 11:32:13 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 0507F34DC69 for ; Sat, 4 Jan 2020 11:32:12 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id EDB663C for ; Sat, 4 Jan 2020 11:32:09 +0000 (UTC) From: "Johannes Huber" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Johannes Huber" Message-ID: <1578137517.eb910ac08b8fc17443442e34353ef5d4a5d7414e.johu@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-cpp/yaml-cpp/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-cpp/yaml-cpp/Manifest dev-cpp/yaml-cpp/yaml-cpp-0.6.3.ebuild X-VCS-Directories: dev-cpp/yaml-cpp/ X-VCS-Committer: johu X-VCS-Committer-Name: Johannes Huber X-VCS-Revision: eb910ac08b8fc17443442e34353ef5d4a5d7414e X-VCS-Branch: master Date: Sat, 4 Jan 2020 11:32:09 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: aa5e9e76-6c31-4547-8eba-c2055a33dfd8 X-Archives-Hash: 3f0ceff930069b172def6204e54e2536 commit: eb910ac08b8fc17443442e34353ef5d4a5d7414e Author: Johannes Huber gentoo org> AuthorDate: Sat Jan 4 11:31:27 2020 +0000 Commit: Johannes Huber gentoo org> CommitDate: Sat Jan 4 11:31:57 2020 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=eb910ac0 dev-cpp/yaml-cpp: Version bump 0.6.3 Closes: https://bugs.gentoo.org/700772 Package-Manager: Portage-2.3.84, Repoman-2.3.20 Signed-off-by: Johannes Huber gentoo.org> dev-cpp/yaml-cpp/Manifest | 1 + dev-cpp/yaml-cpp/yaml-cpp-0.6.3.ebuild | 43 ++++++++++++++++++++++++++++++++++ 2 files changed, 44 insertions(+) diff --git a/dev-cpp/yaml-cpp/Manifest b/dev-cpp/yaml-cpp/Manifest index 4a2a21dbeb9..9a5094e8b59 100644 --- a/dev-cpp/yaml-cpp/Manifest +++ b/dev-cpp/yaml-cpp/Manifest @@ -1 +1,2 @@ DIST yaml-cpp-0.6.2.tar.gz 1396250 BLAKE2B be342c212c980cdb03349dbafbe1db0bb581123b4dd6909393d3cdc86145b997a9d2f9b57a5e9d7c8cc60cdfd03f1c37e9db610d8784f2d29fdeada5ab322894 SHA512 fea8ce0a20a00cbc75023d1db442edfcd32d0ac57a3c41b32ec8d56f87cc1d85d7dd7a923ce662f5d3a315f91a736d6be0d649997acd190915c1d68cc93795e4 +DIST yaml-cpp-0.6.3.tar.gz 1398768 BLAKE2B 07abe1c56740105a0af2335bb1cd48086cb614d9d04c61342e53788bfb043fd7eb2629e441a0a5be50898b288f3526f1707c5fdf1d734395b6450c3103773b14 SHA512 68b9ce987cabc1dec79382f922de20cc2c222cb9c090ecb93dc686b048da5c917facf4fce6d8f72feea44b61e5a6770ed3b0c199c4cd4e6bde5b6245c09f8e49 diff --git a/dev-cpp/yaml-cpp/yaml-cpp-0.6.3.ebuild b/dev-cpp/yaml-cpp/yaml-cpp-0.6.3.ebuild new file mode 100644 index 00000000000..cc5377b8d0f --- /dev/null +++ b/dev-cpp/yaml-cpp/yaml-cpp-0.6.3.ebuild @@ -0,0 +1,43 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +CMAKE_ECLASS="cmake" +inherit cmake-multilib + +DESCRIPTION="YAML parser and emitter in C++" +HOMEPAGE="https://github.com/jbeder/yaml-cpp" +SRC_URI="https://github.com/jbeder/${PN}/archive/${P}.tar.gz" + +LICENSE="MIT" +SLOT="0/0.6" +KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ppc ~ppc64 ~sparc ~x86 ~amd64-linux ~x86-linux" +IUSE="test" + +# test breaks build +# RESTRICT="!test? ( test )" +RESTRICT+="test" + +DEPEND="test? ( dev-cpp/gtest )" + +S="${WORKDIR}/${PN}-${P}" + +src_prepare() { + sed -i \ + -e 's:INCLUDE_INSTALL_ROOT_DIR:INCLUDE_INSTALL_DIR:g' \ + yaml-cpp.pc.cmake || die + + cmake_src_prepare +} + +src_configure() { + local mycmakeargs=( + -DBUILD_SHARED_LIBS=ON + -DYAML_BUILD_SHARED_LIBS=ON + -DYAML_CPP_BUILD_TOOLS=OFF # Don't have install rule + -DYAML_CPP_BUILD_TESTS=$(usex test) + ) + + cmake-multilib_src_configure +}