svn commit: r343436 - in head/devel: . py-yappi py-yappi/files
Kubilay Kocak
koobs at FreeBSD.org
Sun Feb 9 08:44:27 UTC 2014
Author: koobs
Date: Sun Feb 9 08:44:25 2014
New Revision: 343436
URL: http://svnweb.freebsd.org/changeset/ports/343436
QAT: https://qat.redports.org/buildarchive/r343436/
Log:
[NEW PORT] devel/py-yappi: Yet Another Python Profiler
Yappi is designed to work on long-running multi-threaded applications.
It is possible to profile an application, retrieve statistics, then stop and
start later on the fly without affecting the profiled application.
WWW: https://pypi.python.org/pypi/yappi/
PR: ports/186157
Submitted by: Johannes Jost Meixner <xmj at chaot.net>
Added:
head/devel/py-yappi/
head/devel/py-yappi/Makefile (contents, props changed)
head/devel/py-yappi/distinfo (contents, props changed)
head/devel/py-yappi/files/
head/devel/py-yappi/files/patch-setup.py (contents, props changed)
head/devel/py-yappi/pkg-descr (contents, props changed)
Modified:
head/devel/Makefile
Modified: head/devel/Makefile
==============================================================================
--- head/devel/Makefile Sun Feb 9 08:39:00 2014 (r343435)
+++ head/devel/Makefile Sun Feb 9 08:44:25 2014 (r343436)
@@ -3861,6 +3861,7 @@
SUBDIR += py-xmltodict
SUBDIR += py-xoltar-toolkit
SUBDIR += py-yaml
+ SUBDIR += py-yappi
SUBDIR += py-yapps2
SUBDIR += py-ydbf
SUBDIR += py-yum-metadata-parser
Added: head/devel/py-yappi/Makefile
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/devel/py-yappi/Makefile Sun Feb 9 08:44:25 2014 (r343436)
@@ -0,0 +1,30 @@
+# Created by: Johannes Meixner <xmj at chaot.net>
+# $FreeBSD$
+
+PORTNAME= yappi
+PORTVERSION= 0.82
+CATEGORIES= devel python
+MASTER_SITES= CHEESESHOP
+PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
+
+MAINTAINER= xmj at chaot.net
+COMMENT= Yet Another Python Profiler
+
+LICENSE= MIT
+
+OPTIONS_DEFINE= DOCS
+PORTDOCS= *
+
+USE_PYTHON= yes
+USE_PYDISTUTILS= yes
+PYDISTUTILS_AUTOPLIST= yes
+
+post-patch:
+ ${RM} ${WRKSRC}/ez_setup.py
+ ${RM} ${WRKSRC}/distribute_setup.py
+
+post-install:
+ ${MKDIR} ${STAGEDIR}${DOCSDIR}
+ ${INSTALL_DATA} ${WRKSRC}/README ${STAGEDIR}${DOCSDIR}
+
+.include <bsd.port.mk>
Added: head/devel/py-yappi/distinfo
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/devel/py-yappi/distinfo Sun Feb 9 08:44:25 2014 (r343436)
@@ -0,0 +1,2 @@
+SHA256 (yappi-0.82.tar.gz) = 1321532bd47ddb4998c1f1a95f51f2a6a0e652fdfe93f82a25e41e77dca78f23
+SIZE (yappi-0.82.tar.gz) = 29841
Added: head/devel/py-yappi/files/patch-setup.py
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/devel/py-yappi/files/patch-setup.py Sun Feb 9 08:44:25 2014 (r343436)
@@ -0,0 +1,24 @@
+--- ./setup.py.orig 2014-01-06 14:49:25.000000000 +0200
++++ ./setup.py 2014-01-07 13:42:57.722830400 +0200
+@@ -1,12 +1,6 @@
+ #!/usr/bin/env python
+ import os
+ import sys
+-if sys.version_info >= (3, 0):
+- from distribute_setup import use_setuptools
+-else:
+- from ez_setup import use_setuptools
+-
+-use_setuptools()
+
+ from setuptools import setup
+ from distutils.core import Extension
+@@ -74,7 +68,7 @@
+ extra_compile_args = compile_args,
+ extra_link_args = link_args,
+ )],
+- py_modules = ["yappi", "distribute_setup", "ez_setup"],
++ py_modules = ["yappi"],
+ entry_points = {
+ 'console_scripts': [
+ 'yappi = yappi:main',
Added: head/devel/py-yappi/pkg-descr
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/devel/py-yappi/pkg-descr Sun Feb 9 08:44:25 2014 (r343436)
@@ -0,0 +1,6 @@
+Yappi is designed to work on long-running multi-threaded applications.
+
+It is possible to profile an application, retrieve statistics, then stop and
+start later on the fly without affecting the profiled application.
+
+WWW: https://pypi.python.org/pypi/yappi/
More information about the svn-ports-all
mailing list