Volans has uploaded a new change for review. ( 
https://gerrit.wikimedia.org/r/373381 )

Change subject: Upstream release 1.0.0
......................................................................

Upstream release 1.0.0

* Update Build-Depends accordingly
* Migrate build system to pybuild
* Override dh_auto_test to only run unit tests, to avoid the additional
  requirements (not all available in Debian) for the static analysis
  tool.

Change-Id: I285f5b1facce520af751d30bbd302dae4317d88f
---
M debian/changelog
M debian/control
M debian/rules
3 files changed, 32 insertions(+), 5 deletions(-)


  git pull ssh://gerrit.wikimedia.org:29418/operations/software/cumin 
refs/changes/81/373381/1

diff --git a/debian/changelog b/debian/changelog
index 2bff63f..ab4ded8 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,9 @@
+cumin (1.0.0-1) jessie-wikimedia; urgency=medium
+
+  * 1.0.0 upstream release.
+
+ -- Riccardo Coccioli <rcocci...@wikimedia.org>  Wed, 23 Aug 2017 23:02:24 
+0200
+
 cumin (0.0.2-1) jessie-wikimedia; urgency=medium
 
   * Upgrade to version 0.0.2.
diff --git a/debian/control b/debian/control
index c3de544..404433d 100644
--- a/debian/control
+++ b/debian/control
@@ -3,8 +3,24 @@
 Priority: optional
 Maintainer: Riccardo Coccioli <rcocci...@wikimedia.org>
 Standards-Version: 3.9.6
-Build-Depends: debhelper (>= 9), dh-python, python-all (>= 2.7),
-  python-setuptools, python-tqdm
+Build-Depends:
+  clustershell,
+  debhelper (>= 10),
+  dh-python (>= 2.20160609~),
+  python-all (>= 2.7),
+  python-colorama,
+  python-flake8,
+  python-mock (>= 2.0.0),
+  python-pyparsing,
+  python-pytest,
+  python-pytest-cov,
+  python-pytest-runner,
+  python-requests,
+  python-requests-mock,
+  python-setuptools,
+  python-setuptools-scm,
+  python-tqdm,
+  python-yaml
 Homepage: https://github.com/wikimedia/cumin
 X-Python-Version: >= 2.7
 
diff --git a/debian/rules b/debian/rules
index c78aa71..4365ac2 100755
--- a/debian/rules
+++ b/debian/rules
@@ -1,6 +1,11 @@
 #!/usr/bin/make -f
-DPKG_EXPORT_BUILDFLAGS = 1
-include /usr/share/dpkg/default.mk
+
+export PYBUILD_NAME = cumin
+export PYBUILD_TEST_PYTEST = 1
 
 %:
-       dh $@ --with python2 --buildsystem=python_distutils
+       dh $@ --with python2 --buildsystem=pybuild
+
+override_dh_auto_test:
+       py.test --strict --cov-report term-missing --cov=cumin cumin/tests/unit
+

-- 
To view, visit https://gerrit.wikimedia.org/r/373381
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings

Gerrit-MessageType: newchange
Gerrit-Change-Id: I285f5b1facce520af751d30bbd302dae4317d88f
Gerrit-PatchSet: 1
Gerrit-Project: operations/software/cumin
Gerrit-Branch: debian
Gerrit-Owner: Volans <rcocci...@wikimedia.org>

_______________________________________________
MediaWiki-commits mailing list
MediaWiki-commits@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits

Reply via email to