Skip to content
Permalink
Browse files

py-radix: add modline, adjust whitespace

  • Loading branch information
reneeotten committed Apr 6, 2019
1 parent 061da0c commit 615cc589f6a78cafe0c66e1c3e66f392ba85db29
Showing with 25 additions and 23 deletions.
  1. +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}
}

0 comments on commit 615cc58

Please sign in to comment.
You can’t perform that action at this time.