Files
ports/net/py-httpstat/files/patch-setup.py
T
Dan Langille 6d29eae5d5 net/py-httpstat: Fix build with Python 3.14
Fix the error: AttributeError: 'Constant' object has no attribute 's'

Maintainer back to ports@ as current maintainer no longer uses this.

PR:		295020
2026-06-13 11:24:48 +00:00

12 lines
362 B
Python

--- setup.py.orig 2020-10-15 12:31:26 UTC
+++ setup.py
@@ -14,7 +14,7 @@ def get_version():
with open(filename) as input_file:
for line in input_file:
if line.startswith('__version__'):
- return ast.parse(line).body[0].value.s
+ return ast.parse(line).body[0].value.value
def get_long_description():