Package Details: python2-line_profiler 2.1-3

Git Clone URL: https://aur.archlinux.org/python-line_profiler.git (read-only, click to copy)
Package Base: python-line_profiler
Description: line-by-line profiler for python
Upstream URL: https://github.com/rkern/line_profiler
Licenses: BSD
Submitter: zsrkmyn
Maintainer: zsrkmyn
Last Packager: zsrkmyn
Votes: 1
Popularity: 0.000000
First Submitted: 2017-11-11 17:29
Last Updated: 2018-11-13 16:30

Latest Comments

thrasibule commented on 2021-01-13 04:09

The repo has moved here: https://github.com/pyutils/line_profiler. I've pushed an updated version in the python-lineprofiler package. But this probably should be merged with this one.

Nestor_013 commented on 2020-12-14 10:47

There seems to be a patch here: https://gitweb.gentoo.org/repo/gentoo.git/diff/dev-python/line_profiler/files/line_profiler-3.0.2-python3_9.patch?id=87bc53fbc14cc579a8a58a4a65c72e7a99870fd4

which (if I read it correctly) essentially removes the detection of HAVE_GETTIMEOFDAY and assumes it has TZ.

gee commented on 2020-12-01 09:41

This package does not seem to build with Python 3.9, not sure yet what needs to be done.

timers.c:36:2: error: #error "This module requires gettimeofday() on non-Windows platforms!"

Probably because of this: https://github.com/python/cpython/commit/536a35b3f14888999f1ffa5be7239d0c26b73d7a

zsrkmyn commented on 2019-06-09 05:11

@sicariusnoctis, ok, feel free to submit a merge request then. but I still suggest to keep to underscore in the package name as it can be much more easy for user to search.

yodaembedding commented on 2019-06-08 23:36

Isn't this a duplicate of https://aur.archlinux.org/packages/python-lineprofiler/

arielzn commented on 2018-11-13 16:15

If trying to install both python-line_profiler and python2-line_profiler versions there's a conflict as both provide the plain /usr/bin/kernprof file .

A small fix to the PKGBUILD renaming the kernprof to kernprof2 for the python2 version works nice, https://gist.github.com/arielzn/3040d331582318471c9c570d4aab2cea

notice the
mv -v $pkgdir/usr/bin/kernprof $pkgdir/usr/bin/kernprof2
line in the build for package_python2-line_profiler()

gee commented on 2018-02-25 23:15

Hello,

thank you for the package!

Please add ipython{,2} as dependencies as it's needed.