Github messages for voidlinux
 help / color / mirror / Atom feed
* [PR PATCH] pyradio: update to 0.9.2.20, disable self-update, add deps
@ 2023-12-09  2:46 chrysos349
  2023-12-09 10:17 ` Eloitor
                   ` (7 more replies)
  0 siblings, 8 replies; 9+ messages in thread
From: chrysos349 @ 2023-12-09  2:46 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 542 bytes --]

There is a new pull request by chrysos349 against master on the void-packages repository

https://github.com/chrysos349/void-packages pyradio
https://github.com/void-linux/void-packages/pull/47657

pyradio: update to 0.9.2.20, disable self-update, add deps
fixes #47653

@Eloitor 

#### Testing the changes
- I tested the changes in this PR: **briefly**

#### Local build testing
- I built this PR locally for my native architecture, (x86-64)

A patch file from https://github.com/void-linux/void-packages/pull/47657.patch is attached

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-pyradio-47657.patch --]
[-- Type: text/x-diff, Size: 1779 bytes --]

From 7030984d78c2e64868711661754050ed30bfd0d3 Mon Sep 17 00:00:00 2001
From: chrysos349 <chrysostom349@gmail.com>
Date: Sat, 9 Dec 2023 05:44:34 +0300
Subject: [PATCH] pyradio: update to 0.9.2.20, disable self-update, add deps

---
 srcpkgs/pyradio/template | 21 +++++++++++++++------
 1 file changed, 15 insertions(+), 6 deletions(-)

diff --git a/srcpkgs/pyradio/template b/srcpkgs/pyradio/template
index 6db8b1ed691c1..c9b9975c72a8c 100644
--- a/srcpkgs/pyradio/template
+++ b/srcpkgs/pyradio/template
@@ -1,21 +1,30 @@
 # Template file for 'pyradio'
 pkgname=pyradio
-version=0.9.2.13
-revision=2
+version=0.9.2.20
+revision=1
 build_style=python3-module
 hostmakedepends="python3-setuptools"
-depends="python3-requests python3-dnspython python3-psutil python3-rich"
+depends="python3-requests python3-dnspython python3-psutil python3-rich
+ python3-dateutil python3-netifaces"
 short_desc="Curses based internet radio player"
 maintainer="Eloi Torrents <eloitor@disroot.org>"
 license="MIT"
 homepage="https://www.coderholic.com/pyradio/"
 changelog="https://raw.githubusercontent.com/coderholic/pyradio/master/Changelog"
 distfiles="https://github.com/coderholic/pyradio/archive/${version}.tar.gz"
-checksum=e1cdbcd01c5abc25e90d83980732277e942cc64f635751b851f4f3fec23315c7
+checksum=af9066069bd6f2467e8d66812ead72acbf6e3e5bacc1ce07ba47a59af13598c9
 make_check=no # pytest reports "no tests ran"
 
+post_patch() {
+	vsed -e 's/distro = None/distro = Void Linux/' -i pyradio/config
+}
+
 post_install() {
-	vman pyradio.1
-	vlicense LICENCE
+	for m in docs/*.1; do
+		vman $m
+	done
+	vlicense LICENSE
+	vinstall devel/pyradio.desktop 644 /usr/share/applications
+	vinstall devel/pyradio.png 644 /usr/share/icons/hicolor/512x512/apps
 	vdoc "${FILESDIR}/README.voidlinux"
 }

^ permalink raw reply	[flat|nested] 9+ messages in thread

end of thread, other threads:[~2024-01-17  0:42 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-12-09  2:46 [PR PATCH] pyradio: update to 0.9.2.20, disable self-update, add deps chrysos349
2023-12-09 10:17 ` Eloitor
2023-12-10  0:05 ` classabbyamp
2023-12-10 11:28 ` chrysos349
2023-12-10 11:30 ` classabbyamp
2023-12-10 20:07 ` [PR PATCH] [Updated] " chrysos349
2023-12-10 20:10 ` chrysos349
2023-12-10 20:11 ` chrysos349
2024-01-17  0:42 ` [PR PATCH] [Merged]: pyradio: update to 0.9.2.20, disable self-update, add deps, adopt classabbyamp

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).