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 A34C8139694 for ; Mon, 27 Mar 2017 19:28:17 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 8C99D23402A; Mon, 27 Mar 2017 19:28:15 +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 55A7723402A for ; Mon, 27 Mar 2017 19:28:15 +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 CC0B7341650 for ; Mon, 27 Mar 2017 19:28:12 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 41CBE6E55 for ; Mon, 27 Mar 2017 19:28:11 +0000 (UTC) From: "Paweł Hajdan" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Paweł Hajdan" Message-ID: <1490642878.204a605fa668f3f03764ad56791eaffa2f0f6e46.phajdan.jr@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-libs/re2/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-libs/re2/Manifest dev-libs/re2/re2-0.2017.03.01.ebuild X-VCS-Directories: dev-libs/re2/ X-VCS-Committer: phajdan.jr X-VCS-Committer-Name: Paweł Hajdan X-VCS-Revision: 204a605fa668f3f03764ad56791eaffa2f0f6e46 X-VCS-Branch: master Date: Mon, 27 Mar 2017 19:28:11 +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: 87e6ecf9-8390-47ab-bd9a-f51a18d785ad X-Archives-Hash: 10ef824eb466af5f1c86b118ded17c0c commit: 204a605fa668f3f03764ad56791eaffa2f0f6e46 Author: Pawel Hajdan, Jr gentoo org> AuthorDate: Mon Mar 27 14:37:09 2017 +0000 Commit: Paweł Hajdan gentoo org> CommitDate: Mon Mar 27 19:27:58 2017 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=204a605f dev-libs/re2: bump to 0.2017.03.01 (bug #613318 by mrueg@) dev-libs/re2/Manifest | 1 + dev-libs/re2/re2-0.2017.03.01.ebuild | 52 ++++++++++++++++++++++++++++++++++++ 2 files changed, 53 insertions(+) diff --git a/dev-libs/re2/Manifest b/dev-libs/re2/Manifest index 2a801ea55b4..760813602f7 100644 --- a/dev-libs/re2/Manifest +++ b/dev-libs/re2/Manifest @@ -1,2 +1,3 @@ DIST re2-2016-05-01.tar.gz 399509 SHA256 d9d13f0ea4e1c6628b1cb85eeee284d4fdd4948da94b1f205096254927092e3d SHA512 6d37ab1eae51a73f60d3c8280ea1162c420638363f0eb1313d7c2d5cee65a5abd4c2927da1a53572afbcb7d07fac2993a7e54c6cbc85e24aaae93c46dab19b14 WHIRLPOOL b601349800341d213b01219cf2171873be551488c71c2c06fbab1da27c20719fca12e0cfac30ac4e8ed0eb062a445b4c008491fd0e379f629434e0c9b4649a7e DIST re2-2016-11-01.tar.gz 379816 SHA256 01ee949f03e1c4057dc533cf139f967fb1b427015769d53b9ee07757631e9669 SHA512 1be7d2551737cb9dc1031dac9335f82dfb58f3612bdb745bf6c5121334bf8689bb0564b751c23e4c002478cc46cc237ce4da294090adb983b0c1db25a9fac0a7 WHIRLPOOL 447b1ddb74826f3e73fe895690eac4f482096e05b88fbe3a143db0e2275031db6fa0cb2105ac09ab4b250db2bdef7097a75e3b4c8a04f23aa936009ea2f27439 +DIST re2-2017-03-01.tar.gz 382241 SHA256 19db0b87bdc22e7e4c66af17f3170167a1b9cb9e32fd6b26189157f1336b73e8 SHA512 566a3ff6598fc9b26dcabe175efa48becd38459185d6bb86b3abb1856a3e7b0f9b5e302594b1ac4817dcb5968920df43d23279a6cff2a74b6b0c174dc9379f88 WHIRLPOOL 582ed59085594a95f412f79bf381608c1b52f9be00fce6e6641b3386c266c1c8413263756e67699cf61295e4a3c1cbf1f46ae30b09e83f633e0f2ecd842dfb0e diff --git a/dev-libs/re2/re2-0.2017.03.01.ebuild b/dev-libs/re2/re2-0.2017.03.01.ebuild new file mode 100644 index 00000000000..0410c18f841 --- /dev/null +++ b/dev-libs/re2/re2-0.2017.03.01.ebuild @@ -0,0 +1,52 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +inherit multilib-minimal toolchain-funcs + +# Different date format used upstream. +RE2_VER=${PV#0.} +RE2_VER=${RE2_VER//./-} + +DESCRIPTION="An efficent, principled regular expression library" +HOMEPAGE="https://github.com/google/re2" +SRC_URI="https://github.com/google/re2/archive/${RE2_VER}.tar.gz -> re2-${RE2_VER}.tar.gz" + +LICENSE="BSD" +# NOTE: Always run libre2 through abi-compliance-checker! +# https://abi-laboratory.pro/tracker/timeline/re2/ +SONAME="gentoo-2017-03-01" +SLOT="0/${SONAME}" +KEYWORDS="~amd64 ~arm ~arm64 ~x86" +IUSE="icu" + +RDEPEND="icu? ( dev-libs/icu:0=[${MULTILIB_USEDEP}] )" +DEPEND="${RDEPEND} + icu? ( virtual/pkgconfig )" + +S="${WORKDIR}/re2-${RE2_VER}" + +DOCS=( AUTHORS CONTRIBUTORS README doc/syntax.txt ) +HTML_DOCS=( doc/syntax.html ) + +src_prepare() { + default + grep -qv '^SONAME=0$' Makefile || die "Check SONAME in Makefile" + if use icu; then + sed -i -e 's:^# \(\(CC\|LD\)ICU=.*\):\1:' Makefile || die + fi + multilib_copy_sources +} + +src_configure() { + tc-export AR CXX NM +} + +multilib_src_compile() { + emake SONAME="${SONAME}" +} + +multilib_src_install() { + emake SONAME="${SONAME}" DESTDIR="${D}" prefix="${EPREFIX}/usr" libdir="\$(exec_prefix)/$(get_libdir)" install +}