[med-svn] [Git][med-team/multicore-tsne][master] Fix build

Andreas Tille gitlab at salsa.debian.org
Tue Mar 17 22:08:52 GMT 2020



Andreas Tille pushed to branch master at Debian Med / multicore-tsne


Commits:
1905b392 by Andreas Tille at 2020-03-17T23:08:32+01:00
Fix build

- - - - -


2 changed files:

- debian/control
- debian/rules


Changes:

=====================================
debian/control
=====================================
@@ -3,7 +3,16 @@ Section: science
 Priority: optional
 Maintainer: Debian Med Packaging Team <debian-med-packaging at lists.alioth.debian.org>
 Uploaders: Andreas Tille <tille at debian.org>
-Build-Depends: debhelper-compat (= 12)
+Build-Depends: debhelper-compat (= 12),
+               dh-python,
+               cmake,
+               cython3,
+               python3,
+               python3-setuptools,
+               python3-cffi <!nocheck>,
+               python3-numpy <!nocheck>,
+               python3-scipy <!nocheck>,
+               python3-sklearn <!nocheck>
 Standards-Version: 4.5.0
 Vcs-Browser: https://salsa.debian.org/med-team/multicore-tsne
 Vcs-Git: https://salsa.debian.org/med-team/multicore-tsne.git
@@ -11,7 +20,13 @@ Homepage: https://github.com/DmitryUlyanov/Multicore-TSNE
 
 Package: multicore-tsne
 Architecture: any
-Depends: ${shlibs:Depends}, ${misc:Depends}
+Depends: ${shlibs:Depends},
+         ${misc:Depends},
+         ${python3:Depends},
+         python3-cffi,
+         python3-numpy,
+         python3-scipy,
+         python3-sklearn
 Description: parallel t-SNE implementation with python and torch wrappers
  This is a multicore modification of Barnes-Hut t-SNE by L. Van der Maaten
  with python and Torch CFFI-based wrappers. This code also works faster


=====================================
debian/rules
=====================================
@@ -18,14 +18,10 @@ include /usr/share/dpkg/default.mk
 # 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



View it on GitLab: https://salsa.debian.org/med-team/multicore-tsne/-/commit/1905b3926bc35eef39d6cc7721817021e847c644

-- 
View it on GitLab: https://salsa.debian.org/med-team/multicore-tsne/-/commit/1905b3926bc35eef39d6cc7721817021e847c644
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/20200317/579d5c18/attachment-0001.html>


More information about the debian-med-commit mailing list