Github messages for voidlinux
 help / color / mirror / Atom feed
From: chrysos349 <chrysos349@users.noreply.github.com>
To: ml@inbox.vuxu.org
Subject: Re: [PR PATCH] [Updated] pyradio: update to 0.9.2.20, disable self-update, add deps
Date: Sun, 10 Dec 2023 21:07:35 +0100	[thread overview]
Message-ID: <20231210200735.kGi6r_TYdtIyjghj1cbYZDjYoNDQVub8ZDO-pC0FkDI@z> (raw)
In-Reply-To: <gh-mailinglist-notifications-41a7ca26-5023-4802-975b-f1789d68868e-void-packages-47657@inbox.vuxu.org>

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

There is an updated 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: 1787 bytes --]

From e5bd997edb7ff35fbeb67f9a6d3a5fba36e3d2eb 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,
 adopt

---
 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"
 }

  parent reply	other threads:[~2023-12-10 20:07 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-12-09  2:46 [PR PATCH] " 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 ` chrysos349 [this message]
2023-12-10 20:10 ` [PR PATCH] [Updated] " 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

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20231210200735.kGi6r_TYdtIyjghj1cbYZDjYoNDQVub8ZDO-pC0FkDI@z \
    --to=chrysos349@users.noreply.github.com \
    --cc=ml@inbox.vuxu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).