[Pkg-ocaml-maint-commits] [SCM] dose3 packaging branch, master, updated. upstream/0.7-48-g6cd2f24

Ralf Treinen treinen at debian.org
Fri Nov 5 17:26:28 UTC 2010


The following commit has been merged in the master branch:
commit 6cd2f24e5c1c7ec2bd91c405ff230cf30afebe72
Author: Ralf Treinen <treinen at debian.org>
Date:   Fri Nov 5 16:18:42 2010 +0100

    try some magic to create bin packages with epoch
    
    fix shell call in makefile
    
    fix names of packages
    
    rename install files to match new package names
    
    try calling dh_builddebon signgle packages
    
    try with source versin 1
    
    explicitely set version in call to dh_builddep
    
    really
    
    try by calling explicitely dh_builddeb
    
    try with calling directly dpkg-gencontrol
    
    undo
    
    fix call to gencontrol
    
    fix name of var

diff --git a/debian/control b/debian/control
index 2587fda..b289c9d 100644
--- a/debian/control
+++ b/debian/control
@@ -36,7 +36,7 @@ Description: OCaml libraries for package dependencies (development files)
  This package contains the development stuff you need to use dose3 in
  the development of your programs.
 
-Package: dose3-distcheck
+Package: edos-distcheck
 Architecture: any
 Depends: ${ocaml:Depends}, ${misc:Depends}, ${shlibs:Depends}
 Description: Checks whether dependencies of packages can be satisfied
@@ -49,7 +49,7 @@ Description: Checks whether dependencies of packages can be satisfied
  edos-distcheck. Until then, the name of the package or of the binary,
  as well as command line options and output format, are subject to change.
 
-Package: dose3-builddebcheck
+Package: edos-builddebcheck
 Architecture: any
 Depends: ${ocaml:Depends}, ${misc:Depends}, ${shlibs:Depends}
 Description: Checks whether build-dependencies can be satisfied
@@ -60,3 +60,25 @@ Description: Checks whether build-dependencies can be satisfied
  NOTE: This is an experimental package which will eventually replace
  edos-distcheck. Until then, the name of the package or of the binary,
   as well as command line options and output format, are subject to change.
+
+Package: ceve
+Architecture: any
+Depends: ${ocaml:Depends}, ${misc:Depends}, ${shlibs:Depends}
+Description: Parses package dependencies as set of constraints
+ Ceve is a command line utility used to parse package metadata
+ information (in particular package interrelationships such as
+ dependencies) and convert them into a set of constraints that need to
+ be satisfied by a proper package installation.
+ .
+ Supported input formats for package metadata are:
+  * .deb packages
+  * Debian package lists (i.e. as in Packages.gz)
+  * .rpm packages
+  * RPM package lists
+ .
+ Supported output formats for set of constraints are:
+  * pretty printed format for human consumption
+  * Dose base, suitable as input for the Pkglab tool
+  * Oz (a programming language supporting constraint programming)
+  * Graphviz
+  * Tart, suitable as input for the Tart media partitioner
diff --git a/debian/dose3-builddebcheck.install b/debian/edos-builddebcheck.install
similarity index 100%
rename from debian/dose3-builddebcheck.install
rename to debian/edos-builddebcheck.install
diff --git a/debian/dose3-distcheck.install b/debian/edos-distcheck.install
similarity index 100%
rename from debian/dose3-distcheck.install
rename to debian/edos-distcheck.install
diff --git a/debian/rules b/debian/rules
index 6fdce61..053c8f1 100755
--- a/debian/rules
+++ b/debian/rules
@@ -1,8 +1,24 @@
 #!/usr/bin/make -f
 
+SRCV := $(shell dpkg-parsechangelog | sed -n '/^Version:/{s|Version: *||p;q}')
+
+# bin packages that get the same version as the source
+NOEPOCH = libdose3-ocaml-dev
+
+# bin packages that have their version with epoch 1
+EPOCHED  = edos-distcheck edos-builddebcheck ceve
+
 %:
 	dh $@ --with ocaml
 
 override_dh_auto_configure:
 	./configure --with-xml --with-ocamlgraph -- with-zip --with-bz2
 
+override_dh_gencontrol:
+	for pkg in $(NOEPOCH); do\
+		dh_gencontrol -p$$pkg;\
+        done
+	for pkg in $(EPOCHED); do\
+		dh_gencontrol -p$$pkg -- -v1:$(SRCV);\
+        done
+

-- 
dose3 packaging



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