Merge pull request #310565 from annaleeleaves/pynvml-unvendor-versioner

python312Packages.pynvml: unvendor versioneer
This commit is contained in:
Weijia Wang 2024-05-10 14:42:15 +02:00 committed by GitHub
commit 6340bfba1b
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -6,6 +6,7 @@
, addOpenGLRunpath , addOpenGLRunpath
, setuptools , setuptools
, pytestCheckHook , pytestCheckHook
, versioneer
}: }:
buildPythonPackage rec { buildPythonPackage rec {
@ -28,8 +29,14 @@ buildPythonPackage rec {
}) })
]; ];
# unvendor versioneer
postPatch = ''
rm versioneer.py
'';
nativeBuildInputs = [ nativeBuildInputs = [
setuptools setuptools
versioneer
]; ];
pythonImportsCheck = [ "pynvml" "pynvml.smi" ]; pythonImportsCheck = [ "pynvml" "pynvml.smi" ];