pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/devel/py-line_profiler Import py-line_profiler-2.0
details: https://anonhg.NetBSD.org/pkgsrc/rev/ab59095f2fc3
branches: trunk
changeset: 359783:ab59095f2fc3
user: minskim <minskim%pkgsrc.org@localhost>
date: Fri Mar 17 21:30:35 2017 +0000
description:
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.
diffstat:
devel/py-line_profiler/DESCR | 6 ++++++
devel/py-line_profiler/Makefile | 23 +++++++++++++++++++++++
devel/py-line_profiler/PLIST | 15 +++++++++++++++
devel/py-line_profiler/distinfo | 6 ++++++
4 files changed, 50 insertions(+), 0 deletions(-)
diffs (66 lines):
diff -r dcbef6104a68 -r ab59095f2fc3 devel/py-line_profiler/DESCR
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/py-line_profiler/DESCR Fri Mar 17 21:30:35 2017 +0000
@@ -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.
diff -r dcbef6104a68 -r ab59095f2fc3 devel/py-line_profiler/Makefile
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/py-line_profiler/Makefile Fri Mar 17 21:30:35 2017 +0000
@@ -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"
diff -r dcbef6104a68 -r ab59095f2fc3 devel/py-line_profiler/PLIST
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/py-line_profiler/PLIST Fri Mar 17 21:30:35 2017 +0000
@@ -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
diff -r dcbef6104a68 -r ab59095f2fc3 devel/py-line_profiler/distinfo
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/py-line_profiler/distinfo Fri Mar 17 21:30:35 2017 +0000
@@ -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