[101920] trunk/dports/python

jmr at macports.org jmr at macports.org
Mon Jan 21 18:55:02 PST 2013


Revision: 101920
          https://trac.macports.org/changeset/101920
Author:   jmr at macports.org
Date:     2013-01-21 18:55:02 -0800 (Mon, 21 Jan 2013)
Log Message:
-----------
py*-htmlcalendar: unify, license, noarch

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

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

Modified: trunk/dports/python/py-htmlcalendar/Portfile
===================================================================
--- trunk/dports/python/py-htmlcalendar/Portfile	2013-01-22 02:46:17 UTC (rev 101919)
+++ trunk/dports/python/py-htmlcalendar/Portfile	2013-01-22 02:55:02 UTC (rev 101920)
@@ -1,12 +1,13 @@
 # $Id$
 
 PortSystem 1.0
-PortGroup python24 1.0
+PortGroup python 1.0
 
 name			py-htmlcalendar
 version			1.1.1
-categories		python
+license			LGPL-2.1+
 platforms		darwin
+supported_archs	noarch
 maintainers		nomaintainer
 description		python module for creating calendars in HTML format
 long_description	python module for creating calendars in HTML format. \
@@ -20,9 +21,13 @@
 				sha1    f1b5836f933bf5569912d555bd13923402bcf111 \
 				rmd160  05a1fcf1a8f5385c7d7219b8c9905bdbdf459391
 
-depends_lib-append	port:py-htmltemplate
+python.versions	24 25 26
 
-post-destroot	{
-	xinstall -m 644 -W ${worksrcpath} License.txt Manual.txt README.txt \
-		${destroot}${prefix}/share/doc/${name}
+if {$subport != $name} {
+    depends_lib-append	port:py${python.version}-htmltemplate
+
+    post-destroot	{
+        xinstall -m 644 -W ${worksrcpath} License.txt Manual.txt README.txt \
+            ${destroot}${prefix}/share/doc/${subport}
+    }
 }
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20130121/9e34f113/attachment.html>


More information about the macports-changes mailing list