forked from Lainports/freebsd-ports
audio/py-pyradio: Update to 0.9.3.11.4
Release changes: https://github.com/coderholic/pyradio/releases/tag/0.9.3.11.4 Reported by: Spiros Georgaras <notifications@github.com>
This commit is contained in:
parent
cad392241a
commit
14437c733a
3 changed files with 14 additions and 14 deletions
|
|
@ -1,5 +1,5 @@
|
|||
PORTNAME= pyradio
|
||||
DISTVERSION= 0.9.3.11.3
|
||||
DISTVERSION= 0.9.3.11.4
|
||||
PORTREVISION= 0
|
||||
CATEGORIES= audio python
|
||||
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
|
||||
|
|
|
|||
|
|
@ -1,3 +1,3 @@
|
|||
TIMESTAMP = 1733492092
|
||||
SHA256 (coderholic-pyradio-0.9.3.11.3_GH0.tar.gz) = 3d28b2977c8d4179b4e95678f544af06c98e171731c91f4919d7a6c3017ba669
|
||||
SIZE (coderholic-pyradio-0.9.3.11.3_GH0.tar.gz) = 1526952
|
||||
TIMESTAMP = 1737277606
|
||||
SHA256 (coderholic-pyradio-0.9.3.11.4_GH0.tar.gz) = 6f74783cb06fffff9d1875bb3bede4f710cedbf8755b42d59bc2d5d020a7180d
|
||||
SIZE (coderholic-pyradio-0.9.3.11.4_GH0.tar.gz) = 1547353
|
||||
|
|
|
|||
|
|
@ -1,11 +1,11 @@
|
|||
--- pyradio/ping.py.orig 2022-12-09 15:36:15 UTC
|
||||
--- pyradio/ping.py.orig 2025-01-18 18:10:46 UTC
|
||||
+++ pyradio/ping.py
|
||||
@@ -49,7 +49,7 @@ def linux_ping(server, count=1, timeout_in_seconds=1):
|
||||
return 0 if '100%' in out[0] else 1
|
||||
else:
|
||||
r=subprocess.Popen(
|
||||
- ['ping', '-c', str(count), '-w',
|
||||
+ ['ping', '-c', str(count), '-t',
|
||||
str(timeout_in_seconds), server],
|
||||
stderr=subprocess.DEVNULL,
|
||||
stdout=subprocess.PIPE
|
||||
@@ -42,7 +42,7 @@ def linux_ping(server, count=1, timeout_in_seconds=1):
|
||||
'''
|
||||
try:
|
||||
r = subprocess.Popen(
|
||||
- ['ping', '-c', str(count), '-w',
|
||||
+ ['ping', '-c', str(count), '-t',
|
||||
str(timeout_in_seconds), server],
|
||||
stderr=subprocess.DEVNULL,
|
||||
stdout=subprocess.PIPE
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue