Date: Mon, 1 Oct 2012 10:28:43 +0000 (UTC) From: Ruslan Mahmatkhanov <rm@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r305103 - in head/net-mgmt/py-pyang: . files Message-ID: <201210011028.q91AShcS027439@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: rm Date: Mon Oct 1 10:28:42 2012 New Revision: 305103 URL: http://svn.freebsd.org/changeset/ports/305103 Log: - update to 1.1 - trim Makefile header - add license (BSD) - limit python version to 2.x - add patch to not install LICENSE once again and to fix MANPREFIX1 - remove reinplace that is now handled with aforementioned patch - install yang2dsdl, yang2html and update TODO Added: head/net-mgmt/py-pyang/files/ head/net-mgmt/py-pyang/files/patch-setup.py (contents, props changed) Modified: head/net-mgmt/py-pyang/Makefile head/net-mgmt/py-pyang/distinfo head/net-mgmt/py-pyang/pkg-plist Modified: head/net-mgmt/py-pyang/Makefile ============================================================================== --- head/net-mgmt/py-pyang/Makefile Mon Oct 1 09:51:15 2012 (r305102) +++ head/net-mgmt/py-pyang/Makefile Mon Oct 1 10:28:42 2012 (r305103) @@ -1,32 +1,24 @@ -# New ports collection makefile for: py-pyang -# Date created: 2009-07-05 -# Whom: Bruce Simpson -# +# Created by: Bruce Simpson # $FreeBSD$ -# PORTNAME= pyang -PORTVERSION= 0.9.3 +PORTVERSION= 1.1 CATEGORIES= net-mgmt python -MASTER_SITES= ${MASTER_SITE_GOOGLE_CODE} +MASTER_SITES= GOOGLE_CODE PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} MAINTAINER= ports@FreeBSD.org COMMENT= Validator and code generator for YANG (RFC 4741) -USE_PYTHON= 2.5+ +LICENSE= BSD + +USE_PYTHON= -2.7 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 +MAN1= pyang.1 yang2dsdl.1 # TODO: Sed YANG_INSTALL into pyang itself. -# TODO: Add yang2html to package. post-install: @${ECHO_MSG} Modified: head/net-mgmt/py-pyang/distinfo ============================================================================== --- head/net-mgmt/py-pyang/distinfo Mon Oct 1 09:51:15 2012 (r305102) +++ head/net-mgmt/py-pyang/distinfo Mon Oct 1 10:28:42 2012 (r305103) @@ -1,2 +1,2 @@ -SHA256 (pyang-0.9.3.tar.gz) = c603596a008d5490dc89be3daa7a569df014434a39727c32ab7fa3fa32e00e02 -SIZE (pyang-0.9.3.tar.gz) = 195729 +SHA256 (pyang-1.1.tar.gz) = d45567d67594f744cb9d1cbfef46c2049b194c2ae76af5bf0a421b12896ed31c +SIZE (pyang-1.1.tar.gz) = 140918 Added: head/net-mgmt/py-pyang/files/patch-setup.py ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/net-mgmt/py-pyang/files/patch-setup.py Mon Oct 1 10:28:42 2012 (r305103) @@ -0,0 +1,12 @@ +--- ./setup.py.orig 2010-11-17 11:11:03.000000000 +0300 ++++ ./setup.py 2012-10-01 13:36:11.000000000 +0400 +@@ -14,8 +14,7 @@ + url='http://code.google.com/p/pyang', + scripts=['bin/pyang', 'bin/yang2html', 'bin/yang2dsdl'], + packages=['pyang', 'pyang.plugins', 'pyang.translators'], +- data_files=[('.', ['LICENSE']), +- ('share/man/man1', ['man/man1/pyang.1', ++ data_files=[('man/man1', ['man/man1/pyang.1', + 'man/man1/yang2dsdl.1']), + ('share/yang/modules', modules), + ('share/yang/xslt', xslt), Modified: head/net-mgmt/py-pyang/pkg-plist ============================================================================== --- head/net-mgmt/py-pyang/pkg-plist Mon Oct 1 09:51:15 2012 (r305102) +++ head/net-mgmt/py-pyang/pkg-plist Mon Oct 1 10:28:42 2012 (r305103) @@ -1,10 +1,9 @@ bin/pyang +bin/yang2dsdl +bin/yang2html %%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 @@ -14,36 +13,39 @@ bin/pyang %%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/depend.py +%%PYTHON_SITELIBDIR%%/pyang/plugins/depend.pyc +%%PYTHON_SITELIBDIR%%/pyang/plugins/depend.pyo +%%PYTHON_SITELIBDIR%%/pyang/plugins/ietf.py +%%PYTHON_SITELIBDIR%%/pyang/plugins/ietf.pyc +%%PYTHON_SITELIBDIR%%/pyang/plugins/ietf.pyo %%PYTHON_SITELIBDIR%%/pyang/plugins/smi.py %%PYTHON_SITELIBDIR%%/pyang/plugins/smi.pyc %%PYTHON_SITELIBDIR%%/pyang/plugins/smi.pyo +%%PYTHON_SITELIBDIR%%/pyang/plugins/tree.py +%%PYTHON_SITELIBDIR%%/pyang/plugins/tree.pyc +%%PYTHON_SITELIBDIR%%/pyang/plugins/tree.pyo +%%PYTHON_SITELIBDIR%%/pyang/plugins/uml.py +%%PYTHON_SITELIBDIR%%/pyang/plugins/uml.pyc +%%PYTHON_SITELIBDIR%%/pyang/plugins/uml.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/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/schemanode.py +%%PYTHON_SITELIBDIR%%/pyang/translators/schemanode.pyc +%%PYTHON_SITELIBDIR%%/pyang/translators/schemanode.pyo %%PYTHON_SITELIBDIR%%/pyang/translators/xsd.py %%PYTHON_SITELIBDIR%%/pyang/translators/xsd.pyc %%PYTHON_SITELIBDIR%%/pyang/translators/xsd.pyo @@ -53,12 +55,41 @@ bin/pyang %%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 +%%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/xpath.py +%%PYTHON_SITELIBDIR%%/pyang/xpath.pyc +%%PYTHON_SITELIBDIR%%/pyang/xpath.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 +share/yang/modules/ietf-inet-types.yang +share/yang/modules/ietf-netconf-monitoring.yang +share/yang/modules/ietf-yang-types.yang share/yang/modules/yang-smi.yang -share/yang/modules/yang-types.yang +share/yang/schema/relaxng-lib.rng +share/yang/schema/yin.rng +share/yang/xslt/basename.xsl +share/yang/xslt/dsrl2xslt.xsl +share/yang/xslt/gen-common.xsl +share/yang/xslt/gen-dsrl.xsl +share/yang/xslt/gen-relaxng.xsl +share/yang/xslt/gen-schematron.xsl +share/yang/xslt/iso_abstract_expand.xsl +share/yang/xslt/iso_schematron_skeleton_for_xslt1.xsl +share/yang/xslt/iso_svrl_for_xslt1.xsl +share/yang/xslt/svrl2text.xsl +@dirrm share/yang/xslt +@dirrm share/yang/schema +@dirrm share/yang/modules +@dirrm share/yang @dirrm %%PYTHON_SITELIBDIR%%/pyang/translators @dirrm %%PYTHON_SITELIBDIR%%/pyang/plugins @dirrm %%PYTHON_SITELIBDIR%%/pyang -@dirrm share/yang/modules -@dirrm share/yang
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201210011028.q91AShcS027439>