[141993] trunk/dports/python/py-cog/Portfile
khindenburg at macports.org
khindenburg at macports.org
Sat Dec 12 03:52:42 PST 2015
Revision: 141993
https://trac.macports.org/changeset/141993
Author: khindenburg at macports.org
Date: 2015-11-01 10:34:37 -0800 (Sun, 01 Nov 2015)
Log Message:
-----------
py-cog: update to 2.4; add python versions #46916
Modified Paths:
--------------
trunk/dports/python/py-cog/Portfile
Modified: trunk/dports/python/py-cog/Portfile
===================================================================
--- trunk/dports/python/py-cog/Portfile 2015-11-01 18:22:39 UTC (rev 141992)
+++ trunk/dports/python/py-cog/Portfile 2015-11-01 18:34:37 UTC (rev 141993)
@@ -5,7 +5,8 @@
PortGroup python 1.0
name py-cog
-version 2.2
+set realname cogapp
+version 2.4
license MIT
maintainers dh openmaintainer
description Cog is a code generation tool. It lets you use pieces of Python \
@@ -17,24 +18,23 @@
supported_archs noarch
homepage http://nedbatchelder.com/code/cog/
-#master_sites https://pypi.python.org/packages/source/c/cogapp/
-master_sites http://distfiles.macports.org/python/
+master_sites https://pypi.python.org/packages/source/c/${realname}
-#distname cogapp-${version}
-distfiles cogapp-${version}.gz
-worksrcdir cog
-checksums md5 0204039c3acd9a7edfce1e64f695ebf9 \
- sha1 91aa5e76ba012da801edb23ad312a7fabb7b9bbf \
- rmd160 027b07303f2c78dc56569fb132e2190d2e9e648a
+distname ${realname}-${version}
-python.versions 26
+checksums rmd160 15e5bea87f033ceb603c95ac00b37dc7ef8fe8ad \
+ sha256 5b71a8cfd8dcfd7c408d2ab0f25a4cd546a2d03f8cd99475f775ba79a75a7ba3
+python.versions 26 27 33 34
+
if {${name} ne ${subport}} {
post-destroot {
- # setup ends up creating a bin directory down in the Framework folder, move things from it ...
- file rename ${destroot}${python.prefix}/bin/cog.py ${destroot}${prefix}/bin/cog-${python.branch}
file delete ${destroot}${python.prefix}/bin/test_cog.py
+ }
- # how can we test if there is anything left?
- }
+ livecheck.type none
+} else {
+ livecheck.regex ${realname}-(\[0-9.\]+)${extract.suffix}
+ livecheck.url https://pypi.python.org/pypi/${realname}
}
+
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.macosforge.org/pipermail/macports-changes/attachments/20151212/1a3a98f0/attachment.html>
More information about the macports-changes
mailing list