Re-Revert "Merge #101508: libraw: 0.20.0 -> 0.20.2"

This reverts commit c778945806.

I believe this is exactly what brings the staging branch into
the right shape after the last merge from master (through staging-next);
otherwise part of staging changes would be lost
(due to being already reachable from master but reverted).
This commit is contained in:
Vladimír Čunát
2020-10-26 08:17:14 +01:00
parent 309ce3f8a1
commit 336bc8283b
92 changed files with 771 additions and 2686 deletions

View File

@@ -1,4 +1,13 @@
{ lib, fetchFromGitHub, meson, ninja, buildPythonPackage, pytest, pkgconfig, cairo, xlibsWrapper, isPy3k }:
{ lib
, fetchFromGitHub
, meson
, ninja
, buildPythonPackage
, pytestCheckHook
, pkg-config
, cairo
, isPy3k
}:
buildPythonPackage rec {
pname = "pycairo";
@@ -16,22 +25,25 @@ buildPythonPackage rec {
nativeBuildInputs = [
meson
ninja
pkgconfig
pkg-config
];
buildInputs = [
cairo
xlibsWrapper
];
checkInputs = [ pytest ];
checkInputs = [
pytestCheckHook
];
mesonFlags = [ "-Dpython=${if isPy3k then "python3" else "python"}" ];
mesonFlags = [
"-Dpython=${if isPy3k then "python3" else "python"}"
];
meta = with lib; {
description = "Python 2/3 bindings for cairo";
homepage = "https://pycairo.readthedocs.io/";
license = with licenses; [ lgpl2 mpl11 ];
license = with licenses; [ lgpl21Only mpl11 ];
platforms = lib.platforms.linux ++ lib.platforms.darwin;
};
}