[135128] trunk/dports/python

eborisch at macports.org eborisch at macports.org
Wed Apr 15 16:02:25 PDT 2015


Revision: 135128
          https://trac.macports.org/changeset/135128
Author:   eborisch at macports.org
Date:     2015-04-15 16:02:25 -0700 (Wed, 15 Apr 2015)
Log Message:
-----------
py-pkgconfig: New port.

Modified Paths:
--------------
    trunk/dports/python/py-pkgconfig/Portfile

Added Paths:
-----------
    trunk/dports/python/py-pkgconfig/

Modified: trunk/dports/python/py-pkgconfig/Portfile
===================================================================
--- trunk/dports/python/py-pydicom/Portfile	2015-04-15 13:46:04 UTC (rev 135092)
+++ trunk/dports/python/py-pkgconfig/Portfile	2015-04-15 23:02:25 UTC (rev 135128)
@@ -1,58 +1,37 @@
 # -*- 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$
 
-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.9
-python.versions     26 27
-python.default_version 27
-platforms           darwin
-license             MIT BSD
-maintainers         eborisch \
-                    openmaintainer
-supported_archs     noarch
+PortSystem              1.0
+PortGroup               python 1.0
+PortGroup               github 1.0
+github.setup            matze pkgconfig 1.1.0 v
+name                    py-pkgconfig
+python.versions         26 27 33 34
+python.default_version  27
+platforms               darwin
+license                 MIT
+maintainers             nomaintainer
+supported_archs         noarch
 
-description         Python Module for working with DICOM files
+description             Python module to interface with pkg-config.
 
-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.
+long_description        ${description} It can be used to check if a package\
+                        exists, check if a package meets certain version\
+                        requirements, query CFLAGS and LDFLAGS, and parse the\
+                        output to build extensions with setup.py.
 
-homepage            http://www.pydicom.org
-
 checksums \
-    rmd160  8505bfd7f10f861508e89736ec8771834f2f6492 \
-    sha256  c42cbc6d1177ce31bfe2d8aba379c8203cd42e8e1c6a9410f67d8e224bf464a1
+    rmd160  3e0396838a04166e50be9c01c88a5b963dbf0cd5 \
+    sha256  03dd0cd84255b1b00b316b3db37e9b129a5621fc9c0d931b942678997fc73f93
 
 if {${name} ne ${subport}} {
-    depends_lib-append      port:py${python.version}-numpy
-    depends_build-append    port:py${python.version}-sphinx
+    depends_build-append    port:py${python.version}-nose
+    depends_run-append      port:pkgconfig
 
-    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}
+        file copy ${worksrcpath}/LICENSE ${DOCDIR}
     }
 }
 
-livecheck.regex       {pydicom-(\d+(?:\.\d+)*).tar.gz}
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.macosforge.org/pipermail/macports-changes/attachments/20150415/144e64c3/attachment.html>


More information about the macports-changes mailing list