[35157] trunk/dports/python/py-pylibpcap

pmq at macports.org pmq at macports.org
Tue Mar 18 14:27:05 PDT 2008


Revision: 35157
          http://trac.macosforge.org/projects/macports/changeset/35157
Author:   pmq at macports.org
Date:     2008-03-18 14:27:05 -0700 (Tue, 18 Mar 2008)

Log Message:
-----------
Version bump to 0.6.2.
Also happens to fix use on Leopard, as reported by some users.

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

Removed Paths:
-------------
    trunk/dports/python/py-pylibpcap/files/

Modified: trunk/dports/python/py-pylibpcap/Portfile
===================================================================
--- trunk/dports/python/py-pylibpcap/Portfile	2008-03-18 19:44:55 UTC (rev 35156)
+++ trunk/dports/python/py-pylibpcap/Portfile	2008-03-18 21:27:05 UTC (rev 35157)
@@ -3,37 +3,33 @@
 PortSystem              1.0
 PortGroup               python24 1.0
 
+# FIXME try with Python 2.5
 name                    py-pylibpcap
-version                 0.5.1
-revision		2
+version                 0.6.2
 categories              python net
 platforms		darwin
-maintainers             chris.owen at consault.com pmq
+maintainers             pmq openmaintainer
 
 description             Python module for the libpcap packet capture library
 long_description        \
     Pylibpcap is a Python extension module that interfaces with the libpcap \
-    packet capture library.  Pylibpcap enables python scripts to capture \
+    packet capture library. Pylibpcap enables python scripts to capture \
     packets on the network.
 
 homepage                http://pylibpcap.sourceforge.net
 master_sites            sourceforge:pylibpcap
 
 distname		pylibpcap-${version}
-checksums		sha1 c8e85258b3b3f79d629531856cfb3242c07f5796 \
-			rmd160 f1e2309fbaf0878e6b4fb87b626686377c6c105a
+checksums		sha1 f47d6e5d72219e2162f1b16e59f3c45e496652d9 \
+			rmd160 dbda6fec0786630c3af65d540b57507f888d1d78
 
 depends_lib		port:libpcap port:swig
 
-patchfiles		patch-setup.py.diff
+post-destroot {
+    set sharedir ${destroot}${prefix}/share/doc/${name}-${version}
+    xinstall -d ${sharedir}
+    xinstall -d ${sharedir}/examples
 
-pre-build {
-    system "${prefix}/bin/python mk-constants.py"
+    xinstall -m 644 -W ${worksrcpath} COPYING PKG-INFO README ${sharedir}
+    xinstall -m 755 -W ${worksrcpath}/examples findalldevs.py sniff.py ${sharedir}/examples
 }
-
-post-destroot {
-        xinstall -m 644 -W ${worksrcpath} COPYING PKG-INFO README \
-                ${destroot}${prefix}/share/doc/${name}
-        xinstall -m 644 -W ${worksrcpath}/examples findalldevs.py sniff.py \
-                ${destroot}${prefix}/share/doc/${name}/examples
-}

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.macosforge.org/pipermail/macports-changes/attachments/20080318/84e40469/attachment.html 


More information about the macports-changes mailing list