diff options
| author | Matthias Andree <mandree@FreeBSD.org> | 2025-11-01 22:55:28 +0000 |
|---|---|---|
| committer | Matthias Andree <mandree@FreeBSD.org> | 2025-11-01 23:29:58 +0000 |
| commit | 6ac72388032a56d5126059813ade274dcfd29211 (patch) | |
| tree | f51731f17628b4b14af1dcab06a147abde94fecb /www/py-html5lib/files/patch-setup.py | |
| parent | 795bfbe85c61b78359a0e9b8ffa56878142d303b (diff) | |
Diffstat (limited to 'www/py-html5lib/files/patch-setup.py')
| -rw-r--r-- | www/py-html5lib/files/patch-setup.py | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/www/py-html5lib/files/patch-setup.py b/www/py-html5lib/files/patch-setup.py new file mode 100644 index 000000000000..1dea77f968f7 --- /dev/null +++ b/www/py-html5lib/files/patch-setup.py @@ -0,0 +1,13 @@ +--- setup.py.orig 2020-06-22 23:23:02 UTC ++++ setup.py +@@ -90,8 +90,8 @@ with open(join(here, "html5lib", "__init__.py"), "rb") + if (len(a.targets) == 1 and + isinstance(a.targets[0], ast.Name) and + a.targets[0].id == "__version__" and +- isinstance(a.value, ast.Str)): +- version = a.value.s ++ isinstance(a.value, ast.Constant)): ++ version = a.value + + setup(name='html5lib', + version=version, |
