[med-svn] [python-ruffus] 02/02: Add packaging skeleton

Andreas Tille tille at debian.org
Sun Feb 1 14:22:39 UTC 2015


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

tille pushed a commit to branch master
in repository python-ruffus.

commit f9ba7cd0fd159ef7fccd88501dabadce4f1f72d2
Author: Andreas Tille <tille at debian.org>
Date:   Sun Feb 1 15:19:16 2015 +0100

    Add packaging skeleton
---
 debian/changelog              |  5 +++++
 debian/compat                 |  1 +
 debian/control                | 26 ++++++++++++++++++++++++++
 debian/copyright              | 11 +++++++++++
 debian/inject-into-alioth-git | 18 ++++++++++++++++++
 debian/rules                  | 23 +++++++++++++++++++++++
 debian/source/format          |  1 +
 debian/upstream/metadata      | 12 ++++++++++++
 debian/watch                  |  4 ++++
 9 files changed, 101 insertions(+)

diff --git a/debian/changelog b/debian/changelog
new file mode 100644
index 0000000..1119afc
--- /dev/null
+++ b/debian/changelog
@@ -0,0 +1,5 @@
+python-ruffus (2.5-1) UNRELEASED; urgency=low
+
+  * Initial release (Closes: #<bug>)
+
+ -- DMPT <debian-med-packaging at lists.alioth.debian.org>  Thu, 24 May 2012 14:30:13 +0200
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..0ea072a
--- /dev/null
+++ b/debian/control
@@ -0,0 +1,26 @@
+Source: python-ruffus
+Section: science
+Priority: optional
+Maintainer: Debian Med Packaging Team <debian-med-packaging at lists.alioth.debian.org>
+Uploaders: Andreas Tille <tille at debian.org>
+Build-Depends: debhelper (>= 9)
+Standards-Version: 3.9.6
+Vcs-Browser: https://anonscm.debian.org/cgit/debian-med/python-ruffus.git
+Vcs-Git: git://anonscm.debian.org/debian-med/python-ruffus.git
+Homepage: http://www.ruffus.org.uk/
+
+Package: python-ruffus
+Architecture: any
+Depends: ${shlibs:Depends}, ${misc:Depends}
+Description: computation pipeline library widely used in science and bioinformatics
+ Ruffus is designed to allow scientific and other analyses to be automated
+ with the minimum of fuss and the least effort.
+ .
+  * Lightweight: Suitable for the simplest of tasks
+  * Scalable: Handles even fiendishly complicated pipelines which would cause
+    make or scons to go cross-eyed and recursive.
+  * Standard python: No "clever magic", no pre-processing.
+  * Unintrusive: Unambitious, lightweight syntax which tries to do this one small
+    thing well.
+
+
diff --git a/debian/copyright b/debian/copyright
new file mode 100644
index 0000000..c76e73d
--- /dev/null
+++ b/debian/copyright
@@ -0,0 +1,11 @@
+Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
+Upstream-Name: <pkg>
+Source: <path_to_download>
+
+Files: *
+Copyright: © 20xx-20yy <upstream>
+License: <license>
+
+Files: debian/*
+Copyright: © 2014 maintainername <maintainer at e.mail>
+License: <license>
diff --git a/debian/inject-into-alioth-git b/debian/inject-into-alioth-git
new file mode 100755
index 0000000..02c2222
--- /dev/null
+++ b/debian/inject-into-alioth-git
@@ -0,0 +1,18 @@
+#!/bin/sh -e
+
+echo "Please verify whether this script is obsoleted by gbp-create-remote-repo !"
+
+# This script implements the "Git tips" given here
+#   http://debian-med.alioth.debian.org/docs/policy.html#git-tips
+# Use it with caution since it is less testet
+
+DEBPKGNAME=`dpkg-parsechangelog | awk '/^Source:/ {print $2}'`
+SHORTDESC=`grep "^Description: " debian/control | head -n 1 | sed 's/^Description: //'`
+VCSGIT=`grep "^Vcs-Git: " debian/control | sed -e 's/^Vcs-Git: //' -e 's#git://anonscm.debian.org/#ssh://git.debian.org/git/#'`
+DIRatALIOTH=`echo $VCSGIT | sed -e 's#ssh://git.debian.org/git/#/git/#' -e 's#/[^/]\+\.git##'`
+
+ssh git.debian.org "cd $DIRatALIOTH; ./setup-repository $DEBPKGNAME '$SHORTDESC'"
+git remote add origin $VCSGIT
+git push origin master
+git push --all --set-upstream
+git push --tags
diff --git a/debian/rules b/debian/rules
new file mode 100755
index 0000000..58ec00b
--- /dev/null
+++ b/debian/rules
@@ -0,0 +1,23 @@
+#!/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/cdbs/1/rules/buildvars.mk
+# and use what is set there.  Any hint whether dh might set variables in
+# a similar manner are welcome.
+
+%:
+	dh $@
+
+#get-orig-source:
+#	. debian/get-orig-source
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..f47a0f6
--- /dev/null
+++ b/debian/watch
@@ -0,0 +1,4 @@
+version=3
+
+https://pypi.python.org/pypi/ruffus \
+   .*/r/ruffus/ruffus-([.\d]+)\.tar\.gz

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



More information about the debian-med-commit mailing list