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 556BF138359 for ; Mon, 20 Jul 2020 19:17:08 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 88719E08A8; Mon, 20 Jul 2020 19:17:07 +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 531E7E08A8 for ; Mon, 20 Jul 2020 19:17:07 +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 59D6134F458 for ; Mon, 20 Jul 2020 19:17:06 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 817072DB for ; Mon, 20 Jul 2020 19:17:00 +0000 (UTC) From: "Sergei Trofimovich" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Sergei Trofimovich" Message-ID: <1595272614.cdd070db799dfc80b7685759ad74bb2c9e5a0de3.slyfox@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-util/re2c/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-util/re2c/Manifest dev-util/re2c/re2c-2.0.ebuild X-VCS-Directories: dev-util/re2c/ X-VCS-Committer: slyfox X-VCS-Committer-Name: Sergei Trofimovich X-VCS-Revision: cdd070db799dfc80b7685759ad74bb2c9e5a0de3 X-VCS-Branch: master Date: Mon, 20 Jul 2020 19:17:00 +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: f7faa6e7-8334-4873-8431-bd18ee8146be X-Archives-Hash: e20ab5fc723ed8c32e75309af4fe30eb commit: cdd070db799dfc80b7685759ad74bb2c9e5a0de3 Author: Sergei Trofimovich gentoo org> AuthorDate: Mon Jul 20 18:49:12 2020 +0000 Commit: Sergei Trofimovich gentoo org> CommitDate: Mon Jul 20 19:16:54 2020 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=cdd070db dev-util/re2c: bump up to 2.0 Package-Manager: Portage-3.0.0, Repoman-2.3.23 Signed-off-by: Sergei Trofimovich gentoo.org> dev-util/re2c/Manifest | 1 + dev-util/re2c/re2c-2.0.ebuild | 27 +++++++++++++++++++++++++++ 2 files changed, 28 insertions(+) diff --git a/dev-util/re2c/Manifest b/dev-util/re2c/Manifest index 673e571559e..ddb0e13d0d6 100644 --- a/dev-util/re2c/Manifest +++ b/dev-util/re2c/Manifest @@ -1 +1,2 @@ DIST re2c-1.3.tar.xz 1239280 BLAKE2B ae2a8fc323408dd31d39c352bd622d89d19178b7993618ea043bbfd32509fb7573d2b5b50663e100d24fc275fa479982cb1f66ed49638edca61f551fb653176d SHA512 c7084ab2399fb6b96cef74c1393715d90830f43b82b96af46feb71ef008c0215381c3dbea0b003ff810d869db6021e28001b9d588ad55c616642244b2da09c0e +DIST re2c-2.0.tar.xz 1282268 BLAKE2B c8a143f5e15e90874f5f6848302b34e0047451cd0ff7c082a80774f1bfd5ca088bef62da17e56f17692a86c5b3643c19035b052a7ed0a94ba6740957f50b4257 SHA512 0688c810c47b5e219b73e7ffe534a3933419d585f7cb2a3ca40d069e49b574a6d17ca4fc5e45403d0f03f1da39c89cbed8c7d8e1e3f9a836d83e3d5ad59a11e2 diff --git a/dev-util/re2c/re2c-2.0.ebuild b/dev-util/re2c/re2c-2.0.ebuild new file mode 100644 index 00000000000..082465fa4c7 --- /dev/null +++ b/dev-util/re2c/re2c-2.0.ebuild @@ -0,0 +1,27 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +DESCRIPTION="tool for generating C-based recognizers from regular expressions" +HOMEPAGE="http://re2c.org/" +SRC_URI="https://github.com/skvadrik/re2c/releases/download/${PV}/${P}.tar.xz" + +LICENSE="public-domain" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~x64-cygwin ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~x64-solaris ~x86-solaris" +IUSE="debug" + +src_configure() { + econf \ + --enable-golang \ + ac_cv_path_BISON="no" \ + $(use_enable debug) +} + +src_install() { + default + + docompress -x /usr/share/doc/${PF}/examples + dodoc -r README.md CHANGELOG examples +}