git: ab5f4e9bc9a7 - main - audio/py-pyradio: Update to 0.9.3.11.16

From: Nicola Vitale <nivit_at_FreeBSD.org>
Date: Sat, 06 Sep 2025 09:11:39 UTC
The branch main has been updated by nivit:

URL: https://cgit.FreeBSD.org/ports/commit/?id=ab5f4e9bc9a7db7815adc1db16baa01c45b73145

commit ab5f4e9bc9a7db7815adc1db16baa01c45b73145
Author:     Nicola Vitale <nivit@FreeBSD.org>
AuthorDate: 2025-09-06 09:08:55 +0000
Commit:     Nicola Vitale <nivit@FreeBSD.org>
CommitDate: 2025-09-06 09:11:25 +0000

    audio/py-pyradio: Update to 0.9.3.11.16
    
    - Add files/patch-pyradio_main.py
      ( see https://github.com/coderholic/pyradio/issues/301 )
    
    Release changes:        https://github.com/coderholic/pyradio/releases/tag/0.9.3.11.16
    Reported by:    Spiros Georgaras <notifications@github.com>
---
 audio/py-pyradio/Makefile                    |  2 +-
 audio/py-pyradio/distinfo                    |  6 +++---
 audio/py-pyradio/files/patch-pyradio_main.py | 12 ++++++++++++
 3 files changed, 16 insertions(+), 4 deletions(-)

diff --git a/audio/py-pyradio/Makefile b/audio/py-pyradio/Makefile
index 894819ccfe10..cac8f2f442b9 100644
--- a/audio/py-pyradio/Makefile
+++ b/audio/py-pyradio/Makefile
@@ -1,5 +1,5 @@
 PORTNAME=	pyradio
-DISTVERSION=	0.9.3.11.15
+DISTVERSION=	0.9.3.11.16
 PORTREVISION=	0
 CATEGORIES=	audio python
 PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
diff --git a/audio/py-pyradio/distinfo b/audio/py-pyradio/distinfo
index 0834db231f85..1ade44e7e30d 100644
--- a/audio/py-pyradio/distinfo
+++ b/audio/py-pyradio/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1750340504
-SHA256 (coderholic-pyradio-0.9.3.11.15_GH0.tar.gz) = 9a0b230bfcd5ec42c6ba59cdaf2c064a658ee1e3edc62f90cfd160d4f347f9ba
-SIZE (coderholic-pyradio-0.9.3.11.15_GH0.tar.gz) = 1587917
+TIMESTAMP = 1756976313
+SHA256 (coderholic-pyradio-0.9.3.11.16_GH0.tar.gz) = 061737b6aa6ecc723a1cc509a6d67bc8fd8b0f11096febaf298d40daaacccec3
+SIZE (coderholic-pyradio-0.9.3.11.16_GH0.tar.gz) = 1607161
diff --git a/audio/py-pyradio/files/patch-pyradio_main.py b/audio/py-pyradio/files/patch-pyradio_main.py
new file mode 100644
index 000000000000..dbd9c6074182
--- /dev/null
+++ b/audio/py-pyradio/files/patch-pyradio_main.py
@@ -0,0 +1,12 @@
+--- pyradio/main.py.orig	2025-09-02 14:51:30 UTC
++++ pyradio/main.py
+@@ -667,7 +667,8 @@ If nothing else works, try the following command:
+         if args.version:
+             pyradio_config.get_pyradio_version()
+             print(f'PyRadio version: [green]{pyradio_config.current_pyradio_version}[/green]')
+-            print(f"Python version: [green]{sys.version.replace('\\n', ' ').replace('\\r', ' ')}[/green]")
++            ver = sys.version.replace('\\n', ' ').replace('\\r', ' ')
++            print(f"Python version: [green]{ver}[/green]")
+             if pyradio_config.distro != 'None':
+                 print(f'Distribution: [green]{pyradio_config.distro}[/green]')
+             return