Index: head/net-mgmt/py-pysmi/files/patch-setup.py =================================================================== --- head/net-mgmt/py-pysmi/files/patch-setup.py (revision 470481) +++ head/net-mgmt/py-pysmi/files/patch-setup.py (nonexistent) @@ -1,13 +0,0 @@ ---- setup.py.orig 2017-12-24 15:32:10 UTC -+++ setup.py -@@ -112,7 +112,9 @@ params.update({ - 'pysmi.parser', - 'pysmi.codegen', - 'pysmi.borrower', -- 'pysmi.writer'], -+ 'pysmi.writer', -+ 'pysmi.tests', -+ ], - 'scripts': [os.path.join('scripts', 'mibdump.py')] - }) - Property changes on: head/net-mgmt/py-pysmi/files/patch-setup.py ___________________________________________________________________ Deleted: fbsd:nokeywords ## -1 +0,0 ## -yes \ No newline at end of property Deleted: svn:eol-style ## -1 +0,0 ## -native \ No newline at end of property Deleted: svn:mime-type ## -1 +0,0 ## -text/plain \ No newline at end of property Index: head/net-mgmt/py-pysmi/files/tests__init__.py =================================================================== --- head/net-mgmt/py-pysmi/files/tests__init__.py (revision 470481) +++ head/net-mgmt/py-pysmi/files/tests__init__.py (nonexistent) @@ -1,20 +0,0 @@ -from unittest import SkipTest, TestSuite - - -def load_tests(*args, **kwargs): - import suite - return suite.suite - - -try: - from pysnmp.smi.builder import MibBuilder -except ImportError: - - # python -m unittest pysmi.tests - def load_tests(*args, **kwars): - print("Skipping test suite: pysnmp is not installed") - return TestSuite() - - # nosetests pysmi - def setup(): - raise SkipTest("pysnmp is not installed") Property changes on: head/net-mgmt/py-pysmi/files/tests__init__.py ___________________________________________________________________ Deleted: fbsd:nokeywords ## -1 +0,0 ## -on \ No newline at end of property Deleted: svn:eol-style ## -1 +0,0 ## -native \ No newline at end of property Deleted: svn:mime-type ## -1 +0,0 ## -text/plain \ No newline at end of property Index: head/net-mgmt/py-pysmi/Makefile =================================================================== --- head/net-mgmt/py-pysmi/Makefile (revision 470481) +++ head/net-mgmt/py-pysmi/Makefile (revision 470482) @@ -1,42 +1,42 @@ # Created by: John W. O'Brien # $FreeBSD$ PORTNAME= pysmi -PORTVERSION= 0.2.2 +PORTVERSION= 0.3.0 CATEGORIES= net-mgmt python MASTER_SITES= CHEESESHOP \ SF/pysmi/pysmi/${PORTVERSION} PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} MAINTAINER= john@saltant.com COMMENT= SNMP/SMI MIB parsing in Python LICENSE= BSD2CLAUSE +BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}snmp4>=0:net-mgmt/py-snmp4@${FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}ply>=0:devel/py-ply@${FLAVOR} RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}ply>=0:devel/py-ply@${FLAVOR} NO_ARCH= yes -USES= python shebangfix +USES= python USE_PYTHON= autoplist concurrent distutils -SHEBANG_FILES= scripts/mibdump.py OPTIONS_DEFINE= DOCS EXAMPLES PORTDOCS= * PORTEXAMPLES= * BASEDOCS= CHANGES.rst README.md THANKS.txt TODO.txt -post-patch: - ${CP} ${FILESDIR}/tests__init__.py ${WRKSRC}/tests/__init__.py - ${MV} ${WRKSRC}/tests ${WRKSRC}/${PORTNAME} +post-build: + @(cd ${BUILD_WRKSRC}; ${SETENV} ${MAKE_ENV} ${PYTHON_CMD} ${PYDISTUTILS_SETUP} test) post-install-DOCS-on: @${MKDIR} ${STAGEDIR}${DOCSDIR} ${INSTALL_DATA} ${BASEDOCS:S,^,${WRKSRC}/,} ${STAGEDIR}${DOCSDIR} post-install-EXAMPLES-on: @${MKDIR} ${STAGEDIR}${EXAMPLESDIR} (cd ${WRKSRC}/examples && ${COPYTREE_SHARE} . ${STAGEDIR}${EXAMPLESDIR}) .include Index: head/net-mgmt/py-pysmi/distinfo =================================================================== --- head/net-mgmt/py-pysmi/distinfo (revision 470481) +++ head/net-mgmt/py-pysmi/distinfo (revision 470482) @@ -1,3 +1,3 @@ -TIMESTAMP = 1514129467 -SHA256 (pysmi-0.2.2.tar.gz) = 2a315cc3e556b3428372b69da663a24d2f0df9e9ab075b022cb133855f25aef7 -SIZE (pysmi-0.2.2.tar.gz) = 90568 +TIMESTAMP = 1526841426 +SHA256 (pysmi-0.3.0.tar.gz) = 87b464df6e68dedc28959f3d16b57d5138c8959c0af5cdea9747df26e20858fc +SIZE (pysmi-0.3.0.tar.gz) = 92850 Index: head/net-mgmt/py-pysmi/pkg-descr =================================================================== --- head/net-mgmt/py-pysmi/pkg-descr (revision 470481) +++ head/net-mgmt/py-pysmi/pkg-descr (revision 470482) @@ -1,3 +1,3 @@ Pure-Python implementation of SNMP/SMI MIB parsing and conversion library -WWW: http://pysmi.sourceforge.net/ +WWW: http://snmplabs.com/pysmi/ Property changes on: head/net-mgmt/py-pysmi/pkg-descr ___________________________________________________________________ Modified: fbsd:nokeywords ## -1 +1 ## -on \ No newline at end of property +yes \ No newline at end of property