[135037] trunk/dports/python/py-pydicom/Portfile
eborisch at macports.org
eborisch at macports.org
Mon Apr 13 17:08:40 PDT 2015
Revision: 135037
https://trac.macports.org/changeset/135037
Author: eborisch at macports.org
Date: 2015-04-13 17:08:39 -0700 (Mon, 13 Apr 2015)
Log Message:
-----------
py-pydicom: googlecode migration and update to 0.9.9.
Modified Paths:
--------------
trunk/dports/python/py-pydicom/Portfile
Modified: trunk/dports/python/py-pydicom/Portfile
===================================================================
--- trunk/dports/python/py-pydicom/Portfile 2015-04-13 23:36:23 UTC (rev 135036)
+++ trunk/dports/python/py-pydicom/Portfile 2015-04-14 00:08:39 UTC (rev 135037)
@@ -3,9 +3,10 @@
PortSystem 1.0
PortGroup python 1.0
-
+PortGroup github 1.0
+github.setup darcymason pydicom 0.9.9 v
name py-pydicom
-version 0.9.8
+version 0.9.9
python.versions 26 27
python.default_version 27
platforms darwin
@@ -23,16 +24,35 @@
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}
+homepage http://www.pydicom.org
checksums \
- rmd160 2252cbdf2dd52a733658b689a53ca8e82dbf7e9e \
- sha256 8294ad677c6b6ffefe22806913cb0dd71c3db395a478335b16f14cd9a3c8bd78
+ rmd160 8505bfd7f10f861508e89736ec8771834f2f6492 \
+ sha256 c42cbc6d1177ce31bfe2d8aba379c8203cd42e8e1c6a9410f67d8e224bf464a1
if {${name} ne ${subport}} {
- depends_lib-append port:py${python.version}-numpy
+ depends_lib-append port:py${python.version}-numpy
+ depends_build-append port:py${python.version}-sphinx
+
+ worksrcdir ${distname}/source
+
+ post-extract {
+ reinplace s/sphinx-build/sphinx-build-${python.branch}/ \
+ ../docs/Makefile
+ }
+
+ post-build {
+ system -W ${worksrcpath}/../docs/ \
+ "make html"
+ }
+
+ post-destroot {
+ set DOCDIR ${destroot}${prefix}/share/doc/${subport}
+ xinstall -d ${DOCDIR}
+ file copy ${worksrcpath}/dicom/license.txt ${DOCDIR}
+ file copy ${worksrcpath}/../docs/release-notes.txt ${DOCDIR}
+ file copy ${worksrcpath}/../docs/_build/html ${DOCDIR}
+ }
}
livecheck.regex {pydicom-(\d+(?:\.\d+)*).tar.gz}
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.macosforge.org/pipermail/macports-changes/attachments/20150413/773609b8/attachment-0001.html>
More information about the macports-changes
mailing list