# -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:ft=tcl:et:sw=4:ts=4:sts=4
python.versions 24 25 26 27
python.default_version 27
description Python Module for working with DICOM files
long_description pydicom is a pure python package for working with DICOM \
files. It was made for inspecting and modifying DICOM \
files in an easy pythonic way. The modifications can be \
written again to a new file. As a pure python package, it \
should run anywhere python runs without any other \
homepage http://code.google.com/p/pydicom/
master_sites http://pydicom.googlecode.com/files/
distname pydicom-${version}
checksums md5 61e18adcaeb1ae98c8282c289fb6e851 \
sha1 cd8739c53e43b8ff2113debe70cea74e95340467 \
rmd160 d6f80a0fd632714359eb24b79b15a01aed16e570
if {${subport} != ${name}} {
# Patches from upstream revision 156044badd:
# See http://code.google.com/p/pydicom/issues/detail?id=96
patchfiles patch-dicom-UID.py.diff \
patch-dicom-test-_write_stds.py.diff \
patch-dicom-test-test_UID.py.diff
# Patches from upstream revision 861d859b4f:
# See http://code.google.com/p/pydicom/issues/detail?id=97
patchfiles-append patch-dicom-filereader.py.diff
if {${python.version} != 24} {
set depversion py${python.version}
depends_lib-append port:${depversion}-numpy
livecheck.regex {pydicom-(\d+(?:\.\d+)*).tar.gz}