Commit 9dfe26d6 authored by Liubov Chuprikova's avatar Liubov Chuprikova
Browse files

Add dependency to JS library

parent cf1fbfc2
Loading
Loading
Loading
Loading
+2 −0
Original line number Diff line number Diff line
@@ -10,6 +10,7 @@ Build-Depends: debhelper (>= 12~),
               python3-pytest-cov,
               python3-pandas,
               python3-skbio,
               libjs-jquery-datatables,
               qiime,
               q2templates,
               q2-types
@@ -27,6 +28,7 @@ Depends: ${shlibs:Depends},
         python3-scipy,
         python3-pandas,
         python3-skbio,
         libjs-jquery-datatables,
         qiime,
         q2templates,
         q2-types
+11 −1
Original line number Diff line number Diff line
@@ -3,7 +3,17 @@
# DH_VERBOSE := 1
export LC_ALL=C.UTF-8

export PYBUILD_BEFORE_INSTALL=rm -vf {build_dir}/.coverage*
# we need datatables.min.js for the tests
export PYBUILD_BEFORE_TEST=ln -s \
	/usr/share/javascript/jquery-datatables/css/jquery.dataTables.min.css \
	{build_dir}/q2_metadata/templates/tabulate/datatables.min.js

export PYBUILD_BEFORE_INSTALL=rm -vf {build_dir}/.coverage*; \
	rm {build_dir}/q2_metadata/templates/tabulate/datatables.min.js

export PYBUILD_AFTER_INSTALL=ln -s \
	/usr/share/javascript/jquery-datatables/css/jquery.dataTables.min.css \
	{destdir}/{install_dir}/q2_metadata/templates/tabulate/datatables.min.js

%:
	dh $@ --with python3 --buildsystem=pybuild