This is an automated email from the git hooks/post-receive script. mehdi pushed a commit to branch master in repository ocaml-lastfm.
commit 7951e23ca58fb432d037263524ac88d7a648c752 Author: Mehdi Dogguy <me...@debian.org> Date: Sat Oct 17 00:05:00 2015 +0200 Port to ocamlnet 4.0.4 --- debian/changelog | 7 +++ debian/control | 2 +- debian/patches/0001-Port-to-ocamlnet-4.0.4.patch | 54 ++++++++++++++++++++++++ debian/patches/series | 1 + 4 files changed, 63 insertions(+), 1 deletion(-) diff --git a/debian/changelog b/debian/changelog index d2e8d7e..8dea083 100644 --- a/debian/changelog +++ b/debian/changelog @@ -1,3 +1,10 @@ +ocaml-lastfm (0.3.0-4) UNRELEASED; urgency=medium + + * Team upload. + * Port to ocamlnet 4.0.4 + + -- Mehdi Dogguy <me...@debian.org> Sat, 17 Oct 2015 00:04:25 +0200 + ocaml-lastfm (0.3.0-3) unstable; urgency=low * Rebuild against latest packages. diff --git a/debian/control b/debian/control index be5515f..76abfdc 100644 --- a/debian/control +++ b/debian/control @@ -5,7 +5,7 @@ Maintainer: Debian OCaml Maintainers <debian-ocaml-ma...@lists.debian.org> Uploaders: Samuel Mimram <smim...@debian.org>, Romain Beauxis <to...@rastageeks.org> Build-Depends: cdbs (>= 0.4.53), debhelper (>= 7.0.1), ocaml-nox, dh-ocaml (>= 0.9), ocaml-findlib (>= 1.2.4), libxmlplaylist-ocaml-dev (>= 0.1.3), - libocamlnet-ocaml-dev (>= 2.2.9-7~), libpcre-ocaml-dev (>= 6.0.1-2~) + libocamlnet-ocaml-dev (>= 4.0.4~), libpcre-ocaml-dev (>= 6.0.1-2~) Standards-Version: 3.9.4 Vcs-Git: git://git.debian.org/pkg-ocaml-maint/packages/ocaml-lastfm.git Vcs-Browser: http://git.debian.org/?p=pkg-ocaml-maint/packages/ocaml-lastfm.git diff --git a/debian/patches/0001-Port-to-ocamlnet-4.0.4.patch b/debian/patches/0001-Port-to-ocamlnet-4.0.4.patch new file mode 100644 index 0000000..ca99adc --- /dev/null +++ b/debian/patches/0001-Port-to-ocamlnet-4.0.4.patch @@ -0,0 +1,54 @@ +From: Mehdi Dogguy <me...@debian.org> +Date: Sat, 17 Oct 2015 00:02:55 +0200 +Subject: Port to ocamlnet 4.0.4 + +--- + examples/download.ml | 2 +- + src/lastfm.ml | 10 +++++----- + 2 files changed, 6 insertions(+), 6 deletions(-) + +diff --git a/examples/download.ml b/examples/download.ml +index e9bfaeb..803a81e 100644 +--- a/examples/download.ml ++++ b/examples/download.ml +@@ -18,7 +18,7 @@ + * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA + *) + +-open Http_client ++open Nethttp_client + + let _ = + try +diff --git a/src/lastfm.ml b/src/lastfm.ml +index 32f82aa..dd2f3ac 100644 +--- a/src/lastfm.ml ++++ b/src/lastfm.ml +@@ -38,13 +38,13 @@ struct + in + let call = + match request with +- | Get -> new Http_client.get_call +- | Post _ -> new Http_client.post_call ++ | Get -> new Nethttp_client.get_call ++ | Post _ -> new Nethttp_client.post_call + in +- let pipeline = new Http_client.pipeline in ++ let pipeline = new Nethttp_client.pipeline in + pipeline#set_options + { pipeline#get_options with +- Http_client.connection_timeout = timeout ++ Nethttp_client.connection_timeout = timeout + } ; + let http_headers = call#request_header `Base in + let body = call#request_body in +@@ -72,7 +72,7 @@ struct + pipeline#run () ; + call#response_body#value + with +- | Http_client.Http_protocol e ++ | Nethttp_client.Http_protocol e + | e -> + pipeline#reset() ; + raise (Http (Printexc.to_string e)) +-- diff --git a/debian/patches/series b/debian/patches/series new file mode 100644 index 0000000..d452ad3 --- /dev/null +++ b/debian/patches/series @@ -0,0 +1 @@ +0001-Port-to-ocamlnet-4.0.4.patch -- Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-ocaml-maint/packages/ocaml-lastfm.git _______________________________________________ Pkg-ocaml-maint-commits mailing list Pkg-ocaml-maint-commits@lists.alioth.debian.org http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-ocaml-maint-commits