[cod-tools] 22/142: trunk/ Starting to develop packaging infrastructure for pycodcif.

Andrius Merkys merkys-guest at moszumanska.debian.org
Mon Sep 25 13:44:12 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 08f9c6c5af1051b2521ad6633fb19adfb9aa8bea
Author: Andrius Merkys <andrius.merkys at gmail.com>
Date:   Wed Oct 26 13:01:04 2016 +0000

    trunk/
    Starting to develop packaging infrastructure for pycodcif.
    
    
    git-svn-id: svn+ssh://saulius-grazulis.lt/home/andrius/svn-repositories/cod-deb-packaging/trunk@22 26752c47-bcd6-4c9c-b022-347364b77eb5
---
 pycodcif/Makefile             |  1 +
 pycodcif/debian/changelog     |  5 +++++
 pycodcif/debian/compat        |  1 +
 pycodcif/debian/control       | 13 +++++++++++++
 pycodcif/debian/copyright     | 40 ++++++++++++++++++++++++++++++++++++++++
 pycodcif/debian/rules         | 22 ++++++++++++++++++++++
 pycodcif/debian/source/format |  1 +
 pycodcif/fetch-source         |  3 +++
 8 files changed, 86 insertions(+)

diff --git a/pycodcif/Makefile b/pycodcif/Makefile
new file mode 120000
index 0000000..49d1d10
--- /dev/null
+++ b/pycodcif/Makefile
@@ -0,0 +1 @@
+../MasterMakefile
\ No newline at end of file
diff --git a/pycodcif/debian/changelog b/pycodcif/debian/changelog
new file mode 100644
index 0000000..7fe353f
--- /dev/null
+++ b/pycodcif/debian/changelog
@@ -0,0 +1,5 @@
+pycodcif (4760-1) unstable; urgency=low
+
+  * Initial release.
+
+ -- Andrius Merkys <andrius.merkys at gmail.com>  Wed, 26 Oct 2016 00:45:47 +0300
diff --git a/pycodcif/debian/compat b/pycodcif/debian/compat
new file mode 100644
index 0000000..45a4fb7
--- /dev/null
+++ b/pycodcif/debian/compat
@@ -0,0 +1 @@
+8
diff --git a/pycodcif/debian/control b/pycodcif/debian/control
new file mode 100644
index 0000000..06321ab
--- /dev/null
+++ b/pycodcif/debian/control
@@ -0,0 +1,13 @@
+Source: pycodcif
+Priority: extra
+Maintainer: Andrius Merkys <andrius.merkys at gmail.com>
+Build-Depends: debhelper (>= 8.0.0), codcif
+Standards-Version: 3.9.3
+Section: libs
+
+Package: pycodcif
+Section: libdevel
+Architecture: any
+Depends: ${misc:Depends}
+Description: CIF parser in Python language
+ <insert long description, indented with spaces>
diff --git a/pycodcif/debian/copyright b/pycodcif/debian/copyright
new file mode 100644
index 0000000..9a35b44
--- /dev/null
+++ b/pycodcif/debian/copyright
@@ -0,0 +1,40 @@
+Format: http://dep.debian.net/deps/dep5
+Upstream-Name: pycodcif
+Source: <svn://www.crystallography.net/cod-tools/trunk/src/lib/python2.7/dist-packages/cod/ccifparser>
+
+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/pycodcif/debian/rules b/pycodcif/debian/rules
new file mode 100755
index 0000000..8016f76
--- /dev/null
+++ b/pycodcif/debian/rules
@@ -0,0 +1,22 @@
+#!/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
+
+%:
+	dh $@
+
+build:
+	${MAKE} -f Makelocal-SWIG-module
+
+clean:
+	${MAKE} -f Makelocal-SWIG-module distclean
+
+override_dh_auto_install:
+	${MAKE} install PREFIX=debian/codcif/usr
diff --git a/pycodcif/debian/source/format b/pycodcif/debian/source/format
new file mode 100644
index 0000000..163aaf8
--- /dev/null
+++ b/pycodcif/debian/source/format
@@ -0,0 +1 @@
+3.0 (quilt)
diff --git a/pycodcif/fetch-source b/pycodcif/fetch-source
new file mode 100755
index 0000000..c3a761a
--- /dev/null
+++ b/pycodcif/fetch-source
@@ -0,0 +1,3 @@
+#!/bin/bash
+
+svn export -r4760 svn://www.crystallography.net/cod-tools/trunk/src/lib/python2.7/dist-packages/cod/ccifparser 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