git: 3d05c4068f0a - main - audio/py-pyradio: Update to 0.9.3.11.15
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Fri, 20 Jun 2025 04:13:17 UTC
The branch main has been updated by nivit: URL: https://cgit.FreeBSD.org/ports/commit/?id=3d05c4068f0aa9317727a605ad981a8cc3a538fa commit 3d05c4068f0aa9317727a605ad981a8cc3a538fa Author: Nicola Vitale <nivit@FreeBSD.org> AuthorDate: 2025-06-20 04:07:04 +0000 Commit: Nicola Vitale <nivit@FreeBSD.org> CommitDate: 2025-06-20 04:13:06 +0000 audio/py-pyradio: Update to 0.9.3.11.15 - Install icon in share/icons/hicolor/512x512/apps otherwise the program does not find it - Fix pyproject.toml, because the build framework does not recognise its new format (see https://packaging.python.org/en/latest/guides/writing-pyproject-toml/#license-and-license-files ) - Pet portfmt Release changes: https://github.com/coderholic/pyradio/releases/tag/0.9.3.11.15 Reported by: Spiros Georgaras <notifications@github.com> --- audio/py-pyradio/Makefile | 18 ++++++++++++------ audio/py-pyradio/distinfo | 6 +++--- 2 files changed, 15 insertions(+), 9 deletions(-) diff --git a/audio/py-pyradio/Makefile b/audio/py-pyradio/Makefile index ade14eea5fc9..45f95505eb30 100644 --- a/audio/py-pyradio/Makefile +++ b/audio/py-pyradio/Makefile @@ -1,5 +1,5 @@ PORTNAME= pyradio -DISTVERSION= 0.9.3.11.9 +DISTVERSION= 0.9.3.11.15 PORTREVISION= 0 CATEGORIES= audio python PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} @@ -36,8 +36,8 @@ USE_PYTHON= autoplist pep517 NO_ARCH= yes -PLIST_FILES= share/applications/${PORTNAME}.desktop \ - share/pixmaps/${PORTNAME}.png +PLIST_FILES= ${ICON_DIR}/${PORTNAME}.png \ + share/applications/${PORTNAME}.desktop PORTDOCS= * OPTIONS_DEFINE= DOCS METADATA @@ -61,21 +61,27 @@ MPLAYER_RUN_DEPENDS+= mplayer:multimedia/mplayer MPV_RUN_DEPENDS+= mpv:multimedia/mpv VLC_RUN_DEPENDS+= vlc:multimedia/vlc +ICON_DIR= share/icons/hicolor/512x512/apps + post-patch: - @${SED} -i.bak -e 's/\(distro =\) None/\1 ${OPSYS}/' \ + @${REINPLACE_CDM} -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/' \ ${WRKSRC}/pyradio/config + @${REINPLACE_CMD} -e 's/\(license = \)"MIT"/\1{file = "LICENSE"}/1' \ + -e '/^license-files = /d' \ + ${WRKSRC}/pyproject.toml post-install: ${INSTALL_DATA} ${WRKSRC}/devel/${PORTNAME}.desktop \ ${STAGEDIR}${DESKTOPDIR}/${PORTNAME}.desktop + ${MKDIR} ${STAGEDIR}${PREFIX}/${ICON_DIR} ${INSTALL_DATA} ${WRKSRC}/devel/${PORTNAME}.png \ - ${STAGEDIR}${PREFIX}/share/pixmaps/${PORTNAME}.png + ${STAGEDIR}${PREFIX}/${ICON_DIR}/${PORTNAME}.png post-install-DOCS-on: - @${MKDIR} ${STAGEDIR}${DOCSDIR} + ${MKDIR} ${STAGEDIR}${DOCSDIR} ${INSTALL_MAN} ${WRKSRC}/docs/pyradio*.1 ${STAGEDIR}${PREFIX}/share/man/man1 ${INSTALL_DATA} ${WRKSRC}/docs/*.html ${WRKSRC}/*.md ${STAGEDIR}${DOCSDIR}/ diff --git a/audio/py-pyradio/distinfo b/audio/py-pyradio/distinfo index a817a552c4fa..0834db231f85 100644 --- a/audio/py-pyradio/distinfo +++ b/audio/py-pyradio/distinfo @@ -1,3 +1,3 @@ -TIMESTAMP = 1742633797 -SHA256 (coderholic-pyradio-0.9.3.11.9_GH0.tar.gz) = bba05541c951006552726ac20ccac684bc8132b884dbb1a3841a43f6af808b0f -SIZE (coderholic-pyradio-0.9.3.11.9_GH0.tar.gz) = 1573253 +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