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:   adam
Date:           Tue Oct 20 04:56:19 UTC 2026

Modified Files:
        pkgsrc/devel/py-line_profiler: Makefile PLIST distinfo

Log Message:
py-line_profiler: updated to 5.1.0

5.1.0
* FIX: Text output now replaces characters the output stream cannot
  encode with escape sequences instead of dropping the source line
* FIX: Make sure that the profiled code is run in the
  ``sys.modules['__main__']`` namespace to avoid issues w/e.g. pickling
* CHANGE: Drop support for Python 3.8 and Python 3.9
* FIX: ``ScopingPolicy`` members now type-check properly as instances
  thereof -- at least on Python versions (3.11+) where ``enum.StrEnum``
  is available
* FIX: Bytecodes of profiled functions now always labeled to prevent
  confusion with non-profiled "twins"
* FIX: Stop reverting ``sys.modules`` after calling ``kernprof.main()``
  to avoid edge-case issues with e.g. pickling
* FIX: Fixed bugs where ``kernprof -l`` (1) misses ``--prof-mod``
  targets if multiple thereof are imported in the same (from-)import
  statement, and (2) crashes when profiling modules containing
  ``from ... import *`` statements
* FIX: Corrected line timing for recursive Python function calls by
  tracking timing state per execution frame (recursive Cython calls
  under ``sys.monitoring`` are still tracked per code block)
* ENH: add support for Python 3.15
* ENH: migrate away from setup.py


To generate a diff of this commit:
cvs rdiff -u -r1.26 -r1.27 pkgsrc/devel/py-line_profiler/Makefile
cvs rdiff -u -r1.11 -r1.12 pkgsrc/devel/py-line_profiler/PLIST
cvs rdiff -u -r1.13 -r1.14 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.

Modified files:

Index: pkgsrc/devel/py-line_profiler/Makefile
diff -u pkgsrc/devel/py-line_profiler/Makefile:1.26 pkgsrc/devel/py-line_profiler/Makefile:1.27
--- pkgsrc/devel/py-line_profiler/Makefile:1.26 Fri Oct 16 19:43:50 2026
+++ pkgsrc/devel/py-line_profiler/Makefile      Tue Oct 20 04:56:19 2026
@@ -1,6 +1,6 @@
-# $NetBSD: Makefile,v 1.26 2026/10/16 19:43:50 adam Exp $
+# $NetBSD: Makefile,v 1.27 2026/10/20 04:56:19 adam Exp $
 
-DISTNAME=      line_profiler-5.0.2
+DISTNAME=      line_profiler-5.1.0
 PKGNAME=       ${PYPKGPREFIX}-${DISTNAME}
 CATEGORIES=    devel python
 MASTER_SITES=  ${MASTER_SITE_PYPI:=l/line_profiler/}
@@ -18,11 +18,9 @@ USE_LANGUAGES=       c c++
 MAKE_ENV+=     LINE_PROFILER_BUILD_METHOD=cython
 INSTALL_ENV+=  LINE_PROFILER_BUILD_METHOD=cython
 
-PYTHON_VERSIONS_INCOMPATIBLE=  311
+PY_RENAME_BINARIES=    kernprof
 
-post-install:
-       cd ${DESTDIR}${PREFIX}/bin && \
-       ${MV} kernprof kernprof-${PYVERSSUFFIX} || ${TRUE}
+PYTHON_VERSIONS_INCOMPATIBLE=  311
 
 .include "../../lang/python/wheel.mk"
 .include "../../mk/bsd.pkg.mk"

Index: pkgsrc/devel/py-line_profiler/PLIST
diff -u pkgsrc/devel/py-line_profiler/PLIST:1.11 pkgsrc/devel/py-line_profiler/PLIST:1.12
--- pkgsrc/devel/py-line_profiler/PLIST:1.11    Mon Mar  2 12:21:31 2026
+++ pkgsrc/devel/py-line_profiler/PLIST Tue Oct 20 04:56:19 2026
@@ -1,4 +1,4 @@
-@comment $NetBSD: PLIST,v 1.11 2026/03/02 12:21:31 adam Exp $
+@comment $NetBSD: PLIST,v 1.12 2026/10/20 04:56:19 adam Exp $
 bin/kernprof-${PYVERSSUFFIX}
 ${PYSITELIB}/${WHEEL_INFODIR}/METADATA
 ${PYSITELIB}/${WHEEL_INFODIR}/RECORD
@@ -21,7 +21,6 @@ ${PYSITELIB}/line_profiler/__main__.pyo
 ${PYSITELIB}/line_profiler/_diagnostics.py
 ${PYSITELIB}/line_profiler/_diagnostics.pyc
 ${PYSITELIB}/line_profiler/_diagnostics.pyo
-${PYSITELIB}/line_profiler/_line_profiler.cpp
 ${PYSITELIB}/line_profiler/_line_profiler.pyi
 ${PYSITELIB}/line_profiler/_line_profiler.pyx
 ${PYSITELIB}/line_profiler/_line_profiler.so
@@ -32,6 +31,9 @@ ${PYSITELIB}/line_profiler/_map_helpers.
 ${PYSITELIB}/line_profiler/autoprofile/__init__.py
 ${PYSITELIB}/line_profiler/autoprofile/__init__.pyc
 ${PYSITELIB}/line_profiler/autoprofile/__init__.pyo
+${PYSITELIB}/line_profiler/autoprofile/_import_targets.py
+${PYSITELIB}/line_profiler/autoprofile/_import_targets.pyc
+${PYSITELIB}/line_profiler/autoprofile/_import_targets.pyo
 ${PYSITELIB}/line_profiler/autoprofile/ast_profile_transformer.py
 ${PYSITELIB}/line_profiler/autoprofile/ast_profile_transformer.pyc
 ${PYSITELIB}/line_profiler/autoprofile/ast_profile_transformer.pyo

Index: pkgsrc/devel/py-line_profiler/distinfo
diff -u pkgsrc/devel/py-line_profiler/distinfo:1.13 pkgsrc/devel/py-line_profiler/distinfo:1.14
--- pkgsrc/devel/py-line_profiler/distinfo:1.13 Mon Mar  2 12:21:31 2026
+++ pkgsrc/devel/py-line_profiler/distinfo      Tue Oct 20 04:56:19 2026
@@ -1,5 +1,5 @@
-$NetBSD: distinfo,v 1.13 2026/03/02 12:21:31 adam Exp $
+$NetBSD: distinfo,v 1.14 2026/10/20 04:56:19 adam Exp $
 
-BLAKE2s (line_profiler-5.0.2.tar.gz) = a636a6604dd2cf19dd09d1250e8ad9105340f891060baeece1062dd2f434fe81
-SHA512 (line_profiler-5.0.2.tar.gz) = 8099f2d3544d65fa2c0bc5877d175d01d806eb17889b19460acdaf0c33cf8593ab16f4730302a2a606ce57101e23df392a86553e1eb9789cb9fc5e75703ae8cf
-Size (line_profiler-5.0.2.tar.gz) = 407075 bytes
+BLAKE2s (line_profiler-5.1.0.tar.gz) = 1b63a20cdf5619a3b550621bcdf1d1f41d04f0d442a16723a167d6d5b5d9ed31
+SHA512 (line_profiler-5.1.0.tar.gz) = e689a0383e25470436fccc6558ffbd6cb575dcfb3505fabc4ee6fe90d2c85ada844dfe341f0544e891542e6437f68e7a5396e6e6b9696b58adfa6d5e0efd7e06
+Size (line_profiler-5.1.0.tar.gz) = 197869 bytes



Home | Main Index | Thread Index | Old Index