Merge pull request #171988 from fabaff/karton-autoit-ripper-fix
python310Packages.karton-autoit-ripper: update stale substituteInPlace
This commit is contained in:
commit
6cff82c1b1
@ -4,12 +4,16 @@
|
|||||||
, fetchFromGitHub
|
, fetchFromGitHub
|
||||||
, karton-core
|
, karton-core
|
||||||
, malduck
|
, malduck
|
||||||
|
, pythonOlder
|
||||||
, regex
|
, regex
|
||||||
}:
|
}:
|
||||||
|
|
||||||
buildPythonPackage rec {
|
buildPythonPackage rec {
|
||||||
pname = "karton-autoit-ripper";
|
pname = "karton-autoit-ripper";
|
||||||
version = "1.1.0";
|
version = "1.1.0";
|
||||||
|
format = "setuptools";
|
||||||
|
|
||||||
|
disabled = pythonOlder "3.7";
|
||||||
|
|
||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
owner = "CERT-Polska";
|
owner = "CERT-Polska";
|
||||||
@ -27,14 +31,17 @@ buildPythonPackage rec {
|
|||||||
|
|
||||||
postPatch = ''
|
postPatch = ''
|
||||||
substituteInPlace requirements.txt \
|
substituteInPlace requirements.txt \
|
||||||
--replace "autoit-ripper==1.0.0" "autoit-ripper" \
|
--replace "autoit-ripper==" "autoit-ripper>=" \
|
||||||
--replace "malduck==3.1.0" "malduck>=3.1.0" \
|
--replace "malduck==" "malduck>=" \
|
||||||
--replace "regex==2020.2.20" "regex>=2020.2.20"
|
--replace "regex==" "regex>="
|
||||||
'';
|
'';
|
||||||
|
|
||||||
# Project has no tests
|
# Module has no tests
|
||||||
doCheck = false;
|
doCheck = false;
|
||||||
pythonImportsCheck = [ "karton.autoit_ripper" ];
|
|
||||||
|
pythonImportsCheck = [
|
||||||
|
"karton.autoit_ripper"
|
||||||
|
];
|
||||||
|
|
||||||
meta = with lib; {
|
meta = with lib; {
|
||||||
description = "AutoIt script ripper for Karton framework";
|
description = "AutoIt script ripper for Karton framework";
|
||||||
|
Loading…
Reference in New Issue
Block a user