[Pkg-ocaml-maint-commits] [SCM] numerix packaging branch, master, updated. debian/0.22-6

Sylvain Le Gall gildor at debian.org
Tue Dec 15 22:04:41 UTC 2009


The following commit has been merged in the master branch:
commit b1aa5ce4624a94ceba9183fa80902c28c980303b
Author: Sylvain Le Gall <gildor at debian.org>
Date:   Tue Dec 15 21:54:04 2009 +0000

    dh-ocaml transition
    
    * Use dh-ocaml 0.9.1 features
    * Upgrade Standards-Version to 3.8.3 (section ocaml, README.source)
    * Shorten Uploaders field

diff --git a/debian/README.source b/debian/README.source
new file mode 100644
index 0000000..fc98b3d
--- /dev/null
+++ b/debian/README.source
@@ -0,0 +1,38 @@
+This package uses dpatch to manage all modifications to the upstream
+source. Changes are stored in the source package as diffs in
+debian/patches and applied during the build.
+
+To get the fully patched source after unpacking the source package, cd
+to the root level of the source package and run:
+
+    debian/rules patch
+
+Removing a patch is as simple as removing its entry from the
+debian/patches/00list file, and please also remove the patch file
+itself.
+
+Creating a new patch is done with "dpatch-edit-patch patch XX_patchname"
+where you should replace XX with a new number and patchname with a
+descriptive shortname of the patch. You can then simply edit all the
+files your patch wants to edit, and then simply "exit 0" from the shell
+to actually create the patch file.
+
+To tweak an already existing patch, call "dpatch-edit-patch XX_patchname"
+and replace XX_patchname with the actual filename from debian/patches
+you want to use.
+
+To clean up afterwards again, "debian/rules unpatch" will do the
+work for you - or you can of course choose to call
+"fakeroot debian/rules clean" all together.
+
+
+--- 
+
+this documentation is part of dpatch package, and may be used by
+packages using dpatch to comply with policy on README.source. This
+documentation is meant to be useful to users who are not proficient in
+dpatch in doing work with dpatch-based packages. Please send any
+improvements to the BTS of dpatch package.
+
+original text by Gerfried Fuchs, edited by Junichi Uekawa <dancer at debian.org>
+10 Aug 2008.
diff --git a/debian/changelog b/debian/changelog
index 7195af6..81bdd92 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,11 @@
+numerix (0.22-6) UNRELEASED; urgency=low
+
+  * Use dh-ocaml 0.9.1 features
+  * Upgrade Standards-Version to 3.8.3 (section ocaml, README.source)
+  * Shorten Uploaders field
+
+ -- Sylvain Le Gall <gildor at debian.org>  Tue, 15 Dec 2009 21:23:16 +0000
+
 numerix (0.22-5) unstable; urgency=low
 
   [ Stefano Zacchiroli ]
diff --git a/debian/clean b/debian/clean
new file mode 100644
index 0000000..920af23
--- /dev/null
+++ b/debian/clean
@@ -0,0 +1,26 @@
+exemples/c/chrono-c
+exemples/c/chrono-g
+exemples/c/chrono-s
+exemples/c/pi-c
+exemples/c/pi-g
+exemples/c/pi-s
+exemples/c/prime-test-c
+exemples/c/prime-test-s
+exemples/c/shanks-c
+exemples/c/shanks-s
+exemples/c/simple-c
+exemples/c/simple-s
+exemples/ocaml/cmp
+exemples/ocaml/cmp-opt
+exemples/ocaml/digits
+exemples/ocaml/digits-opt
+exemples/ocaml/pi
+exemples/ocaml/pi-opt
+exemples/ocaml/rcheck
+exemples/ocaml/rcheck-opt
+exemples/ocaml/shanks
+exemples/ocaml/shanks-opt
+exemples/ocaml/simple
+exemples/ocaml/simple-opt
+exemples/ocaml/sqrt-163
+exemples/ocaml/sqrt-163-opt
diff --git a/debian/control b/debian/control
index 95bbbfc..34d73a3 100644
--- a/debian/control
+++ b/debian/control
@@ -1,19 +1,24 @@
 Source: numerix
-Section: libdevel
+Section: ocaml
 Priority: optional
 Maintainer: Debian OCaml Maintainers <debian-ocaml-maint at lists.debian.org>
-Uploaders: Ralf Treinen <treinen at debian.org>, Sven Luther <luther at debian.org>, Remi Vanicat <vanicat at debian.org>, Stefano Zacchiroli <zack at debian.org>, Sylvain Le Gall <gildor at debian.org>, Mike Furr <mfurr at debian.org>, Samuel Mimram <smimram at debian.org>
-Build-Depends: dh-ocaml, ocaml-nox (>= 3.11), libgmp3-dev, debhelper (>= 7), dpatch, autotools-dev
+Uploaders: 
+ Ralf Treinen <treinen at debian.org>, 
+ Stefano Zacchiroli <zack at debian.org>, 
+ Sylvain Le Gall <gildor at debian.org>, 
+ Mike Furr <mfurr at debian.org>, 
+ Samuel Mimram <smimram at debian.org>
+Build-Depends: dh-ocaml (>= 0.9.1), ocaml-nox (>= 3.11), libgmp3-dev, debhelper (>= 7), dpatch, autotools-dev
 Build-Depends-Indep: texlive, texlive-latex-extra, gs-common
-Standards-Version: 3.8.0
+Standards-Version: 3.8.3
 Homepage: http://pauillac.inria.fr/~quercia/
 Vcs-Git: git://git.debian.org/git/pkg-ocaml-maint/packages/numerix.git
 Vcs-Browser: http://git.debian.org/?p=pkg-ocaml-maint/packages/numerix.git
 
 Package: libnumerix-ocaml
 Architecture: any
-Section: libs
-Depends: ocaml-base-nox-${F:OCamlABI}, ${shlibs:Depends}
+Depends: ${ocaml:Depends}, ${shlibs:Depends}
+Provides: ${ocaml:Provides}
 Description: Numerix "big integer" library for OCaml - runtime
  The Numerix library provides unlimited precision integer arithmetic
  facilities for use in OCaml programs.  This package contains only
@@ -32,9 +37,9 @@ Description: Numerix "big integer" library for OCaml - runtime
 
 Package: libnumerix-ocaml-dev
 Architecture: any
-Section: libdevel
-Depends: libgmp3-dev, libnumerix-ocaml (= ${binary:Version})
+Depends: libgmp3-dev, ${ocaml:Depends}, libnumerix-ocaml (= ${binary:Version})
 Suggests: numerix-doc (= ${source:Version})
+Provides: ${ocaml:Provides}
 Description: Numerix "big integer" library for OCaml
  The Numerix library provides unlimited precision integer arithmetic
  facilities for use in OCaml programs.  This package contains all the
diff --git a/debian/rules b/debian/rules
index 254c399..0911da3 100755
--- a/debian/rules
+++ b/debian/rules
@@ -73,15 +73,14 @@ build-stamp: config-stamp
 clean: unpatch ocamlinit-clean
 	dh_testdir
 	dh_testroot
-
 	[ ! -f Makefile ] || $(MAKE) clean
 	[ ! -f doc/Makefile ] || $(MAKE) -C doc clean
-
 	rm -rf debian/doc/
 	rm -f doc/english/*.{dvi,pdf,ps,maf} doc/francais/*.{dvi,pdf,ps,maf}
 	rm -f kernel/c/makefile kernel/caml/makefile kernel/config.h kernel/n/makefile kernel/ocaml/makefile kernel/pascal/makefile
 	rm -f config.guess config.sub config.log config.status Makefile
 	rm -f build-stamp config-stamp
+	dh_clean
 
 install: build-stamp
 	dh_testdir
@@ -142,7 +141,8 @@ binary-arch: build install
 	dh_makeshlibs -s
 	dh_installdeb -s
 	dh_shlibdeps -s
-	dh_gencontrol -s -- -VF:OCamlABI="$(OCAML_ABI)"
+	dh_ocaml -s
+	dh_gencontrol -s
 	dh_md5sums -s
 	dh_builddeb -s
 

-- 
numerix packaging



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