ports/186157: [NEW PORT] devel/py-yappi: Yet Another Python Profiler
Johannes Jost Meixner
xmj at chaot.net
Mon Jan 27 06:00:00 UTC 2014
>Number: 186157
>Category: ports
>Synopsis: [NEW PORT] devel/py-yappi: Yet Another Python Profiler
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: freebsd-ports-bugs
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: change-request
>Submitter-Id: current-users
>Arrival-Date: Mon Jan 27 06:00:00 UTC 2014
>Closed-Date:
>Last-Modified:
>Originator: Johannes Jost Meixner
>Release: FreeBSD 11.0-CURRENT amd64
>Organization:
Goldener Grund OUe
>Environment:
System: FreeBSD mx12.chaot.net 11.0-CURRENT FreeBSD 11.0-CURRENT #0: Wed Jan 15 11:44:09 EET 2014
>Description:
Yappi is designed to work on long-running multi-threaded application.
It is possible to profile an application, retrieve the
statistics, then stop and start later on on the fly (without affecting the
profiled application).
WWW: https://pypi.python.org/pypi/yappi/
Generated with FreeBSD Port Tools 0.99_8 (mode: new)
>How-To-Repeat:
>Fix:
--- .shar begins here ---
# This is a shell archive. Save it in a file, remove anything before
# this line, and then unpack it by entering "sh file". Note, it may
# create directories; files and directories will be owned by you and
# have default permissions.
#
# This archive contains:
#
# py-yappi
# py-yappi/distinfo
# py-yappi/Makefile
# py-yappi/pkg-descr
# py-yappi/files
# py-yappi/files/patch-setup.py
#
echo c - py-yappi
mkdir -p py-yappi > /dev/null 2>&1
echo x - py-yappi/distinfo
sed 's/^X//' >py-yappi/distinfo << '4af61bc7f436e51f124a3ae16bd373d4'
XSHA256 (yappi-0.82.tar.gz) = 1321532bd47ddb4998c1f1a95f51f2a6a0e652fdfe93f82a25e41e77dca78f23
XSIZE (yappi-0.82.tar.gz) = 29841
4af61bc7f436e51f124a3ae16bd373d4
echo x - py-yappi/Makefile
sed 's/^X//' >py-yappi/Makefile << '128a884fddc3dbe7786826decfa42092'
X# Created by: Johannes Meixner <xmj at chaot.net>
X# $FreeBSD$
X
XPORTNAME= yappi
XPORTVERSION= 0.82
XCATEGORIES= devel python
XMASTER_SITES= CHEESESHOP
XPKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
X
XMAINTAINER= xmj at chaot.net
XCOMMENT= Yet Another Python Profiler
X
XLICENSE= MIT
X
XOPTIONS_DEFINE= DOCS
XPORTDOCS= *
X
XUSE_PYTHON= yes
XUSE_PYDISTUTILS= yes
XPYDISTUTILS_AUTOPLIST= yes
X
Xpost-patch:
X ${RM} ${WRKSRC}/ez_setup.py
X ${RM} ${WRKSRC}/distribute_setup.py
X
Xpost-install:
X ${MKDIR} ${STAGEDIR}${DOCSDIR}
X ${INSTALL_DATA} ${WRKSRC}/README ${STAGEDIR}${DOCSDIR}
X
X.include <bsd.port.mk>
128a884fddc3dbe7786826decfa42092
echo x - py-yappi/pkg-descr
sed 's/^X//' >py-yappi/pkg-descr << '5f514b53757ebebde4d77843856e6d67'
XYappi is designed to work on long-running multi-threaded application.
X
XIt is possible to profile an application, retrieve the
Xstatistics, then stop and start later on on the fly (without affecting the
Xprofiled application).
X
XWWW: https://pypi.python.org/pypi/yappi/
5f514b53757ebebde4d77843856e6d67
echo c - py-yappi/files
mkdir -p py-yappi/files > /dev/null 2>&1
echo x - py-yappi/files/patch-setup.py
sed 's/^X//' >py-yappi/files/patch-setup.py << '94b5a293a7e36ac828b2ede1e4cf3d3a'
X--- ./setup.py.orig 2014-01-06 14:49:25.000000000 +0200
X+++ ./setup.py 2014-01-07 13:42:57.722830400 +0200
X@@ -1,12 +1,6 @@
X #!/usr/bin/env python
X import os
X import sys
X-if sys.version_info >= (3, 0):
X- from distribute_setup import use_setuptools
X-else:
X- from ez_setup import use_setuptools
X-
X-use_setuptools()
X
X from setuptools import setup
X from distutils.core import Extension
X@@ -74,7 +68,7 @@
X extra_compile_args = compile_args,
X extra_link_args = link_args,
X )],
X- py_modules = ["yappi", "distribute_setup", "ez_setup"],
X+ py_modules = ["yappi"],
X entry_points = {
X 'console_scripts': [
X 'yappi = yappi:main',
94b5a293a7e36ac828b2ede1e4cf3d3a
exit
--- .shar ends here ---
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-ports-bugs
mailing list