Merge pull request #147576 from fabaff/bump-fpyutils

python3Packages.fpyutils: 2.0.1 -> 2.1.0
This commit is contained in:
Fabian Affolter 2021-11-27 13:37:46 +01:00 committed by GitHub
commit aa0c2681c9
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 23 additions and 6 deletions

View File

@ -9,14 +9,16 @@
buildPythonPackage rec {
pname = "fpyutils";
version = "2.0.1";
version = "2.1.0";
format = "setuptools";
disabled = pythonOlder "3.5";
src = fetchFromGitHub {
owner = "frnmst";
repo = pname;
rev = version;
sha256 = "1dksx5ykm7f1bi16wg8kqqqlnc874k3vg9kfjbbbalv8w0g2g2am";
sha256 = "sha256-QO7g0wjlaboZwvA+JYL1ax7M8zzCc0hizBdaN2b1TCs=";
};
propagatedBuildInputs = [
@ -28,14 +30,18 @@ buildPythonPackage rec {
pytestCheckHook
];
pytestFlagsArray = [ "fpyutils/tests/*.py" ];
pytestFlagsArray = [
"fpyutils/tests/*.py"
];
disabledTests = [
# Don't run test which requires bash
"test_execute_command_live_output"
];
pythonImportsCheck = [ "fpyutils" ];
pythonImportsCheck = [
"fpyutils"
];
meta = with lib; {
description = "Collection of useful non-standard Python functions";

View File

@ -9,6 +9,8 @@
buildPythonPackage rec {
pname = "md-toc";
version = "8.0.1";
format = "setuptools";
disabled = pythonOlder "3.5";
src = fetchFromGitHub {
@ -26,9 +28,18 @@ buildPythonPackage rec {
pytestCheckHook
];
pytestFlagsArray = [ "md_toc/tests/*.py" ];
postPatch = ''
substituteInPlace setup.py \
--replace "fpyutils>=2.0,<2.1" "fpyutils>=2.0,<3"
'';
pythonImportsCheck = [ "md_toc" ];
pytestFlagsArray = [
"md_toc/tests/*.py"
];
pythonImportsCheck = [
"md_toc"
];
meta = with lib; {
description = "Table of contents generator for Markdown";