Merge branch 'master' into staging-next

This commit is contained in:
Jan Tojnar
2020-07-20 02:16:21 +02:00
76 changed files with 1671 additions and 2468 deletions

View File

@@ -0,0 +1,24 @@
{ lib, pillow, fetchPypi, buildPythonPackage, isPy27 }:
buildPythonPackage rec {
pname = "img2pdf";
version = "0.3.6";
disabled = isPy27;
src = fetchPypi {
inherit pname version;
sha256 = "1yx0ljbg7phpix507wq584qvspp2jgax7flpp1148pxpc2d51mcc";
};
propagatedBuildInputs = [
pillow
];
meta = with lib; {
description = "Convert images to PDF via direct JPEG inclusion";
homepage = "https://gitlab.mister-muffin.de/josch/img2pdf";
license = licenses.lgpl2;
platforms = platforms.unix;
maintainers = [ maintainers.veprbl ];
};
}

View File

@@ -2,11 +2,11 @@
buildPythonPackage rec {
pname = "jedi";
version = "0.17.0";
version = "0.17.1";
src = fetchPypi {
inherit pname version;
sha256 = "df40c97641cb943661d2db4c33c2e1ff75d491189423249e989bcea4464f3030";
sha256 = "0qrgyn0znpib485hk0mi68wab6nhwqd3pyjxvp7jn6kijr7mszc0";
};
checkInputs = [ pytest glibcLocales tox pytestcov ];

View File

@@ -7,12 +7,12 @@
buildPythonPackage rec {
pname = "limnoria";
version = "2020.04.11";
version = "2020.07.01";
disabled = isPy27; # abandoned upstream
src = fetchPypi {
inherit pname version;
sha256 = "41e27cae66aeb1e811bebe64140a9b5eb3ccb208103a0f42ac61369d9a7ca339";
sha256 = "08q8krq8dqlvzz3wjgnki3n8d8qmk99pn7n3lfsim5rnrnx1jchb";
};
patchPhase = ''

View File

@@ -21,17 +21,10 @@ buildPythonPackage rec {
propagatedBuildInputs = [ numpy ];
# Run the test suite.
# It requires the build path to be in the python search path.
checkPhase = ''
pushd $out
${python}/bin/${python.executable} <<EOF
import sys
import numexpr
r = numexpr.test()
if not r.wasSuccessful():
sys.exit(1)
EOF
runtest="$(pwd)/numexpr/tests/test_numexpr.py"
pushd "$out"
${python}/bin/${python.executable} "$runtest"
popd
'';