# -*- 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
maintainers gmail.com:andrew.reusch openmaintainer
description python extension module for libpcap
long_description A simplified object-oriented Python extension module for libpcap
homepage https://code.google.com/p/pypcap/
master_sites googlecode:pypcap
distname pypcap-${version}
checksums md5 034c3cbbfa81aa19e8f685b767c65764 \
sha1 966f62deca16d5086e2ef6694b0c795f273da15c \
rmd160 119dcc393d42678e6fa8f0b0f8b82536ab1efb13
patchfiles patch-setup.py.diff patch-pcap.pyx
system -W ${worksrcpath} "${python.prefix}/bin/pyrexc pcap.pyx"
configure.cmd ${python.bin} setup.py
configure.post_args --with-pcap="${prefix}"
depends_build port:py${python.version}-pyrex
depends_lib-append port:libpcap