python310Packages.py3exiv2: disable tests

main
Fabian Affolter 2 years ago committed by GitHub
parent 1f4de2c0c9
commit 6b6ac53ca5
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 15
      pkgs/development/python-modules/py3exiv2/default.nix

@ -1,11 +1,11 @@
{ lib { lib
, stdenv , stdenv
, boost
, buildPythonPackage , buildPythonPackage
, pythonOlder
, fetchPypi
, exiv2 , exiv2
, boost , fetchPypi
, libcxx , libcxx
, pythonOlder
}: }:
buildPythonPackage rec { buildPythonPackage rec {
@ -25,17 +25,20 @@ buildPythonPackage rec {
exiv2 exiv2
]; ];
# work around python distutils compiling C++ with $CC (see issue #26709) # Work around Python distutils compiling C++ with $CC (see issue #26709)
NIX_CFLAGS_COMPILE = lib.optionalString stdenv.isDarwin [ NIX_CFLAGS_COMPILE = lib.optionalString stdenv.isDarwin [
"-I${lib.getDev libcxx}/include/c++/v1" "-I${lib.getDev libcxx}/include/c++/v1"
]; ];
pythonImportsCheck = [ pythonImportsCheck = [
"py3exiv2" "pyexiv2"
]; ];
# Tests are not shipped
doCheck = false;
meta = with lib; { meta = with lib; {
description = "A Python3 binding to the library exiv2"; description = "Python binding to the library exiv2";
homepage = "https://launchpad.net/py3exiv2"; homepage = "https://launchpad.net/py3exiv2";
license = licenses.gpl3Plus; license = licenses.gpl3Plus;
maintainers = with maintainers; [ vinymeuh ]; maintainers = with maintainers; [ vinymeuh ];

Loading…
Cancel
Save