[Python-apps-commits] r9981 - in packages/pybik/trunk/debian (changelog rules)
barcc-guest at users.alioth.debian.org
barcc-guest at users.alioth.debian.org
Sun Aug 18 11:21:38 UTC 2013
Date: Sunday, August 18, 2013 @ 11:21:36
Author: barcc-guest
Revision: 9981
Switch to pybuild
Modified:
packages/pybik/trunk/debian/changelog
packages/pybik/trunk/debian/rules
Modified: packages/pybik/trunk/debian/changelog
===================================================================
--- packages/pybik/trunk/debian/changelog 2013-08-18 09:49:27 UTC (rev 9980)
+++ packages/pybik/trunk/debian/changelog 2013-08-18 11:21:36 UTC (rev 9981)
@@ -1,4 +1,4 @@
-pybik (1.1-2) UNRELEASED; urgency=low
+pybik (1.1-2) unstable; urgency=low
[ Martin Pitt ]
* Use xvfb in autopkgtest. (Closes: #717126)
@@ -11,8 +11,11 @@
* Override dh_python3 and call dh_python3 a second time to look in
pybik-bin's private dir
- -- B. Clausius <barcc at gmx.de> Wed, 17 Jul 2013 23:03:10 +0200
+ [ B. Clausius ]
+ * Switch to pybuild
+ -- B. Clausius <barcc at gmx.de> Sun, 18 Aug 2013 11:46:56 +0200
+
pybik (1.1-1) unstable; urgency=low
* New upstream release
Modified: packages/pybik/trunk/debian/rules
===================================================================
--- packages/pybik/trunk/debian/rules 2013-08-18 09:49:27 UTC (rev 9980)
+++ packages/pybik/trunk/debian/rules 2013-08-18 11:21:36 UTC (rev 9981)
@@ -1,8 +1,8 @@
#!/usr/bin/make -f
#export DH_VERBOSE=1
+#export PYBUILD_VERBOSE=1
-PY3VERS=$(shell py3versions -vr)
ifneq (,$(filter parallel=%,$(DEB_BUILD_OPTIONS)))
NUMJOBS = $(patsubst parallel=%,%,$(filter parallel=%,$(DEB_BUILD_OPTIONS)))
else
@@ -10,36 +10,31 @@
endif
%:
- dh $@ --with python3
+ dh $@ --with python3 --buildsystem=pybuild
override_dh_auto_clean:
- python3 setup.py clean -a
+ dh_auto_clean
rm -rf pybiklib/__pycache__ tools/__pycache__
rm -f debian/README
override_dh_auto_build-arch:
- set -e; for v in $(PY3VERS); do \
- python$$v setup.py build --arch-only; \
- done
+ dh_auto_build -- --build-args=\"--arch-only\"
-
override_dh_auto_build-indep:
python3 tools/create_docs.py --skip-install README=debian/README
- python3 setup.py build --force --parallel=$(NUMJOBS) --indep-only
+ dh_auto_build -- --build-args=\"--indep-only --parallel=$(NUMJOBS)\"
override_dh_auto_install-arch:
- set -e; for v in $(PY3VERS); do \
- python$$v setup.py install --root=$(CURDIR)/debian/tmp --no-compile -O0 --install-layout=deb \
- --install-lib=/usr/lib/pybik \
- --arch-only; \
- done
+ dh_auto_install -- --install-args=\" \
+ --arch-only \
+ --install-lib=/usr/lib/pybik\"
override_dh_auto_install-indep:
- python3 setup.py install --force --root=$(CURDIR)/debian/tmp --no-compile -O0 --install-layout=deb \
- --install-scripts=/usr/lib/pybik \
- --install-lib=/usr/lib/pybik \
- --data-dir=/usr/share \
- --indep-only
+ dh_auto_install -- --install-args=\" \
+ --indep-only \
+ --install-lib=/usr/lib/pybik \
+ --install-scripts=/usr/lib/pybik \
+ --data-dir=/usr/share\"
override_dh_python3:
dh_python3 -p pybik
More information about the Python-apps-commits
mailing list