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 1B358138334 for ; Fri, 6 Dec 2019 20:25:57 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 077F5E0900; Fri, 6 Dec 2019 20:25:51 +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 E3C9CE0900 for ; Fri, 6 Dec 2019 20:25:50 +0000 (UTC) Received: from oystercatcher.gentoo.org (unknown [IPv6:2a01:4f8:202:4333:225:90ff:fed9:fc84]) (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 2C27234D858 for ; Fri, 6 Dec 2019 20:25:49 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 3C178973 for ; Fri, 6 Dec 2019 20:25:44 +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: <1575663878.15011d6eb9260283b3ad89e729096659cddb0caa.floppym@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-libs/oniguruma/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-libs/oniguruma/oniguruma-9999.ebuild X-VCS-Directories: dev-libs/oniguruma/ X-VCS-Committer: floppym X-VCS-Committer-Name: Mike Gilbert X-VCS-Revision: 15011d6eb9260283b3ad89e729096659cddb0caa X-VCS-Branch: master Date: Fri, 6 Dec 2019 20:25:44 +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: daf6de6b-f3bd-40c1-9a2d-4120731627f0 X-Archives-Hash: 6421e8056455bb0544837251e879fee6 commit: 15011d6eb9260283b3ad89e729096659cddb0caa Author: Arfrever Frehtes Taifersar Arahesis Apache Org> AuthorDate: Fri Dec 6 20:10:00 2019 +0000 Commit: Mike Gilbert gentoo org> CommitDate: Fri Dec 6 20:24:38 2019 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=15011d6e dev-libs/oniguruma: Add live ebuild. Signed-off-by: Arfrever Frehtes Taifersar Arahesis Apache.Org> Signed-off-by: Mike Gilbert gentoo.org> dev-libs/oniguruma/oniguruma-9999.ebuild | 50 ++++++++++++++++++++++++++++++++ 1 file changed, 50 insertions(+) diff --git a/dev-libs/oniguruma/oniguruma-9999.ebuild b/dev-libs/oniguruma/oniguruma-9999.ebuild new file mode 100644 index 00000000000..8efae939440 --- /dev/null +++ b/dev-libs/oniguruma/oniguruma-9999.ebuild @@ -0,0 +1,50 @@ +# Copyright 2003-2019 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI="7" + +inherit multilib-minimal + +if [[ "${PV}" == "9999" ]]; then + inherit autotools git-r3 + + EGIT_REPO_URI="https://github.com/kkos/oniguruma" +fi + +DESCRIPTION="Regular expression library for different character encodings" +HOMEPAGE="https://github.com/kkos/oniguruma" +if [[ "${PV}" == "9999" ]]; then + SRC_URI="" +else + SRC_URI="https://github.com/kkos/${PN}/releases/download/v${PV}/onig-${PV}.tar.gz" +fi + +LICENSE="BSD-2" +SLOT="0/5" +KEYWORDS="" +IUSE="crnl-as-line-terminator static-libs" + +if [[ "${PV}" != "9999" ]]; then + S="${WORKDIR}/onig-${PV}" +fi + +DOCS=(AUTHORS HISTORY README{,_japanese} doc/{API,CALLOUTS.API,CALLOUTS.BUILTIN,FAQ,RE}{,.ja} doc/{SYNTAX.md,UNICODE_PROPERTIES}) + +src_prepare() { + default + + if [[ "${PV}" == "9999" ]]; then + eautoreconf + fi +} + +multilib_src_configure() { + ECONF_SOURCE="${S}" econf \ + $(use_enable crnl-as-line-terminator) \ + $(use_enable static-libs static) +} + +multilib_src_install_all() { + einstalldocs + find "${D}" -name "*.la" -type f -delete || die +}