Fix build on Python 3.7
- Bump PORTREVISION for package change
This commit is contained in:
parent
904e29ef20
commit
ef223a0ac8
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=498111
1 changed files with 6 additions and 2 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue