Index: head/devel/py-ptrace/Makefile =================================================================== --- head/devel/py-ptrace/Makefile (revision 530757) +++ head/devel/py-ptrace/Makefile (revision 530758) @@ -1,48 +1,48 @@ # Created by: Li-Wen Hsu # $FreeBSD$ PORTNAME= ptrace PORTVERSION= 0.9.3 CATEGORIES= devel python MASTER_SITES= CHEESESHOP PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} DISTNAME= python-ptrace-${PORTVERSION} MAINTAINER= sbz@FreeBSD.org COMMENT= Python binding of ptrace LICENSE= GPLv2 LICENSE_FILE= ${WRKSRC}/COPYING DEPRECATED= Uses deprecated version of python EXPIRATION_DATE= 2020-08-15 RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}distorm>0:devel/py-distorm@${PY_FLAVOR} USES= python:2.7 USE_PYTHON= distutils autoplist DOCSDIR= ${PREFIX}/share/doc/py-${PORTNAME} EXAMPLESDIR= ${PREFIX}/share/examples/py-${PORTNAME} PORTDOCS= PKG-INFO README.rst PORTEXAMPLES= itrace.py simple_dbg.py OPTIONS_DEFINE= DOCS EXAMPLES do-install-DOCS-on: @${MKDIR} ${STAGEDIR}${DOCSDIR} ${INSTALL_DATA} ${PORTDOCS:S,^,${WRKSRC}/,} ${STAGEDIR}${DOCSDIR} do-install-EXAMPLES-on: @${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 -do-test: extract +do-test: @(cd ${WRKSRC} && ${PYTHON_CMD} runtests.py) .include Index: head/devel/py-ptrace/pkg-descr =================================================================== --- head/devel/py-ptrace/pkg-descr (revision 530757) +++ head/devel/py-ptrace/pkg-descr (revision 530758) @@ -1,14 +1,15 @@ Python binding of ptrace library. Features: * High level Python object API : PtraceDebugger and PtraceProcess * Able to control multiple processes: catch fork events on Linux * Read/write bytes to arbitrary address: take care of memory alignment and split bytes to cpu word * Execution step by step using ptrace_singlestep() or hardware interruption 3 * Can use distorm disassembler * Dump registers, memory mappings, stack, etc. * Syscall tracer and parser (strace command) -WWW: http://bitbucket.org/haypo/python-ptrace/wiki/Home +WWW: https://github.com/vstinner/python-ptrace +WWW: https://python-ptrace.readthedocs.io/