public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-commits] repo/gentoo:master commit in: dev-ml/re/files/, dev-ml/re/
@ 2020-10-13 12:54 Mark Wright
  0 siblings, 0 replies; only message in thread
From: Mark Wright @ 2020-10-13 12:54 UTC (permalink / raw
  To: gentoo-commits

commit:     326ae2d473a769fb8bd59084ed5326ed20e53162
Author:     Mark Wright <gienah <AT> gentoo <DOT> org>
AuthorDate: Tue Oct 13 06:54:09 2020 +0000
Commit:     Mark Wright <gienah <AT> gentoo <DOT> org>
CommitDate: Tue Oct 13 12:53:43 2020 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=326ae2d4

dev-ml/re: Dependency of dev-ml/cinaps

Co-Author: Alexis Ballier <aballier <AT> gentoo.org>
Package-Manager: Portage-3.0.8, Repoman-3.0.1
Signed-off-by: Mark Wright <gienah <AT> gentoo.org>

 dev-ml/re/Manifest           |  1 +
 dev-ml/re/files/ounit2.patch | 11 +++++++++++
 dev-ml/re/metadata.xml       | 11 +++++++++++
 dev-ml/re/re-1.9.0.ebuild    | 23 +++++++++++++++++++++++
 4 files changed, 46 insertions(+)

diff --git a/dev-ml/re/Manifest b/dev-ml/re/Manifest
new file mode 100644
index 00000000000..dff48b3bc24
--- /dev/null
+++ b/dev-ml/re/Manifest
@@ -0,0 +1 @@
+DIST ocaml-re-1.9.0.tar.gz 83642 BLAKE2B abcabb80ffef241fc7e8ea075f49365cc64f8749db1d1f7eb654eeb52f5be8e96756f98ae7903391a26d8537f82e105878a38a15923d7f93c61abd5c08d3ff98 SHA512 3e11c6eccf573ab5d7f43accf1f1ac9eda0d7320067e142b9f76b309315c1e30d22c5bb80c7a54b05d9c92d3518d26ea82b5093de9b48f86e3c62d6073f14eda

diff --git a/dev-ml/re/files/ounit2.patch b/dev-ml/re/files/ounit2.patch
new file mode 100644
index 00000000000..1210491bc14
--- /dev/null
+++ b/dev-ml/re/files/ounit2.patch
@@ -0,0 +1,11 @@
+Index: ocaml-re-1.9.0/lib_test/fort_unit/dune
+===================================================================
+--- ocaml-re-1.9.0.orig/lib_test/fort_unit/dune
++++ ocaml-re-1.9.0/lib_test/fort_unit/dune
+@@ -3,4 +3,4 @@
+ (library
+  (name fort_unit)
+  (wrapped false)
+- (libraries re oUnit))
+\ No newline at end of file
++ (libraries re ounit2))

diff --git a/dev-ml/re/metadata.xml b/dev-ml/re/metadata.xml
new file mode 100644
index 00000000000..5fa0f8468f5
--- /dev/null
+++ b/dev-ml/re/metadata.xml
@@ -0,0 +1,11 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+	<maintainer type="person">
+		<email>gienah@gentoo.org</email>
+		<name>Mark Wright</name>
+	</maintainer>
+	<upstream>
+		<remote-id type="github">ocaml/ocaml-re</remote-id>
+	</upstream>
+</pkgmetadata>

diff --git a/dev-ml/re/re-1.9.0.ebuild b/dev-ml/re/re-1.9.0.ebuild
new file mode 100644
index 00000000000..28f3f672a06
--- /dev/null
+++ b/dev-ml/re/re-1.9.0.ebuild
@@ -0,0 +1,23 @@
+# Copyright 1999-2020 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+inherit dune
+
+DESCRIPTION="Regular expression library for OCaml"
+HOMEPAGE="https://github.com/ocaml/ocaml-re"
+SRC_URI="https://github.com/ocaml/ocaml-re/archive/${PV}.tar.gz -> ocaml-${P}.tar.gz"
+
+LICENSE="LGPL-2-with-linking-exception"
+SLOT="0/${PV}"
+KEYWORDS="~amd64 ~arm ~arm64 ~x86"
+IUSE="+ocamlopt test"
+
+RDEPEND="!dev-ml/ocaml-re
+	dev-ml/seq:=
+"
+DEPEND="${RDEPEND}
+	test? ( dev-ml/ounit )"
+S="${WORKDIR}/ocaml-${P}"
+PATCHES=( "${FILESDIR}/ounit2.patch" )


^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2020-10-13 12:54 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2020-10-13 12:54 [gentoo-commits] repo/gentoo:master commit in: dev-ml/re/files/, dev-ml/re/ Mark Wright

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox