Date: Wed, 19 Nov 2008 16:18:32 +0800 (CST) From: Yi-Jheng Lin <yzlin@cs.nctu.edu.tw> To: FreeBSD-gnats-submit@FreeBSD.org Cc: neal@nelson.name Subject: ports/128992: [PATCH] devel/py-yaml: update to 3.06 Message-ID: <200811190818.mAJ8IWBM092757@stucgi.cs.nctu.edu.tw> Resent-Message-ID: <200811190820.mAJ8K5qS093543@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 128992 >Category: ports >Synopsis: [PATCH] devel/py-yaml: update to 3.06 >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: update >Submitter-Id: current-users >Arrival-Date: Wed Nov 19 08:20:04 UTC 2008 >Closed-Date: >Last-Modified: >Originator: Yi-Jheng Lin >Release: FreeBSD 7.0-RELEASE-p4 amd64 >Organization: NCTU CS >Environment: System: FreeBSD stucgi 7.0-RELEASE-p4 FreeBSD 7.0-RELEASE-p4 #0: Fri Sep 5 14:56:26 CST >Description: - Update to 3.06 - Add a new knob "YAML" to enable libyaml binding Port maintainer (neal@nelson.name) is cc'd. Generated with FreeBSD Port Tools 0.77 >How-To-Repeat: >Fix: --- py-yaml-3.06.patch begins here --- Index: Makefile =================================================================== RCS file: /home/ncvs/ports/devel/py-yaml/Makefile,v retrieving revision 1.13 diff -u -r1.13 Makefile --- Makefile 30 Jul 2007 09:41:25 -0000 1.13 +++ Makefile 19 Nov 2008 08:15:42 -0000 @@ -7,7 +7,7 @@ # PORTNAME= yaml -PORTVERSION= 3.05 +PORTVERSION= 3.06 CATEGORIES= devel python MASTER_SITES= http://pyyaml.org/download/pyyaml/ PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} @@ -16,8 +16,37 @@ MAINTAINER= neal@nelson.name COMMENT= Python YAML parser +OPTIONS= YAML "Enable LibYAML binding" Off + USE_PYTHON= yes USE_PYDISTUTILS= yes PYDISTUTILS_PKGNAME= PyYAML -.include <bsd.port.mk> +# bypass infrastructure bug +OPTIONSFILE= ${PORT_DBDIR}/py-${PORTNAME}/options + +EXAMPLESDIR= ${PREFIX}/share/examples/py-${PORTNAME} + +.if !defined(NOPORTEXAMPLES) +post-install: + @(cd ${WRKSRC}/examples && ${COPYTREE_SHARE} . ${EXAMPLESDIR}/) +.endif + +.include <bsd.port.pre.mk> + +.if defined(WITH_YAML) +PYSETUP= setup.py --with-libyaml +PYDISTUTILS_BUILD_TARGET= build_ext +PYDISTUTILS_BUILDARGS+= --include-dirs=${LOCALBASE}/include \ + --library-dirs=${LOCALBASE}/lib + +LIB_DEPENDS+= yaml-0.1:${PORTSDIR}/textproc/libyaml + +PLIST_SUB+= YAML="" +.else +PYSETUP= setup.py --without-libyaml + +PLIST_SUB+= YAML="@comment " +.endif + +.include <bsd.port.post.mk> Index: distinfo =================================================================== RCS file: /home/ncvs/ports/devel/py-yaml/distinfo,v retrieving revision 1.9 diff -u -r1.9 distinfo --- distinfo 27 May 2007 10:40:25 -0000 1.9 +++ distinfo 19 Nov 2008 08:15:42 -0000 @@ -1,3 +1,3 @@ -MD5 (PyYAML-3.05.tar.gz) = 04ebb924a571cfb26d8143069068ce86 -SHA256 (PyYAML-3.05.tar.gz) = 27b69bf6f1452e8f41577646ddfe78f9528a437409927d5d543bc97d75e27a03 -SIZE (PyYAML-3.05.tar.gz) = 87136 +MD5 (PyYAML-3.06.tar.gz) = 3d3c92528f1547756c9e1d80d7d905c7 +SHA256 (PyYAML-3.06.tar.gz) = 8fdc65554131bef72265afa0781f61dcced0066b9fb4eddc22364d0bc68017e9 +SIZE (PyYAML-3.06.tar.gz) = 93512 Index: pkg-plist =================================================================== RCS file: /home/ncvs/ports/devel/py-yaml/pkg-plist,v retrieving revision 1.4 diff -u -r1.4 pkg-plist --- pkg-plist 4 Sep 2006 15:59:44 -0000 1.4 +++ pkg-plist 19 Nov 2008 08:15:42 -0000 @@ -1,3 +1,4 @@ +%%YAML%%%%PYTHON_SITELIBDIR%%/_yaml.so %%PYTHON_SITELIBDIR%%/yaml/__init__.py %%PYTHON_SITELIBDIR%%/yaml/__init__.pyc %%PYTHON_SITELIBDIR%%/yaml/__init__.pyo @@ -50,3 +51,10 @@ %%PYTHON_SITELIBDIR%%/yaml/tokens.pyc %%PYTHON_SITELIBDIR%%/yaml/tokens.pyo @dirrm %%PYTHON_SITELIBDIR%%/yaml +%%PORTEXAMPLES%%%%EXAMPLESDIR%%/pygments-lexer/yaml.py +%%PORTEXAMPLES%%%%EXAMPLESDIR%%/pygments-lexer/example.yaml +%%PORTEXAMPLES%%%%EXAMPLESDIR%%/yaml-highlight/yaml_hl.cfg +%%PORTEXAMPLES%%%%EXAMPLESDIR%%/yaml-highlight/yaml_hl.py +%%PORTEXAMPLES%%@dirrm %%EXAMPLESDIR%%/yaml-highlight +%%PORTEXAMPLES%%@dirrm %%EXAMPLESDIR%%/pygments-lexer +%%PORTEXAMPLES%%@dirrm %%EXAMPLESDIR%% --- py-yaml-3.06.patch ends here --- >Release-Note: >Audit-Trail: >Unformatted:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200811190818.mAJ8IWBM092757>