Permalink
Browse files
py-radix: add modline, adjust whitespace
- Loading branch information
Showing
with
25 additions
and
23 deletions.
-
+25
−23
python/py-radix/Portfile
|
|
@@ -1,34 +1,36 @@ |
|
|
PortSystem 1.0 |
|
|
PortGroup python 1.0 |
|
|
# -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:ft=tcl:et:sw=4:ts=4:sts=4 |
|
|
|
|
|
name py-radix |
|
|
version 0.4 |
|
|
license BSD-old ISC |
|
|
platforms darwin |
|
|
maintainers nomaintainer |
|
|
description radix tree data structure implementation for python |
|
|
long_description py-radix is an implementation of a radix tree data \ |
|
|
structure for the storage and retrieval of IPv4 and IPv6 \ |
|
|
network prefixes. The radix tree is the data structure most \ |
|
|
commonly used for routing table lookups. It efficiently stores \ |
|
|
network prefixes of varying lengths and allows fast lookups of \ |
|
|
containing networks. |
|
|
PortSystem 1.0 |
|
|
PortGroup python 1.0 |
|
|
|
|
|
homepage http://www.mindrot.org/py-radix.html |
|
|
master_sites http://www2.mindrot.org/files/py-radix/ |
|
|
checksums md5 a3e7a2cb078c009e39633aa4034ad523 |
|
|
name py-radix |
|
|
version 0.4 |
|
|
license BSD-old ISC |
|
|
platforms darwin |
|
|
maintainers nomaintainer |
|
|
description radix tree data structure implementation for python |
|
|
long_description py-radix is an implementation of a radix tree data \ |
|
|
structure for the storage and retrieval of IPv4 and IPv6 \ |
|
|
network prefixes. The radix tree is the data structure most \ |
|
|
commonly used for routing table lookups. It efficiently stores \ |
|
|
network prefixes of varying lengths and allows fast lookups of \ |
|
|
containing networks. |
|
|
|
|
|
python.versions 27 |
|
|
homepage http://www.mindrot.org/py-radix.html |
|
|
master_sites http://www2.mindrot.org/files/py-radix/ |
|
|
checksums md5 a3e7a2cb078c009e39633aa4034ad523 |
|
|
|
|
|
python.versions 27 |
|
|
|
|
|
if {${name} ne ${subport}} { |
|
|
pre-test { |
|
|
pre-test { |
|
|
system "cd ${worksrcpath} && ln -sf build/lib*/radix.so" |
|
|
} |
|
|
test.run yes |
|
|
test.cmd ${python.bin} |
|
|
test.target test.py |
|
|
test.run yes |
|
|
test.cmd ${python.bin} |
|
|
test.target test.py |
|
|
|
|
|
post-destroot { |
|
|
post-destroot { |
|
|
xinstall -m 644 -W ${worksrcpath} ChangeLog LICENSE README TODO \ |
|
|
${destroot}${prefix}/share/doc/${subport} |
|
|
} |
|
|
|