jenkins-bot has submitted this change and it was merged. ( 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, 38 insertions(+), 5 deletions(-) Approvals: jenkins-bot: Verified Volans: Looks good to me, approved diff --git a/debian/changelog b/debian/changelog index 2bff63f..b8b974e 100644 --- a/debian/changelog +++ b/debian/changelog @@ -1,3 +1,15 @@ +cumin (1.0.0-1) jessie-wikimedia; urgency=medium + + * 1.0.0 upstream release. + * Add new Build-Depends required by upstream + * Bump debhelper to >= 10 + * Migrate build system to pybuild + * Use pytest to run the tests + * Override dh_auto_test to only run unit tests, to avoid the additional + dependencies for the other static analysis tools. + + -- 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: merged Gerrit-Change-Id: I285f5b1facce520af751d30bbd302dae4317d88f Gerrit-PatchSet: 2 Gerrit-Project: operations/software/cumin Gerrit-Branch: debian Gerrit-Owner: Volans <rcocci...@wikimedia.org> Gerrit-Reviewer: Faidon Liambotis <fai...@wikimedia.org> Gerrit-Reviewer: Gehel <guillaume.leder...@wikimedia.org> Gerrit-Reviewer: Giuseppe Lavagetto <glavage...@wikimedia.org> Gerrit-Reviewer: Volans <rcocci...@wikimedia.org> Gerrit-Reviewer: jenkins-bot <> _______________________________________________ MediaWiki-commits mailing list MediaWiki-commits@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits