Package Details: python-lineprofiler 4.1.2-1

Git Clone URL: https://aur.archlinux.org/python-lineprofiler.git (read-only, click to copy)
Package Base: python-lineprofiler
Description: Line-by-line profiler
Upstream URL: https://pypi.python.org/pypi/line_profiler
Licenses: BSD
Submitter: richli
Maintainer: thrasibule
Last Packager: thrasibule
Votes: 9
Popularity: 0.000000
First Submitted: 2014-10-17 14:10 (UTC)
Last Updated: 2024-01-04 21:51 (UTC)

Latest Comments

« First ‹ Previous 1 2 3 4 Next › Last »

lahwaacz commented on 2023-01-18 06:13 (UTC)

The python-build, python-installer and python-wheel packages need to be added to makedepends.

But still, building the package fails:

ERROR Missing dependencies:
        Cython>=3.0.0a11

Nestor_013 commented on 2022-06-14 13:10 (UTC) (edited on 2022-06-14 13:11 (UTC) by Nestor_013)

Hi, "Compilation" fails at test level with a: FileNotFoundError: [Errno 2] No such file or directory: 'kernprof'

Any clue on how to solve this, apart from removing all tests?

lahwaacz commented on 2022-05-23 15:53 (UTC)

Some checkdepends are missing for pytest-based tests since version 3.5: https://github.com/pyutils/line_profiler/blob/main/requirements/tests.txt

thrasibule commented on 2021-01-13 04:09 (UTC)

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 (UTC)

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 (UTC) (edited on 2020-12-01 09:46 (UTC) by gee)

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 (UTC)

@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 (UTC)

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

arielzn commented on 2018-11-13 16:15 (UTC)

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()

captain jtejur commented on 2018-08-30 13:28 (UTC)

@richli: I have now built a working package. I can take over maintanence, at least for the time being. I assume you have to orphan it so I can pick it up.