[137837] trunk/dports/python
larryv at macports.org
larryv at macports.org
Sat Jun 20 22:19:49 PDT 2015
Revision: 137837
https://trac.macports.org/changeset/137837
Author: larryv at macports.org
Date: 2015-06-20 22:19:49 -0700 (Sat, 20 Jun 2015)
Log Message:
-----------
py-vcversioner: New port (comment:2:ticket:48113)
A module for extracting versions from VCS tags.
Added Paths:
-----------
trunk/dports/python/py-vcversioner/
trunk/dports/python/py-vcversioner/Portfile
Added: trunk/dports/python/py-vcversioner/Portfile
===================================================================
--- trunk/dports/python/py-vcversioner/Portfile (rev 0)
+++ trunk/dports/python/py-vcversioner/Portfile 2015-06-21 05:19:49 UTC (rev 137837)
@@ -0,0 +1,40 @@
+# -*- 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
+
+name py-vcversioner
+version 2.14.0.0
+categories-append devel
+platforms darwin
+supported_archs noarch
+license ISC
+maintainers nomaintainer
+
+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}
+distname ${python.rootname}-${version}
+checksums md5 7848a365ced9941053bc25d9a9f8f4b4 \
+ rmd160 43f42c77ce883ca51b9a4b552fa3af13f93015e3 \
+ sha256 acd43686e92e6c8bbeb4f2eef54408567a7adea9692fa72d591eec5357c03b86
+
+python.versions 27 34
+
+if {${subport} ne ${name}} {
+ depends_build 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
+}
Property changes on: trunk/dports/python/py-vcversioner/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/20150620/d585571f/attachment.html>
More information about the macports-changes
mailing list