public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-commits] repo/gentoo:master commit in: dev-ml/ocaml-uri/files/, dev-ml/ocaml-uri/
@ 2016-02-08 13:36 Alexis Ballier
  0 siblings, 0 replies; only message in thread
From: Alexis Ballier @ 2016-02-08 13:36 UTC (permalink / raw
  To: gentoo-commits

commit:     5f7953f5a8ae55454c9f5675d8e4776206e80211
Author:     Alexis Ballier <aballier <AT> gentoo <DOT> org>
AuthorDate: Mon Feb  8 13:26:04 2016 +0000
Commit:     Alexis Ballier <aballier <AT> gentoo <DOT> org>
CommitDate: Mon Feb  8 13:36:08 2016 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5f7953f5

dev-ml/ocaml-uri: port to pa_sexp_conv and avoid requiring old sexplib

Package-Manager: portage-2.2.27
Signed-off-by: Alexis Ballier <aballier <AT> gentoo.org>

 dev-ml/ocaml-uri/files/sexpl.patch         | 42 ++++++++++++++++++++++++++++++
 dev-ml/ocaml-uri/ocaml-uri-1.9.1-r1.ebuild |  3 ++-
 2 files changed, 44 insertions(+), 1 deletion(-)

diff --git a/dev-ml/ocaml-uri/files/sexpl.patch b/dev-ml/ocaml-uri/files/sexpl.patch
new file mode 100644
index 0000000..85008d1
--- /dev/null
+++ b/dev-ml/ocaml-uri/files/sexpl.patch
@@ -0,0 +1,42 @@
+Index: ocaml-uri-1.9.1/_tags
+===================================================================
+--- ocaml-uri-1.9.1.orig/_tags
++++ ocaml-uri-1.9.1/_tags
+@@ -22,7 +22,7 @@ true: annot, bin_annot
+ "lib/services_full.cmxs": use_services_full
+ <lib/*.ml{,i,y}>: package(re.posix)
+ <lib/*.ml{,i,y}>: package(sexplib)
+-<lib/*.ml{,i,y}>: package(sexplib.syntax)
++<lib/*.ml{,i,y}>: package(pa_sexp_conv.syntax)
+ <lib/*.ml{,i,y}>: package(stringext)
+ <lib/*.ml{,i,y}>: use_uri
+ # Library uri_top
+@@ -32,13 +32,13 @@ true: annot, bin_annot
+ <lib_test/test_runner.{native,byte}>: package(oUnit)
+ <lib_test/test_runner.{native,byte}>: package(re.posix)
+ <lib_test/test_runner.{native,byte}>: package(sexplib)
+-<lib_test/test_runner.{native,byte}>: package(sexplib.syntax)
++<lib_test/test_runner.{native,byte}>: package(pa_sexp_conv)
+ <lib_test/test_runner.{native,byte}>: package(stringext)
+ <lib_test/test_runner.{native,byte}>: use_uri
+ <lib_test/*.ml{,i,y}>: package(oUnit)
+ <lib_test/*.ml{,i,y}>: package(re.posix)
+ <lib_test/*.ml{,i,y}>: package(sexplib)
+-<lib_test/*.ml{,i,y}>: package(sexplib.syntax)
++<lib_test/*.ml{,i,y}>: package(pa_sexp_conv)
+ <lib_test/*.ml{,i,y}>: package(stringext)
+ <lib_test/*.ml{,i,y}>: use_uri
+ <lib_test/test_runner.{native,byte}>: custom
+Index: ocaml-uri-1.9.1/setup.ml
+===================================================================
+--- ocaml-uri-1.9.1.orig/setup.ml
++++ ocaml-uri-1.9.1/setup.ml
+@@ -6964,7 +6964,7 @@ let setup_t =
+                         [
+                            FindlibPackage ("re.posix", None);
+                            FindlibPackage ("stringext", None);
+-                           FindlibPackage ("sexplib.syntax", None);
++                           FindlibPackage ("pa_sexp_conv.syntax", None);
+                            FindlibPackage ("sexplib", None)
+                         ];
+                       bs_build_tools = [ExternalTool "ocamlbuild"];

diff --git a/dev-ml/ocaml-uri/ocaml-uri-1.9.1-r1.ebuild b/dev-ml/ocaml-uri/ocaml-uri-1.9.1-r1.ebuild
index 52341e8..62fa77a 100644
--- a/dev-ml/ocaml-uri/ocaml-uri-1.9.1-r1.ebuild
+++ b/dev-ml/ocaml-uri/ocaml-uri-1.9.1-r1.ebuild
@@ -20,7 +20,7 @@ IUSE="allservices"
 RDEPEND="
 	dev-ml/ocaml-re:=
 	>=dev-ml/sexplib-109.53.00:=
-	<dev-ml/sexplib-113.01.00
+	dev-ml/pa_sexp_conv:=
 	dev-ml/stringext:=
 	dev-ml/type-conv:=
 "
@@ -28,6 +28,7 @@ DEPEND="
 	test? ( >=dev-ml/ounit-1.0.2 )
 	${RDEPEND}
 "
+PATCHES=( "${FILESDIR}/sexpl.patch" )
 
 src_configure() {
 	oasis_configure_opts="


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

only message in thread, other threads:[~2016-02-08 13:36 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-02-08 13:36 [gentoo-commits] repo/gentoo:master commit in: dev-ml/ocaml-uri/files/, dev-ml/ocaml-uri/ Alexis Ballier

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