[med-svn] [python-fitbit] 08/13: Updated rules to build python2 library
Iain Learmonth
irl-guest at moszumanska.debian.org
Mon Feb 3 21:25:54 UTC 2014
This is an automated email from the git hooks/post-receive script.
irl-guest pushed a commit to branch master
in repository python-fitbit.
commit 1464d9548688ba68dd2b12517fb5436b8c81f716
Author: Iain R. Learmonth <irl at fsfe.org>
Date: Mon Feb 3 19:31:23 2014 +0000
Updated rules to build python2 library
---
debian/rules | 20 ++------------------
1 file changed, 2 insertions(+), 18 deletions(-)
diff --git a/debian/rules b/debian/rules
index 58ec00b..951cffb 100755
--- a/debian/rules
+++ b/debian/rules
@@ -1,23 +1,7 @@
#!/usr/bin/make -f
-# DH_VERBOSE := 1
-
-# some helpful variables - uncomment them if needed
-# shamelessly stolen from http://jmtd.net/log/awk/
-#DEBVERS := $(shell dpkg-parsechangelog | awk '/^Version:/ {print $$2}')
-#VERSION := $(shell echo '$(DEBVERS)' | sed -e 's/^[0-9]*://' -e 's/-.*//')
-#DEBFLAVOR := $(shell dpkg-parsechangelog | awk '/^Distribution:/ {print $$2}')
-#DEBPKGNAME := $(shell dpkg-parsechangelog | awk '/^Source:/ {print $$2}')
-#DEBIAN_BRANCH := $(shell awk 'BEGIN{FS="[= ]+"} /debian-branch/ {print $$2}' debian/gbp.conf)
-#GIT_TAG := $(subst ~,_,$(VERSION))
-
-# alternatively to manually set those variables you can
-# include /usr/share/cdbs/1/rules/buildvars.mk
-# and use what is set there. Any hint whether dh might set variables in
-# a similar manner are welcome.
+export PYBUILD_NAME=fitbit
%:
- dh $@
+ dh $@ --with python2 --buildsystem=pybuild
-#get-orig-source:
-# . debian/get-orig-source
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/debian-med/python-fitbit.git
More information about the debian-med-commit
mailing list