diff options
Diffstat (limited to 'audio/py-pyradio')
-rw-r--r-- | audio/py-pyradio/Makefile | 4 | ||||
-rw-r--r-- | audio/py-pyradio/distinfo | 6 | ||||
-rw-r--r-- | audio/py-pyradio/files/patch-pyradio_main.py | 12 |
3 files changed, 17 insertions, 5 deletions
diff --git a/audio/py-pyradio/Makefile b/audio/py-pyradio/Makefile index 45f95505eb30..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} @@ -64,7 +64,7 @@ VLC_RUN_DEPENDS+= vlc:multimedia/vlc ICON_DIR= share/icons/hicolor/512x512/apps post-patch: - @${REINPLACE_CDM} -e 's/\(distro =\) None/\1 ${OPSYS}/' \ + @${REINPLACE_CMD} -e 's/\(distro =\) None/\1 ${OPSYS}/' \ -e 's/\(enable_notifications =\) -1/\1 0/' \ -e 's/\(remove_station_icons =\) True/\1 False/' \ -e 's/\(xdg_compliant =\) False/\1 True/' \ 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 |