ports/devel/py-shellingham/files/patch-setup.py
Matthew Seaman fc4a90ebb6 Update to 1.3.2
ChangeLog:	https://github.com/sarugaku/shellingham/blob/1.3.2/CHANGELOG.rst

Add a minimal `setup.py` file -- the upstream package has switched to
the pep517 (https://www.python.org/dev/peps/pep-0517/) setup style,
and in the absense of built-in support for that, hack things so that
setuptools can still work.
2020-07-19 13:08:26 +00:00

8 lines
166 B
Python

--- setup.py.orig 2019-12-09 07:04:35 UTC
+++ setup.py
@@ -0,0 +1,5 @@
+
+import setuptools
+if __name__ == "__main__":
+ setuptools.setup(use_scm_version=True)
+