Index: devel/py-tipper/Makefile =================================================================== --- /dev/null +++ devel/py-tipper/Makefile @@ -0,0 +1,18 @@ +# Created by: Alfred Perlstein +# $FreeBSD$ + +PORTNAME= tipper +PORTVERSION= 0.1 +CATEGORIES= www python +MASTER_SITES= CHEESESHOP +PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} + +MAINTAINER= alfred@freebsd.org +COMMENT= Tracebacks for python via SIGUSR1 + +LICENSE= MIT + +USES= python +USE_PYTHON= distutils autoplist + +.include Index: devel/py-tipper/distinfo =================================================================== --- /dev/null +++ devel/py-tipper/distinfo @@ -0,0 +1,2 @@ +SHA256 (tipper-0.1.tar.gz) = 331cb4353f580e5e7057bbc7d2a258e7f192e52a9a7a33f25f3bb30d3c4129af +SIZE (tipper-0.1.tar.gz) = 4013 Index: devel/py-tipper/pkg-descr =================================================================== --- /dev/null +++ devel/py-tipper/pkg-descr @@ -0,0 +1,10 @@ +Tipper is a small utility for dumping `stack tracebacks`_ of running +Python processes. + +Included is a module that, when imported, installs a `signal handler`_ +for `SIGUSR1`_. Running ``kill -SIGUSR1 [pid]`` will cause the process +to dump the current stack trace of each thread to +``$TMPDIR/tipper-[unix timestamp]-[parent pid]-[pid].log``. + +WWW: https://pypi.python.org/pypi/tipper +