[Python-modules-commits] [ipywidgets] 01/02: Use dh_auto_foo -- -d widgetsnbextension instead of pybuild env vars
Gordon Ball
chronitis-guest at moszumanska.debian.org
Wed Nov 30 12:30:19 UTC 2016
This is an automated email from the git hooks/post-receive script.
chronitis-guest pushed a commit to branch master
in repository ipywidgets.
commit 1de5bda2e454378bccdd31dad4562832ea2e496e
Author: Gordon Ball <gordon at chronitis.net>
Date: Wed Nov 30 12:18:45 2016 +0100
Use dh_auto_foo -- -d widgetsnbextension instead of pybuild env vars
---
debian/rules | 16 ++++++++++------
1 file changed, 10 insertions(+), 6 deletions(-)
diff --git a/debian/rules b/debian/rules
index 283ecda..1e828e4 100755
--- a/debian/rules
+++ b/debian/rules
@@ -3,24 +3,28 @@
export DH_VERBOSE=1
export LC_ALL=C.UTF-8
-export PYBUILD_AFTER_CONFIGURE=PYBUILD_AFTER_CONFIGURE="" pybuild --configure -p {version} -d ./widgetsnbextension -v --after-configure "echo widgetsnbextension configured"
-export PYBUILD_AFTER_BUILD=PYBUILD_AFTER_BUILD="" pybuild --build -p {version} -d ./widgetsnbextension -v --after-build "echo widgetsnbextension build"
-export PYBUILD_AFTER_INSTALL=PYBUILD_AFTER_INSTALL="" pybuild --install -p {version} -d ./widgetsnbextension -v --after-install "echo widgetsnbextension install"
-export PYBUILD_AFTER_TEST=PYBUILD_AFTER_TEST="" pybuild --test -p {version} -d ./widgetsnbextension -v --after-test "echo widgetsnbextension test"
-
-
%:
dh $@ --with python2,python3,sphinxdoc --buildsystem=pybuild
+override_dh_auto_configure:
+ dh_auto_configure
+ dh_auto_configure -- -d ./widgetsnbextension
+
override_dh_auto_build:
mkdir -p widgetsnbextension/widgetsnbextension/static
touch widgetsnbextension/widgetsnbextension/static/extension.js
touch widgetsnbextension/widgetsnbextension/static/extension.js.map
dh_auto_build
+ dh_auto_build -- -d ./widgetsnbextension
+
+override_dh_auto_install:
+ dh_auto_install
+ dh_auto_install -- -d ./widgetsnbextension
override_dh_auto_test:
# from docs/source/dev_testing.md
nosetests --with-coverage --cover-package=ipywidgets ipywidgets
+ # no tests in widgetsnbextension
override_dh_sphinxdoc:
ifeq (,$(findstring nodocs, $(DEB_BUILD_OPTIONS)))
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/python-modules/packages/ipywidgets.git
More information about the Python-modules-commits
mailing list