pkgsrc-Changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
CVS commit: pkgsrc/multimedia/sickgear
Module Name: pkgsrc
Committed By: js
Date: Sat Mar 16 01:00:16 UTC 2024
Modified Files:
pkgsrc/multimedia/sickgear: Makefile distinfo
Added Files:
pkgsrc/multimedia/sickgear/patches: patch-sickgear.py
Log Message:
multimedia/sickgear: Patch out Python version check
To generate a diff of this commit:
cvs rdiff -u -r1.17 -r1.18 pkgsrc/multimedia/sickgear/Makefile
cvs rdiff -u -r1.9 -r1.10 pkgsrc/multimedia/sickgear/distinfo
cvs rdiff -u -r0 -r1.3 pkgsrc/multimedia/sickgear/patches/patch-sickgear.py
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: pkgsrc/multimedia/sickgear/Makefile
diff -u pkgsrc/multimedia/sickgear/Makefile:1.17 pkgsrc/multimedia/sickgear/Makefile:1.18
--- pkgsrc/multimedia/sickgear/Makefile:1.17 Sun Dec 10 14:36:18 2023
+++ pkgsrc/multimedia/sickgear/Makefile Sat Mar 16 01:00:16 2024
@@ -1,7 +1,8 @@
-# $NetBSD: Makefile,v 1.17 2023/12/10 14:36:18 js Exp $
+# $NetBSD: Makefile,v 1.18 2024/03/16 01:00:16 js Exp $
DISTNAME= release_${PKGVERSION_NOREV}
PKGNAME= sickgear-3.30.5
+PKGREVISION= 1
CATEGORIES= multimedia
MASTER_SITES= ${MASTER_SITE_GITHUB:=SickGear/}
GITHUB_PROJECT= SickGear
Index: pkgsrc/multimedia/sickgear/distinfo
diff -u pkgsrc/multimedia/sickgear/distinfo:1.9 pkgsrc/multimedia/sickgear/distinfo:1.10
--- pkgsrc/multimedia/sickgear/distinfo:1.9 Sun Dec 10 12:39:09 2023
+++ pkgsrc/multimedia/sickgear/distinfo Sat Mar 16 01:00:16 2024
@@ -1,5 +1,6 @@
-$NetBSD: distinfo,v 1.9 2023/12/10 12:39:09 js Exp $
+$NetBSD: distinfo,v 1.10 2024/03/16 01:00:16 js Exp $
BLAKE2s (SickGear/release_3.30.5.tar.gz) = f3f7541cd69fb5d028fbcce78d4eeb9938e452ea9dcdff761b26fa0d0952ef9f
SHA512 (SickGear/release_3.30.5.tar.gz) = 3d10fbfbadfa66db7f4ebf4d8c161657ce2a92e8facfd40c619b5a40b8737c15be030459f99141f0a9efde321bd66da2fdad41cabfd77496eccc1920bfd7a979
Size (SickGear/release_3.30.5.tar.gz) = 16649271 bytes
+SHA1 (patch-sickgear.py) = 3ce73861fa16cba2b9267aebf1da51437fd743f3
Added files:
Index: pkgsrc/multimedia/sickgear/patches/patch-sickgear.py
diff -u /dev/null pkgsrc/multimedia/sickgear/patches/patch-sickgear.py:1.3
--- /dev/null Sat Mar 16 01:00:16 2024
+++ pkgsrc/multimedia/sickgear/patches/patch-sickgear.py Sat Mar 16 01:00:16 2024
@@ -0,0 +1,27 @@
+$NetBSD: patch-sickgear.py,v 1.3 2024/03/16 01:00:16 js Exp $
+
+Patch out Python version check.
+
+This regularly breaks if the Python version in pkgsrc gets updated. While newer
+versions update the allowed range, it should still not break just because
+Python was updated.
+
+--- sickgear.py.orig 2024-03-16 00:55:38.864947900 +0000
++++ sickgear.py
+@@ -36,16 +36,6 @@ warnings.filterwarnings('ignore', module
+ warnings.filterwarnings('ignore', module=r'.*zoneinfo.*', message='.*file or directory.*')
+ warnings.filterwarnings('ignore', message='.*deprecated in cryptography.*')
+
+-versions = [((3, 8, 2), (3, 8, 18)),
+- ((3, 9, 0), (3, 9, 2)), ((3, 9, 4), (3, 9, 18)),
+- ((3, 10, 0), (3, 12, 1))] # inclusive version ranges
+-if not any(list(map(lambda v: v[0] <= sys.version_info[:3] <= v[1], versions))) and not int(os.environ.get('PYT', 0)):
+- major, minor, micro = sys.version_info[:3]
+- print('Python %s.%s.%s detected.' % (major, minor, micro))
+- print('Sorry, SickGear requires a Python version %s' % ', '.join(map(
+- lambda r: '%s - %s' % tuple(map(lambda v: str(v).replace(',', '.')[1:-1], r)), versions)))
+- sys.exit(1)
+-
+ sys.path.insert(1, os.path.abspath(os.path.join(os.path.dirname(__file__), 'lib')))
+ is_win = 'win' == sys.platform[0:3]
+
Home |
Main Index |
Thread Index |
Old Index