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 BD0A8138350 for ; Sun, 3 May 2020 19:57:10 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 0F221E0943; Sun, 3 May 2020 19:57:10 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 19B98E0960 for ; Sun, 3 May 2020 19:57:09 +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 E29E034EC49 for ; Sun, 3 May 2020 19:57:07 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 925EF1C8 for ; Sun, 3 May 2020 19:57:06 +0000 (UTC) From: "Mike Gilbert" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Mike Gilbert" Message-ID: <1588535809.ca67022493f0edf5a171ae52ad6385f46fd6e9f9.floppym@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.2020.05.01.ebuild X-VCS-Directories: dev-libs/re2/ X-VCS-Committer: floppym X-VCS-Committer-Name: Mike Gilbert X-VCS-Revision: ca67022493f0edf5a171ae52ad6385f46fd6e9f9 X-VCS-Branch: master Date: Sun, 3 May 2020 19:57:06 +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-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: aed51e2b-063d-4aba-8469-6f729e065496 X-Archives-Hash: b7ad992df528c57a72af3234b9496181 commit: ca67022493f0edf5a171ae52ad6385f46fd6e9f9 Author: Arfrever Frehtes Taifersar Arahesis Apache Org> AuthorDate: Fri May 1 08:51:46 2020 +0000 Commit: Mike Gilbert gentoo org> CommitDate: Sun May 3 19:56:49 2020 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ca670224 dev-libs/re2: Version bump (0.2020.05.01). Soname change: libre2.so.6 -> libre2.so.7 Signed-off-by: Arfrever Frehtes Taifersar Arahesis Apache.Org> Signed-off-by: Mike Gilbert gentoo.org> dev-libs/re2/Manifest | 1 + dev-libs/re2/re2-0.2020.05.01.ebuild | 52 ++++++++++++++++++++++++++++++++++++ 2 files changed, 53 insertions(+) diff --git a/dev-libs/re2/Manifest b/dev-libs/re2/Manifest index 03e07053c46..203932831f6 100644 --- a/dev-libs/re2/Manifest +++ b/dev-libs/re2/Manifest @@ -1,2 +1,3 @@ DIST re2-2019-12-01.tar.gz 391450 BLAKE2B 2069b496d494771d09d2ce289cc3cd45ea99fda17ca044f09ebeddae85c6fb2cabcb34403a8364d179591f7f3d8ad4e39191c1034aa70c8a16f5d439357330ba SHA512 cfbce00a8462644177c2792cdcd1115fdd17dae9454f6148764bf22c4f364002c6d561f4f407564f6925b78fa8a252d6a3b02bfa8a63f347e6b3d33034ec2d77 DIST re2-2020-04-01.tar.gz 402511 BLAKE2B ce3f17037a3a09867036e651d62bd9f004b7ed7c6813b4530059659e794a7a7a3ad17d6ee35b5456302d627a0524fc78151b60ed9c546c1baab699231554a0dd SHA512 b3f2ec675fbc2ab18fc4de7b8c077f110010fd4a7502eea3d802d3706681b523db551edd80c2ff188457169471899084a6b21937154ab2288ee9ac123a2b7014 +DIST re2-2020-05-01.tar.gz 402569 BLAKE2B da94442ad8fa965ce8e38f19184579a033a65fd2cdd7769e2e2f2fdb590cd79adf275e94a8aa4ca6924c4b7879441ba7632cc492daa67d41cebeead67af6fc65 SHA512 76ab9b63a7de3de1dbde599e9fd35cf94de26f2f3c2a85e3befa0026decc95620fac65c7bcbfa3729efbfe6b1b418d77d733bd27496b54c649ac2918652aaaac diff --git a/dev-libs/re2/re2-0.2020.05.01.ebuild b/dev-libs/re2/re2-0.2020.05.01.ebuild new file mode 100644 index 00000000000..c0c9da9e15f --- /dev/null +++ b/dev-libs/re2/re2-0.2020.05.01.ebuild @@ -0,0 +1,52 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +inherit multilib-minimal toolchain-funcs + +# Different date format used upstream. +RE2_VER=${PV#0.} +RE2_VER=${RE2_VER//./-} + +DESCRIPTION="An efficient, 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="7" +SLOT="0/${SONAME}" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~ppc ~ppc64 ~s390 ~sparc ~x86" +IUSE="icu" + +RDEPEND="icu? ( dev-libs/icu:0=[${MULTILIB_USEDEP}] )" +DEPEND="${RDEPEND}" +BDEPEND="icu? ( virtual/pkgconfig )" + +S="${WORKDIR}/re2-${RE2_VER}" + +DOCS=( AUTHORS CONTRIBUTORS README doc/syntax.txt ) +HTML_DOCS=( doc/syntax.html ) + +src_prepare() { + default + grep -q "^SONAME=${SONAME}\$" Makefile || die "SONAME mismatch" + 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 +}