mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-16 14:54:29 +01:00
Merge pull request #330328 from natsukium/devito/pypa
python312Packages.devito: switch to pypa builder
This commit is contained in:
commit
d1e3b3a145
1 changed files with 11 additions and 7 deletions
|
@ -3,6 +3,7 @@
|
|||
stdenv,
|
||||
anytree,
|
||||
buildPythonPackage,
|
||||
setuptools,
|
||||
cached-property,
|
||||
cgen,
|
||||
click,
|
||||
|
@ -26,7 +27,7 @@
|
|||
buildPythonPackage rec {
|
||||
pname = "devito";
|
||||
version = "4.8.11";
|
||||
format = "setuptools";
|
||||
pyproject = true;
|
||||
|
||||
disabled = pythonOlder "3.8";
|
||||
|
||||
|
@ -37,15 +38,18 @@ buildPythonPackage rec {
|
|||
hash = "sha256-c8/b2dRwfH4naSVRaRon6/mBDva7RSDmi/TJUJp26g0=";
|
||||
};
|
||||
|
||||
pythonRemoveDeps = [
|
||||
"codecov"
|
||||
"flake8"
|
||||
"pytest-runner"
|
||||
"pytest-cov"
|
||||
];
|
||||
# packaging.metadata.InvalidMetadata: 'python_version_3.8_' is invalid for 'provides-extra'
|
||||
postPatch = ''
|
||||
substituteInPlace requirements-testing.txt \
|
||||
--replace-fail 'pooch; python_version >= "3.8"' "pooch"
|
||||
'';
|
||||
|
||||
pythonRemoveDeps = [ "pip" ];
|
||||
|
||||
pythonRelaxDeps = true;
|
||||
|
||||
build-system = [ setuptools ];
|
||||
|
||||
dependencies = [
|
||||
anytree
|
||||
cached-property
|
||||
|
|
Loading…
Reference in a new issue