Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 25 Mar 2014 07:37:16 +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: r349110 - head/devel/py-ptrace
Message-ID:  <201403250737.s2P7bGZ9057157@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: sbz
Date: Tue Mar 25 07:37:15 2014
New Revision: 349110
URL: http://svnweb.freebsd.org/changeset/ports/349110
QAT: https://qat.redports.org/buildarchive/r349110/

Log:
  - Update to 0.7
  - Update pkg-descr
  - Support STAGEDIR

Deleted:
  head/devel/py-ptrace/pkg-plist
Modified:
  head/devel/py-ptrace/Makefile
  head/devel/py-ptrace/distinfo
  head/devel/py-ptrace/pkg-descr

Modified: head/devel/py-ptrace/Makefile
==============================================================================
--- head/devel/py-ptrace/Makefile	Tue Mar 25 07:37:07 2014	(r349109)
+++ head/devel/py-ptrace/Makefile	Tue Mar 25 07:37:15 2014	(r349110)
@@ -2,7 +2,7 @@
 # $FreeBSD$
 
 PORTNAME=	ptrace
-PORTVERSION=	0.6.5
+PORTVERSION=	0.7
 CATEGORIES=	devel python
 MASTER_SITES=	CHEESESHOP
 PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
@@ -17,34 +17,26 @@ RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}dist
 
 USE_PYTHON=	yes
 USE_PYDISTUTILS=	yes
-PYDISTUTILS_PKGNAME=	python_ptrace
-
-OPTIONS_DEFINE=	DOCS EXAMPLES
+PYDISTUTILS_AUTOPLIST=	yes
 
 DOCSDIR=	${PREFIX}/share/doc/py-${PORTNAME}
-EXAMPLESDIR=	${DOCSDIR:C/doc/examples/}
+EXAMPLESDIR=	${PREFIX}/share/examples/py-${PORTNAME}
 
-PORTSDOCS=	AUTHORS ChangeLog PKG-INFO README README.cptrace TODO
+PORTDOCS=	AUTHORS ChangeLog PKG-INFO README README.cptrace TODO
+PORTEXAMPLES=	itrace.py simple_dbg.py
 
-ONLY_FOR_ARCHS=	i386
+OPTIONS_DEFINE= DOCS EXAMPLES
 
-NO_STAGE=	yes
-.include <bsd.port.options.mk>
+post-install:
+	@${MKDIR} ${STAGEDIR}${DOCSDIR}
+	${INSTALL_DATA} ${PORTDOCS:S,^,${WRKSRC}/,} ${STAGEDIR}${DOCSDIR}
+	@${MKDIR} ${STAGEDIR}${EXAMPLESDIR}
+	${INSTALL_DATA} ${PORTEXAMPLES:S,^,${WRKSRC}/examples/,} ${STAGEDIR}${EXAMPLESDIR}
 
 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)
 

Modified: head/devel/py-ptrace/distinfo
==============================================================================
--- head/devel/py-ptrace/distinfo	Tue Mar 25 07:37:07 2014	(r349109)
+++ head/devel/py-ptrace/distinfo	Tue Mar 25 07:37:15 2014	(r349110)
@@ -1,2 +1,2 @@
-SHA256 (python-ptrace-0.6.5.tar.gz) = 11d339f791f052fcd76b95b27203b6da194c87c6f7a0188bbe4154b27840b3a3
-SIZE (python-ptrace-0.6.5.tar.gz) = 77546
+SHA256 (python-ptrace-0.7.tar.gz) = df268620f8201ef7be65be6967799409b9b1befaabb669a09ff59451f17a3c6f
+SIZE (python-ptrace-0.7.tar.gz) = 84069

Modified: head/devel/py-ptrace/pkg-descr
==============================================================================
--- head/devel/py-ptrace/pkg-descr	Tue Mar 25 07:37:07 2014	(r349109)
+++ head/devel/py-ptrace/pkg-descr	Tue Mar 25 07:37:15 2014	(r349110)
@@ -11,4 +11,4 @@ Features:
 * Dump registers, memory mappings, stack, etc.
 * Syscall tracer and parser (strace command) 
 
-WWW:	http://bitbucket.org/haypo/python-ptrace/wiki/Home
+WWW: http://bitbucket.org/haypo/python-ptrace/wiki/Home



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