sickgear: 3.33.2 -> 3.34.10 (#480847)

This commit is contained in:
Sandro
2026-02-08 03:59:22 +00:00
committed by GitHub
2 changed files with 3 additions and 23 deletions
+3 -7
View File
@@ -17,19 +17,15 @@ let
in
stdenv.mkDerivation (finalAttrs: {
pname = "sickgear";
version = "3.33.2";
version = "3.34.10";
src = fetchFromGitHub {
owner = "SickGear";
repo = "SickGear";
rev = "release_${finalAttrs.version}";
hash = "sha256-8cynBaVbFDI1hNwP03crkOf8Av+NCWr0xJLsZJpHLGs=";
tag = "release_${finalAttrs.version}";
hash = "sha256-+m5KM1QSIxGr+iCpPjiWRAVeGhp/UGTLF9ZOyfHRqZc=";
};
patches = [
./patches/override-python-version-check.patch
];
dontBuild = true;
doCheck = false;
@@ -1,16 +0,0 @@
diff --git a/sickgear.py b/sickgear.py
index c37e2b01..d69704a3 100755
--- a/sickgear.py
+++ b/sickgear.py
@@ -41,10 +41,7 @@ versions = [((3, 8, 0), (3, 8, 16)),
((3, 10, 0), (3, 11, 3))] # 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)
+ pass
sys.path.insert(1, os.path.abspath(os.path.join(os.path.dirname(__file__), 'lib')))
is_win = 'win' == sys.platform[0:3]