Re: python-module: only set do-* targets if MODPY_*DEP is true

2023-01-09 Thread Klemens Nanni
09.01.2023 19:23, Theo Buehler пишет: > The only port that failed to build with this diff is textproc/catfish. Great, thanks for testing, tb! I'll still hold off with any python.port.mk diff until the xonly dust settles, just to avoid any possible churn or noise for now. That should also give

Re: python-module: only set do-* targets if MODPY_*DEP is true

2023-01-09 Thread Theo Buehler
On Wed, Jan 04, 2023 at 09:22:35PM +, Klemens Nanni wrote: > net/qbittorrent uses python with MODPY_BUILDDEP=No MODPY_TESTDEP=No. > I've switched it to cmake and the way its Makefile.inc is now means that > lang/python comes before devel/cmake in MODULES. > > I expected this to work without

Re: python-module: only set do-* targets if MODPY_*DEP is true

2023-01-06 Thread Klemens Nanni
06.01.2023 09:42, Marc Espie пишет: > On Wed, Jan 04, 2023 at 09:22:35PM +, Klemens Nanni wrote: >> net/qbittorrent uses python with MODPY_BUILDDEP=No MODPY_TESTDEP=No. >> I've switched it to cmake and the way its Makefile.inc is now means that >> lang/python comes before devel/cmake in

Re: python-module: only set do-* targets if MODPY_*DEP is true

2023-01-06 Thread Klemens Nanni
06.01.2023 11:41, Dima Pasechnik пишет: > For what's worth, cmake's option to build Python modules, as extensions > of C/C++ libraries, is getting more and more popular - with "proper" > Python packaging continuing to be a mess (with deprecated and to be > dropped in Python 3.12 distutils, badly

Re: python-module: only set do-* targets if MODPY_*DEP is true

2023-01-06 Thread Dima Pasechnik
On Fri, Jan 06, 2023 at 10:42:11AM +0100, Marc Espie wrote: > On Wed, Jan 04, 2023 at 09:22:35PM +, Klemens Nanni wrote: > > net/qbittorrent uses python with MODPY_BUILDDEP=No MODPY_TESTDEP=No. > > I've switched it to cmake and the way its Makefile.inc is now means that > > lang/python comes

Re: python-module: only set do-* targets if MODPY_*DEP is true

2023-01-06 Thread Marc Espie
On Wed, Jan 04, 2023 at 09:22:35PM +, Klemens Nanni wrote: > net/qbittorrent uses python with MODPY_BUILDDEP=No MODPY_TESTDEP=No. > I've switched it to cmake and the way its Makefile.inc is now means that > lang/python comes before devel/cmake in MODULES. > > I expected this to work without