pkgsrc-WIP-changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

py-beets: fix build



Module Name:	pkgsrc-wip
Committed By:	Thomas Klausner <wiz%NetBSD.org@localhost>
Pushed By:	wiz
Date:		Mon Oct 13 14:30:43 2025 +0200
Changeset:	0e09c82cae6a13de6b1d027e052404e88dfbe0fc

Modified Files:
	py-beets/PLIST
	py-beets/distinfo
Added Files:
	py-beets/patches/patch-pyproject.toml
Removed Files:
	py-beets/TODO

Log Message:
py-beets: fix build

To see a diff of this commit:
https://wip.pkgsrc.org/cgi-bin/gitweb.cgi?p=pkgsrc-wip.git;a=commitdiff;h=0e09c82cae6a13de6b1d027e052404e88dfbe0fc

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

diffstat:
 py-beets/PLIST                        | 20 +++++++++++++-------
 py-beets/TODO                         |  3 ---
 py-beets/distinfo                     |  1 +
 py-beets/patches/patch-pyproject.toml | 16 ++++++++++++++++
 4 files changed, 30 insertions(+), 10 deletions(-)

diffs:
diff --git a/py-beets/PLIST b/py-beets/PLIST
index 8b019e90f4..840951912e 100644
--- a/py-beets/PLIST
+++ b/py-beets/PLIST
@@ -1,4 +1,4 @@
-@comment $NetBSD: PLIST,v 1.24 2025/09/22 20:32:13 wiz Exp $
+@comment $NetBSD$
 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
diff --git a/py-beets/TODO b/py-beets/TODO
deleted file mode 100644
index c9a7126bed..0000000000
--- a/py-beets/TODO
+++ /dev/null
@@ -1,3 +0,0 @@
-Doesn't build.
-
-https://github.com/beetbox/beets/issues/6089
diff --git a/py-beets/distinfo b/py-beets/distinfo
index f1ddccdd5e..42f9f3624a 100644
--- a/py-beets/distinfo
+++ b/py-beets/distinfo
@@ -3,3 +3,4 @@ $NetBSD: distinfo,v 1.24 2025/09/21 15:17:23 wiz Exp $
 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
+SHA1 (patch-pyproject.toml) = 2012f6d7a38e839751aced8e328fc12f4257ebd0
diff --git a/py-beets/patches/patch-pyproject.toml b/py-beets/patches/patch-pyproject.toml
new file mode 100644
index 0000000000..bb71b37e52
--- /dev/null
+++ b/py-beets/patches/patch-pyproject.toml
@@ -0,0 +1,16 @@
+$NetBSD$
+
+Disable automatic version detection -- needs .git directory.
+https://github.com/beetbox/beets/issues/6089
+
+--- pyproject.toml.orig	2025-10-13 12:22:04.122698682 +0000
++++ pyproject.toml
+@@ -158,7 +158,7 @@ beet = "beets.ui:main"
+ 
+ 
+ [tool.poetry-dynamic-versioning]
+-enable = true
++enable = false
+ vcs = "git"
+ format = "{base}.dev{distance}+{commit}"
+ 


Home | Main Index | Thread Index | Old Index