source: trunk/dports/python/py-radix/Portfile

Last change on this file was 130727, checked in by larryv@…, 3 years ago

py24-radix: Replace with py27

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 1.1 KB
Line 
1# $Id: Portfile 130727 2015-01-02 09:09:35Z ryandesign@macports.org $
2
3PortSystem 1.0
4PortGroup python 1.0
5
6name                    py-radix
7version                 0.4
8license                 BSD-old ISC
9platforms               darwin
10maintainers             nomaintainer
11description             radix tree data structure implementation for python
12long_description        py-radix is an implementation of a radix tree data \
13                                structure for the storage and retrieval of IPv4 and IPv6 \
14                                network prefixes. The radix tree is the data structure most \
15                                commonly used for routing table lookups. It efficiently stores \
16                                network prefixes of varying lengths and allows fast lookups of \
17                                containing networks.
18
19homepage                http://www.mindrot.org/py-radix.html
20master_sites    http://www2.mindrot.org/files/py-radix/
21checksums               md5 a3e7a2cb078c009e39633aa4034ad523
22
23python.versions 27
24
25if {${name} ne ${subport}} {
26    pre-test    {
27        system "cd ${worksrcpath} && ln -sf build/lib*/radix.so"
28    }
29    test.run            yes
30    test.cmd            ${python.bin}
31    test.target         test.py
32
33    post-destroot       {
34        xinstall -m 644 -W ${worksrcpath} ChangeLog LICENSE README TODO \
35            ${destroot}${prefix}/share/doc/${subport}
36    }
37}
Note: See TracBrowser for help on using the repository browser.