[med-svn] r22745 - trunk/packages/kissplice/trunk/debian

Andreas Tille tille at moszumanska.debian.org
Fri Sep 2 09:01:31 UTC 2016


Author: tille
Date: 2016-09-02 09:01:30 +0000 (Fri, 02 Sep 2016)
New Revision: 22745

Added:
   trunk/packages/kissplice/trunk/debian/links
Modified:
   trunk/packages/kissplice/trunk/debian/changelog
   trunk/packages/kissplice/trunk/debian/control
   trunk/packages/kissplice/trunk/debian/rules
Log:
  * hardening=+all
  * kissplice is Python but not Python3
  * make proper use of dh_python


Modified: trunk/packages/kissplice/trunk/debian/changelog
===================================================================
--- trunk/packages/kissplice/trunk/debian/changelog	2016-09-02 08:08:27 UTC (rev 22744)
+++ trunk/packages/kissplice/trunk/debian/changelog	2016-09-02 09:01:30 UTC (rev 22745)
@@ -6,6 +6,11 @@
   [ Steffen Moeller ]
   * Introduced EDAM ontology description to debian/upstream/edam.
 
+  [ Andreas Tille ]
+  * hardening=+all
+  * kissplice is Python but not Python3
+  * make proper use of dh_python
+
  -- David Parsons <david.parsons at inria.fr>  Thu, 01 Sep 2016 13:30:59 +0200
 
 kissplice (2.3.1-1) unstable; urgency=medium

Modified: trunk/packages/kissplice/trunk/debian/control
===================================================================
--- trunk/packages/kissplice/trunk/debian/control	2016-09-02 08:08:27 UTC (rev 22744)
+++ trunk/packages/kissplice/trunk/debian/control	2016-09-02 09:01:30 UTC (rev 22745)
@@ -6,8 +6,7 @@
 Priority: optional
 Build-Depends: debhelper (>= 9.0),
                cmake,
-               python,
-               python3,
+               python-dev,
                zlib1g-dev
 Standards-Version: 3.9.6
 Vcs-Browser: http://anonscm.debian.org/viewvc/debian-med/trunk/packages/kissplice/trunk/

Added: trunk/packages/kissplice/trunk/debian/links
===================================================================
--- trunk/packages/kissplice/trunk/debian/links	                        (rev 0)
+++ trunk/packages/kissplice/trunk/debian/links	2016-09-02 09:01:30 UTC (rev 22745)
@@ -0,0 +1 @@
+usr/share/kissplice/kissplice.py	usr/bin/kissplice

Modified: trunk/packages/kissplice/trunk/debian/rules
===================================================================
--- trunk/packages/kissplice/trunk/debian/rules	2016-09-02 08:08:27 UTC (rev 22744)
+++ trunk/packages/kissplice/trunk/debian/rules	2016-09-02 09:01:30 UTC (rev 22745)
@@ -4,11 +4,19 @@
 # Uncomment this to turn on verbose mode.
 #export DH_VERBOSE=1
 
+export DEB_BUILD_MAINT_OPTIONS = hardening=+all
+
+DEBPKGNAME     := $(shell dpkg-parsechangelog | awk '/^Source:/ {print $$2}')
+
 %:
-	dh $@ --with python3 --with python2
+	dh $@ --with python2
 
 override_dh_auto_configure:
 	dh_auto_configure -- -DCMAKE_INSTALL_LIBEXECDIR=lib/
 
 override_dh_compress:
 	dh_compress --exclude=.pdf
+
+override_dh_install:
+	mkdir -p debian/$(DEBPKGNAME)/usr/share/$(DEBPKGNAME)
+	mv debian/$(DEBPKGNAME)/usr/bin/kissplice debian/$(DEBPKGNAME)/usr/share/$(DEBPKGNAME)/kissplice.py




More information about the debian-med-commit mailing list