1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-05 06:27:37 +00:00

audio/picard: Update to 2.9.1

Switch to PEP-517
Enable regression tests

https://github.com/metabrainz/picard/releases/tag/release-2.9.1
This commit is contained in:
Jason E. Hale 2023-08-20 16:15:18 -04:00
parent fae9b9e3f2
commit 2fb7dbce41
3 changed files with 20 additions and 7 deletions

View File

@ -1,5 +1,5 @@
PORTNAME= picard
PORTVERSION= 2.9
PORTVERSION= 2.9.1
CATEGORIES= audio python
MASTER_SITES= http://ftp.musicbrainz.org/pub/musicbrainz/picard/ \
ftp://ftp.musicbrainz.org/pub/musicbrainz/picard/ \
@ -12,6 +12,8 @@ WWW= https://picard.musicbrainz.org/
LICENSE= GPLv2+
LICENSE_FILE= ${WRKSRC}/COPYING.txt
BUILD_DEPENDS= ${PY_SETUPTOOLS} \
${PYTHON_PKGNAMEPREFIX}wheel>0:devel/py-wheel@${PY_FLAVOR}
RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}discid>=1.0:audio/py-discid@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}mutagen>=1.37:audio/py-mutagen@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}dateutil>=2.7:devel/py-dateutil@${PY_FLAVOR} \
@ -23,12 +25,10 @@ RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}discid>=1.0:audio/py-discid@${PY_FLAVOR} \
USES= gettext pyqt:5 python desktop-file-utils
USE_LOCALE= en_US.UTF-8
USE_PYQT= pyqt5:run sip
USE_PYTHON= autoplist distutils noflavors
USE_PYTHON= autoplist noflavors pep517 unittest
CONFLICTS_INSTALL= picard-tools py*-python-picard # bin/picard
WRKSRC= ${WRKDIR}/${PORTNAME}-release-${DISTVERSION}
OPTIONS_DEFINE= ACOUSTID PLUGINS
OPTIONS_DEFAULT= PLUGINS

View File

@ -1,3 +1,3 @@
TIMESTAMP = 1690500422
SHA256 (picard-2.9.tar.gz) = 89eb2d299f40eac9de7166593733c57942583dd1118f5c7a0b58278255fcd129
SIZE (picard-2.9.tar.gz) = 6360770
TIMESTAMP = 1692553916
SHA256 (picard-2.9.1.tar.gz) = 7ae365a6c96e9411833b2c09b7a26cedd3984c874819c4515592a4da477136b8
SIZE (picard-2.9.1.tar.gz) = 5270234

View File

@ -0,0 +1,13 @@
Disable checking for updates by default.
--- picard/ui/options/general.py.orig 2023-08-16 07:38:39 UTC
+++ picard/ui/options/general.py
@@ -71,7 +71,7 @@ class GeneralOptionsPage(OptionsPage):
TextOption("persist", "oauth_access_token", ""),
IntOption("persist", "oauth_access_token_expires", 0),
TextOption("persist", "oauth_username", ""),
- BoolOption("setting", "check_for_updates", True),
+ BoolOption("setting", "check_for_updates", False),
IntOption("setting", "update_check_days", 7),
IntOption("setting", "update_level", DEFAULT_PROGRAM_UPDATE_LEVEL),
IntOption("persist", "last_update_check", 0),