# -*- 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 114324 2013-12-05 08:44:51Z ryandesign@macports.org $

PortSystem          1.0
PortGroup           python 1.0

name                py-pydicom
version             0.9.8
python.versions     26 27
python.default_version 27
platforms           darwin
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 \
    rmd160  2252cbdf2dd52a733658b689a53ca8e82dbf7e9e \
    sha256  8294ad677c6b6ffefe22806913cb0dd71c3db395a478335b16f14cd9a3c8bd78

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

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