[146436] trunk/dports/python/py-prettytable/Portfile
petr at macports.org
petr at macports.org
Mon Mar 7 07:45:07 PST 2016
Revision: 146436
https://trac.macports.org/changeset/146436
Author: petr at macports.org
Date: 2016-03-07 07:45:07 -0800 (Mon, 07 Mar 2016)
Log Message:
-----------
py-prettytable: update to 0.7.2
Modified Paths:
--------------
trunk/dports/python/py-prettytable/Portfile
Modified: trunk/dports/python/py-prettytable/Portfile
===================================================================
--- trunk/dports/python/py-prettytable/Portfile 2016-03-07 15:25:09 UTC (rev 146435)
+++ trunk/dports/python/py-prettytable/Portfile 2016-03-07 15:45:07 UTC (rev 146436)
@@ -8,7 +8,7 @@
set _n [string index ${_name} 0]
name py-prettytable
-version 0.6.1
+version 0.7.2
platforms darwin
supported_archs noarch
license BSD
@@ -30,14 +30,33 @@
master_sites https://pypi.python.org/packages/source/${_n}/${_name}/
distname prettytable-${version}
-checksums rmd160 bd1ba3653d6665dec40f0954bc371aab19dc4353 \
- sha256 4085e520da758d6e22e115377ca5d3723f04fb186303879ab98277070444a9cb
+checksums md5 a6b80afeef286ce66733d54a0296b13b \
+ rmd160 af187cbcf1139866bc67b1bc8cb5c3187726b41f \
+ sha256 2d5460dc9db74a32bcc8f9f67de68b2c4f4d2f01fa3bd518764c69156d9cacd9
-python.versions 27
+python.versions 27 34 35
if {$subport ne $name} {
depends_build port:py${python.version}-setuptools
+ # fix wrong file permissions of the distfile
+ post-extract {
+ fs-traverse f ${worksrcpath} {
+ file attributes ${f} -permissions a+r
+ }
+ }
+
+ # add documentation
+ post-destroot {
+ set dest_doc ${destroot}${prefix}/share/doc/${subport}
+ xinstall -d ${dest_doc}
+ xinstall -m 755 -W ${worksrcpath} \
+ README \
+ COPYING \
+ CHANGELOG \
+ ${dest_doc}
+ }
+
livecheck.type none
} else {
livecheck.type regex
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.macosforge.org/pipermail/macports-changes/attachments/20160307/c17d3322/attachment.html>
More information about the macports-changes
mailing list