Fix build on Python 3.7

- Bump PORTREVISION for package change
This commit is contained in:
Sunpoet Po-Chuan Hsieh 2019-04-06 14:43:38 +00:00
parent 904e29ef20
commit ef223a0ac8
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=498111

View file

@ -3,6 +3,7 @@
PORTNAME= pypcap
DISTVERSION= 1.2.2
PORTREVISION= 1
CATEGORIES= net python
MASTER_SITES= CHEESESHOP
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
@ -12,8 +13,11 @@ COMMENT= Simplified object-oriented Python wrapper for libpcap
LICENSE= BSD3CLAUSE
USES= python:-3.6
USE_PYTHON= autoplist distutils
USES= python
USE_PYTHON= autoplist cython distutils
pre-configure:
cd ${WRKSRC} && cython-${PYTHON_VER} pcap.pyx
post-install:
${STRIP_CMD} ${STAGEDIR}${PYTHON_SITELIBDIR}/pcap.so