[101889] trunk/dports/python/py-jabber/Portfile
jmr at macports.org
jmr at macports.org
Sun Jan 20 18:38:55 PST 2013
Revision: 101889
https://trac.macports.org/changeset/101889
Author: jmr at macports.org
Date: 2013-01-20 18:38:55 -0800 (Sun, 20 Jan 2013)
Log Message:
-----------
py-jabber: use unified portgroup, license, noarch
Modified Paths:
--------------
trunk/dports/python/py-jabber/Portfile
Modified: trunk/dports/python/py-jabber/Portfile
===================================================================
--- trunk/dports/python/py-jabber/Portfile 2013-01-21 01:45:04 UTC (rev 101888)
+++ trunk/dports/python/py-jabber/Portfile 2013-01-21 02:38:55 UTC (rev 101889)
@@ -1,14 +1,16 @@
# $Id$
PortSystem 1.0
-PortGroup python24 1.0
+PortGroup python 1.0
name py-jabber
version 0.5-0
revision 1
categories python net
+license LGPL
maintainers nomaintainer
platforms darwin freebsd
+supported_archs noarch
description python module for the jabber instant messaging protocol
long_description jabber.py is a python module for the jabber instant \
messaging protocol. jabber.py deals with the xml parsing and \
@@ -19,20 +21,25 @@
master_sites sourceforge:jabberpy
distname jabberpy-${version}
checksums md5 cbb9a1126bdc39ff49af605fb55c282e
-patchfiles patch-setup.py.diff
-post-patch {
- reinplace "s|VERSION|${version}|g" ${worksrcpath}/setup.py
- file copy ${worksrcpath}/jabber/debug.py \
- ${worksrcpath}/jabber/jabber.py \
- ${worksrcpath}/jabber/xmlstream.py ${worksrcpath}
-}
+python.versions 24
-post-destroot {
- xinstall -m 644 -W ${worksrcpath} README CREDITS \
- ${destroot}${prefix}/share/doc/${name}
- xinstall -m 644 -W ${worksrcpath}/examples README jrpc.py pending.xpm \
- mailchecker.py offline.xpm online.xpm pygtkjab.py pyqtjab.py \
- pypguijab.py test_client.py \
- ${destroot}${prefix}/share/doc/${name}/examples
+if {$subport != $name} {
+ patchfiles patch-setup.py.diff
+
+ post-patch {
+ reinplace "s|VERSION|${version}|g" ${worksrcpath}/setup.py
+ file copy ${worksrcpath}/jabber/debug.py \
+ ${worksrcpath}/jabber/jabber.py \
+ ${worksrcpath}/jabber/xmlstream.py ${worksrcpath}
+ }
+
+ post-destroot {
+ xinstall -m 644 -W ${worksrcpath} README CREDITS \
+ ${destroot}${prefix}/share/doc/${subport}
+ xinstall -m 644 -W ${worksrcpath}/examples README jrpc.py pending.xpm \
+ mailchecker.py offline.xpm online.xpm pygtkjab.py pyqtjab.py \
+ pypguijab.py test_client.py \
+ ${destroot}${prefix}/share/doc/${subport}/examples
+ }
}
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20130120/b5f413a1/attachment-0001.html>
More information about the macports-changes
mailing list