[cod-tools] 95/142: trunk/libcod-cif-parser-yapp-perl/ Adapting copied files to build the package.

Andrius Merkys merkys-guest at moszumanska.debian.org
Mon Sep 25 13:44:21 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 0eb95dda0d91530110514b964d7d04be3f4ba763
Author: Andrius Merkys <andrius.merkys at gmail.com>
Date:   Tue Dec 13 13:27:09 2016 +0000

    trunk/libcod-cif-parser-yapp-perl/
    Adapting copied files to build the package.
    
    
    git-svn-id: svn+ssh://saulius-grazulis.lt/home/andrius/svn-repositories/cod-deb-packaging/trunk@95 26752c47-bcd6-4c9c-b022-347364b77eb5
---
 libcod-cif-parser-yapp-perl/debian/changelog           |  2 +-
 libcod-cif-parser-yapp-perl/debian/control             | 18 +++++++++---------
 libcod-cif-parser-yapp-perl/debian/rules               | 18 ++++--------------
 .../debian/source.lintian-overrides                    |  2 +-
 4 files changed, 15 insertions(+), 25 deletions(-)

diff --git a/libcod-cif-parser-yapp-perl/debian/changelog b/libcod-cif-parser-yapp-perl/debian/changelog
index 4b9b8f6..0106da2 100644
--- a/libcod-cif-parser-yapp-perl/debian/changelog
+++ b/libcod-cif-parser-yapp-perl/debian/changelog
@@ -1,4 +1,4 @@
-libcod-cif-parser-bison-perl (1.0-1) unstable; urgency=low
+libcod-cif-parser-yapp-perl (1.0-1) unstable; urgency=low
 
   * Initial release.
 
diff --git a/libcod-cif-parser-yapp-perl/debian/control b/libcod-cif-parser-yapp-perl/debian/control
index 87d4c36..a86f333 100644
--- a/libcod-cif-parser-yapp-perl/debian/control
+++ b/libcod-cif-parser-yapp-perl/debian/control
@@ -1,18 +1,18 @@
-Source: libcod-cif-parser-bison-perl
+Source: libcod-cif-parser-yapp-perl
 Priority: extra
 Maintainer: Andrius Merkys <andrius.merkys at gmail.com>
 Homepage: http://wiki.crystallography.net/cod-tools/
-Build-Depends: debhelper (>= 9.0.0), codcif, libcexceptions0
+Build-Depends: debhelper (>= 9.0.0), libparse-yapp-perl
 Standards-Version: 3.9.8
 Section: perl
 
-Package: libcod-cif-parser-bison-perl
+Package: libcod-cif-parser-yapp-perl
 Section: perl
-Architecture: any
-Depends: ${shlibs:Depends}, ${perl:Depends}, ${misc:Depends},
-    ${misc:Pre-Depends}, libcod-precision-perl, libcod-usermessage-perl
-Description: error-fixing CIF 1.1 parser - Perl bindings
- COD::CIF::Parser:Bison, Perl bindings for Crystallographic Information
- Format (CIF) parser, which is written in C language, and developed by
+Architecture: all
+Depends: ${perl:Depends}, ${misc:Depends}, libcod-precision-perl,
+    libcod-usermessage-perl
+Description: error-fixing CIF 1.1 parser - YAPP implementation
+ COD::CIF::Parser:Yapp, YAPP implementation of error-fixing
+ Crystallographic Information Format (CIF) parser, which is developed by
  the Crystallography Open Database. A CIF format file is represented by
  an array of data blocks, where each data block is represented by a hash.
diff --git a/libcod-cif-parser-yapp-perl/debian/rules b/libcod-cif-parser-yapp-perl/debian/rules
index 3533e85..3ce177e 100755
--- a/libcod-cif-parser-yapp-perl/debian/rules
+++ b/libcod-cif-parser-yapp-perl/debian/rules
@@ -9,24 +9,14 @@
 # Uncomment this to turn on verbose mode.
 #export DH_VERBOSE=1
 
-vendorarch = $(shell perl -le 'use Config; print $$Config{vendorarch}')
 vendorlib  = $(shell perl -le 'use Config; print $$Config{vendorlib}')
 
-SRC_DIR = src/lib/perl5/COD/CIF/Parser/Bison
+SRC_DIR = src/lib/perl5/COD/CIF/Parser/Yapp
 
 %:
 	dh $@ --sourcedirectory ${SRC_DIR}
 
-override_dh_auto_build:
-	${MAKE} -C ${SRC_DIR} LIB_DIRS= LIBFLAGS="-lcodcif -lcexceptions"
-
-override_dh_auto_test:
-	${MAKE} -C ${SRC_DIR} tests LIB_DIRS= LIBFLAGS="-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
-	install --mode 640 ${SRC_DIR}/lib/COD/CIF/Parser/Bison.pm \
-	    debian/libcod-cif-parser-bison-perl/${vendorlib}/COD/CIF/Parser/
-	install --mode 640 ${SRC_DIR}/lib/auto/COD/CIF/Parser/Bison/Bison.so \
-	    debian/libcod-cif-parser-bison-perl/${vendorarch}/auto/COD/CIF/Parser/Bison/
+	mkdir -p debian/libcod-cif-parser-yapp-perl/${vendorlib}/COD/CIF/Parser
+	install --mode 640 ${SRC_DIR}/lib/COD/CIF/Parser/Yapp.pm \
+	    debian/libcod-cif-parser-yapp-perl/${vendorlib}/COD/CIF/Parser/
diff --git a/libcod-cif-parser-yapp-perl/debian/source.lintian-overrides b/libcod-cif-parser-yapp-perl/debian/source.lintian-overrides
index 2f35ac4..30d4b39 100644
--- a/libcod-cif-parser-yapp-perl/debian/source.lintian-overrides
+++ b/libcod-cif-parser-yapp-perl/debian/source.lintian-overrides
@@ -1,3 +1,3 @@
 # The following symbolic link is used neither in build nor test process,
 # thus it should be ignored:
-libcod-cif-parser-bison-perl source: source-contains-unsafe-symlink data/COD-log-statistics/inputs/cod
+libcod-cif-parser-yapp-perl source: source-contains-unsafe-symlink data/COD-log-statistics/inputs/cod

-- 
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