aboutsummaryrefslogtreecommitdiff
path: root/net-mgmt/py-snmp
diff options
context:
space:
mode:
authorMario Sergio Fujikawa Ferreira <lioux@FreeBSD.org>2002-06-21 19:15:40 +0000
committerMario Sergio Fujikawa Ferreira <lioux@FreeBSD.org>2002-06-21 19:15:40 +0000
commitc6e6c135d1bb78896a9834d67a18bcc469bf2698 (patch)
treed788289c7acc23b860b1099f360b48518e064cde /net-mgmt/py-snmp
parent5571647db00bb06c42dc05ce2310d378357fce84 (diff)
downloadports-c6e6c135d1bb78896a9834d67a18bcc469bf2698.tar.gz
ports-c6e6c135d1bb78896a9834d67a18bcc469bf2698.zip
Notes
Diffstat (limited to 'net-mgmt/py-snmp')
-rw-r--r--net-mgmt/py-snmp/Makefile7
-rw-r--r--net-mgmt/py-snmp/distinfo2
2 files changed, 7 insertions, 2 deletions
diff --git a/net-mgmt/py-snmp/Makefile b/net-mgmt/py-snmp/Makefile
index 1232575f80bf..69c168d3b4fe 100644
--- a/net-mgmt/py-snmp/Makefile
+++ b/net-mgmt/py-snmp/Makefile
@@ -6,7 +6,7 @@
#
PORTNAME= snmp
-PORTVERSION= 2.0.1
+PORTVERSION= 2.0.3
CATEGORIES= net python
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR= pysnmp
@@ -16,10 +16,15 @@ DISTNAME= pysnmp-${PORTVERSION}
MAINTAINER= perky@fallin.lv
USE_PYTHON= yes
+USE_REINPLACE= yes
USE_PYDISTUTILS=yes
EXAMPLESDIR= ${PREFIX}/share/examples/py-snmp
DOCSDIR= ${PREFIX}/share/doc/py-snmp
+post-patch:
+ @${REINPLACE_CMD} -E -e 's|^(#!/usr/bin/env[ ]+)python|\1${PYTHON_CMD}|' \
+ ${WRKSRC}/setup.py
+
.if !defined(NOPORTDOCS)
post-install:
${MKDIR} ${EXAMPLESDIR}
diff --git a/net-mgmt/py-snmp/distinfo b/net-mgmt/py-snmp/distinfo
index 55afa303475f..68c8729b79e0 100644
--- a/net-mgmt/py-snmp/distinfo
+++ b/net-mgmt/py-snmp/distinfo
@@ -1 +1 @@
-MD5 (pysnmp-2.0.1.tar.gz) = 4972c06f412e9c21b5ed9bcaedfa06cc
+MD5 (pysnmp-2.0.3.tar.gz) = befc0a65d2b79a08967a8fd6c03408c4