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:   adam
Date:           Tue Mar  7 20:19:17 UTC 2023

Modified Files:
        pkgsrc/audio/py-beets: Makefile PLIST distinfo

Log Message:
py-beets: updated to 1.6.0

1.6.0 (November 27, 2021)
-------------------------

This release is our first experiment with time-based releases! We are aiming
to publish a new release of beets every 3 months. We therefore have a healthy
but not dizzyingly long list of new features and fixes.

With this release, beets now requires Python 3.6 or later (it removes support
for Python 2.7, 3.4, and 3.5). There are also a few other dependency
changes---if you're a maintainer of a beets package for a package manager,
thank you for your ongoing efforts, and please see the list of notes below.

Major new features:

* When fetching genres from MusicBrainz, we now include genres from the
  release group (in addition to the release). We also prioritize genres based
  on the number of votes.
  Thanks to :user:`aereaux`.
* Primary and secondary release types from MusicBrainz are now stored in a new
  ``albumtypes`` field.
  Thanks to :user:`edgars-supe`.
  :bug:`2200`
* An accompanying new :doc:`/plugins/albumtypes` includes some options for
  formatting this new ``albumtypes`` field.
  Thanks to :user:`edgars-supe`.

Other new things:

* :doc:`/plugins/permissions`: The plugin now sets cover art permissions to
  match the audio file permissions.
* :doc:`/plugins/unimported`: A new configuration option supports excluding
  specific subdirectories in library.
* :doc:`/plugins/info`: Add support for an ``--album`` flag.
* :doc:`/plugins/export`: Similarly add support for an ``--album`` flag.
* ``beet move`` now highlights path differences in color (when enabled).
* When moving files and a direct rename of a file is not possible (for
  example, when crossing filesystems), beets now copies to a temporary file in
  the target folder first and then moves to the destination instead of
  directly copying the target path. This gets us closer to always updating
  files atomically.
  Thanks to :user:`catap`.
  :bug:`4060`
* :doc:`/plugins/fetchart`: Add a new option to store cover art as
  non-progressive image. This is useful for DAPs that do not support
  progressive images. Set ``deinterlace: yes`` in your configuration to enable
  this conversion.
* :doc:`/plugins/fetchart`: Add a new option to change the file format of
  cover art images. This may also be useful for DAPs that only support some
  image formats.
* Support flexible attributes in ``%aunique``.
  :bug:`2678` :bug:`3553`
* Make ``%aunique`` faster, especially when using inline fields.
  :bug:`4145`

Bug fixes:

* :doc:`/plugins/lyrics`: Fix a crash when Beautiful Soup is not installed.
  :bug:`4027`
* :doc:`/plugins/discogs`: Support a new Discogs URL format for IDs.
  :bug:`4080`
* :doc:`/plugins/discogs`: Remove built-in rate-limiting because the Discogs
  Python library we use now has its own rate-limiting.
  :bug: `4108`
* :doc:`/plugins/export`: Fix some duplicated output.
* :doc:`/plugins/aura`: Fix a potential security hole when serving image
  files.
  :bug:`4160`

For plugin developers:

* :py:meth:`beets.library.Item.destination` now accepts a `replacements`
  argument to be used in favor of the default.
* The `pluginload` event is now sent after plugin types and queries are
  available, not before.
* A new plugin event, `album_removed`, is called when an album is removed from
  the library (even when its file is not deleted from disk).

Here are some notes for packagers:

* As noted above, the minimum Python version is now 3.6.
* We fixed a flaky test, named `test_album_art` in the `test_zero.py` file,
  that some distributions had disabled. Disabling this test should no longer
  be necessary.
  :bug:`4037` :bug:`4038`
* This version of beets no longer depends on the `six`_ library.
  :bug:`4030`
* The `gmusic` plugin was removed since Google Play Music has been shut down.
  Thus, the optional dependency on `gmusicapi` does not exist anymore.
  :bug:`4089`


To generate a diff of this commit:
cvs rdiff -u -r1.30 -r1.31 pkgsrc/audio/py-beets/Makefile
cvs rdiff -u -r1.16 -r1.17 pkgsrc/audio/py-beets/PLIST
cvs rdiff -u -r1.19 -r1.20 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.30 pkgsrc/audio/py-beets/Makefile:1.31
--- pkgsrc/audio/py-beets/Makefile:1.30 Wed Jan  5 20:47:34 2022
+++ pkgsrc/audio/py-beets/Makefile      Tue Mar  7 20:19:17 2023
@@ -1,7 +1,6 @@
-# $NetBSD: Makefile,v 1.30 2022/01/05 20:47:34 wiz Exp $
+# $NetBSD: Makefile,v 1.31 2023/03/07 20:19:17 adam Exp $
 
-DISTNAME=      beets-1.5.0
-PKGREVISION=   2
+DISTNAME=      beets-1.6.0
 CATEGORIES=    audio python
 MASTER_SITES=  ${MASTER_SITE_PYPI:=b/beets/}
 
@@ -11,24 +10,23 @@ COMMENT=    Music geek's media organizer
 LICENSE=       mit
 
 DEPENDS+=      ${PYPKGPREFIX}-Unidecode-[0-9]*:../../textproc/py-Unidecode
-DEPENDS+=      ${PYPKGPREFIX}-confuse-[0-9]*:../../devel/py-confuse
+DEPENDS+=      ${PYPKGPREFIX}-confuse>=1.0.0:../../devel/py-confuse
 DEPENDS+=      ${PYPKGPREFIX}-jellyfish-[0-9]*:../../textproc/py-jellyfish
 DEPENDS+=      ${PYPKGPREFIX}-last-[0-9]*:../../audio/py-last
-DEPENDS+=      ${PYPKGPREFIX}-mediafile-[0-9]*:../../audio/py-mediafile
-DEPENDS+=      ${PYPKGPREFIX}-munkres-[0-9]*:../../math/py-munkres
+DEPENDS+=      ${PYPKGPREFIX}-mediafile>=0.2.0:../../audio/py-mediafile
+DEPENDS+=      ${PYPKGPREFIX}-munkres>=1.0.0:../../math/py-munkres
 DEPENDS+=      ${PYPKGPREFIX}-musicbrainz-ngs>=0.4:../../audio/py-musicbrainz-ngs
 DEPENDS+=      ${PYPKGPREFIX}-mutagen>=1.33:../../audio/py-mutagen
 DEPENDS+=      ${PYPKGPREFIX}-requests-[0-9]*:../../devel/py-requests
-DEPENDS+=      ${PYPKGPREFIX}-six>=1.9:../../lang/py-six
 DEPENDS+=      ${PYPKGPREFIX}-sqlite3-[0-9]*:../../databases/py-sqlite3
 DEPENDS+=      ${PYPKGPREFIX}-yaml-[0-9]*:../../textproc/py-yaml
 
 USE_LANGUAGES= # none
 
-PYTHON_VERSIONS_INCOMPATIBLE=  27 # py-jellyfish, py-mutagen
-
 USE_PKG_RESOURCES=     yes
 
+PYTHON_VERSIONS_INCOMPATIBLE=  27
+
 post-install:
        cd ${DESTDIR}${PREFIX}/bin && ${MV} beet beet-${PYVERSSUFFIX} || ${TRUE}
 

Index: pkgsrc/audio/py-beets/PLIST
diff -u pkgsrc/audio/py-beets/PLIST:1.16 pkgsrc/audio/py-beets/PLIST:1.17
--- pkgsrc/audio/py-beets/PLIST:1.16    Thu Nov 25 19:41:22 2021
+++ pkgsrc/audio/py-beets/PLIST Tue Mar  7 20:19:17 2023
@@ -1,4 +1,4 @@
-@comment $NetBSD: PLIST,v 1.16 2021/11/25 19:41:22 bsiegert Exp $
+@comment $NetBSD: PLIST,v 1.17 2023/03/07 20:19:17 adam Exp $
 bin/beet-${PYVERSSUFFIX}
 ${PYSITELIB}/${EGG_INFODIR}/PKG-INFO
 ${PYSITELIB}/${EGG_INFODIR}/SOURCES.txt
@@ -106,6 +106,9 @@ ${PYSITELIB}/beetsplug/absubmit.pyo
 ${PYSITELIB}/beetsplug/acousticbrainz.py
 ${PYSITELIB}/beetsplug/acousticbrainz.pyc
 ${PYSITELIB}/beetsplug/acousticbrainz.pyo
+${PYSITELIB}/beetsplug/albumtypes.py
+${PYSITELIB}/beetsplug/albumtypes.pyc
+${PYSITELIB}/beetsplug/albumtypes.pyo
 ${PYSITELIB}/beetsplug/aura.py
 ${PYSITELIB}/beetsplug/aura.pyc
 ${PYSITELIB}/beetsplug/aura.pyo

Index: pkgsrc/audio/py-beets/distinfo
diff -u pkgsrc/audio/py-beets/distinfo:1.19 pkgsrc/audio/py-beets/distinfo:1.20
--- pkgsrc/audio/py-beets/distinfo:1.19 Thu Nov 25 19:41:22 2021
+++ pkgsrc/audio/py-beets/distinfo      Tue Mar  7 20:19:17 2023
@@ -1,5 +1,5 @@
-$NetBSD: distinfo,v 1.19 2021/11/25 19:41:22 bsiegert Exp $
+$NetBSD: distinfo,v 1.20 2023/03/07 20:19:17 adam Exp $
 
-BLAKE2s (beets-1.5.0.tar.gz) = e5af031e5bd2b44c197a20bd938040d40a85bdfa4ddba4cd5461fda8dbd7c4c2
-SHA512 (beets-1.5.0.tar.gz) = 447b01dc750a69d0a33d271774f3bd3b997a203d80c220c1a961f9a8e30420d263b1e2a4682d25ff7b02e1e85155f42186cb0d3bf27ebc8c2777f68e197d4018
-Size (beets-1.5.0.tar.gz) = 1694845 bytes
+BLAKE2s (beets-1.6.0.tar.gz) = 19fd21550f8e7a4241a0826110152cd94af2f70950f451cad5b4538528a5074e
+SHA512 (beets-1.6.0.tar.gz) = b03759a2be7d3318b4f43cac09ada229cea6496774ba3dcdb1458427e41f6329a627241afc0bfaa9a91afb6818ba944ef6088e38c5635a3bfe730a6a8011a0dc
+Size (beets-1.6.0.tar.gz) = 1698333 bytes



Home | Main Index | Thread Index | Old Index