mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-01 03:12:51 +00:00
Merge pull request #238372 from fabaff/asteval-bump
python311Packages.asteval: 0.9.29 -> 0.9.30
This commit is contained in:
commit
871dbb9dad
@ -8,7 +8,7 @@
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "asteval";
|
||||
version = "0.9.29";
|
||||
version = "0.9.30";
|
||||
format = "setuptools";
|
||||
|
||||
disabled = pythonOlder "3.7";
|
||||
@ -17,11 +17,16 @@ buildPythonPackage rec {
|
||||
owner = "newville";
|
||||
repo = pname;
|
||||
rev = "refs/tags/${version}";
|
||||
hash = "sha256-cJIrb0lo/FmeyZd8L6nlCEt6MP7Fdv3rr5C6xvplN6c=";
|
||||
hash = "sha256-vKPMA8yiTNQPYehDVo6mleOv82ZNxHgi8P/HIOZb9/o=";
|
||||
};
|
||||
|
||||
SETUPTOOLS_SCM_PRETEND_VERSION = version;
|
||||
|
||||
postPatch = ''
|
||||
substituteInPlace setup.cfg \
|
||||
--replace " --cov=asteval --cov-report xml" ""
|
||||
'';
|
||||
|
||||
nativeBuildInputs = [
|
||||
setuptools-scm
|
||||
];
|
||||
@ -30,18 +35,19 @@ buildPythonPackage rec {
|
||||
pytestCheckHook
|
||||
];
|
||||
|
||||
postPatch = ''
|
||||
substituteInPlace setup.cfg \
|
||||
--replace " --cov=asteval --cov-report xml" ""
|
||||
'';
|
||||
|
||||
pythonImportsCheck = [
|
||||
"asteval"
|
||||
];
|
||||
|
||||
disabledTests = [
|
||||
# AssertionError: 'ImportError' != None
|
||||
"test_set_default_nodehandler"
|
||||
];
|
||||
|
||||
meta = with lib; {
|
||||
description = "AST evaluator of Python expression using ast module";
|
||||
homepage = "https://github.com/newville/asteval";
|
||||
changelog = "https://github.com/newville/asteval/releases/tag/${version}";
|
||||
license = with licenses; [ mit ];
|
||||
maintainers = with maintainers; [ fab ];
|
||||
};
|
||||
|
Loading…
Reference in New Issue
Block a user