python3Packages.decopatch: 1.4.8 -> 1.4.9
This commit is contained in:
parent
d3d2c44a26
commit
ac7c47f64b
@ -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";
|
||||
|
Loading…
Reference in New Issue
Block a user