opnsense-ports/math/py-iohexperimenter/files/patch-setup.py
Franco Fichtner 3f6f47fe08 */*: sync with upstream
Taken from: HardenedBSD
2021-02-01 17:29:40 +01:00

11 lines
315 B
Python

--- setup.py.orig 2021-01-26 09:46:22 UTC
+++ setup.py
@@ -30,7 +30,7 @@ iohprofiler = Extension('IOHexperimenter._IOHprofiler'
extra_compile_args=extra_compile_args
)
-__version__ = "auto"
+__version__ = "%%PORTVERSION%%"
gh_ref = os.environ.get("GITHUB_REF")
if gh_ref:
*_, tag = gh_ref.split("/")