[cod-tools] 114/142: branches/single-source-build/ Including directives to build pycodcif.

Andrius Merkys merkys-guest at moszumanska.debian.org
Mon Sep 25 13:44:24 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 92bd91bc57951e6381adeaae9dde98bcd0c86cc4
Author: Andrius Merkys <andrius.merkys at gmail.com>
Date:   Mon May 22 06:20:56 2017 +0000

    branches/single-source-build/
    Including directives to build pycodcif.
    
    
    git-svn-id: svn+ssh://saulius-grazulis.lt/home/andrius/svn-repositories/cod-deb-packaging/branches/single-source-build@114 26752c47-bcd6-4c9c-b022-347364b77eb5
---
 debian/control | 11 +++++++++++
 debian/rules   |  4 ++++
 2 files changed, 15 insertions(+)

diff --git a/debian/control b/debian/control
index 1efe4b5..811a03d 100644
--- a/debian/control
+++ b/debian/control
@@ -70,3 +70,14 @@ Description: error-fixing CIF 1.1 parser - YAPP implementation
  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.
+
+Package: pycodcif
+Section: libdevel
+Architecture: any
+Depends: ${misc:Depends}, ${python:Depends}, ${shlibs:Depends}, ${python:Versions}
+Description: error-fixing CIF 1.1 parser - Python bindings
+ Python bindings for Crystallographic Information Format (CIF) parser,
+ which is written in C language, which is written in C language, and
+ developed by the Crystallography Open Database. A CIF format file is
+ represented by a list of data blocks, where each data block is
+ represented by a dictionary.
diff --git a/debian/rules b/debian/rules
index 36bcafd..485963b 100755
--- a/debian/rules
+++ b/debian/rules
@@ -24,6 +24,7 @@ override_dh_auto_build:
 	${MAKE} --directory src/components/codcif
 	${MAKE} --directory src/lib/perl5/COD/CIF/Parser/Bison
 	${MAKE} --directory src/lib/perl5/COD/CIF/Parser/Yapp
+	${MAKE} --directory src/components/pycodcif
 
 override_dh_auto_test:
 	${MAKE} PACKAGE=cexceptions EXTRA_LIB_DIRS=lib test --directory ${SRC_DIR}
@@ -54,3 +55,6 @@ override_dh_auto_install:
 
 	mkdir -p debian/libcod-usermessage-perl/usr/share/perl5/COD/
 	install src/lib/perl5/COD/UserMessage.pm debian/libcod-usermessage-perl/usr/share/perl5/COD/
+
+	${MAKE} -f Makelocal-SWIG-module install PREFIX=../../../debian/pycodcif/usr \
+		--directory src/components/pycodcif

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