doc/languages-frameworks/python: disable check explicitly and add pythonImportsCheck

This commit is contained in:
natsukium 2024-06-02 00:52:46 +09:00
parent 130da0dd42
commit 1c90c05bbc
No known key found for this signature in database
GPG Key ID: 9EA45A31DB994C53

View File

@ -1041,6 +1041,14 @@ buildPythonPackage rec {
libxslt
];
# tests are meant to be ran "in-place" in the same directory as src
doCheck = false;
pythonImportsCheck = [
"lxml"
"lxml.etree"
];
meta = {
changelog = "https://github.com/lxml/lxml/releases/tag/lxml-${version}";
description = "Pythonic binding for the libxml2 and libxslt libraries";
@ -1112,6 +1120,8 @@ buildPythonPackage rec {
# Tests cannot import pyfftw. pyfftw works fine though.
doCheck = false;
pythonImportsCheck = [ "pyfftw" ];
meta = {
changelog = "https://github.com/pyFFTW/pyFFTW/releases/tag/v${version}";
description = "A pythonic wrapper around FFTW, the FFT library, presenting a unified interface for all the supported transforms";