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 A4049139694 for ; Mon, 6 Mar 2017 11:24:02 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 017D8E0C14; Mon, 6 Mar 2017 11:24:02 +0000 (UTC) Received: from smtp.gentoo.org (woodpecker.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 D5495E0C14 for ; Mon, 6 Mar 2017 11:24:01 +0000 (UTC) Received: from oystercatcher.gentoo.org (unknown [IPv6:2a01:4f8:202:4333:225:90ff:fed9:fc84]) (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 1DC43341728 for ; Mon, 6 Mar 2017 11:24:01 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id DC1775E4D for ; Mon, 6 Mar 2017 11:23:59 +0000 (UTC) From: "Lars Wendler" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Lars Wendler" Message-ID: <1488799435.0ed032bfe7ceb673a7068b7bd3690ebf89dce597.polynomial-c@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-libs/jansson/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-libs/jansson/Manifest dev-libs/jansson/jansson-2.10.ebuild X-VCS-Directories: dev-libs/jansson/ X-VCS-Committer: polynomial-c X-VCS-Committer-Name: Lars Wendler X-VCS-Revision: 0ed032bfe7ceb673a7068b7bd3690ebf89dce597 X-VCS-Branch: master Date: Mon, 6 Mar 2017 11:23:59 +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: 5ddf3f94-c997-4347-93fb-ef0eaa142540 X-Archives-Hash: 78229abeaaa3c4d4c87a2bda23c5f03a commit: 0ed032bfe7ceb673a7068b7bd3690ebf89dce597 Author: Lars Wendler gentoo org> AuthorDate: Mon Mar 6 11:23:42 2017 +0000 Commit: Lars Wendler gentoo org> CommitDate: Mon Mar 6 11:23:55 2017 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0ed032bf dev-libs/jansson: Bump to version 2.10 Package-Manager: Portage-2.3.4, Repoman-2.3.2 dev-libs/jansson/Manifest | 1 + dev-libs/jansson/jansson-2.10.ebuild | 39 ++++++++++++++++++++++++++++++++++++ 2 files changed, 40 insertions(+) diff --git a/dev-libs/jansson/Manifest b/dev-libs/jansson/Manifest index de3c0599bc9..6c9d3c88063 100644 --- a/dev-libs/jansson/Manifest +++ b/dev-libs/jansson/Manifest @@ -1 +1,2 @@ +DIST jansson-2.10.tar.gz 487855 SHA256 78215ad1e277b42681404c1d66870097a50eb084be9d771b1d15576575cf6447 SHA512 e331d5c097b4acb0b1df7d90d1d3453c26bd34bfe2e06af0027665bee9efecc2bc61cc7ab5b70dab1262bf80a3315ffb53b4176874fe07e20eee4b9ea7071d44 WHIRLPOOL 07ccf532f0ff27ac5063fafe0f2a33f4117909365c2dc7dfea6331457712efc5b8b93d519ebfae56fc46fb98b2fc95d858e2efa407bd4dd61935b9cf4cbc00bc DIST jansson-2.9.tar.gz 485095 SHA256 0ad0d074ca049a36637e7abef755d40849ad73e926b93914ce294927b97bd2a5 SHA512 ae239e1a825c252d7a3b0ee97004c129a0968f7e9da8679dc665a8e54a34c073b0c274bd5af004700b442f7b703bcc76f5e3360ab82172da7203b3458a5e9cb9 WHIRLPOOL 2b9103702680f0e03f5220530938dfcd8fb1b793383bf459200e0e05fffcfd5ec7cecd904ba7fc3c55f237d98f94b6a97c26c3f89b5b26ebcaa830e2eecd4b1f diff --git a/dev-libs/jansson/jansson-2.10.ebuild b/dev-libs/jansson/jansson-2.10.ebuild new file mode 100644 index 00000000000..6b758c05a25 --- /dev/null +++ b/dev-libs/jansson/jansson-2.10.ebuild @@ -0,0 +1,39 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +inherit autotools multilib-minimal + +DESCRIPTION="C library for encoding, decoding and manipulating JSON data" +HOMEPAGE="http://www.digip.org/jansson/" +SRC_URI="http://www.digip.org/jansson/releases/${P}.tar.gz" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86" +IUSE="doc static-libs" + +DEPEND="doc? ( >=dev-python/sphinx-1.0.4 )" +RDEPEND="" + +src_prepare() { + default + sed -ie 's/-Werror//' src/Makefile.am || die + eautoreconf +} + +multilib_src_configure() { + ECONF_SOURCE="${S}" \ + econf \ + $(use_enable static-libs static) +} + +multilib_src_compile() { + default + + if multilib_is_native_abi && use doc ; then + emake html + HTML_DOCS=( "${BUILD_DIR}"/doc/_build/html/. ) + fi +}