pkgsrc-WIP-changes archive

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

py-librosa: Update to v0.10.2



Module Name:	pkgsrc-wip
Committed By:	Malte Dehling <mdehling%gmail.com@localhost>
Pushed By:	mdehling
Date:		Mon Jun 3 10:41:22 2024 -0700
Changeset:	83e23b5f5f202c5ac5eff023e5c6940c25f0d0e2

Modified Files:
	py-librosa/Makefile
	py-librosa/PLIST
	py-librosa/distinfo
Removed Files:
	py-librosa/TODO

Log Message:
py-librosa: Update to v0.10.2

- convert to wheel

To see a diff of this commit:
https://wip.pkgsrc.org/cgi-bin/gitweb.cgi?p=pkgsrc-wip.git;a=commitdiff;h=83e23b5f5f202c5ac5eff023e5c6940c25f0d0e2

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

diffstat:
 py-librosa/Makefile | 33 ++++++++++++++++-----------------
 py-librosa/PLIST    | 25 ++++++++++++++++++++-----
 py-librosa/TODO     |  1 -
 py-librosa/distinfo |  6 +++---
 4 files changed, 39 insertions(+), 26 deletions(-)

diffs:
diff --git a/py-librosa/Makefile b/py-librosa/Makefile
index 95ec6aca44..05081c8577 100644
--- a/py-librosa/Makefile
+++ b/py-librosa/Makefile
@@ -1,6 +1,6 @@
-# $NetBSD: Makefile,v 1.13 2022/01/04 20:52:34 wiz Exp $
+# $NetBSD$
 
-DISTNAME=	librosa-0.8.1
+DISTNAME=	librosa-0.10.2
 PKGNAME=	${PYPKGPREFIX}-${DISTNAME}
 CATEGORIES=	audio python
 MASTER_SITES=	${MASTER_SITE_PYPI:=l/librosa/}
@@ -10,31 +10,30 @@ HOMEPAGE=	https://librosa.org/
 COMMENT=	Python module for audio and music processing
 LICENSE=	isc
 
+TOOL_DEPENDS+=	${PYPKGPREFIX}-setuptools-[0-9]*:../../devel/py-setuptools
+TOOL_DEPENDS+=	${PYPKGPREFIX}-wheel-[0-9]*:../../devel/py-wheel
 DEPENDS+=	${PYPKGPREFIX}-audioread-[0-9]*:../../audio/py-audioread
+DEPENDS+=	${PYPKGPREFIX}-soundfile-[0-9]*:../../audio/py-soundfile
 DEPENDS+=	${PYPKGPREFIX}-decorator-[0-9]*:../../devel/py-decorator
+DEPENDS+=	${PYPKGPREFIX}-msgpack-[0-9]*:../../devel/py-msgpack
+DEPENDS+=	${PYPKGPREFIX}-packaging-[0-9]*:../../devel/py-packaging
+DEPENDS+=	${PYPKGPREFIX}-typing-extensions-[0-9]*:../../devel/py-typing-extensions
+DEPENDS+=	${PYPKGPREFIX}-pooch-[0-9]*:../../devel/py-pooch
 DEPENDS+=	${PYPKGPREFIX}-joblib-[0-9]*:../../devel/py-joblib
 DEPENDS+=	${PYPKGPREFIX}-numba-[0-9]*:../../math/py-numba
 DEPENDS+=	${PYPKGPREFIX}-numpy-[0-9]*:../../math/py-numpy
-DEPENDS+=	${PYPKGPREFIX}-packaging-[0-9]*:../../devel/py-packaging
-DEPENDS+=	${PYPKGPREFIX}-pooch-[0-9]*:../../devel/py-pooch
-DEPENDS+=	${PYPKGPREFIX}-resampy-[0-9]*:../../wip/py-resampy
-DEPENDS+=	${PYPKGPREFIX}-soundfile-[0-9]*:../../audio/py-soundfile
 DEPENDS+=	${PYPKGPREFIX}-scikit-learn-[0-9]*:../../math/py-scikit-learn
 DEPENDS+=	${PYPKGPREFIX}-scipy-[0-9]*:../../math/py-scipy
-TEST_DEPENDS+=	${PYPKGPREFIX}-test-[0-9]*:../../devel/py-test
+DEPENDS+=	${PYPKGPREFIX}-lazy_loader-[0-9]*:../../misc/py-lazy_loader
+DEPENDS+=	${PYPKGPREFIX}-resampy-[0-9]*:../../wip/py-resampy
+DEPENDS+=	${PYPKGPREFIX}-soxr-[0-9]*:../../wip/py-soxr
 TEST_DEPENDS+=	${PYPKGPREFIX}-test-cov-[0-9]*:../../devel/py-test-cov
+TEST_DEPENDS+=	${PYPKGPREFIX}-matplotlib-[0-9]*:../../graphics/py-matplotlib
+TEST_DEPENDS+=	${PYPKGPREFIX}-samplerate-[0-9]*:../../wip/py-samplerate
 TEST_DEPENDS+=	${PYPKGPREFIX}-test-mpl-[0-9]*:../../wip/py-test-mpl
-# test dependencies
-#       contextlib2
-#       samplerate
-#       soxr
-
-USE_LANGUAGES=	# none
 
 PYTHON_VERSIONS_INCOMPATIBLE=	27
 
-do-test:
-	cd ${WRKSRC} && ${SETENV} ${TEST_ENV} pytest-${PYVERSSUFFIX}
-
-.include "../../lang/python/egg.mk"
+.include "../../lang/python/wheel.mk"
+.include "../../audio/libsndfile/buildlink3.mk" # XXX: required for tests
 .include "../../mk/bsd.pkg.mk"
diff --git a/py-librosa/PLIST b/py-librosa/PLIST
index f89e23563c..6ed9adafa3 100644
--- a/py-librosa/PLIST
+++ b/py-librosa/PLIST
@@ -1,20 +1,25 @@
 @comment $NetBSD$
-${PYSITELIB}/${EGG_INFODIR}/PKG-INFO
-${PYSITELIB}/${EGG_INFODIR}/SOURCES.txt
-${PYSITELIB}/${EGG_INFODIR}/dependency_links.txt
-${PYSITELIB}/${EGG_INFODIR}/requires.txt
-${PYSITELIB}/${EGG_INFODIR}/top_level.txt
+${PYSITELIB}/${WHEEL_INFODIR}/LICENSE.md
+${PYSITELIB}/${WHEEL_INFODIR}/METADATA
+${PYSITELIB}/${WHEEL_INFODIR}/RECORD
+${PYSITELIB}/${WHEEL_INFODIR}/WHEEL
+${PYSITELIB}/${WHEEL_INFODIR}/top_level.txt
 ${PYSITELIB}/librosa/__init__.py
 ${PYSITELIB}/librosa/__init__.pyc
+${PYSITELIB}/librosa/__init__.pyi
 ${PYSITELIB}/librosa/__init__.pyo
 ${PYSITELIB}/librosa/_cache.py
 ${PYSITELIB}/librosa/_cache.pyc
 ${PYSITELIB}/librosa/_cache.pyo
+${PYSITELIB}/librosa/_typing.py
+${PYSITELIB}/librosa/_typing.pyc
+${PYSITELIB}/librosa/_typing.pyo
 ${PYSITELIB}/librosa/beat.py
 ${PYSITELIB}/librosa/beat.pyc
 ${PYSITELIB}/librosa/beat.pyo
 ${PYSITELIB}/librosa/core/__init__.py
 ${PYSITELIB}/librosa/core/__init__.pyc
+${PYSITELIB}/librosa/core/__init__.pyi
 ${PYSITELIB}/librosa/core/__init__.pyo
 ${PYSITELIB}/librosa/core/audio.py
 ${PYSITELIB}/librosa/core/audio.pyc
@@ -31,6 +36,10 @@ ${PYSITELIB}/librosa/core/fft.pyo
 ${PYSITELIB}/librosa/core/harmonic.py
 ${PYSITELIB}/librosa/core/harmonic.pyc
 ${PYSITELIB}/librosa/core/harmonic.pyo
+${PYSITELIB}/librosa/core/intervals.msgpack
+${PYSITELIB}/librosa/core/intervals.py
+${PYSITELIB}/librosa/core/intervals.pyc
+${PYSITELIB}/librosa/core/intervals.pyo
 ${PYSITELIB}/librosa/core/notation.py
 ${PYSITELIB}/librosa/core/notation.pyc
 ${PYSITELIB}/librosa/core/notation.pyo
@@ -51,6 +60,7 @@ ${PYSITELIB}/librosa/effects.pyc
 ${PYSITELIB}/librosa/effects.pyo
 ${PYSITELIB}/librosa/feature/__init__.py
 ${PYSITELIB}/librosa/feature/__init__.pyc
+${PYSITELIB}/librosa/feature/__init__.pyi
 ${PYSITELIB}/librosa/feature/__init__.pyo
 ${PYSITELIB}/librosa/feature/inverse.py
 ${PYSITELIB}/librosa/feature/inverse.pyc
@@ -70,6 +80,7 @@ ${PYSITELIB}/librosa/filters.pyo
 ${PYSITELIB}/librosa/onset.py
 ${PYSITELIB}/librosa/onset.pyc
 ${PYSITELIB}/librosa/onset.pyo
+${PYSITELIB}/librosa/py.typed
 ${PYSITELIB}/librosa/segment.py
 ${PYSITELIB}/librosa/segment.pyc
 ${PYSITELIB}/librosa/segment.pyo
@@ -78,6 +89,7 @@ ${PYSITELIB}/librosa/sequence.pyc
 ${PYSITELIB}/librosa/sequence.pyo
 ${PYSITELIB}/librosa/util/__init__.py
 ${PYSITELIB}/librosa/util/__init__.pyc
+${PYSITELIB}/librosa/util/__init__.pyi
 ${PYSITELIB}/librosa/util/__init__.pyo
 ${PYSITELIB}/librosa/util/_nnls.py
 ${PYSITELIB}/librosa/util/_nnls.pyc
@@ -88,6 +100,9 @@ ${PYSITELIB}/librosa/util/decorators.pyo
 ${PYSITELIB}/librosa/util/deprecation.py
 ${PYSITELIB}/librosa/util/deprecation.pyc
 ${PYSITELIB}/librosa/util/deprecation.pyo
+${PYSITELIB}/librosa/util/example_data/__init__.py
+${PYSITELIB}/librosa/util/example_data/__init__.pyc
+${PYSITELIB}/librosa/util/example_data/__init__.pyo
 ${PYSITELIB}/librosa/util/example_data/index.json
 ${PYSITELIB}/librosa/util/example_data/registry.txt
 ${PYSITELIB}/librosa/util/exceptions.py
diff --git a/py-librosa/TODO b/py-librosa/TODO
deleted file mode 100644
index 11bb2cd715..0000000000
--- a/py-librosa/TODO
+++ /dev/null
@@ -1 +0,0 @@
-Finished, but tests only test coverage, so not sure if it works.
diff --git a/py-librosa/distinfo b/py-librosa/distinfo
index 69c6c86b8b..9b929275c1 100644
--- a/py-librosa/distinfo
+++ b/py-librosa/distinfo
@@ -1,5 +1,5 @@
 $NetBSD: distinfo,v 1.8 2021/10/26 09:59:25 nia Exp $
 
-BLAKE2s (librosa-0.8.1.tar.gz) = d5584fa38ad4ce2988493f003640f11471554a2d55c2104f8ea87b381b291ac9
-SHA512 (librosa-0.8.1.tar.gz) = c6736eed87252b7f85a7eda50ecafaed9a7080b96b06b0d51a552d56c8028b75b11f6c7006552e30f9ee74c6202644853712d64481d5d1873f5b5f6694a295f5
-Size (librosa-0.8.1.tar.gz) = 189365 bytes
+BLAKE2s (librosa-0.10.2.tar.gz) = f3be2233ac77434f0d9e32c7c388dc00ee2f32cb5ecc43d9faacce0056f70799
+SHA512 (librosa-0.10.2.tar.gz) = 8aa8bb03d261239decef21423ccb380c6929a389fbba0c71b347f792698f00f26f64217adfe47c8f1c34eb7385a9f9b0d0452581e956739e972482d7bc5d2a89
+Size (librosa-0.10.2.tar.gz) = 325480 bytes


Home | Main Index | Thread Index | Old Index