* [gentoo-commits] repo/gentoo:master commit in: dev-ml/ounit2/, dev-ml/ounit2/files/
@ 2022-11-21 13:01 Maciej Barć
0 siblings, 0 replies; 2+ messages in thread
From: Maciej Barć @ 2022-11-21 13:01 UTC (permalink / raw
To: gentoo-commits
commit: 8cb49dc0aecd8d426dbab587cdaa8034fa053df8
Author: Maciej Barć <xgqt <AT> gentoo <DOT> org>
AuthorDate: Mon Nov 21 12:55:00 2022 +0000
Commit: Maciej Barć <xgqt <AT> gentoo <DOT> org>
CommitDate: Mon Nov 21 12:55:00 2022 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8cb49dc0
dev-ml/ounit2: remove seq reference from dune build file
Closes: https://bugs.gentoo.org/882337
Signed-off-by: Maciej Barć <xgqt <AT> gentoo.org>
dev-ml/ounit2/files/ounit2-2.2.6-dune.patch | 19 +++++++++++++++++++
dev-ml/ounit2/ounit2-2.2.6.ebuild | 2 ++
2 files changed, 21 insertions(+)
diff --git a/dev-ml/ounit2/files/ounit2-2.2.6-dune.patch b/dev-ml/ounit2/files/ounit2-2.2.6-dune.patch
new file mode 100644
index 000000000000..9ef29326f6d0
--- /dev/null
+++ b/dev-ml/ounit2/files/ounit2-2.2.6-dune.patch
@@ -0,0 +1,19 @@
+--- a/src/lib/ounit2/dune
++++ b/src/lib/ounit2/dune
+@@ -2,7 +2,7 @@
+ (name oUnit)
+ (public_name ounit2)
+ (wrapped false)
+- (libraries unix seq ounit2.advanced))
++ (libraries unix ounit2.advanced))
+
+ (documentation
+ (package ounit2)
+--- a/src/lib/ounit2/advanced/dune
++++ b/src/lib/ounit2/advanced/dune
+@@ -7,4 +7,4 @@
+ (name oUnitAdvanced)
+ (public_name ounit2.advanced)
+ (wrapped false)
+- (libraries unix bytes seq stdlib-shims))
++ (libraries unix bytes stdlib-shims))
diff --git a/dev-ml/ounit2/ounit2-2.2.6.ebuild b/dev-ml/ounit2/ounit2-2.2.6.ebuild
index d86216a306f2..4658b3fb40bb 100644
--- a/dev-ml/ounit2/ounit2-2.2.6.ebuild
+++ b/dev-ml/ounit2/ounit2-2.2.6.ebuild
@@ -21,6 +21,8 @@ DEPEND="
"
RDEPEND="${DEPEND}"
+PATCHES=( "${FILESDIR}"/${P}-dune.patch )
+
src_install() {
dune-install ${PN} ${PN}-lwt
}
^ permalink raw reply related [flat|nested] 2+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: dev-ml/ounit2/, dev-ml/ounit2/files/
@ 2023-11-02 22:11 Maciej Barć
0 siblings, 0 replies; 2+ messages in thread
From: Maciej Barć @ 2023-11-02 22:11 UTC (permalink / raw
To: gentoo-commits
commit: 11b622a11b4eeda5c062ab93f3e81cde585005e6
Author: Maciej Barć <xgqt <AT> gentoo <DOT> org>
AuthorDate: Thu Nov 2 21:32:58 2023 +0000
Commit: Maciej Barć <xgqt <AT> gentoo <DOT> org>
CommitDate: Thu Nov 2 22:11:20 2023 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=11b622a1
dev-ml/ounit2: bump to 2.2.7
Signed-off-by: Maciej Barć <xgqt <AT> gentoo.org>
dev-ml/ounit2/Manifest | 1 +
dev-ml/ounit2/files/ounit2-2.2.7-dune.patch | 19 +++++++++++++++++++
dev-ml/ounit2/ounit2-2.2.7.ebuild | 28 ++++++++++++++++++++++++++++
3 files changed, 48 insertions(+)
diff --git a/dev-ml/ounit2/Manifest b/dev-ml/ounit2/Manifest
index c1515a660f4d..04db66dd1f95 100644
--- a/dev-ml/ounit2/Manifest
+++ b/dev-ml/ounit2/Manifest
@@ -1 +1,2 @@
DIST ounit2-2.2.6.tar.gz 69910 BLAKE2B 7833738e94990c7e67d27665e994c9e3c1505dcb45e2faaba58ef7de9eccc8fc19437fa983da058b1fa2c464e74d90a4eec22380ebfa01ae5e5a9616faf6ada3 SHA512 4d808866dc4f9de6493a17910fafb2452398aef45cb29add54ed25e15a10ec7715bdd52d40190f618e77fe351d8bb67fbe12c1df6a6736c501792a57f6b3768a
+DIST ounit2-2.2.7.tar.gz 69771 BLAKE2B 6fb43eccf33a02d3fbbbec1fd00b2901ae69bb55e9c94790ebcfed68f676bc0a9a573f4e03edc8c542e195b68c77deae0426c884ea81ceef1149548f6b760673 SHA512 b2cefed53127f724c099391eefe1bce3b43cad5d6b629b5f1e9446b58892639de758f5dbcbd5efb6c409ce77ed01d06693989a3ba909cf79c36c2554c1473396
diff --git a/dev-ml/ounit2/files/ounit2-2.2.7-dune.patch b/dev-ml/ounit2/files/ounit2-2.2.7-dune.patch
new file mode 100644
index 000000000000..845d7e9e4574
--- /dev/null
+++ b/dev-ml/ounit2/files/ounit2-2.2.7-dune.patch
@@ -0,0 +1,19 @@
+--- a/src/lib/ounit2/dune
++++ b/src/lib/ounit2/dune
+@@ -2,7 +2,7 @@
+ (name oUnit)
+ (public_name ounit2)
+ (wrapped false)
+- (libraries unix seq ounit2.advanced))
++ (libraries unix ounit2.advanced))
+
+ (documentation
+ (package ounit2)
+--- a/src/lib/ounit2/advanced/dune
++++ b/src/lib/ounit2/advanced/dune
+@@ -11,4 +11,4 @@
+ (name oUnitAdvanced)
+ (public_name ounit2.advanced)
+ (wrapped false)
+- (libraries unix seq stdlib-shims))
++ (libraries unix stdlib-shims))
diff --git a/dev-ml/ounit2/ounit2-2.2.7.ebuild b/dev-ml/ounit2/ounit2-2.2.7.ebuild
new file mode 100644
index 000000000000..fa12658631a0
--- /dev/null
+++ b/dev-ml/ounit2/ounit2-2.2.7.ebuild
@@ -0,0 +1,28 @@
+# Copyright 1999-2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit dune
+
+DESCRIPTION="Unit testing framework for OCaml"
+HOMEPAGE="https://github.com/gildor478/ounit"
+SRC_URI="https://github.com/gildor478/ounit/archive/v${PV}.tar.gz -> ${P}.tar.gz"
+S="${WORKDIR}/ounit-${PV}"
+
+LICENSE="MIT"
+SLOT="0/${PV}"
+KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~ppc64 ~riscv ~x86"
+IUSE="+ocamlopt"
+
+DEPEND="
+ dev-ml/lwt:=
+ dev-ml/stdlib-shims:=
+"
+RDEPEND="${DEPEND}"
+
+PATCHES=( "${FILESDIR}/${PN}-2.2.7-dune.patch" )
+
+src_install() {
+ dune-install ${PN} ${PN}-lwt
+}
^ permalink raw reply related [flat|nested] 2+ messages in thread
end of thread, other threads:[~2023-11-02 22:11 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-11-02 22:11 [gentoo-commits] repo/gentoo:master commit in: dev-ml/ounit2/, dev-ml/ounit2/files/ Maciej Barć
-- strict thread matches above, loose matches on Subject: below --
2022-11-21 13:01 Maciej Barć
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox