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 43A5F139694 for ; Mon, 26 Jun 2017 07:08:42 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 160702340AF; Mon, 26 Jun 2017 07:08:39 +0000 (UTC) Received: from smtp.gentoo.org (dev.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (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 D7EC62340AF for ; Mon, 26 Jun 2017 07:08:37 +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 3399034188A for ; Mon, 26 Jun 2017 07:08:36 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 0274F747C for ; Mon, 26 Jun 2017 07:08:34 +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: <1498460908.f0549f6e640efb07f3afb92378fb27080f22e58e.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.8.1.ebuild X-VCS-Directories: dev-libs/jsoncpp/ X-VCS-Committer: mgorny X-VCS-Committer-Name: Michał Górny X-VCS-Revision: f0549f6e640efb07f3afb92378fb27080f22e58e X-VCS-Branch: master Date: Mon, 26 Jun 2017 07:08:34 +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: dcf20e1a-4b1f-4e58-a404-722bd8edd0c7 X-Archives-Hash: 4c4647237574f43c14d7a2ea8f3e3b1f commit: f0549f6e640efb07f3afb92378fb27080f22e58e Author: Michał Górny gentoo org> AuthorDate: Mon Jun 26 07:07:17 2017 +0000 Commit: Michał Górny gentoo org> CommitDate: Mon Jun 26 07:08:28 2017 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f0549f6e dev-libs/jsoncpp: Bump to 1.8.1 dev-libs/jsoncpp/Manifest | 1 + dev-libs/jsoncpp/jsoncpp-1.8.1.ebuild | 67 +++++++++++++++++++++++++++++++++++ 2 files changed, 68 insertions(+) diff --git a/dev-libs/jsoncpp/Manifest b/dev-libs/jsoncpp/Manifest index 005b389d6e8..aef861db0a1 100644 --- a/dev-libs/jsoncpp/Manifest +++ b/dev-libs/jsoncpp/Manifest @@ -1,3 +1,4 @@ DIST jsoncpp-0.10.2.tar.gz 197188 SHA256 37bb72615018522bb78a5eb425b36dfc79e049c1d5471b724f7ccadeac0ed479 SHA512 8e451e3ba37094445ab098d5b9f7236ac84e2f15d98e2039c565e609b757c2383e91850bd86aca507ca5cd2f733fedc484bb7760eeeee7fe9bace71d97ae0d2e WHIRLPOOL 85f9861e77a7c3cecd5e859adde832b7f12a0c5eae04ecbee203e5d8c4b8b13ba034b4aa6b78a3b981aa392a4ea6a26c2e1d411ae97768d7ed422f71ec2e5d79 DIST jsoncpp-0.10.6.tar.gz 200213 SHA256 7c285fc40ad0c113e436a1271c4e38b5017b5c7782c306e90be9d6b2ffa90212 SHA512 9fcf584d14c31fc135c9789b36c02c5985daecc7396eb21912d5ea3e757d1fd0d516d7a060e14b4955c73f6b4aa256529281da908726919236fa65310de9f1aa WHIRLPOOL f06b804045250b205f8ca1ed6fd5504cb5e18243df16c9c255310a631d6d88f78bfd8c59e31360c1e50ccabcf5b295a095a80cdbb4e0ca5a0da54a64ff8e7919 DIST jsoncpp-1.8.0.tar.gz 206659 SHA256 5deb2462cbf0c0121c9d6c9823ec72fe71417e34242e3509bc7c003d526465bc SHA512 bd0aa56827932e5b50231216c9f501da12053bf9eed6e83210b5c52afb9aff610e71995446a7e2f5f4580ff37762956a307867d3eaa1aebd6ca31e574c9e4d4c WHIRLPOOL 76bb44fc8e838a544415b802188dec19aa14cf65d41833dd7e737a8fd1e442d4566f57c505ab4a11c07a7af2f03a8053e217988882cb581b535fce55fc8e76fc +DIST jsoncpp-1.8.1.tar.gz 210629 SHA256 858db2faf348f89fdf1062bd3e79256772e897e7f17df73e0624edf004f2f9ac SHA512 4203826fca4c366b51d28ffc928399c914ffaba8be1cada64ff118b5742e6b469d3fc3e59344587d851447857b479794c5697d4fd11a9a55b32a3a7a801b745b WHIRLPOOL fad9803f2fdc4aba2efc235b1e6a4edab3ca19b6f0ca6a275170afb477adfdad1b1bace48dfc2424d78b6f7a2ff080987298119b1797559159197a7c268a89bb diff --git a/dev-libs/jsoncpp/jsoncpp-1.8.1.ebuild b/dev-libs/jsoncpp/jsoncpp-1.8.1.ebuild new file mode 100644 index 00000000000..603c2d1926b --- /dev/null +++ b/dev-libs/jsoncpp/jsoncpp-1.8.1.ebuild @@ -0,0 +1,67 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +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() { + cmake-utils_src_make jsoncpp_check +}