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 DF2081381F1 for ; Mon, 27 Jun 2016 18:43:56 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 5C73514239; Mon, 27 Jun 2016 18:43:53 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id DFC8514239 for ; Mon, 27 Jun 2016 18:43:52 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 43EDA340D59 for ; Mon, 27 Jun 2016 18:43:51 +0000 (UTC) Received: from localhost.localdomain (localhost [127.0.0.1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id C303A23BD for ; Mon, 27 Jun 2016 18:43:47 +0000 (UTC) From: "Michał Górny" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Michał Górny" Message-ID: <1467053016.70a03701823dbee6efc39ae08994a9bfe05067ec.mgorny@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-libs/jsoncpp/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-libs/jsoncpp/Manifest dev-libs/jsoncpp/jsoncpp-1.7.3.ebuild X-VCS-Directories: dev-libs/jsoncpp/ X-VCS-Committer: mgorny X-VCS-Committer-Name: Michał Górny X-VCS-Revision: 70a03701823dbee6efc39ae08994a9bfe05067ec X-VCS-Branch: master Date: Mon, 27 Jun 2016 18:43:47 +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-Archives-Salt: b9fb4fa5-e3b2-40ef-8727-d3212b2d97ac X-Archives-Hash: ce11674df137d9f6d81e5ebc228d9768 commit: 70a03701823dbee6efc39ae08994a9bfe05067ec Author: Michał Górny gentoo org> AuthorDate: Mon Jun 27 18:43:04 2016 +0000 Commit: Michał Górny gentoo org> CommitDate: Mon Jun 27 18:43:36 2016 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=70a03701 dev-libs/jsoncpp: Bump to 1.7.3 dev-libs/jsoncpp/Manifest | 1 + dev-libs/jsoncpp/jsoncpp-1.7.3.ebuild | 72 +++++++++++++++++++++++++++++++++++ 2 files changed, 73 insertions(+) diff --git a/dev-libs/jsoncpp/Manifest b/dev-libs/jsoncpp/Manifest index 17d417d..f19c845 100644 --- a/dev-libs/jsoncpp/Manifest +++ b/dev-libs/jsoncpp/Manifest @@ -2,3 +2,4 @@ DIST jsoncpp-0.10.2.tar.gz 197188 SHA256 37bb72615018522bb78a5eb425b36dfc79e049c DIST jsoncpp-0.10.6.tar.gz 200213 SHA256 7c285fc40ad0c113e436a1271c4e38b5017b5c7782c306e90be9d6b2ffa90212 SHA512 9fcf584d14c31fc135c9789b36c02c5985daecc7396eb21912d5ea3e757d1fd0d516d7a060e14b4955c73f6b4aa256529281da908726919236fa65310de9f1aa WHIRLPOOL f06b804045250b205f8ca1ed6fd5504cb5e18243df16c9c255310a631d6d88f78bfd8c59e31360c1e50ccabcf5b295a095a80cdbb4e0ca5a0da54a64ff8e7919 DIST jsoncpp-1.6.5.tar.gz 200507 SHA256 a2b121eaff56ec88cfd034d17685821a908d0d87bc319329b04f91a6552c1ac2 SHA512 589153d525ffde15e10f1ef6907c6b5d0f62a41c8cebdc12fe2bc4d989bcd861cdac79526de2f51872c0a17e574bf0fd8c913f0aa301c184efa1e3f2fb2b1955 WHIRLPOOL a1253362a0bdd8a6d05e84fb7d7de5b79aec0cadf5a03a8c2be8a6e8062e6ae231e5b97cd99ee9607c2c546afa58dabb183167c6a74b409d32485b45c7d3e9ae DIST jsoncpp-1.7.2.tar.gz 205391 SHA256 2179a7df19c1c6dc87e02c65b847efc914625a9b87df3e443d9610fc70c0f557 SHA512 32702147229ea7a3679654325572c38f4188f258ab6ac21f9e04059d53ef2a7cd0542ec4ec3b0e7b9089acd2b7bce389f16b9ff24b2e63e0ba2a5bcd46bab766 WHIRLPOOL a4c71f4c8cd6468f8326120bd106b50c563ab1b7a10df4874d96dd2c03f115645f1016c4e2e52f8056f58f7a40bd6bfc2a75e6aca896bdf98652b1052fde1fd8 +DIST jsoncpp-1.7.3.tar.gz 205738 SHA256 1cfcad14054039ba97c22531888796cb9369e6353f257aacaad34fda956ada53 SHA512 991af517449432082a4bfc77de7e23cc693c976709bc40053c043209baa09919532fc4c46e3e32dea504c2fcb58ad6b6bc9b2d202f947c736c4498debc45235a WHIRLPOOL 707588d1f1aaf7de943fa81ac5cbe3d1389ac4623c51c4151aa591effdf41ed34c3c824b3e350482fc3358ad0665e5f34d1b4bd0f1cce747692e572d6c784142 diff --git a/dev-libs/jsoncpp/jsoncpp-1.7.3.ebuild b/dev-libs/jsoncpp/jsoncpp-1.7.3.ebuild new file mode 100644 index 0000000..a82892a --- /dev/null +++ b/dev-libs/jsoncpp/jsoncpp-1.7.3.ebuild @@ -0,0 +1,72 @@ +# Copyright 1999-2016 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=6 +PYTHON_COMPAT=( python2_7 ) + +inherit cmake-utils python-any-r1 + +DESCRIPTION="C++ JSON reader and writer" +HOMEPAGE="https://github.com/open-source-parsers/jsoncpp" +SRC_URI="https://github.com/open-source-parsers/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="|| ( public-domain MIT )" +SLOT="0/1" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~sparc ~x86" +IUSE="doc test" + +DEPEND=" + doc? ( + app-doc/doxygen + ${PYTHON_DEPS} + ) + test? ( + ${PYTHON_DEPS} + )" +RDEPEND="" + +pkg_setup() { + if use doc || use test; then + python-any-r1_pkg_setup + fi +} + +src_configure() { + local mycmakeargs=( + -DJSONCPP_WITH_TESTS=$(usex test) + -DJSONCPP_WITH_POST_BUILD_UNITTEST=OFF + -DJSONCPP_WITH_CMAKE_PACKAGE=ON + + -DBUILD_SHARED_LIBS=ON + -DBUILD_STATIC_LIBS=OFF + # Follow Debian, Ubuntu, Arch convention for headers location + # bug #452234 + -DINCLUDE_INSTALL_DIR="${EPREFIX}"/usr/include/jsoncpp + # Disable implicit ccache use + -DCCACHE_FOUND=OFF + ) + + cmake-utils_src_configure +} + +src_compile() { + cmake-utils_src_compile + + if use doc; then + "${EPYTHON}" doxybuild.py --doxygen=/usr/bin/doxygen || die + fi +} + +src_test() { + emake -C "${BUILD_DIR}" jsoncpp_check +} + +src_install() { + cmake-utils_src_install + + if use doc; then + docinto html + dodoc -r dist/doxygen/jsoncpp*/. + fi +}