Friday, September 01, 2023

Makefile.template MODPY updates (was: Re: New port: novelWriter, a text writer for creating novels)

Index: Makefile.template
===================================================================
RCS file: /cvs/ports/infrastructure/templates/Makefile.template,v
retrieving revision 1.94
diff -u -p -r1.94 Makefile.template
--- Makefile.template 28 Apr 2023 22:06:56 -0000 1.94
+++ Makefile.template 1 Sep 2023 16:22:19 -0000
@@ -128,9 +128,9 @@ MASTER_SITES = ???
#
# Get source from pypi.org
#MODPY_PI = Yes
-#MODPY_SETUPTOOLS = Yes
-# If port is python2 only
-#MODPY_VERSION = ${MODPY_DEFAULT_VERSION_2}
+#MODPY_PYBUILD = setuptools
+# or flit_core, hatchling, etc - see python-module(5)
+#
# If port is a Python module (py-*) that is or might be used by other Python
# ports, set FLAVOR=python3 and FLAVORS=python3

On Sat, Aug 26, 2023 at 07:39:54AM +0100, Stuart Henderson wrote:
...
> > # Get source from pypi.org
> > #MODPY_PI = Yes
> > -#MODPY_SETUPTOOLS = Yes
> > +#MODPY_PYBUILD = setuptools
>
> Ah yes, probably a good idea. Maybe mention some of the other build
> backends with a pointer to the manual for others?
>
> #MODPY_PYBUILD = setuptools
> # or flit_core, hatchling, etc - see port-modules(5)
>
> > # If port is python2 only
> > #MODPY_VERSION = ${MODPY_DEFAULT_VERSION_2}
>
> I think we could remove that from Makefile.template now, hopefully not
> needed for any new ports.

attached updated diff for this ... ok?

No comments:

Post a Comment