[91537] trunk/dports/python
mmoll at macports.org
mmoll at macports.org
Wed Apr 4 09:31:32 PDT 2012
Revision: 91537
https://trac.macports.org/changeset/91537
Author: mmoll at macports.org
Date: 2012-04-04 09:31:31 -0700 (Wed, 04 Apr 2012)
Log Message:
-----------
py-empy: unify
Modified Paths:
--------------
trunk/dports/python/py-empy/Portfile
Removed Paths:
-------------
trunk/dports/python/py26-empy/
Modified: trunk/dports/python/py-empy/Portfile
===================================================================
--- trunk/dports/python/py-empy/Portfile 2012-04-04 14:14:56 UTC (rev 91536)
+++ trunk/dports/python/py-empy/Portfile 2012-04-04 16:31:31 UTC (rev 91537)
@@ -1,28 +1,42 @@
# $Id$
PortSystem 1.0
-PortGroup python24 1.0
+PortGroup python 1.0
-name py-empy
-version 3.3
-revision 1
-categories python
-maintainers nomaintainer
-platforms darwin freebsd
-description powerful and robust templating system for python
-long_description py-empy is a system for embedding Python expressions \
- and statements in template text. It takes an EmPy \
- source file, processes it, and produces output. This \
- is accomplished via expansions, which are special \
- signals to the py-empy system and are set off by a \
- special prefix.
+set realname empy
+name py-${realname}
+version 3.3
+revision 1
+categories python
+maintainers openmaintainer mmoll
+license LGPL
+platforms darwin freebsd
+description powerful and robust templating system for python
+long_description py-empy is a system for embedding Python expressions \
+ and statements in template text. It takes an EmPy \
+ source file, processes it, and produces output. This \
+ is accomplished via expansions, which are special \
+ signals to the py-empy system and are set off by a \
+ special prefix.
-homepage http://www.alcyone.com/software/empy/
-master_sites ${homepage}
-distname empy-${version}
-checksums md5 e7b518a6fc4fd28fef87726cdb003118
+homepage http://www.alcyone.com/software/empy/
+master_sites ${homepage}
+distname empy-${version}
+checksums md5 e7b518a6fc4fd28fef87726cdb003118 \
+ sha1 dfc82202231143b9aabc81bd735c6f8a559b5109 \
+ rmd160 0a9ef8d8c25a4784769a0de283108fe0ddca1289
-post-destroot {
- file delete -force ${destroot}${prefix}/share/doc/${name}
- file copy ${worksrcpath}/doc ${destroot}${prefix}/share/doc/${name}
+python.versions 24 25 26 27 31 32
+python.default_version 24
+
+post-destroot {
+ file copy ${worksrcpath}/doc ${destroot}${prefix}/share/doc/${subport}
}
+
+if {${name} == ${subport}} {
+ livecheck.type regex
+ livecheck.url ${homepage}
+ livecheck.regex The current version of empy is 3.3. \\((\[0-9.\]+)\\)
+} else {
+ livecheck.type none
+}
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20120404/26ede718/attachment.html>
More information about the macports-changes
mailing list