summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPicca Frédéric-Emmanuel <picca@debian.org>2021-09-02 18:48:11 +0200
committerPicca Frédéric-Emmanuel <picca@debian.org>2021-09-02 18:48:11 +0200
commita089ce9657512c5efdf47d2bc25ec9d9fc08a326 (patch)
tree7610ba38f40e2d6d326ec34224b4362ae9ab8aa5
parentdf5eddef2f1b738a613668b406bcf7e7a6a43f51 (diff)
refresh packaging for debhelper level 13
-rw-r--r--debian/changelog8
-rw-r--r--debian/control5
-rwxr-xr-xdebian/rules14
3 files changed, 16 insertions, 11 deletions
diff --git a/debian/changelog b/debian/changelog
index 55c00de..cf3af13 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,11 @@
+lmfit-py (1.0.2-1) UNRELEASED; urgency=medium
+
+ * New upstream version 1.0.2
+ * d/control: Used dh-sequence-X
+ * d/rules: Simplified thanks to dh-sequence-X
+
+ -- Picca Frédéric-Emmanuel <picca@debian.org> Thu, 02 Sep 2021 18:26:51 +0200
+
lmfit-py (1.0.1-6) unstable; urgency=medium
* Team upload
diff --git a/debian/control b/debian/control
index 284e499..b111ae2 100644
--- a/debian/control
+++ b/debian/control
@@ -6,8 +6,11 @@ Section: science
Priority: optional
Build-Depends: debhelper-compat (= 12),
dh-python,
+ dh-sequence-numpy3,
+ dh-sequence-python3,
+ dh-sequence-sphinxdoc <!nodoc>,
python3-all,
- python3-asteval(>=0.9.16),
+ python3-asteval(>= 0.9.21),
python3-ipython <!nodoc>,
python3-numpy,
python3-pandas,
diff --git a/debian/rules b/debian/rules
index f9f757d..0cc0aa5 100755
--- a/debian/rules
+++ b/debian/rules
@@ -5,19 +5,13 @@
export DH_VERBOSE=1
export PYBUILD_NAME=lmfit
+
export PYBUILD_TEST_ARGS=-k 'not speed and not test_model_nan_policy'
+export PYBUILD_BEFORE_TEST=cp -r NIST_STRD examples {build_dir}
+export PYBUILD_AFTER_TEST=rm -fr {build_dir}/NIST_STRD {build_dir}/examples; find {build_dir} -name "*.sav" -delete
%:
- dh $@ --with python3,sphinxdoc --buildsystem=pybuild
-
-override_dh_auto_install:
- dh_auto_install
- dh_numpy3
-
-override_dh_auto_test: export PYBUILD_BEFORE_TEST=cp -r NIST_STRD examples {build_dir}
-override_dh_auto_test: export PYBUILD_AFTER_TEST=rm -fr {build_dir}/NIST_STRD {build_dir}/examples; find {build_dir} -name "*.sav" -delete
-override_dh_auto_test:
- dh_auto_test
+ dh $@ --buildsystem=pybuild
override_dh_installdocs-indep:
PYTHONPATH=. http_proxy='localhost' python3 -m sphinx -N -bhtml -D mathjax_path="/usr/share/javascript/mathjax/MathJax.js" doc/ build/html # HTML generator