Merge pull request #237041 from fabaff/markdownsuperscript-remove

python310Packages.markdownsuperscript: remove
This commit is contained in:
Fabian Affolter 2023-06-12 07:57:10 +02:00 committed by GitHub
commit 76ad192fe1
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 1 additions and 33 deletions

View file

@ -1,31 +0,0 @@
{ lib, buildPythonPackage, fetchPypi, markdown,
pytest, pytest-runner, pytest-cov, coverage }:
buildPythonPackage rec {
pname = "MarkdownSuperscript";
version = "2.1.1";
src = fetchPypi {
inherit pname version;
sha256 = "2c255b5959c1f5dd364ae80762bd0a568a0fcc9fd4e4a3d7e7b192e88adf8900";
};
propagatedBuildInputs = [ markdown ];
postPatch = ''
# remove version bounds for Markdown dependency
sed 's/\["Markdown.*"\]/["Markdown"]/' -i setup.py
# remove version bounds for test dependencies
sed 's/=.*//' -i requirements/*.txt
'';
nativeCheckInputs = [ pytest pytest-runner pytest-cov coverage ];
meta = with lib; {
description = "An extension to the Python Markdown package enabling superscript text";
homepage = "https://github.com/jambonrose/markdown_superscript_extension";
license = licenses.bsd2;
broken = true; # unmaintained in nixpkgs, barely maintained in pypi, added 2020-11-29
};
}

View file

@ -165,6 +165,7 @@ mapAliases ({
loo-py = loopy; # added 2022-05-03
Mako = mako; # added 2023-02-19
Markups = markups; # added 2022-02-14
markdownsuperscript = throw "markdownsuperscript is unmaintained, use pymdown-extensions"; # added 2023-06-10
MDP = mdp; # added 2023-02-19
MechanicalSoup = mechanicalsoup; # added 2021-06-01
memcached = python-memcached; # added 2022-05-06

View file

@ -6047,8 +6047,6 @@ self: super: with self; {
markdownify = callPackage ../development/python-modules/markdownify { };
markdownsuperscript = callPackage ../development/python-modules/markdownsuperscript { };
markupsafe = callPackage ../development/python-modules/markupsafe { };
markuppy = callPackage ../development/python-modules/markuppy { };