python312Packages.apptools: 5.2.1 -> 5.3.0
Diff: https://github.com/enthought/apptools/compare/refs/tags/5.2.1...5.3.0 Changelog: https://github.com/enthought/apptools/releases/tag/5.3.0
This commit is contained in:
@@ -2,11 +2,13 @@
|
||||
lib,
|
||||
buildPythonPackage,
|
||||
configobj,
|
||||
fetchPypi,
|
||||
importlib-resources,
|
||||
fetchFromGitHub,
|
||||
numpy,
|
||||
pandas,
|
||||
pyface,
|
||||
pytestCheckHook,
|
||||
pythonOlder,
|
||||
setuptools,
|
||||
tables,
|
||||
traits,
|
||||
traitsui,
|
||||
@@ -14,27 +16,37 @@
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "apptools";
|
||||
version = "5.2.1";
|
||||
format = "setuptools";
|
||||
version = "5.3.0";
|
||||
pyproject = true;
|
||||
|
||||
disabled = pythonOlder "3.7";
|
||||
disabled = pythonOlder "3.8";
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
hash = "sha256-xiaPXfzzCIvK92oAA+ULd3TQG1JY1xmbQQtIUv8iRuM=";
|
||||
src = fetchFromGitHub {
|
||||
owner = "enthought";
|
||||
repo = "apptools";
|
||||
rev = "refs/tags/${version}";
|
||||
hash = "sha256-qNtDHmvl5HbtdbjnugVM7CKVCW+ysAwRB9e2Ounh808=";
|
||||
};
|
||||
|
||||
propagatedBuildInputs = [
|
||||
configobj
|
||||
traits
|
||||
traitsui
|
||||
] ++ lib.optionals (pythonOlder "3.9") [ importlib-resources ];
|
||||
build-system = [ setuptools ];
|
||||
|
||||
nativeCheckInputs = [
|
||||
tables
|
||||
pandas
|
||||
pytestCheckHook
|
||||
];
|
||||
dependencies = [ traits ];
|
||||
|
||||
optional-dependencies = {
|
||||
gui = [
|
||||
pyface
|
||||
traitsui
|
||||
];
|
||||
h5 = [
|
||||
numpy
|
||||
pandas
|
||||
tables
|
||||
];
|
||||
persistence = [ numpy ];
|
||||
preferences = [ configobj ];
|
||||
};
|
||||
|
||||
nativeCheckInputs = [ pytestCheckHook ] ++ lib.flatten (lib.attrValues optional-dependencies);
|
||||
|
||||
preCheck = ''
|
||||
export HOME=$TMP
|
||||
|
||||
Reference in New Issue
Block a user