Commit fbc916b4 authored by Ondřej Nový's avatar Ondřej Nový

d/rules: Don't run tests with nocheck build profile

parent 5fea9ee9
......@@ -7,6 +7,7 @@ python-flake8 (3.5.0-2) UNRELEASED; urgency=medium
* Convert git repository from git-dpm to gbp layout
* Backport compatibility with pycodestyle 2.4.0 from upstream
(From Ubuntu)
* d/rules: Don't run tests with nocheck build profile
-- Ondřej Nový <onovy@debian.org> Tue, 13 Feb 2018 10:07:33 +0100
......
......@@ -10,11 +10,13 @@ override_dh_auto_test:
PYBUILD_SYSTEM=custom PYBUILD_TEST_ARGS="{interpreter} setup.py test" dh_auto_test
override_dh_auto_install:
ifeq (,$(filter nocheck,$(DEB_BUILD_OPTIONS)))
dh_auto_install
rm -rf debian/python-flake8/usr/bin
mkdir -p debian/flake8/usr
mv $(CURDIR)/debian/python3-flake8/usr/bin $(CURDIR)/debian/flake8/usr/
endif
override_dh_installchangelogs:
rm -f debian/upstream-changelog
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment