pkgsrc-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

CVS commit: pkgsrc/math



Module Name:    pkgsrc
Committed By:   adam
Date:           Wed May 14 13:30:02 UTC 2025

Modified Files:
        pkgsrc/math: Makefile
Added Files:
        pkgsrc/math/py-lap: DESCR Makefile PLIST distinfo

Log Message:
py-lap: added version 0.5.12

lap is a linear assignment problem solver using Jonker-Volgenant algorithm for
dense LAPJV or sparse LAPMOD matrices. Both algorithms are implemented from
scratch based solely on the papers and the public domain Pascal implementation
provided by A. Volgenant. The LAPMOD implementation seems to be faster than the
LAPJV implementation for matrices with a side of more than ~5000 and with
less than 50% finite coefficients.


To generate a diff of this commit:
cvs rdiff -u -r1.625 -r1.626 pkgsrc/math/Makefile
cvs rdiff -u -r0 -r1.1 pkgsrc/math/py-lap/DESCR pkgsrc/math/py-lap/Makefile \
    pkgsrc/math/py-lap/PLIST pkgsrc/math/py-lap/distinfo

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: pkgsrc/math/Makefile
diff -u pkgsrc/math/Makefile:1.625 pkgsrc/math/Makefile:1.626
--- pkgsrc/math/Makefile:1.625  Wed May 14 12:26:18 2025
+++ pkgsrc/math/Makefile        Wed May 14 13:30:02 2025
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.625 2025/05/14 12:26:18 markd Exp $
+# $NetBSD: Makefile,v 1.626 2025/05/14 13:30:02 adam Exp $
 
 COMMENT=       Mathematics
 
@@ -425,6 +425,7 @@ SUBDIR+=    py-infinity
 SUBDIR+=       py-intervals
 SUBDIR+=       py-jplephem
 SUBDIR+=       py-kiwisolver
+SUBDIR+=       py-lap
 SUBDIR+=       py-libixion
 SUBDIR+=       py-lmfit
 SUBDIR+=       py-mpmath

Added files:

Index: pkgsrc/math/py-lap/DESCR
diff -u /dev/null pkgsrc/math/py-lap/DESCR:1.1
--- /dev/null   Wed May 14 13:30:02 2025
+++ pkgsrc/math/py-lap/DESCR    Wed May 14 13:30:02 2025
@@ -0,0 +1,6 @@
+lap is a linear assignment problem solver using Jonker-Volgenant algorithm for
+dense LAPJV or sparse LAPMOD matrices. Both algorithms are implemented from
+scratch based solely on the papers and the public domain Pascal implementation
+provided by A. Volgenant. The LAPMOD implementation seems to be faster than the
+LAPJV implementation for matrices with a side of more than ~5000 and with
+less than 50% finite coefficients.
Index: pkgsrc/math/py-lap/Makefile
diff -u /dev/null pkgsrc/math/py-lap/Makefile:1.1
--- /dev/null   Wed May 14 13:30:02 2025
+++ pkgsrc/math/py-lap/Makefile Wed May 14 13:30:02 2025
@@ -0,0 +1,23 @@
+# $NetBSD: Makefile,v 1.1 2025/05/14 13:30:02 adam Exp $
+
+DISTNAME=      lap-0.5.12
+PKGNAME=       ${PYPKGPREFIX}-${DISTNAME}
+CATEGORIES=    math python
+MASTER_SITES=  ${MASTER_SITE_PYPI:=l/lap/}
+
+MAINTAINER=    pkgsrc-users%NetBSD.org@localhost
+HOMEPAGE=      https://github.com/gatagat/lap
+COMMENT=       Linear Assignment Problem solver (LAPJV/LAPMOD)
+LICENSE=       2-clause-bsd
+
+USE_LANGUAGES= c c++
+
+TOOL_DEPENDS+= ${PYPKGPREFIX}-setuptools-[0-9]*:../../devel/py-setuptools
+
+pre-configure:
+       ${LN} -sf ${PREFIX}/bin/cython-${PYVERSSUFFIX} ${BUILDLINK_DIR}/bin/cython
+
+.include "../../devel/py-cython/buildlink3.mk"
+.include "../../lang/python/wheel.mk"
+.include "../../math/py-numpy/buildlink3.mk"
+.include "../../mk/bsd.pkg.mk"
Index: pkgsrc/math/py-lap/PLIST
diff -u /dev/null pkgsrc/math/py-lap/PLIST:1.1
--- /dev/null   Wed May 14 13:30:02 2025
+++ pkgsrc/math/py-lap/PLIST    Wed May 14 13:30:02 2025
@@ -0,0 +1,32 @@
+@comment $NetBSD: PLIST,v 1.1 2025/05/14 13:30:02 adam Exp $
+${PYSITELIB}/${WHEEL_INFODIR}/METADATA
+${PYSITELIB}/${WHEEL_INFODIR}/RECORD
+${PYSITELIB}/${WHEEL_INFODIR}/WHEEL
+${PYSITELIB}/${WHEEL_INFODIR}/licenses/LICENSE
+${PYSITELIB}/${WHEEL_INFODIR}/top_level.txt
+${PYSITELIB}/lap/__init__.py
+${PYSITELIB}/lap/__init__.pyc
+${PYSITELIB}/lap/__init__.pyo
+${PYSITELIB}/lap/_lapjv.so
+${PYSITELIB}/lap/lapmod.py
+${PYSITELIB}/lap/lapmod.pyc
+${PYSITELIB}/lap/lapmod.pyo
+${PYSITELIB}/lap/tests/__init__.py
+${PYSITELIB}/lap/tests/__init__.pyc
+${PYSITELIB}/lap/tests/__init__.pyo
+${PYSITELIB}/lap/tests/cost_eps.csv.gz
+${PYSITELIB}/lap/tests/test_arr_loop.py
+${PYSITELIB}/lap/tests/test_arr_loop.pyc
+${PYSITELIB}/lap/tests/test_arr_loop.pyo
+${PYSITELIB}/lap/tests/test_lapjv.py
+${PYSITELIB}/lap/tests/test_lapjv.pyc
+${PYSITELIB}/lap/tests/test_lapjv.pyo
+${PYSITELIB}/lap/tests/test_lapmod.py
+${PYSITELIB}/lap/tests/test_lapmod.pyc
+${PYSITELIB}/lap/tests/test_lapmod.pyo
+${PYSITELIB}/lap/tests/test_simple.py
+${PYSITELIB}/lap/tests/test_simple.pyc
+${PYSITELIB}/lap/tests/test_simple.pyo
+${PYSITELIB}/lap/tests/test_utils.py
+${PYSITELIB}/lap/tests/test_utils.pyc
+${PYSITELIB}/lap/tests/test_utils.pyo
Index: pkgsrc/math/py-lap/distinfo
diff -u /dev/null pkgsrc/math/py-lap/distinfo:1.1
--- /dev/null   Wed May 14 13:30:02 2025
+++ pkgsrc/math/py-lap/distinfo Wed May 14 13:30:02 2025
@@ -0,0 +1,5 @@
+$NetBSD: distinfo,v 1.1 2025/05/14 13:30:02 adam Exp $
+
+BLAKE2s (lap-0.5.12.tar.gz) = f601144e55ef83ba64ef6eaab7e22dedb634d8dcf0ba5ed43c83330b09118acb
+SHA512 (lap-0.5.12.tar.gz) = a8ba1883e06b04a41cebb53999bcc7321748036958fde1ab37a2194b43104a84d0315bea89b21aaae7556cc3f573d95bf30107dc4045af301134dd10319b7d53
+Size (lap-0.5.12.tar.gz) = 1520169 bytes



Home | Main Index | Thread Index | Old Index