# -*- 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
# $Id: Portfile 90690 2012-03-12 16:12:19Z eborisch@macports.org $

PortSystem          1.0
PortGroup           python 1.0

name                py-pydicom
version             0.9.7
python.versions     24 25 26 27
python.default_version 27
platforms           darwin
categories          python
license             MIT BSD
maintainers         eborisch \
                    openmaintainer
supported_archs     noarch

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 \
                    requirements.

homepage            http://code.google.com/p/pydicom/
master_sites        http://pydicom.googlecode.com/files/
distname            pydicom-${version}

checksums           md5     f367d71e47170329ca75d81cb68fabaa \
                    sha1    4f04579c6066fdffb43030fa319f72f2f5c2c209 \
                    rmd160  efc05775815ac3e1191f05fa70cb0949fb359101

if {${subport} != ${name}} {
    depends_lib-append  port:py${python.version}-numpy
}

livecheck.regex       {pydicom-(\d+(?:\.\d+)*).tar.gz}
