[Python-modules-commits] r25731 - in packages/python-oauthlib/trunk/debian (3 files)

eriol-guest at users.alioth.debian.org eriol-guest at users.alioth.debian.org
Tue Sep 3 03:15:36 UTC 2013


    Date: Tuesday, September 3, 2013 @ 03:15:28
  Author: eriol-guest
Revision: 25731

Switched to pybuild

Modified:
  packages/python-oauthlib/trunk/debian/changelog
  packages/python-oauthlib/trunk/debian/control
  packages/python-oauthlib/trunk/debian/rules

Modified: packages/python-oauthlib/trunk/debian/changelog
===================================================================
--- packages/python-oauthlib/trunk/debian/changelog	2013-09-02 22:14:03 UTC (rev 25730)
+++ packages/python-oauthlib/trunk/debian/changelog	2013-09-03 03:15:28 UTC (rev 25731)
@@ -1,8 +1,9 @@
 python-oauthlib (0.5.1-1) UNRELEASED; urgency=low
 
   * New upstream release
+  * Switched to pybuild
 
- -- Daniele Tricoli <eriol at mornie.org>  Mon, 02 Sep 2013 01:53:26 +0200
+ -- Daniele Tricoli <eriol at mornie.org>  Tue, 03 Sep 2013 05:14:53 +0200
 
 python-oauthlib (0.5.0-1) unstable; urgency=low
 

Modified: packages/python-oauthlib/trunk/debian/control
===================================================================
--- packages/python-oauthlib/trunk/debian/control	2013-09-02 22:14:03 UTC (rev 25730)
+++ packages/python-oauthlib/trunk/debian/control	2013-09-03 03:15:28 UTC (rev 25731)
@@ -5,6 +5,7 @@
 Priority: optional
 Build-Depends:
  debhelper (>= 9),
+ dh-python,
  python-all (>= 2.6.6-3),
  python-crypto,
  python-mock,

Modified: packages/python-oauthlib/trunk/debian/rules
===================================================================
--- packages/python-oauthlib/trunk/debian/rules	2013-09-02 22:14:03 UTC (rev 25730)
+++ packages/python-oauthlib/trunk/debian/rules	2013-09-03 03:15:28 UTC (rev 25731)
@@ -1,41 +1,8 @@
 #!/usr/bin/make -f
 
-export http_proxy = http://127.0.0.1:9/
+export PYBUILD_DESTDIR_python2=debian/python-oauthlib/
+export PYBUILD_DESTDIR_python3=debian/python3-oauthlib/
 export PYTHONWARNINGS=d
 
-PYVERS := $(shell pyversions -r)
-PY3VERS := $(shell py3versions -r)
-
 %:
-	dh $@ --with python2,python3
-
-override_dh_auto_build:
-	set -ex; \
-	for python in $(PYVERS) $(PY3VERS); do \
-		$$python setup.py build; \
-	done
-
-override_dh_auto_install:
-	set -ex; \
-	for python in $(PYVERS); do \
-		$$python setup.py install --skip-build --root debian/python-oauthlib \
-			--install-layout deb; \
-	done
-
-	set -ex; \
-	for python in $(PY3VERS); do \
-		$$python setup.py install --skip-build --root debian/python3-oauthlib \
-			--install-layout deb; \
-	done
-
-override_dh_auto_clean:
-	rm -rf build
-	dh_auto_clean
-
-override_dh_auto_test:
-ifeq (,$(filter nocheck,$(DEB_BUILD_OPTIONS)))
-	set -ex; \
-	for python in $(PYVERS) $(PY3VERS); do \
-		$$python setup.py test -vv; \
-	done
-endif
+	dh $@ --with python2,python3 --buildsystem=pybuild




More information about the Python-modules-commits mailing list