Merge pull request #125779 from Lassulus/subliminal

python3Packages.subliminal: readd again
This commit is contained in:
Sandro 2021-06-05 23:28:11 +02:00 committed by GitHub
commit 2e4f768423
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 4 additions and 3 deletions

View file

@ -1,7 +1,6 @@
{ lib
, fetchPypi
, buildPythonPackage
, isPy3k
, guessit
, babelfish
, enzyme
@ -16,7 +15,6 @@
, appdirs
, rarfile
, pytz
, futures
, sympy
, vcrpy
, pytest
@ -38,7 +36,7 @@ buildPythonPackage rec {
guessit babelfish enzyme beautifulsoup4 requests
click dogpile_cache stevedore chardet pysrt six
appdirs rarfile pytz
] ++ lib.optional (!isPy3k) futures;
];
checkInputs = [
sympy vcrpy pytest pytest-flakes
@ -47,6 +45,7 @@ buildPythonPackage rec {
# https://github.com/Diaoul/subliminal/pull/963
doCheck = false;
pythonImportsCheck = [ "subliminal" ];
meta = with lib; {
homepage = "https://github.com/Diaoul/subliminal";

View file

@ -8098,6 +8098,8 @@ in {
subdownloader = callPackage ../development/python-modules/subdownloader { };
subliminal = callPackage ../development/python-modules/subliminal { };
subunit = callPackage ../development/python-modules/subunit {
inherit (pkgs) subunit cppunit check;
};