Re: git: 5d3642c6b034 - main - net/py-trio: Update to 0.23.2
- In reply to: Charlie Li : "Re: git: 5d3642c6b034 - main - net/py-trio: Update to 0.23.2"
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Sun, 17 Dec 2023 21:20:00 UTC
Charlie Li <vishwin@freebsd.org> wrote: > Emanuel Haupt wrote: > > diff --git a/net/py-trio/files/patch-setup.py > > b/net/py-trio/files/patch-setup.py new file mode 100644 > > index 000000000000..130806a8f6f1 > > --- /dev/null > > +++ b/net/py-trio/files/patch-setup.py > > @@ -0,0 +1,6 @@ > > +--- setup.py.orig 2022-11-12 09:41:13 UTC > > ++++ setup.py > > +@@ -0,0 +1,3 @@ > > ++import setuptools > > ++if __name__ == "__main__": > > ++ setuptools.setup(use_scm_version=False) > This should be using USE_PYTHON=pep517 instead of a dummy setup.py, > as the sources contain a pyproject.toml. Good catch. I somehow missed the introduction of that macro. Fixed in b3f1221aa9b8.