[med-svn] [partitionfinder] 06/06: Get the scripts installed and fix lintian errors

Kevin Murray daube-guest at moszumanska.debian.org
Tue Nov 10 10:05:05 UTC 2015


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

daube-guest pushed a commit to branch master
in repository partitionfinder.

commit ccedfb3976a5dbc902c7953e3b1c318b2c833890
Author: Kevin Murray <spam at kdmurray.id.au>
Date:   Tue Nov 10 20:58:50 2015 +1100

    Get the scripts installed and fix lintian errors
---
 debian/control                                     |  6 +++-
 debian/partitionfinder.lintian-overrides           |  2 ++
 .../0001-Add-crunchbangs-and-chmod-x-scripts.patch | 33 ++++++++++++++++++++++
 debian/patches/series                              |  1 +
 debian/rules                                       |  1 +
 5 files changed, 42 insertions(+), 1 deletion(-)

diff --git a/debian/control b/debian/control
index c0317b9..e765515 100644
--- a/debian/control
+++ b/debian/control
@@ -13,7 +13,11 @@ Homepage: https://github.com/brettc/partitionfinder
 
 Package: partitionfinder
 Architecture: any
-Depends: ${shlibs:Depends}, ${misc:Depends}
+Depends: ${shlibs:Depends},
+         ${misc:Depends},
+         ${python:Depends},
+         python2.7,
+         python-numpy,
 Description: choses partitioning schemes and models of molecular evolution for sequence data
  PartitionFinder and PartitionFinderProtein are Python programs for
  simultaneously choosing partitioning schemes and models of molecular evolution
diff --git a/debian/partitionfinder.lintian-overrides b/debian/partitionfinder.lintian-overrides
new file mode 100644
index 0000000..c3e26ae
--- /dev/null
+++ b/debian/partitionfinder.lintian-overrides
@@ -0,0 +1,2 @@
+partitionfinder: script-with-language-extension usr/bin/PartitionFinder.py
+partitionfinder: script-with-language-extension usr/bin/PartitionFinderProtein.py
diff --git a/debian/patches/0001-Add-crunchbangs-and-chmod-x-scripts.patch b/debian/patches/0001-Add-crunchbangs-and-chmod-x-scripts.patch
new file mode 100644
index 0000000..3246a1f
--- /dev/null
+++ b/debian/patches/0001-Add-crunchbangs-and-chmod-x-scripts.patch
@@ -0,0 +1,33 @@
+From: Kevin Murray <spam at kdmurray.id.au>
+Date: Tue, 10 Nov 2015 20:34:26 +1100
+Subject: Add crunchbangs and chmod +x scripts
+
+---
+ PartitionFinder.py        | 1 +
+ PartitionFinderProtein.py | 1 +
+ 2 files changed, 2 insertions(+)
+ mode change 100644 => 100755 PartitionFinder.py
+ mode change 100644 => 100755 PartitionFinderProtein.py
+
+diff --git a/PartitionFinder.py b/PartitionFinder.py
+old mode 100644
+new mode 100755
+index 6ef5fbc..f83508a
+--- a/PartitionFinder.py
++++ b/PartitionFinder.py
+@@ -1,3 +1,4 @@
++#!/usr/bin/python2.7
+ # Copyright (C) 2012 Robert Lanfear and Brett Calcott
+ #
+ # This program is free software: you can redistribute it and/or modify it under
+diff --git a/PartitionFinderProtein.py b/PartitionFinderProtein.py
+old mode 100644
+new mode 100755
+index 2c5517d..27fb759
+--- a/PartitionFinderProtein.py
++++ b/PartitionFinderProtein.py
+@@ -1,3 +1,4 @@
++#!/usr/bin/python2.7
+ # Copyright (C) 2012 Robert Lanfear and Brett Calcott
+ #
+ # This program is free software: you can redistribute it and/or modify it under
diff --git a/debian/patches/series b/debian/patches/series
new file mode 100644
index 0000000..8ad3202
--- /dev/null
+++ b/debian/patches/series
@@ -0,0 +1 @@
+0001-Add-crunchbangs-and-chmod-x-scripts.patch
diff --git a/debian/rules b/debian/rules
index 9355a79..2a36ff0 100755
--- a/debian/rules
+++ b/debian/rules
@@ -4,4 +4,5 @@
 	dh $@ --parallel
 
 overide_dh_auto_build:
+	dh_python2
 	g++ -o partfinder/_tiger.so -fPIC -shared -I/usr/include/python2.7/ -lpython2.7 partfinder/_tiger.cpp

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



More information about the debian-med-commit mailing list