python3Packages.decopatch: 1.4.8 -> 1.4.9

This commit is contained in:
Fabian Affolter 2022-02-10 08:50:58 +01:00
parent d3d2c44a26
commit ac7c47f64b

View File

@ -3,31 +3,42 @@
, fetchPypi
, makefun
, setuptools-scm
, pythonOlder
}:
buildPythonPackage rec {
pname = "decopatch";
version = "1.4.8";
version = "1.4.9";
format = "setuptools";
disabled = pythonOlder "3.7";
src = fetchPypi {
inherit pname version;
sha256 = "0i6i811s2j1z0cl6y177dwsbfxib8dvb5c2jpgklvc2xy4ahhsy6";
hash = "sha256-tYgsjPDVsB0hi04E9nYtB7ModCDqUJcG9Zlxw9b+xW8=";
};
nativeBuildInputs = [ setuptools-scm ];
nativeBuildInputs = [
setuptools-scm
];
propagatedBuildInputs = [ makefun ];
propagatedBuildInputs = [
makefun
];
postPatch = ''
substituteInPlace setup.py --replace "'pytest-runner', " ""
substituteInPlace setup.cfg \
--replace "pytest-runner" ""
'';
pythonImportsCheck = [
"decopatch"
];
# Tests would introduce multiple cirucular dependencies
# Affected: makefun, pytest-cases
doCheck = false;
pythonImportsCheck = [ "decopatch" ];
meta = with lib; {
description = "Python helper for decorators";
homepage = "https://github.com/smarie/python-decopatch";