Skip to content

Commit

Permalink
includes python3 support. python3-dcmstack binary package was added w…
Browse files Browse the repository at this point in the history
…ith necessary changes to debian/{control,rules}
  • Loading branch information
yarikoptic committed Oct 15, 2018
1 parent 0601e44 commit b9ce891
Show file tree
Hide file tree
Showing 3 changed files with 30 additions and 5 deletions.
3 changes: 2 additions & 1 deletion debian/changelog
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
dcmstack (0.7-1) unstable; urgency=medium

* Fresh upstream release
+ includes python3 support
+ includes python3 support. python3-dcmstack binary package was added
with necessary changes to debian/{control,rules}
- debian/patches/* - upstreamed now

-- Yaroslav Halchenko <[email protected]> Mon, 15 Oct 2018 16:48:07 -0400
Expand Down
26 changes: 25 additions & 1 deletion debian/control
Original file line number Diff line number Diff line change
Expand Up @@ -16,16 +16,25 @@ Build-Depends: debhelper (>= 9),
python-numpy,
python-numpydoc,
python-setuptools,
python3-all,
python3-dicom (>= 0.9.7~),
python3-docutils,
python3-mock,
python3-nibabel (>= 2.0~),
python3-nose,
python3-numpy,
python3-numpydoc,
python3-setuptools,
python-sphinx (>= 1.0.7+dfsg-1~)
Standards-Version: 4.1.1
Homepage: https://github.com/moloney/dcmstack
Vcs-Git: https://github.com/neurodebian/dcmstack
Vcs-Browser: https://github.com/neurodebian/dcmstack
X-Python-Version: >= 2.6
X-Python3-Version: >= 3.2

Package: python-dcmstack
Architecture: all
Section: python
Depends: python-dicom (>= 0.9.7~),
python-nibabel (>= 2.0~),
python-numpy,
Expand All @@ -40,3 +49,18 @@ Description: DICOM to NIfTI conversion
.
This package provides the Python package, and command line tools (dcmstack,
and nitool), as well as the documentation in HTML format.

Package: python3-dcmstack
Architecture: all
Depends: python3-dicom (>= 0.9.7~),
python3-nibabel (>= 2.0~),
python3-numpy,
${misc:Depends},
${python3:Depends},
Provides: ${python3:Provides}
Description: DICOM to NIfTI conversion - python3 package
DICOM to NIfTI conversion with the added ability to extract and summarize
meta data from the source DICOMs. The meta data can be injected into a
NIfTI header extension or written out as a JSON formatted text file.
.
This package provides the Python3 package.
6 changes: 3 additions & 3 deletions debian/rules
Original file line number Diff line number Diff line change
Expand Up @@ -15,11 +15,11 @@ export PYBUILD_NAME = dcmstack

# one ring to rule them all ...
%:
dh $@ --with python2,sphinxdoc --buildsystem=pybuild
dh $@ --with python2,python3,sphinxdoc --buildsystem=pybuild

override_dh_auto_build:
dh_auto_build
override_dh_installdocs:
PYTHONPATH=. http_proxy='127.0.0.1:9' sphinx-build -N -bhtml doc/ build/html
dh_installdocs

override_dh_installman:
mkdir -p build/man
Expand Down

0 comments on commit b9ce891

Please sign in to comment.