[med-svn] [Git][med-team/emperor][master] Run tests for python3-emperor
Liubov Chuprikova
gitlab at salsa.debian.org
Fri Jul 19 21:01:57 BST 2019
Liubov Chuprikova pushed to branch master at Debian Med / emperor
Commits:
005066bb by Liubov Chuprikova at 2019-07-19T20:01:30Z
Run tests for python3-emperor
- - - - -
4 changed files:
- debian/control
- + debian/patches/do_not_build_scripts.patch
- debian/patches/series
- debian/rules
Changes:
=====================================
debian/control
=====================================
@@ -19,7 +19,8 @@ Build-Depends: debhelper (>= 12~),
python3-skbio,
python3-future,
python3-click,
- jsdoc-toolkit
+ jsdoc-toolkit,
+ python3-notebook
Standards-Version: 4.4.0
Homepage: https://biocore.github.io/emperor/
Vcs-Browser: https://salsa.debian.org/med-team/emperor
=====================================
debian/patches/do_not_build_scripts.patch
=====================================
@@ -0,0 +1,10 @@
+--- a/setup.py
++++ b/setup.py
+@@ -62,7 +62,6 @@
+ maintainer_email=__email__,
+ url='http://github.com/biocore/emperor',
+ packages=find_packages(),
+- scripts=['scripts/make_emperor.py'],
+ package_data={
+ 'emperor': ['support_files/vendor/js/three.js-plugins/*.js',
+ 'support_files/vendor/js/*.js',
=====================================
debian/patches/series
=====================================
@@ -1,2 +1,3 @@
do_not_use_custom_numpydoc.patch
correct_jsdoc_arguments.patch
+do_not_build_scripts.patch
=====================================
debian/rules
=====================================
@@ -5,16 +5,20 @@
export PYBUILD_NAME=emperor
-
export PYBUILD_AFTER_BUILD_python3=python{version} setup.py develop --install-dir {build_dir}; \
export PYTHONPATH={build_dir}:$(PYTHONPATH); \
- $(MAKE) -C doc html
+ $(MAKE) -C doc html; \
+ cp -rv {dir}/tests/test_data {build_dir}/tests
+
+export PYBUILD_DISABLE_python2=test
+
+export PYBUILD_BEFORE_INSTALL_python3=rm -rvf {build_dir}/emperor.egg* \
+ {build_dir}/site.py {build_dir}/easy-install.pth \
+ {build_dir}/f* {build_dir}/pasteurize {build_dir}/*.py
%:
dh $@ --with python2,python3,sphinxdoc --buildsystem=pybuild
-override_dh_auto_test:
-
override_dh_auto_clean:
dh_auto_clean
cd $(CURDIR)/doc && make clean
View it on GitLab: https://salsa.debian.org/med-team/emperor/commit/005066bba07377ec6895325678eb0339224c3745
--
View it on GitLab: https://salsa.debian.org/med-team/emperor/commit/005066bba07377ec6895325678eb0339224c3745
You're receiving this email because of your account on salsa.debian.org.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://alioth-lists.debian.net/pipermail/debian-med-commit/attachments/20190719/2124cbc6/attachment-0001.html>
More information about the debian-med-commit
mailing list