pkgsrc-Changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
CVS commit: pkgsrc/audio/py-beets
Module Name: pkgsrc
Committed By: wiz
Date: Tue Oct 14 15:16:39 UTC 2025
Modified Files:
pkgsrc/audio/py-beets: Makefile PLIST distinfo
Log Message:
py-beets: update to 2.5.0.
New features
Convert Plugin: Add a config option to disable writing metadata to converted files.
Discogs Plugin Added support for featured artists. 🐛 (#6038)
Discogs Plugin New configuration option featured_string to change the default string used to join featured artists. The default string is Feat..
Discogs Plugin Support for artist_credit in Discogs tags. 🐛 (#3354)
Discogs Plugin Support for name variations and config options to specify where the variations are written. 🐛 (#3354)
Discogs Plugin: New config option strip_disambiguation to toggle stripping discogs numeric disambiguation on artist and label fields.
LastGenre Plugin: Add a --pretend option to preview genre changes without storing or writing them.
Bug fixes
Metadata source plugins: Fixed data source penalty calculation that was incorrectly applied during import matching. The source_weight configuration option has been renamed to
data_source_mismatch_penalty to better reflect its purpose. 🐛 (#6066)
Chromaprint/Acoustid Plugin BPSync Plugin Fix plugin loading issue caused by an import of another beets.plugins.BeetsPlugin class. 🐛 (#6033)
Discogs Plugin Fixed inconsistency in stripping disambiguation from artists but not labels. 🐛 (#5366)
FromFilename Plugin: Fix 🐛 (#5218), improve the code (refactor regexps, allow for more cases, add some logging), add tests.
MusicBrainz Plugin Refresh flexible MusicBrainz metadata on reimport so format changes are applied. 🐛 (#6036)
Spotify Plugin Ensure spotifysync keeps popularity, ISRC, and related fields current even when audio features requests fail. 🐛 (#6061)
Spotify Plugin Fixed an issue where candidate lookup would not find matches due to query escaping (single vs double quotes).
Spotify Plugin Fixed an issue where track matching and lookups could return incorrect or misleading results when using the Spotify plugin. The problem occurred primarily when no album was
provided or when the album field was an empty string. 🐛 (#5189)
Spotify Plugin Removed old and undocumented config options artist_field, album_field and track that were causing issues with track matching. 🐛 (#5189)
Other changes
Moved art.py utility module from beets into beetsplug namespace as it is not used in the core beets codebase. It can now be found in beetsplug._utils.
Moved vfs.py utility module from beets into beetsplug namespace as it is not used in the core beets codebase. It can now be found in beetsplug._utils.
When installing beets via git or locally the version string now reflects the current git branch and commit hash. 🐛 (#4448)
Autotagger Matching Options: match.distance_weights.source configuration has been renamed to match.distance_weights.data_source for consistency with the name of the field it refers to.
FAQ: Add check for musicbrainz plugin if auto-tagger can't find a match 🐛 (#6020)
Plugins: Clarify that musicbrainz must be mentioned if plugin list modified 🐛 (#6020)
Using the Auto-Tagger: Section on no matching release found, related to possibly disabled musicbrainz plugin 🐛 (#6020)
beets.metadata_plugin.MetadataSourcePlugin: Remove discogs specific disambiguation stripping.
For developers and plugin authors
Metadata source plugins are now registered globally when instantiated, which makes their handling slightly more efficient.
The track_distance() and album_distance() methods have been removed from MetadataSourcePlugin. Distance calculation for data source mismatches is now handled automatically by the core matching
logic. This change simplifies the plugin architecture and fixes incorrect penalty calculations. 🐛 (#6066)
Typing improvements in beets/logging.py: getLogger now returns BeetsLogger when called with a name, or RootLogger when called without a name.
To generate a diff of this commit:
cvs rdiff -u -r1.44 -r1.45 pkgsrc/audio/py-beets/Makefile
cvs rdiff -u -r1.24 -r1.25 pkgsrc/audio/py-beets/PLIST \
pkgsrc/audio/py-beets/distinfo
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: pkgsrc/audio/py-beets/Makefile
diff -u pkgsrc/audio/py-beets/Makefile:1.44 pkgsrc/audio/py-beets/Makefile:1.45
--- pkgsrc/audio/py-beets/Makefile:1.44 Thu Oct 9 07:57:23 2025
+++ pkgsrc/audio/py-beets/Makefile Tue Oct 14 15:16:39 2025
@@ -1,8 +1,7 @@
-# $NetBSD: Makefile,v 1.44 2025/10/09 07:57:23 wiz Exp $
+# $NetBSD: Makefile,v 1.45 2025/10/14 15:16:39 wiz Exp $
-DISTNAME= beets-2.4.0
+DISTNAME= beets-2.5.0
PKGNAME= ${PYPKGPREFIX}-${DISTNAME}
-PKGREVISION= 1
CATEGORIES= audio python
MASTER_SITES= ${MASTER_SITE_PYPI:=b/beets/}
@@ -11,8 +10,8 @@ HOMEPAGE= https://beets.io/
COMMENT= Music geek's media organizer
LICENSE= mit
-# https://github.com/beetbox/beets/issues/5596
TOOL_DEPENDS+= ${PYPKGPREFIX}-poetry-core>=2.2.1:../../devel/py-poetry-core
+TOOL_DEPENDS+= ${PYPKGPREFIX}-poetry-dynamic-versioning>=0:../../devel/py-poetry-dynamic-versioning
DEPENDS+= ${PYPKGPREFIX}-Unidecode>=1.3.6:../../textproc/py-Unidecode
DEPENDS+= ${PYPKGPREFIX}-confuse>=1.5.0:../../devel/py-confuse
DEPENDS+= ${PYPKGPREFIX}-jellyfish-[0-9]*:../../textproc/py-jellyfish
@@ -37,11 +36,14 @@ TEST_DEPENDS+= ${PYPKGPREFIX}-responses>
TEST_DEPENDS+= ${PYPKGPREFIX}-test-cov-[0-9]*:../../devel/py-test-cov
USE_LANGUAGES= # none
+USE_TOOLS+= git
INSTALLATION_DIRS+= ${PKGMANDIR}/man1 ${PKGMANDIR}/man5
PYTHON_VERSIONS_INCOMPATIBLE= 310
+MAKE_ENV+= POETRY_DYNAMIC_VERSIONING_BYPASS=${PKGVERSION_NOREV}
+
# as of 2.4.0
# 1067 passed, 101 skipped, 1 warning
.if make(test)
@@ -53,8 +55,8 @@ ALLOW_NETWORK_ACCESS= yes
DEPENDS+= ${PYPKGPREFIX}-typing-extensions-[0-9]*:../../devel/py-typing-extensions
.endif
+# https://github.com/beetbox/beets/issues/5596
post-install:
- cd ${DESTDIR}${PREFIX}/bin && ${MV} beet beet-${PYVERSSUFFIX} || ${TRUE}
${INSTALL_DATA} ${WRKSRC}/man/beet.1 ${DESTDIR}${PREFIX}/${PKGMANDIR}/man1/beet-${PYVERSSUFFIX}.1
${INSTALL_DATA} ${WRKSRC}/man/beetsconfig.5 ${DESTDIR}${PREFIX}/${PKGMANDIR}/man5/beetsconfig-${PYVERSSUFFIX}.5
cd ${DESTDIR}${PREFIX}/bin && ${MV} beet beet-${PYVERSSUFFIX} || ${TRUE}
Index: pkgsrc/audio/py-beets/PLIST
diff -u pkgsrc/audio/py-beets/PLIST:1.24 pkgsrc/audio/py-beets/PLIST:1.25
--- pkgsrc/audio/py-beets/PLIST:1.24 Mon Sep 22 20:32:13 2025
+++ pkgsrc/audio/py-beets/PLIST Tue Oct 14 15:16:39 2025
@@ -1,4 +1,4 @@
-@comment $NetBSD: PLIST,v 1.24 2025/09/22 20:32:13 wiz Exp $
+@comment $NetBSD: PLIST,v 1.25 2025/10/14 15:16:39 wiz Exp $
bin/beet-${PYVERSSUFFIX}
${PYSITELIB}/${WHEEL_INFODIR}/METADATA
${PYSITELIB}/${WHEEL_INFODIR}/RECORD
@@ -11,9 +11,9 @@ ${PYSITELIB}/beets/__init__.pyo
${PYSITELIB}/beets/__main__.py
${PYSITELIB}/beets/__main__.pyc
${PYSITELIB}/beets/__main__.pyo
-${PYSITELIB}/beets/art.py
-${PYSITELIB}/beets/art.pyc
-${PYSITELIB}/beets/art.pyo
+${PYSITELIB}/beets/_version.py
+${PYSITELIB}/beets/_version.pyc
+${PYSITELIB}/beets/_version.pyo
${PYSITELIB}/beets/autotag/__init__.py
${PYSITELIB}/beets/autotag/__init__.pyc
${PYSITELIB}/beets/autotag/__init__.pyo
@@ -134,12 +134,18 @@ ${PYSITELIB}/beets/util/pipeline.pyo
${PYSITELIB}/beets/util/units.py
${PYSITELIB}/beets/util/units.pyc
${PYSITELIB}/beets/util/units.pyo
-${PYSITELIB}/beets/vfs.py
-${PYSITELIB}/beets/vfs.pyc
-${PYSITELIB}/beets/vfs.pyo
${PYSITELIB}/beetsplug/_typing.py
${PYSITELIB}/beetsplug/_typing.pyc
${PYSITELIB}/beetsplug/_typing.pyo
+${PYSITELIB}/beetsplug/_utils/__init__.py
+${PYSITELIB}/beetsplug/_utils/__init__.pyc
+${PYSITELIB}/beetsplug/_utils/__init__.pyo
+${PYSITELIB}/beetsplug/_utils/art.py
+${PYSITELIB}/beetsplug/_utils/art.pyc
+${PYSITELIB}/beetsplug/_utils/art.pyo
+${PYSITELIB}/beetsplug/_utils/vfs.py
+${PYSITELIB}/beetsplug/_utils/vfs.pyc
+${PYSITELIB}/beetsplug/_utils/vfs.pyo
${PYSITELIB}/beetsplug/absubmit.py
${PYSITELIB}/beetsplug/absubmit.pyc
${PYSITELIB}/beetsplug/absubmit.pyo
Index: pkgsrc/audio/py-beets/distinfo
diff -u pkgsrc/audio/py-beets/distinfo:1.24 pkgsrc/audio/py-beets/distinfo:1.25
--- pkgsrc/audio/py-beets/distinfo:1.24 Sun Sep 21 15:17:23 2025
+++ pkgsrc/audio/py-beets/distinfo Tue Oct 14 15:16:39 2025
@@ -1,5 +1,5 @@
-$NetBSD: distinfo,v 1.24 2025/09/21 15:17:23 wiz Exp $
+$NetBSD: distinfo,v 1.25 2025/10/14 15:16:39 wiz Exp $
-BLAKE2s (beets-2.4.0.tar.gz) = 98edb65c8713b046886b166e40d86ab1e876856a4057451677c456c11279b4b4
-SHA512 (beets-2.4.0.tar.gz) = 630cac17141d235332dcb661301b0a94a085812f8cbf5839c56c9991698cbc165b537a8f8bf286ad70a945b288e8535e8aad4f1a97541389193134704fd95715
-Size (beets-2.4.0.tar.gz) = 2134935 bytes
+BLAKE2s (beets-2.5.0.tar.gz) = b3cb98ac227c2dfbd8641c74015d393fcc80fc1830f7211632679540417e6722
+SHA512 (beets-2.5.0.tar.gz) = 01cf8ec446b4848668fe4b23ba68e9eafb2123680401fd11cec65023f786aca45cd91819113cc6ef2b73b49e000d63ce36ace3942d67c4499580a2b9fb840360
+Size (beets-2.5.0.tar.gz) = 2141493 bytes
Home |
Main Index |
Thread Index |
Old Index