python39Packages.setupmeta: fix version number

This commit is contained in:
Sandro Jäckel 2022-02-08 20:31:35 +01:00 committed by Jonathan Ringer
parent 095370811e
commit 80fba0e5d3

View File

@ -23,14 +23,25 @@ buildPythonPackage rec {
sha256 = "21hABRiY8CTKkpFjePgBAtjs4/G5eFS3aPNMCBC41CY=";
};
preBuild = ''
export PYGRADLE_PROJECT_VERSION=${version};
'';
nativeBuildInputs = [
setuptools-scm
];
checkInputs = [
git
mock
pep440
pytestCheckHook
setuptools-scm
];
preCheck = ''
unset PYGRADLE_PROJECT_VERSION
'';
disabledTests = [
# Tests want to scan site-packages
"test_check_dependencies"