Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 2 Mar 2013 06:41:11 +0000 (UTC)
From:      Martin Wilke <miwi@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r313215 - in head/net-mgmt/py-pyang: . files
Message-ID:  <201303020641.r226fB6n075120@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: miwi
Date: Sat Mar  2 06:41:11 2013
New Revision: 313215
URL: http://svnweb.freebsd.org/changeset/ports/313215

Log:
  - Update to 1.3
  
  PR:		176559
  Submitted by:	Ports Fury

Deleted:
  head/net-mgmt/py-pyang/files/
Modified:
  head/net-mgmt/py-pyang/Makefile   (contents, props changed)
  head/net-mgmt/py-pyang/distinfo   (contents, props changed)
  head/net-mgmt/py-pyang/pkg-plist   (contents, props changed)

Modified: head/net-mgmt/py-pyang/Makefile
==============================================================================
--- head/net-mgmt/py-pyang/Makefile	Sat Mar  2 06:40:21 2013	(r313214)
+++ head/net-mgmt/py-pyang/Makefile	Sat Mar  2 06:41:11 2013	(r313215)
@@ -2,7 +2,7 @@
 # $FreeBSD$
 
 PORTNAME=	pyang
-PORTVERSION=	1.2
+PORTVERSION=	1.3
 CATEGORIES=	net-mgmt python
 MASTER_SITES=	GOOGLE_CODE
 PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
@@ -15,14 +15,12 @@ LICENSE=	BSD
 USE_PYTHON=	-2.7
 USE_PYDISTUTILS=yes
 
-MAKE_ENV+=	YANG_INSTALL=${PREFIX}
-MAN1=		pyang.1 yang2dsdl.1
+DATADIR=	${PREFIX}/share/yang
 
-# TODO: Sed YANG_INSTALL into pyang itself.
+MAN1=		pyang.1 yang2dsdl.1
 
-post-install:
-	@${ECHO_MSG}
-	@${ECHO_MSG} "Don't forget to set YANG_INSTALL to ${PREFIX} in your environment."
-	@${ECHO_MSG}
+post-patch:
+	@${REINPLACE_CMD} -e \
+		's|share/man|man|' ${WRKSRC}/setup.py
 
 .include <bsd.port.mk>

Modified: head/net-mgmt/py-pyang/distinfo
==============================================================================
--- head/net-mgmt/py-pyang/distinfo	Sat Mar  2 06:40:21 2013	(r313214)
+++ head/net-mgmt/py-pyang/distinfo	Sat Mar  2 06:41:11 2013	(r313215)
@@ -1,2 +1,2 @@
-SHA256 (pyang-1.2.tar.gz) = b8774f4eaa0561d82ca30887a4e6d623c1e5c44012cfedb7a62596da45310d4c
-SIZE (pyang-1.2.tar.gz) = 146708
+SHA256 (pyang-1.3.tar.gz) = 361c6a943feb47776d28fc6e5809c52e1ebaf9067c4fa7a853c120875c76ac39
+SIZE (pyang-1.3.tar.gz) = 188048

Modified: head/net-mgmt/py-pyang/pkg-plist
==============================================================================
--- head/net-mgmt/py-pyang/pkg-plist	Sat Mar  2 06:40:21 2013	(r313214)
+++ head/net-mgmt/py-pyang/pkg-plist	Sat Mar  2 06:41:11 2013	(r313215)
@@ -10,6 +10,9 @@ bin/yang2html
 %%PYTHON_SITELIBDIR%%/pyang/grammar.py
 %%PYTHON_SITELIBDIR%%/pyang/grammar.pyc
 %%PYTHON_SITELIBDIR%%/pyang/grammar.pyo
+%%PYTHON_SITELIBDIR%%/pyang/hello.py
+%%PYTHON_SITELIBDIR%%/pyang/hello.pyc
+%%PYTHON_SITELIBDIR%%/pyang/hello.pyo
 %%PYTHON_SITELIBDIR%%/pyang/plugin.py
 %%PYTHON_SITELIBDIR%%/pyang/plugin.pyc
 %%PYTHON_SITELIBDIR%%/pyang/plugin.pyo
@@ -19,9 +22,21 @@ bin/yang2html
 %%PYTHON_SITELIBDIR%%/pyang/plugins/depend.py
 %%PYTHON_SITELIBDIR%%/pyang/plugins/depend.pyc
 %%PYTHON_SITELIBDIR%%/pyang/plugins/depend.pyo
+%%PYTHON_SITELIBDIR%%/pyang/plugins/hypertree.py
+%%PYTHON_SITELIBDIR%%/pyang/plugins/hypertree.pyc
+%%PYTHON_SITELIBDIR%%/pyang/plugins/hypertree.pyo
 %%PYTHON_SITELIBDIR%%/pyang/plugins/ietf.py
 %%PYTHON_SITELIBDIR%%/pyang/plugins/ietf.pyc
 %%PYTHON_SITELIBDIR%%/pyang/plugins/ietf.pyo
+%%PYTHON_SITELIBDIR%%/pyang/plugins/jsonxsl.py
+%%PYTHON_SITELIBDIR%%/pyang/plugins/jsonxsl.pyc
+%%PYTHON_SITELIBDIR%%/pyang/plugins/jsonxsl.pyo
+%%PYTHON_SITELIBDIR%%/pyang/plugins/jstree.py
+%%PYTHON_SITELIBDIR%%/pyang/plugins/jstree.pyc
+%%PYTHON_SITELIBDIR%%/pyang/plugins/jstree.pyo
+%%PYTHON_SITELIBDIR%%/pyang/plugins/jtox.py
+%%PYTHON_SITELIBDIR%%/pyang/plugins/jtox.pyc
+%%PYTHON_SITELIBDIR%%/pyang/plugins/jtox.pyo
 %%PYTHON_SITELIBDIR%%/pyang/plugins/smi.py
 %%PYTHON_SITELIBDIR%%/pyang/plugins/smi.pyc
 %%PYTHON_SITELIBDIR%%/pyang/plugins/smi.pyo
@@ -31,6 +46,9 @@ bin/yang2html
 %%PYTHON_SITELIBDIR%%/pyang/plugins/uml.py
 %%PYTHON_SITELIBDIR%%/pyang/plugins/uml.pyc
 %%PYTHON_SITELIBDIR%%/pyang/plugins/uml.pyo
+%%PYTHON_SITELIBDIR%%/pyang/plugins/xmi.py
+%%PYTHON_SITELIBDIR%%/pyang/plugins/xmi.pyc
+%%PYTHON_SITELIBDIR%%/pyang/plugins/xmi.pyo
 %%PYTHON_SITELIBDIR%%/pyang/statements.py
 %%PYTHON_SITELIBDIR%%/pyang/statements.pyc
 %%PYTHON_SITELIBDIR%%/pyang/statements.pyo
@@ -70,27 +88,45 @@ bin/yang2html
 %%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/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
-share/yang/xslt/yin2yang.xsl
-@dirrm share/yang/xslt
-@dirrm share/yang/schema
-@dirrm share/yang/modules
-@dirrm share/yang
+%%DATADIR%%/images/case.png
+%%DATADIR%%/images/choice.png
+%%DATADIR%%/images/container.png
+%%DATADIR%%/images/file.gif
+%%DATADIR%%/images/focus.png
+%%DATADIR%%/images/folder-closed.gif
+%%DATADIR%%/images/folder-open.gif
+%%DATADIR%%/images/hammer.png
+%%DATADIR%%/images/leaf-list.png
+%%DATADIR%%/images/leaf-plus.png
+%%DATADIR%%/images/leaf.png
+%%DATADIR%%/images/leafref.png
+%%DATADIR%%/images/list.png
+%%DATADIR%%/images/module.png
+%%DATADIR%%/images/notification.png
+%%DATADIR%%/modules/ietf-inet-types.yang
+%%DATADIR%%/modules/ietf-netconf-monitoring.yang
+%%DATADIR%%/modules/ietf-yang-smiv2.yang
+%%DATADIR%%/modules/ietf-yang-types.yang
+%%DATADIR%%/schema/relaxng-lib.rng
+%%DATADIR%%/schema/yin.rng
+%%DATADIR%%/xslt/basename.xsl
+%%DATADIR%%/xslt/canonicalize.xsl
+%%DATADIR%%/xslt/dsrl2xslt.xsl
+%%DATADIR%%/xslt/gen-common.xsl
+%%DATADIR%%/xslt/gen-dsrl.xsl
+%%DATADIR%%/xslt/gen-relaxng.xsl
+%%DATADIR%%/xslt/gen-schematron.xsl
+%%DATADIR%%/xslt/iso_abstract_expand.xsl
+%%DATADIR%%/xslt/iso_schematron_skeleton_for_xslt1.xsl
+%%DATADIR%%/xslt/iso_svrl_for_xslt1.xsl
+%%DATADIR%%/xslt/jsonxsl-templates.xsl
+%%DATADIR%%/xslt/svrl2text.xsl
+%%DATADIR%%/xslt/yin2yang.xsl
+@dirrm %%DATADIR%%/xslt
+@dirrm %%DATADIR%%/schema
+@dirrm %%DATADIR%%/modules
+@dirrm %%DATADIR%%/images
+@dirrm %%DATADIR%%
 @dirrm %%PYTHON_SITELIBDIR%%/pyang/translators
 @dirrm %%PYTHON_SITELIBDIR%%/pyang/plugins
 @dirrm %%PYTHON_SITELIBDIR%%/pyang



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201303020641.r226fB6n075120>