[med-svn] [cwltool] 01/04: initial debianization

Michael Crusoe misterc-guest at moszumanska.debian.org
Sat Feb 13 00:33:25 UTC 2016


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

misterc-guest pushed a commit to branch master
in repository cwltool.

commit e7b64ec2892cf576314c4347930db4ecec89e3c3
Author: Michael R. Crusoe <crusoe at ucdavis.edu>
Date:   Fri Feb 5 02:30:34 2016 -0800

    initial debianization
---
 debian/changelog         |  5 +++++
 debian/compat            |  1 +
 debian/control           | 33 +++++++++++++++++++++++++++++++++
 debian/copyright         | 27 +++++++++++++++++++++++++++
 debian/doc-base          | 20 ++++++++++++++++++++
 debian/rules             | 22 ++++++++++++++++++++++
 debian/source/format     |  1 +
 debian/upstream/metadata | 12 ++++++++++++
 debian/watch             |  3 +++
 9 files changed, 124 insertions(+)

diff --git a/debian/changelog b/debian/changelog
new file mode 100644
index 0000000..c4c0012
--- /dev/null
+++ b/debian/changelog
@@ -0,0 +1,5 @@
+cwltool (1.0.20160203221531-1) UNRELEASED; urgency=medium
+
+  * Initial release. (Closes: #XXXXXX)
+
+ -- Michael R. Crusoe <crusoe at ucdavis.edu>  Fri, 05 Feb 2016 02:18:38 -0800
diff --git a/debian/compat b/debian/compat
new file mode 100644
index 0000000..ec63514
--- /dev/null
+++ b/debian/compat
@@ -0,0 +1 @@
+9
diff --git a/debian/control b/debian/control
new file mode 100644
index 0000000..c366e38
--- /dev/null
+++ b/debian/control
@@ -0,0 +1,33 @@
+Source: cwltool
+Maintainer: Debian Med Packaging Team <debian-med-packaging at lists.alioth.debian.org>
+Uploaders: Michael R. Crusoe <crusoe at ucdavis.edu>
+Section: science
+Priority: optional
+Build-Depends: debhelper (>= 9),
+               dh-python,
+               python,
+               python-all
+Standards-Version: 3.9.7
+Vcs-Browser: https://anonscm.debian.org/cgit/debian-med/macs.git
+Vcs-Git: https://anonscm.debian.org/git/debian-med/macs.git
+Homepage: http://www.commonwl.org
+X-Python-Version: >= 2.7
+
+Package: cwltool
+Architecture: all
+Depends: ${python:Depends},
+         ${misc:Depends}
+Description: Common workflow language reference implementation
+ This is the reference implementation of the Common Workflow Language. It is
+ intended to be feature complete and provide comprehensive validation of CWL
+ files as well as provide other tools related to working with CWL.
+ .
+ This is written and tested for Python 2.7.
+ .
+ The reference implementation consists of two packages. The "cwltool" package
+ is the primary Python module containing the reference implementation in the
+ "cwltool" module and console executable by the same name.
+ .
+ The "cwl-runner" package is optional and provides an additional entry point
+ under the alias "cwl-runner", which is the implementation-agnostic name for the
+ default CWL interpreter installed on a host.
diff --git a/debian/copyright b/debian/copyright
new file mode 100644
index 0000000..3391d38
--- /dev/null
+++ b/debian/copyright
@@ -0,0 +1,27 @@
+Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
+Upstream-Name: cwl-tool
+Source: https://pypi.python.org/pypi/cwltool
+
+Files: *
+Copyright: No copyright declared
+License: Apache-2.0
+
+Files: debian/*
+Copyright: © 2016 Michael R. Crusoe <crusoe at ucdavis.edu>
+License: Apache-2.0
+
+License: Apache-2.0
+   Licensed under the Apache License, Version 2.0 (the "License");
+   you may not use this file except in compliance with the License.
+   You may obtain a copy of the License at
+   .
+       http://www.apache.org/licenses/LICENSE-2.0
+   .
+   Unless required by applicable law or agreed to in writing, software
+   distributed under the License is distributed on an "AS IS" BASIS,
+   WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+   See the License for the specific language governing permissions and
+   limitations under the License.
+   .
+   On Debian systems, the full text of the Apache License, Version 2.0 can be
+   found in the file `/usr/share/common-licenses/Apache-2.0'
diff --git a/debian/doc-base b/debian/doc-base
new file mode 100644
index 0000000..5e7e1d4
--- /dev/null
+++ b/debian/doc-base
@@ -0,0 +1,20 @@
+Document: <pkg>
+Title: <title for this doc>
+Author: <author of this doc>
+Abstract: <if you have no better clue the short and
+ long description from debian/control might fit here as well>
+Section: Science/{Biology,Medicine} # see /usr/share/doc/doc-base/doc-base.txt.gz "2.3.3. The `section' field"
+
+# pick one of the below options
+Format: Text
+Files: /usr/share/doc/<pkg>/<pkg>.txt.gz
+
+Format: html
+Index: /usr/share/doc/<pkg>/html/index.html
+Files: /usr/share/doc/<pkg>/html/*
+
+Format: pdf
+Files: /usr/share/doc/<pkg>/<pkg>.pdf.gz
+
+Format: postscript
+Files: /usr/share/doc/<pkg>/<pkg>.ps.gz
diff --git a/debian/rules b/debian/rules
new file mode 100755
index 0000000..05d3241
--- /dev/null
+++ b/debian/rules
@@ -0,0 +1,22 @@
+#!/usr/bin/make -f
+
+DH_VERBOSE := 1
+
+# some helpful variables - uncomment them if needed
+# shamelessly stolen from http://jmtd.net/log/awk/
+#DEBVERS        := $(shell dpkg-parsechangelog | awk '/^Version:/ {print $$2}')
+#VERSION        := $(shell echo '$(DEBVERS)' | sed -e 's/^[0-9]*://' -e 's/-.*//')
+#DEBFLAVOR      := $(shell dpkg-parsechangelog | awk '/^Distribution:/ {print $$2}')
+#DEBPKGNAME     := $(shell dpkg-parsechangelog | awk '/^Source:/ {print $$2}')
+#DEBIAN_BRANCH  := $(shell awk 'BEGIN{FS="[= ]+"} /debian-branch/ {print $$2}' debian/gbp.conf)
+#GIT_TAG        := $(subst ~,_,$(VERSION))
+
+# alternatively to manually set those variables, you can
+#  include /usr/share/dpkg/default.mk
+# and use what is set there.
+
+export PYBUILD_NAME=cwltool
+
+%:
+	dh $@ --with python2 --buildsystem=pybuild
+
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/upstream/metadata b/debian/upstream/metadata
new file mode 100644
index 0000000..d8b5812
--- /dev/null
+++ b/debian/upstream/metadata
@@ -0,0 +1,12 @@
+Reference:
+  Author: 
+  Title: 
+  Journal: 
+  Year: 
+  Volume: 
+  Number: 
+  Pages: 
+  DOI: 
+  PMID:
+  URL: 
+  eprint: 
diff --git a/debian/watch b/debian/watch
new file mode 100644
index 0000000..9f2c223
--- /dev/null
+++ b/debian/watch
@@ -0,0 +1,3 @@
+version=3
+opts=uversionmangle=s/(rc|a|b|c)/~$1/ \
+https://pypi.debian.net/cwltool/cwltool-(.+)\.(?:zip|tgz|tbz|txz|(?:tar\.(?:gz|bz2|xz)))

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



More information about the debian-med-commit mailing list