[PATCH 1 of 5 file] [debian] use pybuild

Philippe Pepiot philippe.pepiot at logilab.fr
Thu Jun 27 18:14:22 CEST 2019


# HG changeset patch
# User Philippe Pepiot <philippe.pepiot at logilab.fr>
# Date 1561647718 -7200
#      Thu Jun 27 17:01:58 2019 +0200
# Node ID 5f2e5ddf852db31db1141e83d731213e9f9d9d72
# Parent  e58c27f4d30bb74cfc8c6fb58b30dcf8180fffd5
# Available At https://hg.logilab.org/review/cubes/file
#              hg pull https://hg.logilab.org/review/cubes/file -r 5f2e5ddf852d
[debian] use pybuild

Disable tests explicitly since we don't have a repository with dependencies to run tests.

diff --git a/debian/changelog b/debian/changelog
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,9 @@
+cubicweb-file (2.2.1-2) UNRELEASED; urgency=medium
+
+  * Use pybuild
+
+ -- Philippe Pepiot <philippe.pepiot at logilab.fr>  Thu, 27 Jun 2019 17:01:26 +0200
+
 cubicweb-file (2.2.1-1) unstable; urgency=medium
 
   * new upstream release
diff --git a/debian/rules b/debian/rules
--- a/debian/rules
+++ b/debian/rules
@@ -1,5 +1,8 @@
 #!/usr/bin/make -f
 
+export PYBUILD_NAME=cubicweb-file
+export PYBUILD_DISABLE=test
+
 %:
-	dh $@ --with python2
+	dh $@ --with python2 --buildsystem=pybuild
 



More information about the cubicweb-devel mailing list