[med-svn] [sistr] 01/04: Create some package

Andreas Tille tille at debian.org
Wed Oct 11 15:45:28 UTC 2017


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

tille pushed a commit to branch master
in repository sistr.

commit 8177b8a4460d18d761ab5cda77b725fffd256e22
Author: Andreas Tille <tille at debian.org>
Date:   Wed Oct 11 17:21:30 2017 +0200

    Create some package
---
 debian/control |  9 ++++++---
 debian/rules   | 21 +++++----------------
 2 files changed, 11 insertions(+), 19 deletions(-)

diff --git a/debian/control b/debian/control
index d6c9506..a63ecc8 100644
--- a/debian/control
+++ b/debian/control
@@ -3,15 +3,18 @@ Maintainer: Debian Med Packaging Team <debian-med-packaging at lists.alioth.debian.
 Uploaders: Andreas Tille <tille at debian.org>
 Section: science
 Priority: optional
-Build-Depends: debhelper (>= 10)
+Build-Depends: debhelper (>= 10),
+               python3-all,
+               python-setuptools,
 Standards-Version: 4.1.1
 Vcs-Browser: https://anonscm.debian.org/cgit/debian-med/sistr.git
 Vcs-Git: https://anonscm.debian.org/git/debian-med/sistr.git
 Homepage: https://github.com/peterk87/sistr_cmd/
+X-Python-Version: >= 2.7
 
 Package: sistr
-Architecture: any
-Depends: ${shlibs:Depends},
+Architecture: all
+Depends: ${python3:Depends},
          ${misc:Depends}
 Description: Salmonella In Silico Typing Resource (SISTR)
  The Salmonella In Silico Typing Resource (SISTR) commandline tool allows
diff --git a/debian/rules b/debian/rules
index 62983db..271a837 100755
--- a/debian/rules
+++ b/debian/rules
@@ -1,22 +1,11 @@
 #!/usr/bin/make -f
 
 # DH_VERBOSE := 1
-export LC_ALL=C.UTF-8
-
-include /usr/share/dpkg/default.mk
-# this provides:
-# DEB_SOURCE: the source package name
-# DEB_VERSION: the full version of the package (epoch + upstream vers. + revision)
-# DEB_VERSION_EPOCH_UPSTREAM: the package's version without the Debian revision
-# DEB_VERSION_UPSTREAM_REVISION: the package's version without the Debian epoch
-# DEB_VERSION_UPSTREAM: the package's upstream version
-# DEB_DISTRIBUTION: the distribution(s) listed in the current entry of debian/changelog
-
-# for hardening you might like to uncomment this:
-# export DEB_BUILD_MAINT_OPTIONS=hardening=+all
 
 %:
-	dh $@
+	dh $@  --with python3
 
-#get-orig-source:
-#	. debian/get-orig-source
+override_dh_fixperms:
+	dh_fixperms
+	find debian -name "*.fasta" -exec chmod -x \{\} \;
+	find debian -name "*.csv" -exec chmod -x \{\} \;

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



More information about the debian-med-commit mailing list