mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-28 09:53:10 +00:00
python39Packages.setupmeta: fix version number
This commit is contained in:
parent
095370811e
commit
80fba0e5d3
@ -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"
|
||||
|
Loading…
Reference in New Issue
Block a user