Date: Tue, 2 Jul 2013 07:15:49 +0000 (UTC) From: Sofian Brabez <sbz@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r322158 - head/devel/py-ptrace Message-ID: <201307020715.r627FnxG036016@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: sbz Date: Tue Jul 2 07:15:49 2013 New Revision: 322158 URL: http://svnweb.freebsd.org/changeset/ports/322158 Log: - Update to 0.6.5 - Convert to new options framework - Respect PORTDOCS and PORTEXAMPLES - Take maintainership Submitted by: sbz (myself) Approved by: lwhsu Modified: head/devel/py-ptrace/Makefile (contents, props changed) head/devel/py-ptrace/distinfo (contents, props changed) head/devel/py-ptrace/pkg-plist (contents, props changed) Modified: head/devel/py-ptrace/Makefile ============================================================================== --- head/devel/py-ptrace/Makefile Tue Jul 2 06:21:24 2013 (r322157) +++ head/devel/py-ptrace/Makefile Tue Jul 2 07:15:49 2013 (r322158) @@ -1,32 +1,50 @@ -# New ports collection makefile for: py-ptrace -# Date created: 2008-06-15 -# Whom: Li-Wen Hsu <lwhsu@FreeBSD.org> -# +# Created by: Li-Wen Hsu <lwhsu@FreeBSD.org> # $FreeBSD$ -# PORTNAME= ptrace -PORTVERSION= 0.6.3 -PORTREVISION= 1 +PORTVERSION= 0.6.5 CATEGORIES= devel python MASTER_SITES= CHEESESHOP PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} DISTNAME= python-ptrace-${PORTVERSION} -MAINTAINER= lwhsu@FreeBSD.org +MAINTAINER= sbz@FreeBSD.org COMMENT= Python binding of ptrace -RUN_DEPENDS= ${PYTHON_SITELIBDIR}/distorm3/libdistorm3.so:${PORTSDIR}/devel/py-distorm +LICENSE= GPLv2 + +RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}distorm>0:${PORTSDIR}/devel/py-distorm -USE_PYTHON= 2.5-2.7 +USE_PYTHON= 2.7+ USE_PYDISTUTILS= yes PYDISTUTILS_PKGNAME= python_ptrace -LICENSE= GPLv2 + +OPTIONS_DEFINE= DOCS EXAMPLES + +DOCSDIR= ${PREFIX}/share/doc/py-${PORTNAME} +EXAMPLESDIR= ${DOCSDIR:C/doc/examples/} + +PORTSDOCS= AUTHORS ChangeLog PKG-INFO README README.cptrace TODO ONLY_FOR_ARCHS= i386 +.include <bsd.port.options.mk> + post-patch: ${REINPLACE_CMD} -e 's|libdistorm64.so|${PYTHON_SITELIBDIR}/distorm3/libdistorm3.so|' \ ${WRKSRC}/ptrace/pydistorm.py +post-install: +.if ${PORT_OPTIONS:MDOCS} + @${MKDIR} ${DOCSDIR} + ${INSTALL_DATA} ${PORTSDOCS:S,^,${WRKSRC}/,} ${DOCSDIR} +.endif +.if ${PORT_OPTIONS:MEXAMPLES} + @${MKDIR} ${EXAMPLESDIR} + @(cd ${WRKSRC}/examples && ${COPYTREE_SHARE} \* ${EXAMPLESDIR}) +.endif + +regression-test: extract + @(cd ${WRKSRC} && ${PYTHON_CMD} test_doc.py) + .include <bsd.port.mk> Modified: head/devel/py-ptrace/distinfo ============================================================================== --- head/devel/py-ptrace/distinfo Tue Jul 2 06:21:24 2013 (r322157) +++ head/devel/py-ptrace/distinfo Tue Jul 2 07:15:49 2013 (r322158) @@ -1,2 +1,2 @@ -SHA256 (python-ptrace-0.6.3.tar.gz) = e44934725397c69777ef38ce0f03380840425f0974c7ba4a914a023541d39aa6 -SIZE (python-ptrace-0.6.3.tar.gz) = 77030 +SHA256 (python-ptrace-0.6.5.tar.gz) = 11d339f791f052fcd76b95b27203b6da194c87c6f7a0188bbe4154b27840b3a3 +SIZE (python-ptrace-0.6.5.tar.gz) = 77546 Modified: head/devel/py-ptrace/pkg-plist ============================================================================== --- head/devel/py-ptrace/pkg-plist Tue Jul 2 06:21:24 2013 (r322157) +++ head/devel/py-ptrace/pkg-plist Tue Jul 2 07:15:49 2013 (r322158) @@ -181,3 +181,13 @@ bin/strace.py @dirrm %%PYTHON_SITELIBDIR%%/ptrace/debugger @dirrm %%PYTHON_SITELIBDIR%%/ptrace/binding @dirrm %%PYTHON_SITELIBDIR%%/ptrace +%%PORTDOCS%%%%DOCSDIR%%/AUTHORS +%%PORTDOCS%%%%DOCSDIR%%/ChangeLog +%%PORTDOCS%%%%DOCSDIR%%/PKG-INFO +%%PORTDOCS%%%%DOCSDIR%%/README +%%PORTDOCS%%%%DOCSDIR%%/README.cptrace +%%PORTDOCS%%%%DOCSDIR%%/TODO +%%PORTDOCS%%@dirrm %%DOCSDIR%% +%%PORTEXAMPLES%%%%EXAMPLESDIR%%/itrace.py +%%PORTEXAMPLES%%%%EXAMPLESDIR%%/simple_dbg.py +%%PORTEXAMPLES%%@dirrm %%EXAMPLESDIR%%
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201307020715.r627FnxG036016>