[cod-tools] 94/142: trunk/ Starting to develop a package for COD::CIF::Parser::Yapp.

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 f203f4c3d193e7e85fc402e6adda94594a92e79f
Author: Andrius Merkys <andrius.merkys at gmail.com>
Date:   Tue Dec 13 12:55:57 2016 +0000

    trunk/
    Starting to develop a package for COD::CIF::Parser::Yapp.
    
    
    git-svn-id: svn+ssh://saulius-grazulis.lt/home/andrius/svn-repositories/cod-deb-packaging/trunk@94 26752c47-bcd6-4c9c-b022-347364b77eb5
---
 libcod-cif-parser-yapp-perl/Makefile               |  1 +
 libcod-cif-parser-yapp-perl/debian/changelog       |  5 +++
 libcod-cif-parser-yapp-perl/debian/compat          |  1 +
 libcod-cif-parser-yapp-perl/debian/control         | 18 ++++++++++
 libcod-cif-parser-yapp-perl/debian/copyright       | 40 ++++++++++++++++++++++
 libcod-cif-parser-yapp-perl/debian/rules           | 32 +++++++++++++++++
 .../debian/source.lintian-overrides                |  3 ++
 libcod-cif-parser-yapp-perl/debian/source/format   |  1 +
 libcod-cif-parser-yapp-perl/fetch-source           |  3 ++
 9 files changed, 104 insertions(+)

diff --git a/libcod-cif-parser-yapp-perl/Makefile b/libcod-cif-parser-yapp-perl/Makefile
new file mode 120000
index 0000000..49d1d10
--- /dev/null
+++ b/libcod-cif-parser-yapp-perl/Makefile
@@ -0,0 +1 @@
+../MasterMakefile
\ No newline at end of file
diff --git a/libcod-cif-parser-yapp-perl/debian/changelog b/libcod-cif-parser-yapp-perl/debian/changelog
new file mode 100644
index 0000000..4b9b8f6
--- /dev/null
+++ b/libcod-cif-parser-yapp-perl/debian/changelog
@@ -0,0 +1,5 @@
+libcod-cif-parser-bison-perl (1.0-1) unstable; urgency=low
+
+  * Initial release.
+
+ -- Andrius Merkys <andrius.merkys at gmail.com>  Wed, 26 Oct 2016 00:45:47 +0300
diff --git a/libcod-cif-parser-yapp-perl/debian/compat b/libcod-cif-parser-yapp-perl/debian/compat
new file mode 100644
index 0000000..ec63514
--- /dev/null
+++ b/libcod-cif-parser-yapp-perl/debian/compat
@@ -0,0 +1 @@
+9
diff --git a/libcod-cif-parser-yapp-perl/debian/control b/libcod-cif-parser-yapp-perl/debian/control
new file mode 100644
index 0000000..87d4c36
--- /dev/null
+++ b/libcod-cif-parser-yapp-perl/debian/control
@@ -0,0 +1,18 @@
+Source: libcod-cif-parser-bison-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
+Standards-Version: 3.9.8
+Section: perl
+
+Package: libcod-cif-parser-bison-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
+ 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/copyright b/libcod-cif-parser-yapp-perl/debian/copyright
new file mode 100644
index 0000000..bf13a05
--- /dev/null
+++ b/libcod-cif-parser-yapp-perl/debian/copyright
@@ -0,0 +1,40 @@
+Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
+Upstream-Name: cod-tools
+Source: <svn://www.crystallography.net/cod-tools/trunk@4783>
+
+Files: *
+Copyright: 2008 Saulius Gražulis <grazulis at ibt.lt>
+License: GPL-2
+ This program is free software; you can redistribute it and/or modify
+ it under the terms of the GNU General Public License as published by
+ the Free Software Foundation; either version 2 of the License, or
+ (at your option) any later version.
+ .
+ This program is distributed in the hope that it will be useful,
+ but WITHOUT ANY WARRANTY; without even the implied warranty of
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+ GNU General Public License for more details.
+ .
+ You should have received a copy of the GNU General Public License along
+ with this program; if not, write to the Free Software Foundation, Inc.,
+ 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
+
+Files: debian/*
+Copyright: 2016 Andrius Merkys <andrius.merkys at gmail.com>
+License: GPL-2+
+ This package is free software; you can redistribute it and/or modify
+ it under the terms of the GNU General Public License as published by
+ the Free Software Foundation; either version 2 of the License, or
+ (at your option) any later version.
+ .
+ This package is distributed in the hope that it will be useful,
+ but WITHOUT ANY WARRANTY; without even the implied warranty of
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+ GNU General Public License for more details.
+ .
+ You should have received a copy of the GNU General Public License
+ along with this program. If not, see <http://www.gnu.org/licenses/>
+ .
+ On Debian systems, the complete text of the GNU General
+ Public License version 2 can be found in "/usr/share/common-licenses/GPL-2".
+
diff --git a/libcod-cif-parser-yapp-perl/debian/rules b/libcod-cif-parser-yapp-perl/debian/rules
new file mode 100755
index 0000000..3533e85
--- /dev/null
+++ b/libcod-cif-parser-yapp-perl/debian/rules
@@ -0,0 +1,32 @@
+#!/usr/bin/make -f
+# -*- makefile -*-
+# Sample debian/rules that uses debhelper.
+# This file was originally written by Joey Hess and Craig Small.
+# As a special exception, when this file is copied by dh-make into a
+# dh-make output file, you may use that output file without restriction.
+# This special exception was added by Craig Small in version 0.37 of dh-make.
+
+# 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
+
+%:
+	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/
diff --git a/libcod-cif-parser-yapp-perl/debian/source.lintian-overrides b/libcod-cif-parser-yapp-perl/debian/source.lintian-overrides
new file mode 100644
index 0000000..2f35ac4
--- /dev/null
+++ b/libcod-cif-parser-yapp-perl/debian/source.lintian-overrides
@@ -0,0 +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
diff --git a/libcod-cif-parser-yapp-perl/debian/source/format b/libcod-cif-parser-yapp-perl/debian/source/format
new file mode 100644
index 0000000..163aaf8
--- /dev/null
+++ b/libcod-cif-parser-yapp-perl/debian/source/format
@@ -0,0 +1 @@
+3.0 (quilt)
diff --git a/libcod-cif-parser-yapp-perl/fetch-source b/libcod-cif-parser-yapp-perl/fetch-source
new file mode 100755
index 0000000..45debbe
--- /dev/null
+++ b/libcod-cif-parser-yapp-perl/fetch-source
@@ -0,0 +1,3 @@
+#!/bin/bash
+
+svn export -r4783 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