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 AE608139695 for ; Mon, 15 May 2017 14:45:09 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id BCDB0E0BF4; Mon, 15 May 2017 14:45:06 +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 95770E0BF4 for ; Mon, 15 May 2017 14:45:06 +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 1F7AB34169D for ; Mon, 15 May 2017 14:45:05 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 828207447 for ; Mon, 15 May 2017 14:45:03 +0000 (UTC) From: "Alexis Ballier" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Alexis Ballier" Message-ID: <1494859496.8efb2a279427d7bc3d5a01dab3f5d1f054f35fd9.aballier@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-ml/sedlex/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-ml/sedlex/Manifest dev-ml/sedlex/metadata.xml dev-ml/sedlex/sedlex-1.99.3.ebuild X-VCS-Directories: dev-ml/sedlex/ X-VCS-Committer: aballier X-VCS-Committer-Name: Alexis Ballier X-VCS-Revision: 8efb2a279427d7bc3d5a01dab3f5d1f054f35fd9 X-VCS-Branch: master Date: Mon, 15 May 2017 14:45:03 +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: 6f79c3f3-1319-4f13-9b5b-683cc251fadf X-Archives-Hash: cfe0d5a44945b38b16109d0d6c64dfc3 commit: 8efb2a279427d7bc3d5a01dab3f5d1f054f35fd9 Author: Alexis Ballier gentoo org> AuthorDate: Mon May 15 14:33:35 2017 +0000 Commit: Alexis Ballier gentoo org> CommitDate: Mon May 15 14:44:56 2017 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8efb2a27 dev-ml/sedlex: initial import Package-Manager: Portage-2.3.5, Repoman-2.3.2 dev-ml/sedlex/Manifest | 1 + dev-ml/sedlex/metadata.xml | 11 +++++++++++ dev-ml/sedlex/sedlex-1.99.3.ebuild | 37 +++++++++++++++++++++++++++++++++++++ 3 files changed, 49 insertions(+) diff --git a/dev-ml/sedlex/Manifest b/dev-ml/sedlex/Manifest new file mode 100644 index 00000000000..b117235a48b --- /dev/null +++ b/dev-ml/sedlex/Manifest @@ -0,0 +1 @@ +DIST sedlex-1.99.3.tar.gz 58236 SHA256 54a1c32e5505dc081b3f231f21501ebebddcd50ee097e9c163ba347855b953fb SHA512 d0359a4c3f4d9efe51fa79405ae79f20ab64949838acbac475a9bcb7f42e0b972e66429eca2063fda6ae6af04475dbf29a331cf005f3338e7fc130afab477392 WHIRLPOOL f64bed9952ad93eff6512fd28b7ab5f343dd42d1ae3aa3851138976672679197a67ac094916590251079c0346d3d4ecc999f8289bb2a80ee3fefca5c1b401431 diff --git a/dev-ml/sedlex/metadata.xml b/dev-ml/sedlex/metadata.xml new file mode 100644 index 00000000000..32f6b384baa --- /dev/null +++ b/dev-ml/sedlex/metadata.xml @@ -0,0 +1,11 @@ + + + + + ml@gentoo.org + Gentoo ML Project + + + alainfrisch/sedlex + + diff --git a/dev-ml/sedlex/sedlex-1.99.3.ebuild b/dev-ml/sedlex/sedlex-1.99.3.ebuild new file mode 100644 index 00000000000..467b1c870d4 --- /dev/null +++ b/dev-ml/sedlex/sedlex-1.99.3.ebuild @@ -0,0 +1,37 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +inherit findlib + +DESCRIPTION="An OCaml lexer generator for Unicode" +HOMEPAGE="https://github.com/alainfrisch/sedlex" +SRC_URI="https://github.com/alainfrisch/sedlex/archive/v${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="MIT" +SLOT="0/${PV}" +KEYWORDS="~amd64" +IUSE="+ocamlopt" + +DEPEND=" + dev-lang/ocaml:=[ocamlopt?] + dev-ml/gen:=[ocamlopt(+)?] + dev-ml/ppx_tools:=[ocamlopt(+)?] +" +RDEPEND="${DEPEND}" + +src_compile() { + emake all + use ocamlopt && emake opt +} + +src_install() { + findlib_src_preinst + if use ocamlopt; then + emake install + else + emake install_byteonly + fi + dodoc CHANGES README.md +}