Unverified Commit 2811648f authored by Hythera's avatar Hythera
Browse files

sickgear: 3.33.2 -> 3.34.10

parent ad821c71
Loading
Loading
Loading
Loading
+3 −7
Original line number Diff line number Diff line
@@ -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;

+0 −16
Original line number Diff line number Diff line
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]