From: Kirill A. Korinsky Subject: Re: [new] audio/pylast: new port (version 5.3.0) To: Edd Barrett Cc: OpenBSD ports Date: Thu, 30 May 2024 12:20:34 +0100 oops, I was totally wrong. Here already audio/py-last (and not audio/py-pylast). So, here an update for existed port instead importing a new one. diff --git audio/py-last/Makefile audio/py-last/Makefile index 97e7449bbd7..eae8d2a42fc 100644 --- audio/py-last/Makefile +++ audio/py-last/Makefile @@ -1,10 +1,9 @@ COMMENT = Python last.fm library -MODPY_EGG_VERSION = 0.5.11 +MODPY_EGG_VERSION = 5.3.0 DISTNAME = pylast-${MODPY_EGG_VERSION} PKGNAME = py-last-${MODPY_EGG_VERSION} CATEGORIES = audio net -REVISION = 8 HOMEPAGE = https://github.com/pylast/pylast @@ -14,12 +13,16 @@ MAINTAINER = Edd Barrett PERMIT_PACKAGE = Yes MODPY_PI = Yes +MODPY_PYBUILD = hatch-vcs FLAVORS = python3 FLAVOR = python3 MODULES = lang/python -NO_TEST = Yes +RUN_DEPENDS = www/py-httpx${MODPY_FLAVOR} + +# NOTE: majority of tests requires real access to servers +TEST_DEPENDS = devel/py-flaky${MODPY_FLAVOR} .include diff --git audio/py-last/distinfo audio/py-last/distinfo index 754693b694f..04e6ea29070 100644 --- audio/py-last/distinfo +++ audio/py-last/distinfo @@ -1,2 +1,2 @@ -SHA256 (pylast-0.5.11.tar.gz) = vzWCC+NUR9VVZNNgctQLCayKf9Qabxp6nUCPTQ6u+sQ= -SIZE (pylast-0.5.11.tar.gz) = 26146 +SHA256 (pylast-5.3.0.tar.gz) = Y3lDsbDmBF3YXtc4nbYHGh/qRcx/+Q3GEm/VCcpvri8= +SIZE (pylast-5.3.0.tar.gz) = 41552 diff --git audio/py-last/pkg/PLIST audio/py-last/pkg/PLIST index c644a1a5484..4125ceb9177 100644 --- audio/py-last/pkg/PLIST +++ audio/py-last/pkg/PLIST @@ -1,6 +1,14 @@ @conflict py-last-* @pkgpath audio/py-last -${MODPY_COMMENT}lib/python${MODPY_VERSION}/site-packages/${MODPY_PYCACHE}/ -lib/python${MODPY_VERSION}/site-packages/${MODPY_PYCACHE}pylast.${MODPY_PYC_MAGIC_TAG}pyc -lib/python${MODPY_VERSION}/site-packages/pylast-${MODPY_EGG_VERSION}-py${MODPY_VERSION}.egg-info -lib/python${MODPY_VERSION}/site-packages/pylast.py +lib/python${MODPY_VERSION}/site-packages/pylast/ +lib/python${MODPY_VERSION}/site-packages/pylast-${MODPY_EGG_VERSION}.dist-info/ +lib/python${MODPY_VERSION}/site-packages/pylast-${MODPY_EGG_VERSION}.dist-info/METADATA +lib/python${MODPY_VERSION}/site-packages/pylast-${MODPY_EGG_VERSION}.dist-info/RECORD +lib/python${MODPY_VERSION}/site-packages/pylast-${MODPY_EGG_VERSION}.dist-info/WHEEL +lib/python${MODPY_VERSION}/site-packages/pylast-${MODPY_EGG_VERSION}.dist-info/licenses/ +lib/python${MODPY_VERSION}/site-packages/pylast-${MODPY_EGG_VERSION}.dist-info/licenses/COPYING +lib/python${MODPY_VERSION}/site-packages/pylast-${MODPY_EGG_VERSION}.dist-info/licenses/LICENSE.txt +lib/python${MODPY_VERSION}/site-packages/pylast/__init__.py +${MODPY_COMMENT}lib/python${MODPY_VERSION}/site-packages/pylast/${MODPY_PYCACHE}/ +lib/python${MODPY_VERSION}/site-packages/pylast/${MODPY_PYCACHE}__init__.${MODPY_PYC_MAGIC_TAG}${MODPY_PYOEXTENSION} +lib/python${MODPY_VERSION}/site-packages/pylast/${MODPY_PYCACHE}__init__.${MODPY_PYC_MAGIC_TAG}pyc -- wbr, Kirill