py-audioread: updated to 3.0.0

3.0.0
Drop support for Python 2 and older versions of Python 3. The library now requires Python 3.6+. Increase default block size in FFmpegAudioFile to get slightly faster file reading. Cache backends for faster lookup (thanks to @bmcfee). Audio file classes now inherit from a common base AudioFile class.
This commit is contained in:
adam 2023-08-04 08:30:19 +00:00
parent d70cb18eb9
commit ed2a00c862
3 changed files with 14 additions and 9 deletions

View file

@ -1,8 +1,7 @@
# $NetBSD: Makefile,v 1.11 2023/06/06 12:40:17 riastradh Exp $
# $NetBSD: Makefile,v 1.12 2023/08/04 08:30:19 adam Exp $
DISTNAME= audioread-2.1.9
DISTNAME= audioread-3.0.0
PKGNAME= ${PYPKGPREFIX}-${DISTNAME}
PKGREVISION= 1
CATEGORIES= audio python
MASTER_SITES= ${MASTER_SITE_PYPI:=a/audioread/}
@ -11,11 +10,14 @@ HOMEPAGE= https://github.com/sampsyo/audioread
COMMENT= Audio file decoder
LICENSE= mit
TOOL_DEPENDS+= ${PYPKGPREFIX}-test-runner-[0-9]*:../../devel/py-test-runner
TOOL_DEPENDS+= ${PYPKGPREFIX}-test-[0-9]*:../../devel/py-test
USE_LANGUAGES= # none
PYTHON_VERSIONS_INCOMPATIBLE= 27
do-test:
cd ${WRKSRC} && ${SETENV} ${TEST_ENV} pytest-${PYVERSSUFFIX} test
.include "../../lang/python/egg.mk"
.include "../../mk/bsd.pkg.mk"

View file

@ -1,4 +1,4 @@
@comment $NetBSD: PLIST,v 1.4 2020/12/03 18:15:35 adam Exp $
@comment $NetBSD: PLIST,v 1.5 2023/08/04 08:30:19 adam Exp $
${PYSITELIB}/${EGG_INFODIR}/PKG-INFO
${PYSITELIB}/${EGG_INFODIR}/SOURCES.txt
${PYSITELIB}/${EGG_INFODIR}/dependency_links.txt
@ -7,6 +7,9 @@ ${PYSITELIB}/${EGG_INFODIR}/top_level.txt
${PYSITELIB}/audioread/__init__.py
${PYSITELIB}/audioread/__init__.pyc
${PYSITELIB}/audioread/__init__.pyo
${PYSITELIB}/audioread/base.py
${PYSITELIB}/audioread/base.pyc
${PYSITELIB}/audioread/base.pyo
${PYSITELIB}/audioread/exceptions.py
${PYSITELIB}/audioread/exceptions.pyc
${PYSITELIB}/audioread/exceptions.pyo

View file

@ -1,5 +1,5 @@
$NetBSD: distinfo,v 1.10 2021/10/26 09:59:24 nia Exp $
$NetBSD: distinfo,v 1.11 2023/08/04 08:30:19 adam Exp $
BLAKE2s (audioread-2.1.9.tar.gz) = 0b0263b9595e9647750e733343cd69e4f54ad66add7f12a83e60466328fe6697
SHA512 (audioread-2.1.9.tar.gz) = ad2260b6931cfeebb815d48221366a2a5d8095965ff18e94c5eb0809d9a1b02e650a62ad5e895b7f1e003771fa3babf56f59ce4538aca78b678566fd28327290
Size (audioread-2.1.9.tar.gz) = 377500 bytes
BLAKE2s (audioread-3.0.0.tar.gz) = 9a97d6894b4f0cb5ec1a9a0d20c50c18588eba387e62c7114a417cd041348fd9
SHA512 (audioread-3.0.0.tar.gz) = c9f1e5206df998ad9d112dd4b75ae41cde01271485eed27f62feed89c5ca36d4bbce7a888498d3c20d85e8b50de6ef263f795eec164c4bd348d83535b66c38ae
Size (audioread-3.0.0.tar.gz) = 377038 bytes