freebsd-ports/net-mgmt/py-snmp_passpersist/Makefile
Steve Wills a58ee7702e Fix python 2 issue with 2.0.0
Missed by me in previous commit

PR:		247951
Submitted by:	James French <james@french.id.au>
Approved by:	maintainer timeout (surajravi@gmail.com, >2 weeks)
2020-08-02 14:35:19 +00:00

30 lines
574 B
Makefile

# $FreeBSD$
PORTNAME= snmp_passpersist
DISTVERSIONPREFIX= v
DISTVERSION= 2.0.0
CATEGORIES= net-mgmt python
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
MAINTAINER= surajravi@gmail.com
COMMENT= Python client library for Net-SNMP pass persist backend
LICENSE= GPLv3
RUN_DEPENDS= net-snmp>=0:net-mgmt/net-snmp
USES= python
USE_GITHUB= yes
GH_ACCOUNT= nagius
GH_TAGNAME= fb0af0d
USE_PYTHON= autoplist distutils
.include <bsd.port.pre.mk>
.if ${PYTHON_REL} < 3000
RUN_DEPENDS+= ${PYTHON_PKGNAMEPREFIX}future>0:devel/py-future@${PY_FLAVOR}
.endif
.include <bsd.port.post.mk>