[Pkg-ocaml-maint-commits] [SCM] pycaml packaging branch, master, updated. debian/0.82-11-4-g9b42284

Stephane Glondu steph at glondu.net
Sun Jun 20 04:04:26 UTC 2010


The following commit has been merged in the master branch:
commit 77a075894dd5d422bd321ac4003b9d1fe11f54aa
Author: Stephane Glondu <steph at glondu.net>
Date:   Sat Jun 19 14:58:19 2010 -0700

    New binary packages libpycaml-ocaml{,-dev}

diff --git a/debian/control b/debian/control
index 6299b3f..072f858 100644
--- a/debian/control
+++ b/debian/control
@@ -18,15 +18,36 @@ Homepage: http://pycaml.sourceforge.net/
 Vcs-Git: git://git.debian.org/git/pkg-ocaml-maint/packages/pycaml.git
 Vcs-Browser: http://git.debian.org/?p=pkg-ocaml-maint/packages/pycaml.git
 
-Package: pycaml
+Package: libpycaml-ocaml-dev
 Architecture: any
 Depends:
+ python-dev,
  ${ocaml:Depends},
  ${shlibs:Depends},
  ${misc:Depends}
-Provides: ${ocaml:Provides}
+Provides: pycaml, ${ocaml:Provides}
 Suggests: ocaml-findlib
-Description: OCaml bindings to embed Python interpreter and objects
+Replaces: pycaml
+Conflicts: pycaml
+Description: OCaml bindings to embed Python interpreter (development files)
+ Pycaml is intended to allow users to build native OCaml libraries and
+ use them from Python, and conversely, in order to allow OCaml users
+ to benefit from linkable libraries provided for Python.
+ .
+ This package contains development files.
+
+Package: libpycaml-ocaml
+Architecture: any
+Depends:
+ ${ocaml:Depends},
+ ${shlibs:Depends},
+ ${misc:Depends}
+Provides: ${ocaml:Provides}
+Replaces: pycaml
+Conflicts: pycaml
+Description: OCaml bindings to embed Python interpreter (runtime)
  Pycaml is intended to allow users to build native OCaml libraries and
  use them from Python, and conversely, in order to allow OCaml users
  to benefit from linkable libraries provided for Python.
+ .
+ This package contains the runtime library.
diff --git a/debian/pycaml.doc-base b/debian/libpycaml-ocaml-dev.doc-base
similarity index 66%
rename from debian/pycaml.doc-base
rename to debian/libpycaml-ocaml-dev.doc-base
index 0333758..fe723d3 100644
--- a/debian/pycaml.doc-base
+++ b/debian/libpycaml-ocaml-dev.doc-base
@@ -5,5 +5,5 @@ Abstract: This manual describes the usage of Pycaml, an OCaml to Python interfac
 Section: Programming/OCaml
 
 Format: HTML
-Index: /usr/share/doc/pycaml/pycaml.html
-Files: /usr/share/doc/pycaml/pycaml.html
+Index: /usr/share/doc/libpycaml-ocaml-dev/pycaml.html
+Files: /usr/share/doc/libpycaml-ocaml-dev/pycaml.html
diff --git a/debian/pycaml.docs b/debian/libpycaml-ocaml-dev.docs
similarity index 100%
rename from debian/pycaml.docs
rename to debian/libpycaml-ocaml-dev.docs
diff --git a/debian/pycaml.examples b/debian/libpycaml-ocaml-dev.examples
similarity index 100%
rename from debian/pycaml.examples
rename to debian/libpycaml-ocaml-dev.examples
diff --git a/debian/pycaml.install.in b/debian/libpycaml-ocaml-dev.install.in
similarity index 81%
rename from debian/pycaml.install.in
rename to debian/libpycaml-ocaml-dev.install.in
index a72046e..4a2f843 100644
--- a/debian/pycaml.install.in
+++ b/debian/libpycaml-ocaml-dev.install.in
@@ -1,4 +1,3 @@
- at OCamlStdlibDir@/pycaml/*.so       @OCamlDllDir@
 @OCamlStdlibDir@/pycaml/*.cm*      @OCamlStdlibDir@/pycaml
 @OCamlStdlibDir@/pycaml/*.a        @OCamlStdlibDir@/pycaml
 debian/META                        @OCamlStdlibDir@/pycaml
diff --git a/debian/libpycaml-ocaml.install.in b/debian/libpycaml-ocaml.install.in
new file mode 100644
index 0000000..34cce9a
--- /dev/null
+++ b/debian/libpycaml-ocaml.install.in
@@ -0,0 +1 @@
+ at OCamlStdlibDir@/pycaml/*.so       @OCamlDllDir@

-- 
pycaml packaging



More information about the Pkg-ocaml-maint-commits mailing list