[med-svn] [ngs-sdk] 01/01: Fix Python packages
Andreas Tille
tille at debian.org
Tue Dec 29 22:48:17 UTC 2015
This is an automated email from the git hooks/post-receive script.
tille pushed a commit to branch master
in repository ngs-sdk.
commit 7975b55eda9c8b81d26190b43b3acab1679c6f50
Author: Andreas Tille <tille at debian.org>
Date: Tue Dec 29 23:39:35 2015 +0100
Fix Python packages
---
debian/control | 2 +-
debian/rules | 4 +++-
2 files changed, 4 insertions(+), 2 deletions(-)
diff --git a/debian/control b/debian/control
index 576f241..004a9c1 100644
--- a/debian/control
+++ b/debian/control
@@ -74,7 +74,7 @@ Description: Next Generation Sequencing language Bindings (Python bindings)
Python bindings.
Package: python3-ngs-sdk
-Section: python3
+Section: python
Architecture: any
Depends: ${python3:Depends},
${misc:Depends},
diff --git a/debian/rules b/debian/rules
index 8d979f3..1c03985 100755
--- a/debian/rules
+++ b/debian/rules
@@ -25,7 +25,7 @@ build2vers := $(shell pyversions -sv)
build3vers := $(shell py3versions -sv)
%:
- dh $@
+ dh $@ --with python2,python3
override_dh_auto_clean:
if [ -e ngs-sdk/Makefile.config.$(OS).$(CPU)] ; then \
@@ -69,3 +69,5 @@ override_dh_install:
python$$i ./setup.py install --install-layout=deb --root ../debian/python-ngs-sdk; \
cd .. ; \
done
+ find debian -name "*.pyc" -delete
+ find debian -type d -name __pycache__ | xargs rm -rf
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/debian-med/ngs-sdk.git
More information about the debian-med-commit
mailing list