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 8FD6B139084 for ; Wed, 14 Dec 2016 21:13:33 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id E26DD21C075; Wed, 14 Dec 2016 21:13:32 +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 A600021C075 for ; Wed, 14 Dec 2016 21:13:32 +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 9ACB8340F1A for ; Wed, 14 Dec 2016 21:13:31 +0000 (UTC) Received: from localhost.localdomain (localhost [127.0.0.1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 2B6E91F2F for ; Wed, 14 Dec 2016 21:13:29 +0000 (UTC) From: "David Seifert" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "David Seifert" Message-ID: <1481749994.f418f1b08caeaba7cd0fce76a9967d0934cf12ec.soap@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.8.0.ebuild X-VCS-Directories: dev-libs/jsoncpp/ X-VCS-Committer: soap X-VCS-Committer-Name: David Seifert X-VCS-Revision: f418f1b08caeaba7cd0fce76a9967d0934cf12ec X-VCS-Branch: master Date: Wed, 14 Dec 2016 21:13:29 +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: 98d85ee1-68f1-4cd0-b6ae-e5d011b33b5b X-Archives-Hash: c0a3011318832070f63d276e1eb0bdc5 commit: f418f1b08caeaba7cd0fce76a9967d0934cf12ec Author: David Seifert gentoo org> AuthorDate: Wed Dec 14 21:05:03 2016 +0000 Commit: David Seifert gentoo org> CommitDate: Wed Dec 14 21:13:14 2016 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f418f1b0 dev-libs/jsoncpp: Version bump to 1.8.0 Gentoo-bug: 598958 Package-Manager: portage-2.3.3 dev-libs/jsoncpp/Manifest | 1 + dev-libs/jsoncpp/jsoncpp-1.8.0.ebuild | 68 +++++++++++++++++++++++++++++++++++ 2 files changed, 69 insertions(+) diff --git a/dev-libs/jsoncpp/Manifest b/dev-libs/jsoncpp/Manifest index 8902e49..430a57b 100644 --- a/dev-libs/jsoncpp/Manifest +++ b/dev-libs/jsoncpp/Manifest @@ -5,3 +5,4 @@ DIST jsoncpp-1.7.2.tar.gz 205391 SHA256 2179a7df19c1c6dc87e02c65b847efc914625a9b DIST jsoncpp-1.7.4.tar.gz 205752 SHA256 10dcd0677e80727e572a1e462193e51a5fde3e023b99e144b2ee1a469835f769 SHA512 e674f6f885e2aa7258d3d3d7a14ef148b5182fd883a527b3b9d75334e778142a833bbb295796af503573b9745f889b8bc496a0b2e11dce1b9cc7f079ac538bf7 WHIRLPOOL 510915e507235d2e89d0f8097336c7910af161c2f9b39eb034be429441e457db4d5d01b8e87342654a68cf5fecdfe584ff1d1ba23fabc58012d80a9bb78e4819 DIST jsoncpp-1.7.5.tar.gz 205989 SHA256 4338c6cab8af8dee6cdfd54e6218bd0533785f552c6162bb083f8dd28bf8fbbe SHA512 c8217e390d4b15e046a6f14ad54257ac8ecc13b70073a15c502b451df25c6d8bbc645ee50bb12e67433bf2c9053e2a39544d465c19124c7b882b69dd80b70ab2 WHIRLPOOL 312522ed7d8c03a50406f6a93355fab341022ef433b553f50d6d2b9e052c645361a4cea0771f1a16189921a15d025d35f0a6a5ff251d18a9ec48faa90084bb87 DIST jsoncpp-1.7.7.tar.gz 206072 SHA256 087640ebcf7fbcfe8e2717a0b9528fff89c52fcf69fa2a18cc2b538008098f97 SHA512 1b12cc497729ca447dae77f92c6a761494554021b306e8cedbea0ddf83f6569ca53380f8b53a0d4a62b5239c605328a419082e0610ca051a2957bcb7136ba644 WHIRLPOOL 4c409990aed6ae739b11b073503ccaedc655d23ecfe170f8b956a98a793c5c08a039f6930ab4c296e683d0c6fade7128773d2cd3e4e23a93aabbe7f12eafea79 +DIST jsoncpp-1.8.0.tar.gz 206659 SHA256 5deb2462cbf0c0121c9d6c9823ec72fe71417e34242e3509bc7c003d526465bc SHA512 bd0aa56827932e5b50231216c9f501da12053bf9eed6e83210b5c52afb9aff610e71995446a7e2f5f4580ff37762956a307867d3eaa1aebd6ca31e574c9e4d4c WHIRLPOOL 76bb44fc8e838a544415b802188dec19aa14cf65d41833dd7e737a8fd1e442d4566f57c505ab4a11c07a7af2f03a8053e217988882cb581b535fce55fc8e76fc diff --git a/dev-libs/jsoncpp/jsoncpp-1.8.0.ebuild b/dev-libs/jsoncpp/jsoncpp-1.8.0.ebuild new file mode 100644 index 00000000..7092017 --- /dev/null +++ b/dev-libs/jsoncpp/jsoncpp-1.8.0.ebuild @@ -0,0 +1,68 @@ +# 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/11" +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="" + +RESTRICT="!test? ( test )" + +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 + -DCMAKE_INSTALL_INCLUDEDIR=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="${EPREFIX}"/usr/bin/doxygen || die + HTML_DOCS=( dist/doxygen/jsoncpp*/. ) + fi +} + +src_test() { + emake -C "${BUILD_DIR}" jsoncpp_check +}