[med-svn] [compclust] 02/02: Add initial packaging of Diane Trout - slightly pimped to Debian Med standards

Andreas Tille tille at debian.org
Fri Dec 1 15:58:14 UTC 2017


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

tille pushed a commit to branch master
in repository compclust.

commit b3aa9bac94334e3525200de6581aac43ff6c1ef5
Author: Andreas Tille <tille at debian.org>
Date:   Fri Dec 1 16:56:41 2017 +0100

    Add initial packaging of Diane Trout - slightly pimped to Debian Med standards
---
 debian/changelog     |  5 +++
 debian/compat        |  1 +
 debian/control       | 19 +++++++++++
 debian/copyright     | 26 +++++++++++++++
 debian/rules         | 92 ++++++++++++++++++++++++++++++++++++++++++++++++++++
 debian/source/format |  1 +
 debian/watch         |  4 +++
 7 files changed, 148 insertions(+)

diff --git a/debian/changelog b/debian/changelog
new file mode 100644
index 0000000..6bb522c
--- /dev/null
+++ b/debian/changelog
@@ -0,0 +1,5 @@
+compclust (1.3+dfsg-1) UNRELEASED; urgency=low
+
+  * Inital release
+
+ -- Diane Trout <diane at caltech.edu>  Fri, 01 Dec 2017 16:55:17 +0100
diff --git a/debian/compat b/debian/compat
new file mode 100644
index 0000000..f599e28
--- /dev/null
+++ b/debian/compat
@@ -0,0 +1 @@
+10
diff --git a/debian/control b/debian/control
new file mode 100644
index 0000000..2ccc17b
--- /dev/null
+++ b/debian/control
@@ -0,0 +1,19 @@
+Source: compclust
+Section: science
+Priority: optional
+Maintainer: Debian Med Packaging Team <debian-med-packaging at lists.alioth.debian.org>
+Uploaders: Diane Trout <diane at caltech.edu>
+Build-Depends: debhelper (>= 10), python
+Standards-Version: 4.1.1
+Vcs-Browser: https://anonscm.debian.org/cgit/debian-med/compclust.git
+Vcs-Git: https://anonscm.debian.org/git/debian-med/compclust.git
+Homepage: http://woldlab.caltech.edu/compclust/index.shtml
+
+Package: python-compclust
+Architecture: any
+Depends: ${shlibs:Depends}, python, python-matplotlib, python-numpy
+Recommends: quixote, python-tk
+Description: CompClust bioinformatics analysis tools
+ CompClust provides a set of clustering algorithms, scoring tools
+ to quantitatively compare various clusterings, and then visualize
+ the results.
diff --git a/debian/copyright b/debian/copyright
new file mode 100644
index 0000000..48351c8
--- /dev/null
+++ b/debian/copyright
@@ -0,0 +1,26 @@
+Format: https://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
+Upstream-Name: CompClust
+Source: http://woldlab.caltech.edu/compclust/debian/
+Files-Excluded: */.svn
+                */.cvsignore
+                */linux-x86
+                */osx-ppc
+                */win32
+
+Files: *
+Copyright: 2002-2010 California Institute of Technology
+License: MLX
+
+Files: debian/*
+Copyright: 2005-2008 Diane Trout <diane at caltech.edu>
+License: MLX
+
+License: MLX
+ The contents of this file are subject to the MLX PUBLIC LICENSE version
+ 1.0 (the "License"); you may not use this file except in
+ compliance with the License.
+ .
+ Software distributed under the License is distributed on an "AS IS"
+ basis, WITHOUT WARRANTY OF ANY KIND, either express or implied.  See
+ the License for the specific language governing rights and limitations
+ under the License.
diff --git a/debian/rules b/debian/rules
new file mode 100755
index 0000000..c8c483c
--- /dev/null
+++ b/debian/rules
@@ -0,0 +1,92 @@
+#!/usr/bin/make -f
+# Sample debian/rules that uses debhelper.
+# GNU copyright 1997 to 1999 by Joey Hess.
+
+# Uncomment this to turn on verbose mode.
+#export DH_VERBOSE=1
+
+# This is the debhelper compatability version to use.
+export DH_COMPAT=3
+
+PYDEF=$(shell pyversions -d)
+PYVERS=$(shell pyversions -r)
+
+configure: configure-stamp
+configure-stamp:
+	dh_testdir
+	# Add here commands to configure the package.
+
+	touch configure-stamp
+
+build: configure-stamp build-stamp
+build-stamp:
+	dh_testdir
+
+	# Add here commands to compile the package.
+	for python in $(PYVERS); do \
+			python=$$(echo $$python | sed "s/$(PYDEF)/python/"); \
+			$$python setup.py build; \
+  done
+
+	touch build-stamp
+
+clean:
+	dh_testdir
+	dh_testroot
+	rm -f build-stamp configure-stamp
+
+	# Add here commands to clean up after the build process.
+	-rm -rf `pwd`/debian/python$(PYVERSION)-compclust
+	-python setup.py clean --all --notests
+	-rm `find . -name "*.pyc"`
+
+	dh_clean
+
+install: build
+	dh_testdir
+	dh_testroot
+	dh_clean -k
+	dh_installdirs
+
+	# Add here commands to install the package into debian/biopython.
+	for python in $(PYVERS); do \
+    python=$$(echo $$python | sed "s/$(PYDEF)/python/"); \
+    $$python setup.py install --root=debian/python-compclust; \
+  done
+
+# Build architecture-independent files here.
+binary-indep: build install
+# We have nothing to do by default.
+
+# Build architecture-dependent files here.
+binary-arch: build install
+	dh_testdir
+	dh_testroot
+#	dh_installdebconf	
+	dh_installdocs
+	dh_installexamples
+	dh_installmenu
+#	dh_installlogrotate
+#	dh_installemacsen
+#	dh_installpam
+#	dh_installmime
+#	dh_installinit
+	dh_installcron
+	dh_installman
+	dh_installinfo
+#	dh_undocumented
+#	dh_installchangelogs debian/changelog
+	dh_link
+	dh_strip
+	dh_compress
+	dh_fixperms
+#	dh_makeshlibs
+	dh_installdeb
+#	dh_perl
+	dh_shlibdeps
+	dh_gencontrol
+	dh_md5sums
+	dh_builddeb
+
+binary: binary-indep binary-arch
+.PHONY: build clean binary-indep binary-arch binary install configure
diff --git a/debian/source/format b/debian/source/format
new file mode 100644
index 0000000..163aaf8
--- /dev/null
+++ b/debian/source/format
@@ -0,0 +1 @@
+3.0 (quilt)
diff --git a/debian/watch b/debian/watch
new file mode 100644
index 0000000..4b1172b
--- /dev/null
+++ b/debian/watch
@@ -0,0 +1,4 @@
+version=4
+
+opts="repacksuffix=+dfsg,dversionmangle=s/\+dfsg//g,repack,compression=xz" \
+  http://woldlab.caltech.edu/compclust/ CompClust- at ANY_VERSION@-src\.zip
\ No newline at end of file

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/debian-med/compclust.git



More information about the debian-med-commit mailing list