From owner-svn-ports-all@FreeBSD.ORG Sun Feb 9 08:44:27 2014 Return-Path: Delivered-To: svn-ports-all@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 748BE94C; Sun, 9 Feb 2014 08:44:27 +0000 (UTC) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:1900:2254:2068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 5DB7B1182; Sun, 9 Feb 2014 08:44:27 +0000 (UTC) Received: from svn.freebsd.org ([127.0.1.70]) by svn.freebsd.org (8.14.8/8.14.8) with ESMTP id s198iRZr010633; Sun, 9 Feb 2014 08:44:27 GMT (envelope-from koobs@svn.freebsd.org) Received: (from koobs@localhost) by svn.freebsd.org (8.14.8/8.14.8/Submit) id s198iQg7010627; Sun, 9 Feb 2014 08:44:26 GMT (envelope-from koobs@svn.freebsd.org) Message-Id: <201402090844.s198iQg7010627@svn.freebsd.org> From: Kubilay Kocak Date: Sun, 9 Feb 2014 08:44:26 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r343436 - in head/devel: . py-yappi py-yappi/files X-SVN-Group: ports-head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-all@freebsd.org X-Mailman-Version: 2.1.17 Precedence: list List-Id: SVN commit messages for the ports tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 09 Feb 2014 08:44:27 -0000 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 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 +# $FreeBSD$ + +PORTNAME= yappi +PORTVERSION= 0.82 +CATEGORIES= devel python +MASTER_SITES= CHEESESHOP +PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} + +MAINTAINER= xmj@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 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/