[140193] trunk/dports/python

petr at macports.org petr at macports.org
Fri Sep 11 08:03:49 PDT 2015


Revision: 140193
          https://trac.macports.org/changeset/140193
Author:   petr at macports.org
Date:     2015-09-11 08:03:49 -0700 (Fri, 11 Sep 2015)
Log Message:
-----------
py-qdarkstyle: new port

Added Paths:
-----------
    trunk/dports/python/py-qdarkstyle/
    trunk/dports/python/py-qdarkstyle/Portfile

Added: trunk/dports/python/py-qdarkstyle/Portfile
===================================================================
--- trunk/dports/python/py-qdarkstyle/Portfile	                        (rev 0)
+++ trunk/dports/python/py-qdarkstyle/Portfile	2015-09-11 15:03:49 UTC (rev 140193)
@@ -0,0 +1,50 @@
+# -*- 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
+
+set _name           QDarkStyle
+set _n              [string index ${_name} 0]
+
+name                py-qdarkstyle
+version             2.1
+categories-append   devel
+platforms           darwin
+supported_archs     noarch
+license             MIT
+
+maintainers         petr openmaintainer
+
+description         A dark stylesheet for PyQt/PySide applications
+
+long_description    This package provides a dark style sheet for \
+                    PySide/PyQt4/PyQt5 applications.
+
+homepage            https://github.com/ColinDuquesnoy/QDarkStyleSheet
+
+distname            ${_name}-${version}
+master_sites        https://pypi.python.org/packages/source/${_n}/${_name}/
+
+checksums           md5     0f50dd5f1c7ed07e3547115a5e614ea6 \
+                    rmd160  f845a22dd31936b51ecfb7a184ff411d458ff0cf \
+                    sha256  137eb8f707ddc954224ec28bfa03d1e2d5db8fbde0ad2f622294dfed36f9d6ea
+
+python.versions     27 34
+
+if {${name} ne ${subport}} {
+    depends_build-append    port:py${python.version}-setuptools
+
+    # add COPYING
+    post-destroot {
+        set dest_doc ${destroot}${prefix}/share/doc/${subport}
+        xinstall -d ${dest_doc}
+        xinstall -m 644 ${worksrcpath}/COPYING ${dest_doc}
+    }
+
+    livecheck.type  none
+} else {
+    livecheck.type  regex
+    livecheck.url   https://pypi.python.org/pypi/${_name}/json
+    livecheck.regex "\"${_name}-(\[.\\d\]+)\\${extract.suffix}\""
+}


Property changes on: trunk/dports/python/py-qdarkstyle/Portfile
___________________________________________________________________
Added: svn:keywords
   + Id
Added: svn:eol-style
   + native
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.macosforge.org/pipermail/macports-changes/attachments/20150911/7fe67b61/attachment-0001.html>


More information about the macports-changes mailing list