[98695] trunk/dports/python

deric at macports.org deric at macports.org
Sat Oct 13 01:36:08 PDT 2012


Revision: 98695
          http://trac.macports.org//changeset/98695
Author:   deric at macports.org
Date:     2012-10-13 01:36:08 -0700 (Sat, 13 Oct 2012)
Log Message:
-----------
py-icalendar: Unify and update to 3.1 (#36473).

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

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

Modified: trunk/dports/python/py-icalendar/Portfile
===================================================================
--- trunk/dports/python/py-icalendar/Portfile	2012-10-13 08:36:03 UTC (rev 98694)
+++ trunk/dports/python/py-icalendar/Portfile	2012-10-13 08:36:08 UTC (rev 98695)
@@ -1,10 +1,13 @@
 # $Id$
 
 PortSystem          1.0
-PortGroup           python24 1.0
+PortGroup           python 1.0
+PortGroup github 1.0
 
+github.setup        collective icalendar 3.1
+git.branch          85388792e11e106289f7399409c07e904dcca9d5
 name                py-icalendar
-version             1.2
+version             3.1
 categories          python
 maintainers         deric
 platforms           darwin
@@ -17,19 +20,26 @@
                     The aim is to make a package that is fully compliant to \
                     RFC 2445, well designed, simple to use and well documented.
                     
-homepage            http://codespeak.net/icalendar/
-master_sites        ${homepage}
-distname            iCalendar-${version}
-extract.suffix      .tgz
-checksums           md5 810cb3707605b75e51163e6eb1c1410a \
-                    sha1 76caea7deb43cd299fb20bc940f305d43747fde9 \
-                    rmd160 6809c1c2bc4688032c0145919e4ed569b0de6a04
+homepage            http://icalendar.readthedocs.org/
+checksums           rmd160  98fe1d94170a1d9f77520d1fbef9195f2df7820a \
+                    sha256  35fc6b618b93f7e6dfc6e16ce2e2012fa540264b385761e6405cf3cd2972a3ad
 
-post-destroot {
+python.versions 24 25 26 27
+python.default_version 24
+
+if {$subport != $name} {
+    
+    depends_lib-append  port:py${python.version}-distribute  port:py${python.version}-tz-gae
+    
+    post-destroot {
+    
     # install docs
-    xinstall -m 644 -W ${worksrcpath}/ CHANGES.txt CREDITS.txt HISTORY.txt INSTALL.txt LICENSE.txt README.txt TODO.txt \
-    ${destroot}${prefix}/share/doc/${name}
+    xinstall -m 644 -W ${worksrcpath}/docs about.rst examples.rst install.rst license.rst changelog.rst credits.rst \
+    ${destroot}${prefix}/share/doc/${subport}
 
-    xinstall -m 644 -W ${worksrcpath}/doc example.txt groupscheduled.ics groupscheduled.txt multiple.ics multiple.txt small.ics small.txt \
-    ${destroot}${prefix}/share/doc/${name}
+    }
 }
+
+livecheck.type regex
+livecheck.url http://icalendar.readthedocs.org/en/latest/changelog.html
+livecheck.regex <h2>(\[0-9.\]+)
\ No newline at end of file
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20121013/2bf42b32/attachment-0001.html>


More information about the macports-changes mailing list