pkgsrc-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

CVS commit: pkgsrc/devel/py-line_profiler



Module Name:    pkgsrc
Committed By:   minskim
Date:           Fri Mar 17 21:30:36 UTC 2017

Added Files:
        pkgsrc/devel/py-line_profiler: DESCR Makefile PLIST distinfo

Log Message:
Import py-line_profiler-2.0

line_profiler will profile the time individual lines of code take to
execute. The profiler is implemented in C via Cython in order to reduce
the overhead of profiling. Also included is the script kernprof, which
can be used to conveniently profile Python applications and scripts
either with line_profiler or with the function-level profiling tools in
the Python standard library.


To generate a diff of this commit:
cvs rdiff -u -r0 -r1.1 pkgsrc/devel/py-line_profiler/DESCR \
    pkgsrc/devel/py-line_profiler/Makefile \
    pkgsrc/devel/py-line_profiler/PLIST \
    pkgsrc/devel/py-line_profiler/distinfo

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Added files:

Index: pkgsrc/devel/py-line_profiler/DESCR
diff -u /dev/null pkgsrc/devel/py-line_profiler/DESCR:1.1
--- /dev/null   Fri Mar 17 21:30:36 2017
+++ pkgsrc/devel/py-line_profiler/DESCR Fri Mar 17 21:30:35 2017
@@ -0,0 +1,6 @@
+line_profiler will profile the time individual lines of code take to
+execute. The profiler is implemented in C via Cython in order to reduce
+the overhead of profiling. Also included is the script kernprof, which
+can be used to conveniently profile Python applications and scripts
+either with line_profiler or with the function-level profiling tools in
+the Python standard library.
Index: pkgsrc/devel/py-line_profiler/Makefile
diff -u /dev/null pkgsrc/devel/py-line_profiler/Makefile:1.1
--- /dev/null   Fri Mar 17 21:30:36 2017
+++ pkgsrc/devel/py-line_profiler/Makefile      Fri Mar 17 21:30:35 2017
@@ -0,0 +1,23 @@
+# $NetBSD: Makefile,v 1.1 2017/03/17 21:30:35 minskim Exp $
+
+DISTNAME=      line_profiler-2.0
+PKGNAME=       ${PYPKGPREFIX}-${DISTNAME}
+CATEGORIES=    devel python
+MASTER_SITES=  ${MASTER_SITE_PYPI:=l/line_profiler/}
+
+MAINTAINER=    minskim%NetBSD.org@localhost
+HOMEPAGE=      https://github.com/rkern/line_profiler
+COMMENT=       Python line-by-line profiler
+LICENSE=       modified-bsd
+
+DEPENDS+=      ${PYPKGPREFIX}-ipython>0.13:../../devel/py-ipython
+
+USE_LANGUAGES= c
+
+.include "../../lang/python/egg.mk"
+
+post-install:
+       ${MV} ${DESTDIR}${PREFIX}/bin/kernprof \
+               ${DESTDIR}${PREFIX}/bin/kernprof${PYVERSSUFFIX}
+
+.include "../../mk/bsd.pkg.mk"
Index: pkgsrc/devel/py-line_profiler/PLIST
diff -u /dev/null pkgsrc/devel/py-line_profiler/PLIST:1.1
--- /dev/null   Fri Mar 17 21:30:36 2017
+++ pkgsrc/devel/py-line_profiler/PLIST Fri Mar 17 21:30:35 2017
@@ -0,0 +1,15 @@
+@comment $NetBSD: PLIST,v 1.1 2017/03/17 21:30:35 minskim Exp $
+bin/kernprof${PYVERSSUFFIX}
+${PYSITELIB}/kernprof.pyo
+${PYSITELIB}/kernprof.pyc
+${PYSITELIB}/line_profiler.pyo
+${PYSITELIB}/line_profiler.pyc
+${PYSITELIB}/_line_profiler.so
+${PYSITELIB}/kernprof.py
+${PYSITELIB}/${EGG_INFODIR}/PKG-INFO
+${PYSITELIB}/${EGG_INFODIR}/SOURCES.txt
+${PYSITELIB}/${EGG_INFODIR}/dependency_links.txt
+${PYSITELIB}/${EGG_INFODIR}/entry_points.txt
+${PYSITELIB}/${EGG_INFODIR}/requires.txt
+${PYSITELIB}/${EGG_INFODIR}/top_level.txt
+${PYSITELIB}/line_profiler.py
Index: pkgsrc/devel/py-line_profiler/distinfo
diff -u /dev/null pkgsrc/devel/py-line_profiler/distinfo:1.1
--- /dev/null   Fri Mar 17 21:30:36 2017
+++ pkgsrc/devel/py-line_profiler/distinfo      Fri Mar 17 21:30:35 2017
@@ -0,0 +1,6 @@
+$NetBSD: distinfo,v 1.1 2017/03/17 21:30:35 minskim Exp $
+
+SHA1 (line_profiler-2.0.tar.gz) = 3b09b4d07c7403d9be3d7874b40e2e7da34b1e70
+RMD160 (line_profiler-2.0.tar.gz) = 60e207075905adf868123edf911773fff4d803eb
+SHA512 (line_profiler-2.0.tar.gz) = c0335fc69fb47c150fa5555af4f7fdf4b172ca12ee6512e04ba854c4a81f3e6ee5594e484d11c8ea7e9e8048e3f3b8661db52332d4ac645195a0e050acea4ecb
+Size (line_profiler-2.0.tar.gz) = 68478 bytes



Home | Main Index | Thread Index | Old Index