[med-svn] [lefse] 01/01: Since package is rather a tool than a python module rename it from python-lefse to lefse

Andreas Tille tille at debian.org
Tue Jul 26 20:08:52 UTC 2016


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

tille pushed a commit to branch master
in repository lefse.

commit 410c6261d2a5dc34822b3d1fa40a7d5e4a09c62e
Author: Andreas Tille <tille at debian.org>
Date:   Tue Jul 26 22:08:20 2016 +0200

    Since package is rather a tool than a python module rename it from python-lefse to lefse
---
 debian/changelog |  2 +-
 debian/control   |  8 ++++----
 debian/rules     | 14 +++++++++++---
 3 files changed, 16 insertions(+), 8 deletions(-)

diff --git a/debian/changelog b/debian/changelog
index b7583ee..e50443b 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,4 +1,4 @@
-python-lefse (1.0+20151228-1) UNRELEASED; urgency=medium
+lefse (1.0+20151228-1) UNRELEASED; urgency=medium
 
   * Initial release (Closes: #<bug>)
 
diff --git a/debian/control b/debian/control
index e35bbf2..9920198 100644
--- a/debian/control
+++ b/debian/control
@@ -1,4 +1,4 @@
-Source: python-lefse
+Source: lefse
 Maintainer: Debian Med Packaging Team <debian-med-packaging at lists.alioth.debian.org>
 Uploaders: Andreas Tille <tille at debian.org>
 Section: science
@@ -7,11 +7,11 @@ Build-Depends: debhelper (>= 9),
                python-all,
                dh-python,
 Standards-Version: 3.9.8
-Vcs-Browser: https://anonscm.debian.org/cgit/debian-med/python-lefse.git
-Vcs-Git: https://anonscm.debian.org/git/debian-med/python-lefse.git
+Vcs-Browser: https://anonscm.debian.org/cgit/debian-med/lefse.git
+Vcs-Git: https://anonscm.debian.org/git/debian-med/lefse.git
 Homepage: https://bitbucket.org/nsegata/lefse
 
-Package: python-lefse
+Package: lefse
 Architecture: all
 Depends: ${python:Depends},
          ${misc:Depends},
diff --git a/debian/rules b/debian/rules
index 10f28a4..a7c2af5 100755
--- a/debian/rules
+++ b/debian/rules
@@ -1,8 +1,16 @@
 #!/usr/bin/make -f
 
 # DH_VERBOSE := 1
-
-export PYBUILD_NAME=lefse
+DESTDIR=debian/lefse/usr/share/lefse
 
 %:
-	dh $@  --with python2 --buildsystem=pybuild
+	dh $@  --with python2
+
+override_dh_auto_install:
+	mkdir -p $(DESTDIR)
+	cp -r lefsebiom $(DESTDIR)/
+	for i in format_input lefse2circlader plot_cladogram plot_features plot_res qiime2lefse run_lefse;\
+       	do\
+		cp $$i.py $(DESTDIR)/$$i;\
+		dh_link /usr/share/lefse/$$i /usr/bin/$$i;\
+	done

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



More information about the debian-med-commit mailing list