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:           Sat Feb  5 11:40:49 UTC 2022

Modified Files:
        pkgsrc/devel/py-line_profiler: Makefile PLIST distinfo
Removed Files:
        pkgsrc/devel/py-line_profiler/patches: patch-timers.c

Log Message:
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


To generate a diff of this commit:
cvs rdiff -u -r1.11 -r1.12 pkgsrc/devel/py-line_profiler/Makefile
cvs rdiff -u -r1.3 -r1.4 pkgsrc/devel/py-line_profiler/PLIST
cvs rdiff -u -r1.5 -r1.6 pkgsrc/devel/py-line_profiler/distinfo
cvs rdiff -u -r1.1 -r0 pkgsrc/devel/py-line_profiler/patches/patch-timers.c

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.11 pkgsrc/devel/py-line_profiler/Makefile:1.12
--- pkgsrc/devel/py-line_profiler/Makefile:1.11 Wed Jan  5 15:41:05 2022
+++ pkgsrc/devel/py-line_profiler/Makefile      Sat Feb  5 11:40:48 2022
@@ -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 @@ HOMEPAGE=   https://github.com/rkern/line_
 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"
-
-pre-configure:
-       ${RM} -f ${WRKSRC}/_line_profiler.c
-.endif
+PYTHON_VERSIONS_INCOMPATIBLE=  27 37
+
+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"

Index: pkgsrc/devel/py-line_profiler/PLIST
diff -u pkgsrc/devel/py-line_profiler/PLIST:1.3 pkgsrc/devel/py-line_profiler/PLIST:1.4
--- pkgsrc/devel/py-line_profiler/PLIST:1.3     Thu May  2 09:27:09 2019
+++ pkgsrc/devel/py-line_profiler/PLIST Sat Feb  5 11:40:48 2022
@@ -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

Index: pkgsrc/devel/py-line_profiler/distinfo
diff -u pkgsrc/devel/py-line_profiler/distinfo:1.5 pkgsrc/devel/py-line_profiler/distinfo:1.6
--- pkgsrc/devel/py-line_profiler/distinfo:1.5  Thu Dec 16 14:23:55 2021
+++ pkgsrc/devel/py-line_profiler/distinfo      Sat Feb  5 11:40:48 2022
@@ -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



Home | Main Index | Thread Index | Old Index