diff options
author | Bruce M Simpson <bms@FreeBSD.org> | 2009-07-05 20:34:22 +0000 |
---|---|---|
committer | Bruce M Simpson <bms@FreeBSD.org> | 2009-07-05 20:34:22 +0000 |
commit | 8833456a691e05ef719867740e294ca46f55f796 (patch) | |
tree | 177e04b850804f10602201b732651d797dc3cb24 /net-mgmt/py-pyang | |
parent | a670c9a1e17007fe41c649e0e3da1817401de0c5 (diff) | |
download | ports-8833456a691e05ef719867740e294ca46f55f796.tar.gz ports-8833456a691e05ef719867740e294ca46f55f796.zip |
Notes
Diffstat (limited to 'net-mgmt/py-pyang')
-rw-r--r-- | net-mgmt/py-pyang/Makefile | 36 | ||||
-rw-r--r-- | net-mgmt/py-pyang/distinfo | 3 | ||||
-rw-r--r-- | net-mgmt/py-pyang/pkg-descr | 12 | ||||
-rw-r--r-- | net-mgmt/py-pyang/pkg-plist | 64 |
4 files changed, 115 insertions, 0 deletions
diff --git a/net-mgmt/py-pyang/Makefile b/net-mgmt/py-pyang/Makefile new file mode 100644 index 000000000000..afd0fe758146 --- /dev/null +++ b/net-mgmt/py-pyang/Makefile @@ -0,0 +1,36 @@ +# New ports collection makefile for: py-pyang +# Date created: 2009-07-05 +# Whom: Bruce Simpson +# +# $FreeBSD$ +# + +PORTNAME= pyang +PORTVERSION= 0.9.3 +CATEGORIES= net-mgmt python +MASTER_SITES= ${MASTER_SITE_GOOGLE_CODE} +PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} + +MAINTAINER= bms@FreeBSD.org +COMMENT= Validator and code generator for YANG (RFC 4741) + +USE_PYTHON= 2.5+ +USE_PYDISTUTILS=yes + +MAKE_ENV+= YANG_INSTALL=${PREFIX} + +MAN1= pyang.1 +MANCOMPRESSED= no + +do-patch: + @${REINPLACE_CMD} 's,share/man/man1,man/man1,' ${WRKSRC}/setup.py + +# TODO: Sed YANG_INSTALL into pyang itself. +# TODO: Add yang2html to package. + +post-install: + @${ECHO_MSG} + @${ECHO_MSG} "Don't forget to set YANG_INSTALL to ${PREFIX} in your environment." + @${ECHO_MSG} + +.include <bsd.port.mk> diff --git a/net-mgmt/py-pyang/distinfo b/net-mgmt/py-pyang/distinfo new file mode 100644 index 000000000000..57a6a3ac1b76 --- /dev/null +++ b/net-mgmt/py-pyang/distinfo @@ -0,0 +1,3 @@ +MD5 (pyang-0.9.3.tar.gz) = 890bebf59418887dda7fe8bbecefa494 +SHA256 (pyang-0.9.3.tar.gz) = c603596a008d5490dc89be3daa7a569df014434a39727c32ab7fa3fa32e00e02 +SIZE (pyang-0.9.3.tar.gz) = 195729 diff --git a/net-mgmt/py-pyang/pkg-descr b/net-mgmt/py-pyang/pkg-descr new file mode 100644 index 000000000000..d0cb3282f356 --- /dev/null +++ b/net-mgmt/py-pyang/pkg-descr @@ -0,0 +1,12 @@ +YANG is a data modeling language for NETCONF (RFC4741), developed +by the IETF NETMOD WG. + +pyang is a YANG validator, transformator and code generator, written +in python. It can be used to validate YANG modules for correctness, +to transform YANG modules into other formats, and to generate code +from the modules. + +pyang is compatible with +http://www.ietf.org/internet-drafts/draft-ietf-netmod-yang-02.txt. + +WWW: http://code.google.com/p/pyang diff --git a/net-mgmt/py-pyang/pkg-plist b/net-mgmt/py-pyang/pkg-plist new file mode 100644 index 000000000000..c575c4fb9275 --- /dev/null +++ b/net-mgmt/py-pyang/pkg-plist @@ -0,0 +1,64 @@ +bin/pyang +%%PYTHON_SITELIBDIR%%/pyang/__init__.py +%%PYTHON_SITELIBDIR%%/pyang/__init__.pyc +%%PYTHON_SITELIBDIR%%/pyang/__init__.pyo +%%PYTHON_SITELIBDIR%%/pyang/debug.py +%%PYTHON_SITELIBDIR%%/pyang/debug.pyc +%%PYTHON_SITELIBDIR%%/pyang/debug.pyo +%%PYTHON_SITELIBDIR%%/pyang/error.py +%%PYTHON_SITELIBDIR%%/pyang/error.pyc +%%PYTHON_SITELIBDIR%%/pyang/error.pyo +%%PYTHON_SITELIBDIR%%/pyang/grammar.py +%%PYTHON_SITELIBDIR%%/pyang/grammar.pyc +%%PYTHON_SITELIBDIR%%/pyang/grammar.pyo +%%PYTHON_SITELIBDIR%%/pyang/plugin.py +%%PYTHON_SITELIBDIR%%/pyang/plugin.pyc +%%PYTHON_SITELIBDIR%%/pyang/plugin.pyo +%%PYTHON_SITELIBDIR%%/pyang/statements.py +%%PYTHON_SITELIBDIR%%/pyang/statements.pyc +%%PYTHON_SITELIBDIR%%/pyang/statements.pyo +%%PYTHON_SITELIBDIR%%/pyang/syntax.py +%%PYTHON_SITELIBDIR%%/pyang/syntax.pyc +%%PYTHON_SITELIBDIR%%/pyang/syntax.pyo +%%PYTHON_SITELIBDIR%%/pyang/types.py +%%PYTHON_SITELIBDIR%%/pyang/types.pyc +%%PYTHON_SITELIBDIR%%/pyang/types.pyo +%%PYTHON_SITELIBDIR%%/pyang/util.py +%%PYTHON_SITELIBDIR%%/pyang/util.pyc +%%PYTHON_SITELIBDIR%%/pyang/util.pyo +%%PYTHON_SITELIBDIR%%/pyang/yang_parser.py +%%PYTHON_SITELIBDIR%%/pyang/yang_parser.pyc +%%PYTHON_SITELIBDIR%%/pyang/yang_parser.pyo +%%PYTHON_SITELIBDIR%%/pyang/yin_parser.py +%%PYTHON_SITELIBDIR%%/pyang/yin_parser.pyc +%%PYTHON_SITELIBDIR%%/pyang/yin_parser.pyo +%%PYTHON_SITELIBDIR%%/pyang/plugins/__init__.py +%%PYTHON_SITELIBDIR%%/pyang/plugins/__init__.pyc +%%PYTHON_SITELIBDIR%%/pyang/plugins/__init__.pyo +%%PYTHON_SITELIBDIR%%/pyang/plugins/smi.py +%%PYTHON_SITELIBDIR%%/pyang/plugins/smi.pyc +%%PYTHON_SITELIBDIR%%/pyang/plugins/smi.pyo +%%PYTHON_SITELIBDIR%%/pyang/translators/__init__.py +%%PYTHON_SITELIBDIR%%/pyang/translators/__init__.pyc +%%PYTHON_SITELIBDIR%%/pyang/translators/__init__.pyo +%%PYTHON_SITELIBDIR%%/pyang/translators/dsdl.py +%%PYTHON_SITELIBDIR%%/pyang/translators/dsdl.pyc +%%PYTHON_SITELIBDIR%%/pyang/translators/dsdl.pyo +%%PYTHON_SITELIBDIR%%/pyang/translators/xsd.py +%%PYTHON_SITELIBDIR%%/pyang/translators/xsd.pyc +%%PYTHON_SITELIBDIR%%/pyang/translators/xsd.pyo +%%PYTHON_SITELIBDIR%%/pyang/translators/yang.py +%%PYTHON_SITELIBDIR%%/pyang/translators/yang.pyc +%%PYTHON_SITELIBDIR%%/pyang/translators/yang.pyo +%%PYTHON_SITELIBDIR%%/pyang/translators/yin.py +%%PYTHON_SITELIBDIR%%/pyang/translators/yin.pyc +%%PYTHON_SITELIBDIR%%/pyang/translators/yin.pyo +share/yang/modules/ieee-types.yang +share/yang/modules/inet-types.yang +share/yang/modules/yang-smi.yang +share/yang/modules/yang-types.yang +@dirrm %%PYTHON_SITELIBDIR%%/pyang/translators +@dirrm %%PYTHON_SITELIBDIR%%/pyang/plugins +@dirrm %%PYTHON_SITELIBDIR%%/pyang +@dirrm share/yang/modules +@dirrm share/yang |