[med-svn] [Git][med-team/python-dicompylercore][master] Fix build, add dependencies

Andreas Tille gitlab at salsa.debian.org
Wed Jan 22 14:50:01 GMT 2020



Andreas Tille pushed to branch master at Debian Med / python-dicompylercore


Commits:
1c63679e by Andreas Tille at 2020-01-22T15:49:43+01:00
Fix build, add dependencies

- - - - -


2 changed files:

- debian/control
- debian/rules


Changes:

=====================================
debian/control
=====================================
@@ -1,12 +1,16 @@
 Source: python-dicompylercore
-Section: science
+Section: python
 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),
                dh-python,
                python3,
-               python3-setuptools
+               python3-setuptools,
+               python3-matplotlib <!nocheck>,
+               python3-pydicom <!nocheck>,
+               python3-shapely <!nocheck>,
+               python3-skimage <!nocheck>
 Standards-Version: 4.5.0
 Vcs-Browser: https://salsa.debian.org/med-team/python-dicompylercore
 Vcs-Git: https://salsa.debian.org/med-team/python-dicompylercore.git
@@ -16,7 +20,14 @@ Package: python3-dicompylercore
 Architecture: any
 Depends: ${python3:Depends},
          ${shlibs:Depends},
-         ${misc:Depends}
+         ${misc:Depends},
+         python3-numpy,
+         python3-pydicom,
+         python3-matplotlib,
+         python3-six,
+         python3-pil,
+         python3-shapely,
+         python3-skimage
 Description: core radiation therapy modules for DICOM / DICOM RT used by dicompyler
  This package provides a Python3 library of core radiation therapy
  modules for DICOM / DICOM RT used by dicompyler. It includes:


=====================================
debian/rules
=====================================
@@ -1,31 +1,6 @@
 #!/usr/bin/make -f
 
 # DH_VERBOSE := 1
-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 $@
-
-### 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
+	dh $@ --with python3 --buildsystem=pybuild



View it on GitLab: https://salsa.debian.org/med-team/python-dicompylercore/commit/1c63679e43c9a060bfdd4df4b15731a7702b77e4

-- 
View it on GitLab: https://salsa.debian.org/med-team/python-dicompylercore/commit/1c63679e43c9a060bfdd4df4b15731a7702b77e4
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/20200122/2d9d659c/attachment-0001.html>


More information about the debian-med-commit mailing list