[cod-tools] 57/142: trunk/ Fixing build dependencies, updating to source rev. 4779 (of cod-tools) for libcod-cif-parser-bison-perl.

Andrius Merkys merkys-guest at moszumanska.debian.org
Mon Sep 25 13:44:17 UTC 2017


This is an automated email from the git hooks/post-receive script.

merkys-guest pushed a commit to branch master
in repository cod-tools.

commit f679aa23e82004c28ee20e1619629daee07c5b36
Author: Andrius Merkys <andrius.merkys at gmail.com>
Date:   Fri Nov 25 10:44:17 2016 +0000

    trunk/
    Fixing build dependencies, updating to source rev. 4779 (of cod-tools) for
    libcod-cif-parser-bison-perl.
    
    
    git-svn-id: svn+ssh://saulius-grazulis.lt/home/andrius/svn-repositories/cod-deb-packaging/trunk@57 26752c47-bcd6-4c9c-b022-347364b77eb5
---
 README.md                                   | 21 +++++++++++----------
 libcod-cif-parser-bison-perl/debian/control |  4 ++--
 libcod-cif-parser-bison-perl/debian/rules   |  6 ++++++
 libcod-cif-parser-bison-perl/fetch-source   |  2 +-
 4 files changed, 20 insertions(+), 13 deletions(-)

diff --git a/README.md b/README.md
index 6c43051..dbe0219 100644
--- a/README.md
+++ b/README.md
@@ -17,19 +17,20 @@ Dependency tree
 
 ```
 libcod-cif-parser-bison-perl
-  |- codcif
-  |    |- libgetoptions0
-  |    |    \- libcexceptions0
-  |    \- libcexceptions0
+  |- codcif (build)
+  |    |- libgetoptions0 (build)
+  |    |    \- libcexceptions0 (build)
+  |    \- libcexceptions0 (build)
+  |- libcexceptions0 (build)
   |- libcod-precision-perl
   \- libcod-usermessage-perl
 
 pycodcif
-  |- codcif
-  |    |- libgetoptions0
-  |    |    \- libcexceptions0
-  |    \- libcexceptions0
-  |- libgetoptions0
+  |- codcif (build)
+  |    |- libgetoptions0 (build)
+  |    |    \- libcexceptions0 (build)
   |    \- libcexceptions0
-  \- libcexceptions0
+  |- libgetoptions0 (build)
+  |    \- libcexceptions0 (build)
+  \- libcexceptions0 (build)
 ```
diff --git a/libcod-cif-parser-bison-perl/debian/control b/libcod-cif-parser-bison-perl/debian/control
index 176e49b..93d8e65 100644
--- a/libcod-cif-parser-bison-perl/debian/control
+++ b/libcod-cif-parser-bison-perl/debian/control
@@ -1,14 +1,14 @@
 Source: libcod-cif-parser-bison-perl
 Priority: extra
 Maintainer: Andrius Merkys <andrius.merkys at gmail.com>
-Build-Depends: debhelper (>= 8.0.0)
+Build-Depends: debhelper (>= 8.0.0), codcif, libcexceptions0
 Standards-Version: 3.9.3
 Section: perl
 
 Package: libcod-cif-parser-bison-perl
 Section: perl
 Architecture: any
-Depends: ${shlibs:Depends}, ${perl:Depends}, ${misc:Depends}, codcif,
+Depends: ${shlibs:Depends}, ${perl:Depends}, ${misc:Depends},
     libcod-precision-perl, libcod-usermessage-perl
 Description: Perl bindings for COD CIF parser
  <insert long description, indented with spaces>
diff --git a/libcod-cif-parser-bison-perl/debian/rules b/libcod-cif-parser-bison-perl/debian/rules
index d801e1c..dcdaa4a 100755
--- a/libcod-cif-parser-bison-perl/debian/rules
+++ b/libcod-cif-parser-bison-perl/debian/rules
@@ -17,6 +17,12 @@ SRC_DIR = src/lib/perl5/COD/CIF/Parser/Bison
 %:
 	dh $@ --sourcedirectory ${SRC_DIR}
 
+override_dh_auto_build:
+	${MAKE} -C ${SRC_DIR} LIB_DIRS= LIB_FILES="-lcodcif -lcexceptions"
+
+override_dh_auto_test:
+	${MAKE} -C ${SRC_DIR} tests LIB_DIRS= LIB_FILES="-lcodcif -lcexceptions"
+
 override_dh_auto_install:
 	mkdir -p debian/libcod-cif-parser-bison-perl/${vendorlib}/COD/CIF/Parser
 	mkdir -p debian/libcod-cif-parser-bison-perl/${vendorarch}/auto/COD/CIF/Parser/Bison
diff --git a/libcod-cif-parser-bison-perl/fetch-source b/libcod-cif-parser-bison-perl/fetch-source
index 7264446..a66b18f 100755
--- a/libcod-cif-parser-bison-perl/fetch-source
+++ b/libcod-cif-parser-bison-perl/fetch-source
@@ -1,3 +1,3 @@
 #!/bin/bash
 
-svn export -r4775 svn://www.crystallography.net/cod-tools/trunk source
+svn export -r4779 svn://www.crystallography.net/cod-tools/trunk source

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/debian-science/packages/cod-tools.git



More information about the debian-science-commits mailing list