Bug 186157 - [NEW PORT] devel/py-yappi: Yet Another Python Profiler
Summary: [NEW PORT] devel/py-yappi: Yet Another Python Profiler
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: Normal Affects Only Me
Assignee: Kubilay Kocak
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-01-27 06:00 UTC by Johannes Meixner
Modified: 2014-02-09 08:51 UTC (History)
0 users

See Also:


Attachments
.shar (2.69 KB, text/plain)
2014-01-27 06:00 UTC, Johannes Meixner
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Johannes Meixner 2014-01-27 06:00:00 UTC
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)
Comment 1 Edwin Groothuis freebsd_committer freebsd_triage 2014-01-27 06:00:08 UTC
Responsible Changed
From-To: freebsd-ports-bugs->freebsd-python

freebsd-python@ wants this port PRs (via the GNATS Auto Assign Tool)
Comment 2 Kubilay Kocak freebsd_committer freebsd_triage 2014-02-03 11:30:41 UTC
Responsible Changed
From-To: freebsd-python->koobs

I'll take it.
Comment 3 dfilter service freebsd_committer freebsd_triage 2014-02-09 08:44:33 UTC
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@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@chaot.net>
+# $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 <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/
_______________________________________________
svn-ports-all@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/svn-ports-all
To unsubscribe, send any mail to "svn-ports-all-unsubscribe@freebsd.org"
Comment 4 Kubilay Kocak freebsd_committer freebsd_triage 2014-02-09 08:51:05 UTC
State Changed
From-To: open->closed

New port added. Great submission Johannes, thanks!