public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-commits] repo/gentoo:master commit in: dev-ml/ocaml-gettext-camomile/
@ 2021-01-22  3:34 Sam James
  0 siblings, 0 replies; 6+ messages in thread
From: Sam James @ 2021-01-22  3:34 UTC (permalink / raw
  To: gentoo-commits

commit:     e27f3e8b522b77b41f3b4f3c3be794d9d897c1ba
Author:     Rafael Kitover <rkitover <AT> gmail <DOT> com>
AuthorDate: Sun Jan 17 19:30:30 2021 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Fri Jan 22 03:33:57 2021 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e27f3e8b

dev-ml/ocaml-gettext-camomile: New ebuild.

Part of the ocaml-gettext distribution.

Bug: https://bugs.gentoo.org/762613
Package-Manager: Portage-3.0.13, Repoman-3.0.2
Signed-off-by: Rafael Kitover <rkitover <AT> gmail.com>
Signed-off-by: Sam James <sam <AT> gentoo.org>

 dev-ml/ocaml-gettext-camomile/Manifest             |  1 +
 dev-ml/ocaml-gettext-camomile/metadata.xml         | 21 ++++++++++++++
 .../ocaml-gettext-camomile-0.4.2.ebuild            | 33 ++++++++++++++++++++++
 3 files changed, 55 insertions(+)

diff --git a/dev-ml/ocaml-gettext-camomile/Manifest b/dev-ml/ocaml-gettext-camomile/Manifest
new file mode 100644
index 00000000000..839e7295801
--- /dev/null
+++ b/dev-ml/ocaml-gettext-camomile/Manifest
@@ -0,0 +1 @@
+DIST ocaml-gettext-0.4.2.tar.gz 110249 BLAKE2B 54a25ba9f8fb20194fdfaf651586222fab68f927ebfa711812f7c9a387ff40c19e1bf3f63124127356b32b0ca0be2c5ff4e1cdfaf5f3afe690b90c0ca96c470d SHA512 fb89be8d8d9e0ed9327b81a0c81c884ff3f1a97e46b475ef8084abded5c84a256de05d5aa0f42be94f43ab438276a4506af726b6950e4161359a9616fb5832ec

diff --git a/dev-ml/ocaml-gettext-camomile/metadata.xml b/dev-ml/ocaml-gettext-camomile/metadata.xml
new file mode 100644
index 00000000000..4014d3ca4a8
--- /dev/null
+++ b/dev-ml/ocaml-gettext-camomile/metadata.xml
@@ -0,0 +1,21 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+  <maintainer type="person">
+    <email>rkitover@gmail.com</email>
+    <name>Rafael Kitover</name>
+  </maintainer>
+  <maintainer type="project">
+    <email>proxy-maint@gentoo.org</email>
+    <name>Proxy Maintainers</name>
+  </maintainer>
+  <upstream>
+    <remote-id type="github">gildor478/ocaml-gettext</remote-id>
+  </upstream>
+  <use>
+    <flag name="ocamlopt">
+      Whether the OCaml native code compiler is used. Must be set globally and
+      match dev-lang/ocaml.
+    </flag>
+  </use>
+</pkgmetadata>

diff --git a/dev-ml/ocaml-gettext-camomile/ocaml-gettext-camomile-0.4.2.ebuild b/dev-ml/ocaml-gettext-camomile/ocaml-gettext-camomile-0.4.2.ebuild
new file mode 100644
index 00000000000..2959342481f
--- /dev/null
+++ b/dev-ml/ocaml-gettext-camomile/ocaml-gettext-camomile-0.4.2.ebuild
@@ -0,0 +1,33 @@
+# Copyright 1999-2021 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+MY_PN=${PN/-camomile/}
+MY_P=${P/-camomile/}
+DUNE_PKG_NAME="gettext-camomile"
+inherit dune
+
+DESCRIPTION="Support for internationalization of OCaml programs using the Camomile library"
+HOMEPAGE="https://github.com/gildor478/ocaml-gettext"
+SRC_URI="https://github.com/gildor478/ocaml-gettext/archive/v${PV}.tar.gz -> ${MY_P}.tar.gz"
+
+LICENSE="LGPL-2.1-with-linking-exception"
+SLOT="0/${PV}"
+KEYWORDS="~amd64"
+IUSE="+ocamlopt test"
+RESTRICT="!test? ( test )"
+
+BDEPEND="
+	>=dev-ml/cppo-1.6.6
+	dev-ml/dune-configurator
+"
+RDEPEND="
+	dev-ml/ocaml-gettext:=
+"
+DEPEND="
+	${RDEPEND}
+	test? ( dev-ml/ounit )
+"
+
+S="${WORKDIR}/${MY_PN}-${PV}"


^ permalink raw reply related	[flat|nested] 6+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: dev-ml/ocaml-gettext-camomile/
@ 2021-01-22  3:34 Sam James
  0 siblings, 0 replies; 6+ messages in thread
From: Sam James @ 2021-01-22  3:34 UTC (permalink / raw
  To: gentoo-commits

commit:     f958e05c1c56d52b377b397263e65c08321689c4
Author:     Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Fri Jan 22 02:47:56 2021 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Fri Jan 22 03:33:59 2021 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f958e05c

dev-ml/ocaml-gettext-camomile: fixup deps

Add deps:
* dev-ml/base
* dev-ml/camomile
* dev-ml/ocaml-fileutils (test dep)

Package-Manager: Portage-3.0.14, Repoman-3.0.2
Signed-off-by: Sam James <sam <AT> gentoo.org>

 .../ocaml-gettext-camomile-0.4.2.ebuild                      | 12 ++++++++----
 1 file changed, 8 insertions(+), 4 deletions(-)

diff --git a/dev-ml/ocaml-gettext-camomile/ocaml-gettext-camomile-0.4.2.ebuild b/dev-ml/ocaml-gettext-camomile/ocaml-gettext-camomile-0.4.2.ebuild
index 2959342481f..6a130e648f3 100644
--- a/dev-ml/ocaml-gettext-camomile/ocaml-gettext-camomile-0.4.2.ebuild
+++ b/dev-ml/ocaml-gettext-camomile/ocaml-gettext-camomile-0.4.2.ebuild
@@ -11,6 +11,7 @@ inherit dune
 DESCRIPTION="Support for internationalization of OCaml programs using the Camomile library"
 HOMEPAGE="https://github.com/gildor478/ocaml-gettext"
 SRC_URI="https://github.com/gildor478/ocaml-gettext/archive/v${PV}.tar.gz -> ${MY_P}.tar.gz"
+S="${WORKDIR}/${MY_PN}-${PV}"
 
 LICENSE="LGPL-2.1-with-linking-exception"
 SLOT="0/${PV}"
@@ -23,11 +24,14 @@ BDEPEND="
 	dev-ml/dune-configurator
 "
 RDEPEND="
-	dev-ml/ocaml-gettext:=
+	dev-ml/base:=[ocamlopt]
+	dev-ml/camomile:=[ocamlopt]
+	dev-ml/ocaml-gettext:=[ocamlopt=]
 "
 DEPEND="
 	${RDEPEND}
-	test? ( dev-ml/ounit )
+	test? (
+		dev-ml/ounit[ocamlopt=]
+		dev-ml/ocaml-fileutils[ocamlopt=]
+	)
 "
-
-S="${WORKDIR}/${MY_PN}-${PV}"


^ permalink raw reply related	[flat|nested] 6+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: dev-ml/ocaml-gettext-camomile/
@ 2021-01-27  3:28 Sam James
  0 siblings, 0 replies; 6+ messages in thread
From: Sam James @ 2021-01-27  3:28 UTC (permalink / raw
  To: gentoo-commits

commit:     652b5b0b3ea0f6d79485732a855dc284f380772e
Author:     Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Wed Jan 27 03:18:11 2021 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Wed Jan 27 03:18:11 2021 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=652b5b0b

dev-ml/ocaml-gettext-camomile: fix MissingUseDepDefault

Package-Manager: Portage-3.0.14, Repoman-3.0.2
Signed-off-by: Sam James <sam <AT> gentoo.org>

 dev-ml/ocaml-gettext-camomile/ocaml-gettext-camomile-0.4.2.ebuild | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/dev-ml/ocaml-gettext-camomile/ocaml-gettext-camomile-0.4.2.ebuild b/dev-ml/ocaml-gettext-camomile/ocaml-gettext-camomile-0.4.2.ebuild
index 6a130e648f3..372ea5df625 100644
--- a/dev-ml/ocaml-gettext-camomile/ocaml-gettext-camomile-0.4.2.ebuild
+++ b/dev-ml/ocaml-gettext-camomile/ocaml-gettext-camomile-0.4.2.ebuild
@@ -24,14 +24,14 @@ BDEPEND="
 	dev-ml/dune-configurator
 "
 RDEPEND="
-	dev-ml/base:=[ocamlopt]
+	dev-ml/base:=
 	dev-ml/camomile:=[ocamlopt]
-	dev-ml/ocaml-gettext:=[ocamlopt=]
+	dev-ml/ocaml-gettext:=
 "
 DEPEND="
 	${RDEPEND}
 	test? (
 		dev-ml/ounit[ocamlopt=]
-		dev-ml/ocaml-fileutils[ocamlopt=]
+		dev-ml/ocaml-fileutils
 	)
 "


^ permalink raw reply related	[flat|nested] 6+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: dev-ml/ocaml-gettext-camomile/
@ 2021-03-13 15:26 Sam James
  0 siblings, 0 replies; 6+ messages in thread
From: Sam James @ 2021-03-13 15:26 UTC (permalink / raw
  To: gentoo-commits

commit:     4f69dd16a71ec97c9331104b70678a138e4bed83
Author:     Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Sat Mar 13 11:28:42 2021 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Sat Mar 13 15:23:30 2021 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4f69dd16

dev-ml/ocaml-gettext-camomile: convert to dev-ml/ounit2 for tests

Signed-off-by: Sam James <sam <AT> gentoo.org>

 .../ocaml-gettext-camomile/ocaml-gettext-camomile-0.4.2.ebuild   | 9 ++++++++-
 1 file changed, 8 insertions(+), 1 deletion(-)

diff --git a/dev-ml/ocaml-gettext-camomile/ocaml-gettext-camomile-0.4.2.ebuild b/dev-ml/ocaml-gettext-camomile/ocaml-gettext-camomile-0.4.2.ebuild
index 372ea5df625..fd285b3dbca 100644
--- a/dev-ml/ocaml-gettext-camomile/ocaml-gettext-camomile-0.4.2.ebuild
+++ b/dev-ml/ocaml-gettext-camomile/ocaml-gettext-camomile-0.4.2.ebuild
@@ -31,7 +31,14 @@ RDEPEND="
 DEPEND="
 	${RDEPEND}
 	test? (
-		dev-ml/ounit[ocamlopt=]
+		dev-ml/ounit2[ocamlopt=]
 		dev-ml/ocaml-fileutils
 	)
 "
+
+src_prepare() {
+	default
+
+	# Port to dev-ml/ounit2
+	sed -i -e 's/oUnit/ounit2/' test/{,common,test-camomile,test-stub}/dune || die
+}


^ permalink raw reply related	[flat|nested] 6+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: dev-ml/ocaml-gettext-camomile/
@ 2023-02-23 23:47 Sam James
  0 siblings, 0 replies; 6+ messages in thread
From: Sam James @ 2023-02-23 23:47 UTC (permalink / raw
  To: gentoo-commits

commit:     e135116ed2ea9a6ef75620b932e51773b1fa738d
Author:     Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Thu Feb 23 23:46:10 2023 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Thu Feb 23 23:46:10 2023 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e135116e

dev-ml/ocaml-gettext-camomile: stabilize 0.4.2 for amd64

Signed-off-by: Sam James <sam <AT> gentoo.org>

 dev-ml/ocaml-gettext-camomile/ocaml-gettext-camomile-0.4.2.ebuild | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/dev-ml/ocaml-gettext-camomile/ocaml-gettext-camomile-0.4.2.ebuild b/dev-ml/ocaml-gettext-camomile/ocaml-gettext-camomile-0.4.2.ebuild
index fd285b3dbca7..f55d99f5f09a 100644
--- a/dev-ml/ocaml-gettext-camomile/ocaml-gettext-camomile-0.4.2.ebuild
+++ b/dev-ml/ocaml-gettext-camomile/ocaml-gettext-camomile-0.4.2.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2021 Gentoo Authors
+# Copyright 1999-2023 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=7
@@ -15,7 +15,7 @@ S="${WORKDIR}/${MY_PN}-${PV}"
 
 LICENSE="LGPL-2.1-with-linking-exception"
 SLOT="0/${PV}"
-KEYWORDS="~amd64"
+KEYWORDS="amd64"
 IUSE="+ocamlopt test"
 RESTRICT="!test? ( test )"
 


^ permalink raw reply related	[flat|nested] 6+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: dev-ml/ocaml-gettext-camomile/
@ 2023-04-18 21:55 Maciej Barć
  0 siblings, 0 replies; 6+ messages in thread
From: Maciej Barć @ 2023-04-18 21:55 UTC (permalink / raw
  To: gentoo-commits

commit:     f16190c89abedbb151f2ebe10fc5526ae1a58843
Author:     Thomas Bracht Laumann Jespersen <t <AT> laumann <DOT> xyz>
AuthorDate: Tue Apr 18 21:01:22 2023 +0000
Commit:     Maciej Barć <xgqt <AT> gentoo <DOT> org>
CommitDate: Tue Apr 18 21:55:12 2023 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f16190c8

dev-ml/ocaml-gettext-camomile: fix camomile dep

Signed-off-by: Thomas Bracht Laumann Jespersen <t <AT> laumann.xyz>
Closes: https://github.com/gentoo/gentoo/pull/30641
Signed-off-by: Maciej Barć <xgqt <AT> gentoo.org>

 ...camomile-0.4.2.ebuild => ocaml-gettext-camomile-0.4.2-r1.ebuild} | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/dev-ml/ocaml-gettext-camomile/ocaml-gettext-camomile-0.4.2.ebuild b/dev-ml/ocaml-gettext-camomile/ocaml-gettext-camomile-0.4.2-r1.ebuild
similarity index 92%
rename from dev-ml/ocaml-gettext-camomile/ocaml-gettext-camomile-0.4.2.ebuild
rename to dev-ml/ocaml-gettext-camomile/ocaml-gettext-camomile-0.4.2-r1.ebuild
index f55d99f5f09a..a9d71a8d2edf 100644
--- a/dev-ml/ocaml-gettext-camomile/ocaml-gettext-camomile-0.4.2.ebuild
+++ b/dev-ml/ocaml-gettext-camomile/ocaml-gettext-camomile-0.4.2-r1.ebuild
@@ -1,7 +1,7 @@
 # Copyright 1999-2023 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
-EAPI=7
+EAPI=8
 
 MY_PN=${PN/-camomile/}
 MY_P=${P/-camomile/}
@@ -17,7 +17,7 @@ LICENSE="LGPL-2.1-with-linking-exception"
 SLOT="0/${PV}"
 KEYWORDS="amd64"
 IUSE="+ocamlopt test"
-RESTRICT="!test? ( test )"
+RESTRICT="test"  # Tests fail
 
 BDEPEND="
 	>=dev-ml/cppo-1.6.6
@@ -25,7 +25,7 @@ BDEPEND="
 "
 RDEPEND="
 	dev-ml/base:=
-	dev-ml/camomile:=[ocamlopt]
+	<dev-ml/camomile-2.0.0:=[ocamlopt]
 	dev-ml/ocaml-gettext:=
 "
 DEPEND="


^ permalink raw reply related	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2023-04-18 21:55 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2021-01-22  3:34 [gentoo-commits] repo/gentoo:master commit in: dev-ml/ocaml-gettext-camomile/ Sam James
  -- strict thread matches above, loose matches on Subject: below --
2023-04-18 21:55 Maciej Barć
2023-02-23 23:47 Sam James
2021-03-13 15:26 Sam James
2021-01-27  3:28 Sam James
2021-01-22  3:34 Sam James

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