[med-svn] [Git][med-team/gneiss][master] Add build depends as well as build with pybuild

Shayan Doust gitlab at salsa.debian.org
Wed Jul 8 22:35:31 BST 2020



Shayan Doust pushed to branch master at Debian Med / gneiss


Commits:
e72b3abd by Shayan Doust at 2020-07-08T22:35:11+01:00
Add build depends as well as build with pybuild

- - - - -


2 changed files:

- debian/control
- debian/rules


Changes:

=====================================
debian/control
=====================================
@@ -3,7 +3,21 @@ Maintainer: Debian Med Packaging Team <debian-med-packaging at lists.alioth.debian.
 Uploaders: Shayan Doust <hello at shayandoust.me>
 Section: science
 Priority: optional
-Build-Depends: debhelper-compat (= 13)
+Build-Depends: debhelper-compat (= 13),
+               dh-python,
+               python3-all,
+               python3-setuptools,
+               python3-numpy,
+               python3-nose,
+               python3-pandas,
+               python3-matplotlib,
+               python3-skbio,
+               python3-patsy,
+               python3-biom-format,
+               python3-seaborn,
+               python3-scipy,
+               python3-statsmodels,
+               python3-h5py
 Standards-Version: 4.5.0
 Vcs-Browser: https://salsa.debian.org/med-team/gneiss
 Vcs-Git: https://salsa.debian.org/med-team/gneiss.git
@@ -11,8 +25,18 @@ Homepage: https://github.com/biocore/gneiss
 
 Package: gneiss
 Architecture: any
-Depends: ${shlibs:Depends},
-         ${misc:Depends}
+Depends: ${python3:Depends},
+         ${misc:Depends},
+	 python3-numpy,
+	 python3-ipython,
+	 python3-matplotlib,
+	 python3-pandas,
+	 python3-scipy,
+	 python3-nose,
+	 python3-skbio,
+	 python3-statsmodels,
+	 python3-biom-format,
+	 python3-seaborn
 Description: data analysis and visualisation toolbox for high dimensional proportions
  Canonically pronounced as 'nice', gneiss is a compositional data
  analysis and visualisation toolbox designed for analysing high


=====================================
debian/rules
=====================================
@@ -4,28 +4,13 @@
 export LC_ALL=C.UTF-8
 
 include /usr/share/dpkg/default.mk
-# this provides:
-# DEB_SOURCE: the source package name
-# DEB_VERSION: the full version of the package (epoch + upstream vers. + revision)
-# DEB_VERSION_EPOCH_UPSTREAM: the package's version without the Debian revision
-# DEB_VERSION_UPSTREAM_REVISION: the package's version without the Debian epoch
-# DEB_VERSION_UPSTREAM: the package's upstream version
-# DEB_DISTRIBUTION: the distribution(s) listed in the current entry of debian/changelog
-# SOURCE_DATE_EPOCH: the source release date as seconds since the epoch, as
-#                    specified by <https://reproducible-builds.org/specs/source-date-epoch/>
 
 # for hardening you might like to uncomment this:
 # export DEB_BUILD_MAINT_OPTIONS=hardening=+all
 
 %:
-	dh $@
+	dh $@ --with python3 --buildsystem=pybuild
 
-### When overriding auto_test make sure DEB_BUILD_OPTIONS will be respected
-#override_dh_auto_test:
-#ifeq (,$(filter nocheck,$(DEB_BUILD_OPTIONS)))
-#	do_stuff_for_testing
-#endif
-
-### If you **really** can not use uscan (even not with mode=git) use a debian/get-orig-script
-#get-orig-source:
-#	. debian/get-orig-source
+override_dh_auto_build:
+	dh_auto_build
+	cp -rf gneiss/regression/tests/data/ .pybuild/*/build/gneiss/regression/tests/



View it on GitLab: https://salsa.debian.org/med-team/gneiss/-/commit/e72b3abdd0241ab559a14a9e810c85a6eca31ede

-- 
View it on GitLab: https://salsa.debian.org/med-team/gneiss/-/commit/e72b3abdd0241ab559a14a9e810c85a6eca31ede
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/20200708/87d4cfc1/attachment-0001.html>


More information about the debian-med-commit mailing list