mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-02-15 08:34:04 +00:00
Merge pull request #147576 from fabaff/bump-fpyutils
python3Packages.fpyutils: 2.0.1 -> 2.1.0
This commit is contained in:
commit
aa0c2681c9
@ -9,14 +9,16 @@
|
|||||||
|
|
||||||
buildPythonPackage rec {
|
buildPythonPackage rec {
|
||||||
pname = "fpyutils";
|
pname = "fpyutils";
|
||||||
version = "2.0.1";
|
version = "2.1.0";
|
||||||
|
format = "setuptools";
|
||||||
|
|
||||||
disabled = pythonOlder "3.5";
|
disabled = pythonOlder "3.5";
|
||||||
|
|
||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
owner = "frnmst";
|
owner = "frnmst";
|
||||||
repo = pname;
|
repo = pname;
|
||||||
rev = version;
|
rev = version;
|
||||||
sha256 = "1dksx5ykm7f1bi16wg8kqqqlnc874k3vg9kfjbbbalv8w0g2g2am";
|
sha256 = "sha256-QO7g0wjlaboZwvA+JYL1ax7M8zzCc0hizBdaN2b1TCs=";
|
||||||
};
|
};
|
||||||
|
|
||||||
propagatedBuildInputs = [
|
propagatedBuildInputs = [
|
||||||
@ -28,14 +30,18 @@ buildPythonPackage rec {
|
|||||||
pytestCheckHook
|
pytestCheckHook
|
||||||
];
|
];
|
||||||
|
|
||||||
pytestFlagsArray = [ "fpyutils/tests/*.py" ];
|
pytestFlagsArray = [
|
||||||
|
"fpyutils/tests/*.py"
|
||||||
|
];
|
||||||
|
|
||||||
disabledTests = [
|
disabledTests = [
|
||||||
# Don't run test which requires bash
|
# Don't run test which requires bash
|
||||||
"test_execute_command_live_output"
|
"test_execute_command_live_output"
|
||||||
];
|
];
|
||||||
|
|
||||||
pythonImportsCheck = [ "fpyutils" ];
|
pythonImportsCheck = [
|
||||||
|
"fpyutils"
|
||||||
|
];
|
||||||
|
|
||||||
meta = with lib; {
|
meta = with lib; {
|
||||||
description = "Collection of useful non-standard Python functions";
|
description = "Collection of useful non-standard Python functions";
|
||||||
|
@ -9,6 +9,8 @@
|
|||||||
buildPythonPackage rec {
|
buildPythonPackage rec {
|
||||||
pname = "md-toc";
|
pname = "md-toc";
|
||||||
version = "8.0.1";
|
version = "8.0.1";
|
||||||
|
format = "setuptools";
|
||||||
|
|
||||||
disabled = pythonOlder "3.5";
|
disabled = pythonOlder "3.5";
|
||||||
|
|
||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
@ -26,9 +28,18 @@ buildPythonPackage rec {
|
|||||||
pytestCheckHook
|
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; {
|
meta = with lib; {
|
||||||
description = "Table of contents generator for Markdown";
|
description = "Table of contents generator for Markdown";
|
||||||
|
Loading…
Reference in New Issue
Block a user