python3Packages.pyavm: 0.9.5 -> 0.9.6

This commit is contained in:
Martin Weinelt
2023-12-20 20:44:54 +01:00
parent bcf2a226a1
commit f6844f9afe
@@ -1,39 +1,44 @@
{ lib
, buildPythonPackage
, fetchPypi
, pytestCheckHook
# build-system
, setuptools
, setuptools-scm
# tests
, astropy
, astropy-helpers
, numpy
, pillow
, pytestCheckHook
}:
buildPythonPackage rec {
pname = "pyavm";
version = "0.9.5";
format = "setuptools";
version = "0.9.6";
pyproject = true;
src = fetchPypi {
pname = "PyAVM";
inherit version;
hash = "sha256-gV78ypvYwohHmdjP3lN5F97PfmxuV91tvw5gsYeZ7i8=";
hash = "sha256-s7eLPoAHDbY9tPt3RA5zJg+NuTtVV/SqpUUR3NrG8m0=";
};
propagatedBuildInputs = [
astropy-helpers
nativeBuildInputs = [
setuptools
setuptools-scm
];
nativeCheckInputs = [
astropy
numpy
pillow
pytestCheckHook
];
# Disable automatic update of the astropy-helper module
postPatch = ''
substituteInPlace setup.cfg --replace "auto_use = True" "auto_use = False"
'';
pythonImportsCheck = [ "pyavm" ];
pythonImportsCheck = [
"pyavm"
];
meta = with lib; {
description = "Simple pure-python AVM meta-data handling";