Revision
100347
Author
g5pw@macports.org
Date
2012-12-08 15:58:41 -0800 (Sat, 08 Dec 2012)

Log Message

net/scapy:
  use python portgroup
  use python27 instead of python25, app supports it.
  revbump

Modified Paths

Diff

Modified: trunk/dports/net/scapy/Portfile (100346 => 100347)


--- trunk/dports/net/scapy/Portfile	2012-12-08 23:45:49 UTC (rev 100346)
+++ trunk/dports/net/scapy/Portfile	2012-12-08 23:58:41 UTC (rev 100347)
@@ -2,10 +2,12 @@
 # $Id$
 
 PortSystem            1.0
-PortGroup             python25 1.0
+PortGroup             python 1.0
 
 name                  scapy
 version               2.2.0
+revision              1
+python.default_version 27
 categories            net security python
 platforms             darwin
 maintainers           mfeiri openmaintainer
@@ -30,11 +32,13 @@
 checksums             sha256  c5363b224df0efbd78d7dc4d8a518e5518b2e7affc2e5f1fcecd4efa3ab815af \
                       rmd160  0cb0e14e6e84ba6a22b0afd7f2913a98888a418e
 
-depends_lib-append    port:py25-readline    port:py25-pylibpcap \
-                      port:py25-libdnet     port:py25-crypto \
-                      port:py25-gnuplot     port:py25-pyx \
+depends_lib-append    port:py${python.version}-readline    port:py${python.version}-pylibpcap \
+                      port:py${python.version}-libdnet     port:py${python.version}-crypto \
+                      port:py${python.version}-gnuplot     port:py${python.version}-pyx \
                       path:bin/dot:graphviz
 
+python.link_binaries_suffix
+
 livecheck.type        regex
 livecheck.url         http://hg.secdev.org/scapy/tags
 livecheck.regex       "v(\[\\d.\]+)"