[101968] trunk/dports/python/py-gtkmvc/Portfile
g5pw at macports.org
g5pw at macports.org
Wed Jan 23 03:27:20 PST 2013
Revision: 101968
https://trac.macports.org/changeset/101968
Author: g5pw at macports.org
Date: 2013-01-23 03:27:20 -0800 (Wed, 23 Jan 2013)
Log Message:
-----------
python/py-gtkmvc:
Unify portfile
Update to 1.99.1
Modified Paths:
--------------
trunk/dports/python/py-gtkmvc/Portfile
Modified: trunk/dports/python/py-gtkmvc/Portfile
===================================================================
--- trunk/dports/python/py-gtkmvc/Portfile 2013-01-23 11:09:01 UTC (rev 101967)
+++ trunk/dports/python/py-gtkmvc/Portfile 2013-01-23 11:27:20 UTC (rev 101968)
@@ -1,33 +1,36 @@
# $Id$
PortSystem 1.0
-PortGroup python24 1.0
+PortGroup python 1.0
+
name py-gtkmvc
-version 0.9.2
+version 1.99.1
+python.versions 25 26 27
categories-append x11
platforms darwin
maintainers nomaintainer
description Model-View-Controller for PyGTK2
-long_description \
- This is an implementation of the Model-View-Controller and Observer \
- patterns for the Pygtk2 toolkit. MVC is a pattern that can be \
- successfully used to design and develop well structured GUI applications. \
- The MVC pattern basically helps in separating sematics and data of the \
- application, from their representation. The Observer pattern is also \
- embedded here. This pattern allows making separated parts independent, \
- but still connected each other.
+long_description This is an implementation of the Model-View-Controller and Observer \
+ patterns for the Pygtk2 toolkit. MVC is a pattern that can be \
+ successfully used to design and develop well structured GUI applications. \
+ The MVC pattern basically helps in separating sematics and data of the \
+ application, from their representation. The Observer pattern is also \
+ embedded here. This pattern allows making separated parts independent, \
+ but still connected each other.
homepage http://pygtkmvc.sourceforge.net/
master_sites sourceforge:pygtkmvc
-distname pygtkmvc-${version}
-checksums md5 ececf3cb85450b4c77cf9b1528bea0a7 \
- sha1 e1b557d28763d0faadd8b4fb8564df23661c77e8
+distname python-gtkmvc-${version}
-depends_lib-append port:py-gtk2
+checksums rmd160 9fe09b6146490afef9c079dae7518896ee2a7f21 \
+ sha256 a8a74fb0a21d9e229950927a906f5f83ee19e459547138b360a6c60418667ab7
-post-destroot {
- file mkdir ${destroot}${prefix}/share/doc/${name}
- file copy ${worksrcpath}/docs ${worksrcpath}/example \
- ${worksrcpath}/README ${destroot}${prefix}/share/doc/${name}
+if {${name} != ${subport}} {
+ depends_lib-append port:py${python.version}-pygtk
+
+ post-destroot {
+ file mkdir ${destroot}${prefix}/share/doc/${name}
+ copy ${worksrcpath}/docs ${worksrcpath}/examples \
+ ${worksrcpath}/README ${destroot}${prefix}/share/doc/${name}
+ }
}
-
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20130123/91d55eb7/attachment.html>
More information about the macports-changes
mailing list