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 py-line_profiler: updated to 3.4.0



details:   https://anonhg.NetBSD.org/pkgsrc/rev/10a1b776b9cb
branches:  trunk
changeset: 373057:10a1b776b9cb
user:      adam <adam%pkgsrc.org@localhost>
date:      Sat Feb 05 11:40:48 2022 +0000

description:
py-line_profiler: updated to 3.4.0

3.4.0
~~~~~
* Drop support for Python <= 3.5.x
* FIX: 104 issue with new IPython kernels

3.3.1
~~~~~
* FIX: Fix bug where lines were not displayed in Jupyter>=6.0
* CHANGE: moving forward, new pypi releases will be signed with the GPG key 2A290272C174D28EA9CA48E9D7224DAF0347B114 for PyUtils-CI <openpyutils%gmail.com@localhost>. For reference, older versions 
were signed with either 262A1DF005BE5D2D5210237C85CD61514641325F or 1636DAF294BA22B89DBB354374F166CFA2F39C18.

3.3.0
~~~~~
* New CI for building wheels.

3.2.6
~~~~~
* FIX: Update MANIFEST.in to package pyproj.toml and missing pyx file
* CHANGE: Removed version experimental augmentation.

3.2.5
~~~~~
* FIX: Update MANIFEST.in to package nested c source files in the sdist

3.2.4
~~~~~
* FIX: Update MANIFEST.in to package nested CMakeLists.txt in the sdist

3.2.3
~~~~~
* FIX: Use ImportError instead of ModuleNotFoundError while 3.5 is being supported
* FIX: Add MANIFEST.in to package CMakeLists.txt in the sdist

3.2.2
~~~~~
* ENH: Added better error message when c-extension is not compiled.
* FIX: Kernprof no longer imports line_profiler to avoid side effects.

3.2.0
~~~~~
* Dropped 2.7 support, manylinux docker images no longer support 2.7
* ENH: Add command line option to specify time unit and skip displaying
  functions which have not been profiled.
* ENH: Unified versions of line_profiler and kernprof: kernprof version is now
  identical to line_profiler version.

3.1.0
~~~~~
* ENH: fix Python 3.9

3.0.2
~~~~~
* BUG: fix ``__version__`` attribute in Python 2 CLI.

3.0.1
~~~~~
* BUG: fix calling the package from the command line

3.0.0
~~~~~
* ENH: Fix Python 3.7
* ENH: Restructure into package

diffstat:

 devel/py-line_profiler/Makefile               |  26 +++++++++-----------------
 devel/py-line_profiler/PLIST                  |  20 +++++++++++---------
 devel/py-line_profiler/distinfo               |   9 ++++-----
 devel/py-line_profiler/patches/patch-timers.c |  17 -----------------
 4 files changed, 24 insertions(+), 48 deletions(-)

diffs (116 lines):

diff -r 92f1faab7a65 -r 10a1b776b9cb devel/py-line_profiler/Makefile
--- a/devel/py-line_profiler/Makefile   Sat Feb 05 11:29:16 2022 +0000
+++ b/devel/py-line_profiler/Makefile   Sat Feb 05 11:40:48 2022 +0000
@@ -1,8 +1,7 @@
-# $NetBSD: Makefile,v 1.11 2022/01/05 15:41:05 wiz Exp $
+# $NetBSD: Makefile,v 1.12 2022/02/05 11:40:48 adam Exp $
 
-DISTNAME=      line_profiler-2.1.2
+DISTNAME=      line_profiler-3.4.0
 PKGNAME=       ${PYPKGPREFIX}-${DISTNAME}
-PKGREVISION=   2
 CATEGORIES=    devel python
 MASTER_SITES=  ${MASTER_SITE_PYPI:=l/line_profiler/}
 
@@ -11,26 +10,19 @@
 COMMENT=       Python line-by-line profiler
 LICENSE=       modified-bsd
 
-USE_LANGUAGES= c
+DEPENDS+=      ${PYPKGPREFIX}-ipython>=0.17:../../devel/py-ipython
 
-post-install:
-       cd ${DESTDIR}${PREFIX}/bin && \
-               ${MV} kernprof kernprof${PYVERSSUFFIX} || ${TRUE}
+PYSETUPARGS=   --universal # avoid scikit-build
 
-PYTHON_VERSIONED_DEPENDENCIES= ipython
+USE_LANGUAGES= # none
 
 USE_PKG_RESOURCES=     yes
 
-.include "../../lang/python/pyversion.mk"
-.if ${_PYTHON_VERSION} >= 37
-# Regenerate _line_profiler.c with recent cython
-BUILDLINK_DEPMETHOD.py-cython= build
-.include "../../devel/py-cython/buildlink3.mk"
+PYTHON_VERSIONS_INCOMPATIBLE=  27 37
 
-pre-configure:
-       ${RM} -f ${WRKSRC}/_line_profiler.c
-.endif
+post-install:
+       cd ${DESTDIR}${PREFIX}/bin && \
+       ${MV} kernprof kernprof-${PYVERSSUFFIX} || ${TRUE}
 
 .include "../../lang/python/egg.mk"
-.include "../../lang/python/versioned_dependencies.mk"
 .include "../../mk/bsd.pkg.mk"
diff -r 92f1faab7a65 -r 10a1b776b9cb devel/py-line_profiler/PLIST
--- a/devel/py-line_profiler/PLIST      Sat Feb 05 11:29:16 2022 +0000
+++ b/devel/py-line_profiler/PLIST      Sat Feb 05 11:40:48 2022 +0000
@@ -1,18 +1,20 @@
-@comment $NetBSD: PLIST,v 1.3 2019/05/02 09:27:09 adam Exp $
-bin/kernprof${PYVERSSUFFIX}
+@comment $NetBSD: PLIST,v 1.4 2022/02/05 11:40:48 adam Exp $
+bin/kernprof-${PYVERSSUFFIX}
 ${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.so
 ${PYSITELIB}/kernprof.py
 ${PYSITELIB}/kernprof.pyc
 ${PYSITELIB}/kernprof.pyo
-${PYSITELIB}/line_profiler.py
-${PYSITELIB}/line_profiler.pyc
-${PYSITELIB}/line_profiler.pyo
-${PLIST.py3x}${PYSITELIB}/line_profiler_py35.py
-${PLIST.py3x}${PYSITELIB}/line_profiler_py35.pyc
-${PLIST.py3x}${PYSITELIB}/line_profiler_py35.pyo
+${PYSITELIB}/line_profiler/__init__.py
+${PYSITELIB}/line_profiler/__init__.pyc
+${PYSITELIB}/line_profiler/__init__.pyo
+${PYSITELIB}/line_profiler/__main__.py
+${PYSITELIB}/line_profiler/__main__.pyc
+${PYSITELIB}/line_profiler/__main__.pyo
+${PYSITELIB}/line_profiler/line_profiler.py
+${PYSITELIB}/line_profiler/line_profiler.pyc
+${PYSITELIB}/line_profiler/line_profiler.pyo
diff -r 92f1faab7a65 -r 10a1b776b9cb devel/py-line_profiler/distinfo
--- a/devel/py-line_profiler/distinfo   Sat Feb 05 11:29:16 2022 +0000
+++ b/devel/py-line_profiler/distinfo   Sat Feb 05 11:40:48 2022 +0000
@@ -1,6 +1,5 @@
-$NetBSD: distinfo,v 1.5 2021/12/16 14:23:55 wiz Exp $
+$NetBSD: distinfo,v 1.6 2022/02/05 11:40:48 adam Exp $
 
-BLAKE2s (line_profiler-2.1.2.tar.gz) = 6a3ff591fdc5b9143db5df4efda3765033309aa546cea513032ff647de457195
-SHA512 (line_profiler-2.1.2.tar.gz) = 625a585915d338fe8ef2f37c5b5bc024f769a623380b85725bcf33686e4cc62a211c2e91552e093dee940367b0d2ad306c5cbe7f1e8f1574eb731d128b8e22bd
-Size (line_profiler-2.1.2.tar.gz) = 83131 bytes
-SHA1 (patch-timers.c) = 73722f5c9cbe43d8958339e3bfa16467366bf7f1
+BLAKE2s (line_profiler-3.4.0.tar.gz) = 0dd19116cb5d7395ab98054e28ad076ea35fd0ab4813aae9d454a6c872ad68f2
+SHA512 (line_profiler-3.4.0.tar.gz) = c673bc83ea4d13f3a25ee45a12f4ef16a53451319e6adceaf5a09deb2451c65bc9c40feb1f76fc7bdb084a89a4e4ad8280a4500f030ff541f2910c72903e285a
+Size (line_profiler-3.4.0.tar.gz) = 35525 bytes
diff -r 92f1faab7a65 -r 10a1b776b9cb devel/py-line_profiler/patches/patch-timers.c
--- a/devel/py-line_profiler/patches/patch-timers.c     Sat Feb 05 11:29:16 2022 +0000
+++ /dev/null   Thu Jan 01 00:00:00 1970 +0000
@@ -1,17 +0,0 @@
-$NetBSD: patch-timers.c,v 1.1 2021/12/16 14:23:55 wiz Exp $
-
-Remove incorrect check.
-
---- timers.c.orig      2017-12-19 04:44:21.000000000 +0000
-+++ timers.c
-@@ -32,10 +32,6 @@ hpTimerUnit(void)
- 
- #else  /* !MS_WINDOWS */
- 
--#ifndef HAVE_GETTIMEOFDAY
--#error "This module requires gettimeofday() on non-Windows platforms!"
--#endif
--
- #if (defined(PYOS_OS2) && defined(PYCC_GCC))
- #include <sys/time.h>
- #else



Home | Main Index | Thread Index | Old Index