Merge pull request #148128 from fabaff/bump-md-toc

python3Packages.md-toc: 8.0.1 -> 8.1.0
This commit is contained in:
Fabian Affolter 2021-12-02 09:00:03 +01:00 committed by GitHub
commit 0aa7ce468c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -8,7 +8,7 @@
buildPythonPackage rec { buildPythonPackage rec {
pname = "md-toc"; pname = "md-toc";
version = "8.0.1"; version = "8.1.0";
format = "setuptools"; format = "setuptools";
disabled = pythonOlder "3.5"; disabled = pythonOlder "3.5";
@ -17,7 +17,7 @@ buildPythonPackage rec {
owner = "frnmst"; owner = "frnmst";
repo = pname; repo = pname;
rev = version; rev = version;
sha256 = "sha256-nh9KxjwF+O4n0qVo9yPP6fvKB5XFICh+Ak6oD2fQVdk="; sha256 = "sha256-FTvHPV/QIpKRF7wcZ6yuik4GzPrwyg4Oxc5/cdCs6Qo=";
}; };
propagatedBuildInputs = [ propagatedBuildInputs = [
@ -28,11 +28,6 @@ buildPythonPackage rec {
pytestCheckHook pytestCheckHook
]; ];
postPatch = ''
substituteInPlace setup.py \
--replace "fpyutils>=2.0,<2.1" "fpyutils>=2.0,<3"
'';
pytestFlagsArray = [ pytestFlagsArray = [
"md_toc/tests/*.py" "md_toc/tests/*.py"
]; ];