[med-svn] [Git][med-team/q2-diversity][master] Also packaging JavaScript

Steffen Möller (@moeller) gitlab at salsa.debian.org
Thu Aug 12 13:54:55 BST 2021



Steffen Möller pushed to branch master at Debian Med / q2-diversity


Commits:
6a462a18 by Steffen at 2021-08-12T14:54:47+02:00
Also packaging JavaScript

- - - - -


2 changed files:

- debian/control
- debian/rules


Changes:

=====================================
debian/control
=====================================
@@ -7,6 +7,9 @@ Build-Depends: debhelper-compat (= 13),
                dh-python,
                python3,
                python3-setuptools,
+               npm,
+               webpack,
+               libjs-d3,
                python3-nose <!nocheck>,
                qiime (>= 2019.10.0) <!nocheck>,
                q2-emperor <!nocheck>,


=====================================
debian/rules
=====================================
@@ -13,13 +13,18 @@ export PYBUILD_BEFORE_INSTALL=rm -rvf {build_dir}/q2-diversity.egg-* \
 %:
 	dh $@ --with python3 --buildsystem=pybuild
 
+override_dh_auto_build:
+	$(MAKE) all
+	dh_auto_build
+
 #FIXME: Delaying true testing to autopkgtests since QIIME2 module cannot be registered
 #       at build time.
 override_dh_auto_test:
 ifeq (,$(filter nocheck,$(DEB_BUILD_OPTIONS)))
-	dh_auto_test -- -s custom --test-args="cd {build_dir}; PYTHONPATH=`pwd` py.test-3 --cov=q2_diversity" || true
+	dh_auto_test -- -s custom --test-args="cd {build_dir}; PYTHONPATH=`pwd` py.test-3 --cov=q2_diversity"
 endif
 
 override_dh_auto_clean:
 	dh_auto_clean
 	rm -rf q2_diversity.egg-info
+	find q2_diversity -name node_modules -type d | xargs -r rm -rf



View it on GitLab: https://salsa.debian.org/med-team/q2-diversity/-/commit/6a462a18695cdd77ceb207b4764297dd801c3362

-- 
View it on GitLab: https://salsa.debian.org/med-team/q2-diversity/-/commit/6a462a18695cdd77ceb207b4764297dd801c3362
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/20210812/6ccae6be/attachment-0001.htm>


More information about the debian-med-commit mailing list