[95434] trunk/dports/python

jmr at macports.org jmr at macports.org
Thu Jul 12 12:50:39 PDT 2012


Revision: 95434
          https://trac.macports.org/changeset/95434
Author:   jmr at macports.org
Date:     2012-07-12 12:50:39 -0700 (Thu, 12 Jul 2012)
Log Message:
-----------
py*-simpy: unify, update to 2.2, add py27 (#32875)

Modified Paths:
--------------
    trunk/dports/python/py-simpy/Portfile

Removed Paths:
-------------
    trunk/dports/python/py25-simpy/
    trunk/dports/python/py26-simpy/

Modified: trunk/dports/python/py-simpy/Portfile
===================================================================
--- trunk/dports/python/py-simpy/Portfile	2012-07-12 19:39:07 UTC (rev 95433)
+++ trunk/dports/python/py-simpy/Portfile	2012-07-12 19:50:39 UTC (rev 95434)
@@ -1,27 +1,43 @@
+# -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:et:sw=4:ts=4:sts=4
 # $Id$
 
 PortSystem 1.0
-PortGroup python24 1.0
+PortGroup python 1.0
 
 name			py-simpy
-version			1.5
-revision		1
-categories		python
-maintainers		nomaintainer
+version			2.2
+license			LGPL-2.1+
+maintainers		mcalhoun openmaintainer
 platforms		darwin freebsd
 description		python based simulation language
-long_description	SimPy is an object-oriented, process-based \
-				discrete-event simulation language based on standard Python.
+long_description \
+    SimPy is an object-oriented, process-based \
+    discrete-event simulation language based on standard Python.
 
 homepage		http://simpy.sourceforge.net/
-master_sites	sourceforge:simpy
+master_sites	sourceforge:project/simpy/simpy/SimPy-${version}
 distname		SimPy-${version}
-checksums		md5 84729bbcc120d10f6681a561691700c7
 
-post-destroot	{
-	file delete -force ${destroot}${prefix}/share/doc/${name}
-	file copy ${worksrcpath}/SimPyDocs \
-		${destroot}${prefix}/share/doc/${name}
-	file copy ${worksrcpath}/SimPyModels \
-		${destroot}${prefix}/share/doc/${name}/examples
+use_bzip2       yes
+checksums       md5    62f973cc3160d7b5865ab6537add1cd2 \
+                sha1   a1857e64f129c1b167a7906c4759293b26a6488c \
+                rmd160 9132c37284024c11e221c41efb01813739732746
+
+python.versions 24 25 26 27
+
+if {$subport != $name} {
+    depends_lib-append port:py${python.version}-tkinter
+    post-destroot {
+        copy ${worksrcpath}/docs/html \
+            ${destroot}${prefix}/share/doc/${subport}
+        delete ${destroot}${prefix}/share/doc/${subport}/examples
+        copy ${worksrcpath}/docs/examples \
+            ${destroot}${prefix}/share/doc/${subport}
+        file delete -force ${destroot}${prefix}/share/doc/${subport}/html/.buildinfo \
+                           ${destroot}${prefix}/share/doc/${subport}/html/_sources
+        
+    }
+    livecheck.type  none
+} else {
+    livecheck.regex <title>simpy SimPy-(\\d+(?:\\.\\d+)*) released.*</title>
 }
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20120712/b658ce71/attachment.html>


More information about the macports-changes mailing list