aboutsummaryrefslogtreecommitdiff
path: root/math/mathicsscript/files/patch-setup.py
diff options
context:
space:
mode:
authorThierry Thomas <thierry@FreeBSD.org>2021-06-06 17:54:54 +0000
committerThierry Thomas <thierry@FreeBSD.org>2021-06-06 20:26:26 +0000
commit70535ff88a01b7bd3624e6d8c5fde195110ff4e9 (patch)
tree42687c725389cbebb2d08bb5a3d8df736795a532 /math/mathicsscript/files/patch-setup.py
parenta2caf6497c9414c185d6546a1fa3704ccc6d7e5e (diff)
Diffstat (limited to 'math/mathicsscript/files/patch-setup.py')
-rw-r--r--math/mathicsscript/files/patch-setup.py13
1 files changed, 13 insertions, 0 deletions
diff --git a/math/mathicsscript/files/patch-setup.py b/math/mathicsscript/files/patch-setup.py
new file mode 100644
index 000000000000..5eabeb92bdb3
--- /dev/null
+++ b/math/mathicsscript/files/patch-setup.py
@@ -0,0 +1,13 @@
+--- setup.py.orig 2021-06-06 16:11:07 UTC
++++ setup.py
+@@ -47,10 +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)
+
+
+ setup(