[140626] trunk/dports/python/py-vcversioner/Portfile

stromnov at macports.org stromnov at macports.org
Mon Sep 28 04:20:15 PDT 2015


Revision: 140626
          https://trac.macports.org/changeset/140626
Author:   stromnov at macports.org
Date:     2015-09-28 04:20:15 -0700 (Mon, 28 Sep 2015)
Log Message:
-----------
py-vcversioner: reformat

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

Modified: trunk/dports/python/py-vcversioner/Portfile
===================================================================
--- trunk/dports/python/py-vcversioner/Portfile	2015-09-28 11:17:09 UTC (rev 140625)
+++ trunk/dports/python/py-vcversioner/Portfile	2015-09-28 11:20:15 UTC (rev 140626)
@@ -6,34 +6,40 @@
 
 name                py-vcversioner
 version             2.14.0.0
+revision            0
 categories-append   devel
 platforms           darwin
+license             ISC
 supported_archs     noarch
-license             ISC
+
+python.versions     27 34
+
 maintainers         stromnov openmaintainer
 
 description         Take version numbers from version control
+
 long_description    Elevator pitch: you can write a setup.py with no \
                     version information specified, and vcversioner \
                     will find a recent, properly-formatted VCS tag and \
                     extract a version from it.
+
 homepage            https://github.com/habnabit/${python.rootname}
+master_sites        pypi:[string index ${python.rootname} 0]/${python.rootname}
 
-master_sites        pypi:[string index ${python.rootname} 0]/${python.rootname}
 distname            ${python.rootname}-${version}
-checksums           md5     7848a365ced9941053bc25d9a9f8f4b4 \
-                    rmd160  43f42c77ce883ca51b9a4b552fa3af13f93015e3 \
+
+checksums           rmd160  43f42c77ce883ca51b9a4b552fa3af13f93015e3 \
                     sha256  acd43686e92e6c8bbeb4f2eef54408567a7adea9692fa72d591eec5357c03b86
 
-python.versions     27 34
-
 if {${subport} ne ${name}} {
-    depends_build   port:py${python.version}-setuptools
+    depends_build-append \
+                        port:py${python.version}-setuptools
     post-destroot {
         xinstall -d ${destroot}${prefix}/share/doc/${subport}
         xinstall -m 644 ${worksrcpath}/README.rst \
                 ${destroot}${prefix}/share/doc/${subport}
     }
+
     livecheck.type  none
 } else {
     livecheck.type  pypi
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.macosforge.org/pipermail/macports-changes/attachments/20150928/2cd95b51/attachment.html>


More information about the macports-changes mailing list