FreeBSD Bugzilla – Attachment 163157 Details for
Bug 204572
[NEW PORT] net-mgmt/py-pysmi: SNMP/SMI MIB parsing in Python
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
net-mgmt/py-pysmi: New port SHAR file
net-mgmt_py-pysmi.shar (text/plain), 3.27 KB, created by
John W. O'Brien
on 2015-11-15 21:54:48 UTC
(
hide
)
Description:
net-mgmt/py-pysmi: New port SHAR file
Filename:
MIME Type:
Creator:
John W. O'Brien
Created:
2015-11-15 21:54:48 UTC
Size:
3.27 KB
patch
obsolete
># This is a shell archive. Save it in a file, remove anything before ># this line, and then unpack it by entering "sh file". Note, it may ># create directories; files and directories will be owned by you and ># have default permissions. ># ># This archive contains: ># ># py-pysmi ># py-pysmi/files ># py-pysmi/files/tests__init__.py ># py-pysmi/files/patch-setup.py ># py-pysmi/distinfo ># py-pysmi/Makefile ># py-pysmi/pkg-descr ># >echo c - py-pysmi >mkdir -p py-pysmi > /dev/null 2>&1 >echo c - py-pysmi/files >mkdir -p py-pysmi/files > /dev/null 2>&1 >echo x - py-pysmi/files/tests__init__.py >sed 's/^X//' >py-pysmi/files/tests__init__.py << '2f7996ff61458036b70ae6271c0f88e2' >Xfrom unittest import SkipTest, TestSuite >X >X >Xdef load_tests(loader, tests, pattern): >X import suite >X return suite.suite >X >X >Xtry: >X from pysnmp.smi.builder import MibBuilder >Xexcept ImportError: >X >X # python -m unittest pysmi.tests >X def load_tests(*args, **kwars): >X print("Skipping test suite: pysnmp is not installed") >X return TestSuite() >X >X # nosetests pysmi >X def setup(): >X raise SkipTest("pysnmp is not installed") >2f7996ff61458036b70ae6271c0f88e2 >echo x - py-pysmi/files/patch-setup.py >sed 's/^X//' >py-pysmi/files/patch-setup.py << '01c70ac19154d62b1a2247d5a2ba9297' >X--- setup.py.orig 2015-11-07 19:23:39 UTC >X+++ setup.py >X@@ -80,7 +80,8 @@ params.update( { >X 'pysmi.parser', >X 'pysmi.codegen', >X 'pysmi.borrower', >X- 'pysmi.writer' ], >X+ 'pysmi.writer', >X+ 'pysmi.tests' ], >X 'scripts': [ os.path.join('scripts','mibdump.py') ] >X } ) >X >01c70ac19154d62b1a2247d5a2ba9297 >echo x - py-pysmi/distinfo >sed 's/^X//' >py-pysmi/distinfo << 'fbf70786e9fb1a84fb45449e52ea1014' >XSHA256 (pysmi-0.0.6.tar.gz) = f04641fd88239ad6708aad9f8b24bc1606b225346bb6a7bb7253cc2103a7d9a0 >XSIZE (pysmi-0.0.6.tar.gz) = 55917 >fbf70786e9fb1a84fb45449e52ea1014 >echo x - py-pysmi/Makefile >sed 's/^X//' >py-pysmi/Makefile << '606aff047d9bad6243aebacc452728c0' >X# Created by: John W. O'Brien <john@saltant.com> >X# $FreeBSD$ >X >XPORTNAME= pysmi >XPORTVERSION= 0.0.6 >XCATEGORIES= net-mgmt python >XMASTER_SITES= CHEESESHOP \ >X SF/pysmi/pysmi/${PORTVERSION} >XPKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} >X >XMAINTAINER= john@saltant.com >XCOMMENT= SNMP/SMI MIB parsing in Python >X >XLICENSE= BSD2CLAUSE >X >XRUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}ply>=0:${PORTSDIR}/devel/py-ply >X >XUSES= python shebangfix >XUSE_PYTHON= autoplist concurrent distutils >XSHEBANG_FILES= scripts/mibdump.py >X >XOPTIONS_DEFINE= DOCS EXAMPLES >X >XPORTDOCS= * >XPORTEXAMPLES= * >X >XBASEDOCS= CHANGES.txt README.txt TODO.txt >X >Xpost-patch: >X ${CP} ${FILESDIR}/tests__init__.py ${WRKSRC}/tests/__init__.py >X ${MV} ${WRKSRC}/tests ${WRKSRC}/${PORTNAME} >X >Xpost-install: >X @${MKDIR} ${STAGEDIR}${DOCSDIR} >X ${INSTALL_DATA} ${BASEDOCS:S,^,${WRKSRC}/,} ${STAGEDIR}${DOCSDIR} >X >X @${MKDIR} ${STAGEDIR}${EXAMPLESDIR} >X (cd ${WRKSRC}/examples && ${COPYTREE_SHARE} . ${STAGEDIR}${EXAMPLESDIR}) >X >X.include <bsd.port.mk> >606aff047d9bad6243aebacc452728c0 >echo x - py-pysmi/pkg-descr >sed 's/^X//' >py-pysmi/pkg-descr << 'cc8c1ee0d7ba64784a6b0884dd45c121' >XPure-Python implementation of SNMP/SMI MIB parsing and conversion library >X >XWWW: http://pysmi.sourceforge.net/ >cc8c1ee0d7ba64784a6b0884dd45c121 >exit >
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Raw
Actions:
View
Attachments on
bug 204572
: 163157 |
163158
|
163159