source: trunk/dports/python/py-pydicom/Portfile

Last change on this file was 135037, checked in by eborisch@…, 2 years ago

py-pydicom: googlecode migration and update to 0.9.9.

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 1.9 KB
Line 
1# -*- 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
2# $Id: Portfile 135037 2015-04-14 00:08:39Z ryandesign@macports.org $
3
4PortSystem          1.0
5PortGroup           python 1.0
6PortGroup           github 1.0
7github.setup        darcymason pydicom 0.9.9 v
8name                py-pydicom
9version             0.9.9
10python.versions     26 27
11python.default_version 27
12platforms           darwin
13license             MIT BSD
14maintainers         eborisch \
15                    openmaintainer
16supported_archs     noarch
17
18description         Python Module for working with DICOM files
19
20long_description    pydicom is a pure python package for working with DICOM \
21                    files. It was made for inspecting and modifying DICOM \
22                    files in an easy pythonic way. The modifications can be \
23                    written again to a new file. As a pure python package, it \
24                    should run anywhere python runs without any other \
25                    requirements.
26
27homepage            http://www.pydicom.org
28
29checksums \
30    rmd160  8505bfd7f10f861508e89736ec8771834f2f6492 \
31    sha256  c42cbc6d1177ce31bfe2d8aba379c8203cd42e8e1c6a9410f67d8e224bf464a1
32
33if {${name} ne ${subport}} {
34    depends_lib-append      port:py${python.version}-numpy
35    depends_build-append    port:py${python.version}-sphinx
36
37    worksrcdir          ${distname}/source
38
39    post-extract {
40        reinplace s/sphinx-build/sphinx-build-${python.branch}/ \
41            ../docs/Makefile
42    }
43
44    post-build {
45        system -W ${worksrcpath}/../docs/ \
46            "make html"
47    }
48   
49    post-destroot {
50        set DOCDIR ${destroot}${prefix}/share/doc/${subport}
51        xinstall -d ${DOCDIR}
52        file copy ${worksrcpath}/dicom/license.txt ${DOCDIR}
53        file copy ${worksrcpath}/../docs/release-notes.txt ${DOCDIR}
54        file copy ${worksrcpath}/../docs/_build/html ${DOCDIR}
55    }
56}
57
58livecheck.regex       {pydicom-(\d+(?:\.\d+)*).tar.gz}
Note: See TracBrowser for help on using the repository browser.