Commit 995b8019 authored by Andrew Kvalheim's avatar Andrew Kvalheim Committed by Jörg Thalheim
Browse files

displaycal: 3.9.10 -> 3.9.11

- Additional dependencies as newly specified in `setup.cfg`
- Workaround to eoyilmaz/displaycal-py3#261 avoids:

    error: can't copy '/build/DisplayCAL-3.9.11/DisplayCAL/../dist/net.displaycal.DisplayCAL.appdata.xml': doesn't exist or not a regular file
parent 14c80c27
Loading
Loading
Loading
Loading
+8 −2
Original line number Diff line number Diff line
@@ -10,13 +10,13 @@

python3.pkgs.buildPythonApplication rec {
  pname = "displaycal";
  version = "3.9.10";
  version = "3.9.11";
  format = "setuptools";

  src = fetchPypi {
    pname = "DisplayCAL";
    inherit version;
    hash = "sha256-oDHDVb0zuAC49yPfmNe7xuFKaA1BRZGr75XwsLqugHs=";
    hash = "sha256-zAZW2eMjwRYevlz8KEzTxzGO8vx5AydfY3vGTapNo1c=";
  };

  nativeBuildInputs = [
@@ -30,8 +30,11 @@ python3.pkgs.buildPythonApplication rec {
    wxPython_4_2
    dbus-python
    distro
    numpy
    pillow
    pychromecast
    send2trash
    zeroconf
  ];

  buildInputs = [
@@ -45,6 +48,9 @@ python3.pkgs.buildPythonApplication rec {
    libXrandr
  ]);

  # Workaround for eoyilmaz/displaycal-py3#261
  setupPyGlobalFlags = [ "appdata" ];

  doCheck = false; # Tests try to access an X11 session and dbus in weird locations.

  pythonImportsCheck = [ "DisplayCAL" ];