From 89134809084c17d9307a9b6a8edc509309e2ba7c Mon Sep 17 00:00:00 2001 From: Thierry Thomas Date: Sun, 20 Feb 2022 15:04:35 +0100 Subject: math/mathicsscript: upgrade to 4.0.0 Mathics related ports were blocked by Pygments-2.7.2, but since PR 256995 has been committed, we can go on! Release notes at . --- math/mathicsscript/files/patch-setup.py | 20 ++++++++++++-------- 1 file changed, 12 insertions(+), 8 deletions(-) (limited to 'math/mathicsscript/files/patch-setup.py') diff --git a/math/mathicsscript/files/patch-setup.py b/math/mathicsscript/files/patch-setup.py index 5eabeb92bdb3..e161ff81af87 100644 --- a/math/mathicsscript/files/patch-setup.py +++ b/math/mathicsscript/files/patch-setup.py @@ -1,13 +1,17 @@ ---- setup.py.orig 2021-06-06 16:11:07 UTC +--- setup.py.orig 2021-07-05 14:18:53 UTC +++ setup.py -@@ -47,10 +47,6 @@ exec(read("mathicsscript/version.py")) +@@ -47,14 +47,6 @@ exec(read("mathicsscript/version.py")) is_PyPy = platform.python_implementation() == "PyPy" - dev_requires = [] --for line in open("requirements-dev.txt").read().split("\n"): -- if line and not line.startswith("#"): -- requires = re.sub(r"([^#]+)(\s*#.*$)?", r"\1", line) -- dev_requires.append(requires) - + EXTRAS_REQUIRE = {} +-for kind in ("dev", "full"): +- extras_require = [] +- requirements_file = f"requirements-{kind}.txt" +- for line in open(requirements_file).read().split("\n"): +- if line and not line.startswith("#"): +- requires = re.sub(r"([^#]+)(\s*#.*$)?", r"\1", line) +- extras_require.append(requires) +- EXTRAS_REQUIRE[kind] = extras_require setup( + maintainer="Mathics Group", -- cgit v1.2.3