Date: Sun, 3 Jan 2021 16:25:08 +0000 From: Rene Ladan <rene@freebsd.org> To: Yasuhiro Kimura <yasu@utahime.org> Cc: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org, 0mp@freebsd.org Subject: Re: svn commit: r559976 - in head: . deskutils/dosage devel devel/py-arrow devel/py-backports.functools_lru_cache devel/py-backports_abc devel/py-futures devel/py-graphene-sqlalchemy devel/py-jaraco.fu... Message-ID: <20210103162508.GA63996@freefall.freebsd.org> In-Reply-To: <20210104.011255.554753433583153896.yasu@utahime.org> References: <202101022245.102Mjhqd090035@repo.freebsd.org> <20210104.011255.554753433583153896.yasu@utahime.org>
next in thread | previous in thread | raw e-mail | index | archive | help
On Mon, Jan 04, 2021 at 01:12:55AM +0900, Yasuhiro Kimura wrote: > From: Rene Ladan <rene@FreeBSD.org> > Subject: svn commit: r559976 - in head: . deskutils/dosage devel devel/py-arrow devel/py-backports.functools_lru_cache devel/py-backports_abc devel/py-futures devel/py-graphene-sqlalchemy devel/py-jaraco.fu... > Date: Sat, 2 Jan 2021 22:45:43 +0000 (UTC) > > > Author: rene > > Date: Sat Jan 2 22:45:42 2021 > > New Revision: 559976 > > URL: https://svnweb.freebsd.org/changeset/ports/559976 > > > > Log: > > Remove some more expired ports: > > > > devel/py-backports.functools_lru_cache > > devel/py-backports_abc > > devel/py-futures > > devel/py-singledispatch > > devel/py-typing > > graphics/py-pillow6 > > > > Adjust dependent ports. > > Tested with 'make index' against r559975 > > After this commit `make index` fails as following when default version > of python and python3 are 3.8 or later. > > ---------------------------------------------------------------------- > --- describe.www --- > --- describe.x11 --- > --- describe.x11-clocks --- > --- describe.x11-drivers --- > --- describe.x11-fm --- > --- describe.x11-fonts --- > --- describe.x11-servers --- > --- describe.x11-themes --- > --- describe.x11-toolkits --- > --- describe.x11-wm --- > make_index: /usr0/freebsd/ports/git/cad/k40-whisperer: no entry for /usr0/freebsd/ports/git/graphics/py-pillow6 > Done. > make index 539.20s user 347.41s system 361% cpu 4:05.60 total > ---------------------------------------------------------------------- > > If I set 'DEFAULT_VERSIONS+=python=3.7' and 'DEFAULT_VERSIONS+=python3=3.7' > in /etc/make.conf, then `make -C /usr/ports/cad/k40-whisperer describle` > writes following output. > > ---------------------------------------------------------------------- > k40-whisperer-0.55|/usr0/freebsd/ports/head/cad/k40-whisperer|/usr/local|GUI control software for the stock K40 laser cutter controller|/usr0/freebsd/ports/head/cad/k40-whisperer/pkg-descr|0mp@FreeBSD.org|cad python|||||/usr0/freebsd/ports/head/devel/py-lxml /usr0/freebsd/ports/head/devel/py-pyusb /usr0/freebsd/ports/head/graphics/py-pillow /usr0/freebsd/ports/head/lang/python37|http://www.scorchworks.com/K40whisperer/k40whisperer.html > ---------------------------------------------------------------------- > > But if I set 'DEFAULT_VERSIONS+=python=3.8' and > 'DEFAULT_VERSIONS+=python3=3.8` in /etc/make.conf, then same command > writes following output. > > ---------------------------------------------------------------------- > k40-whisperer-0.55|/usr0/freebsd/ports/head/cad/k40-whisperer|/usr/local|GUI control software for the stock K40 laser cutter controller|/usr0/freebsd/ports/head/cad/k40-whisperer/pkg-descr|0mp@FreeBSD.org|cad python|||||/usr0/freebsd/ports/head/devel/py-lxml /usr0/freebsd/ports/head/devel/py-pyusb /usr0/freebsd/ports/head/graphics/py-pillow6 /usr0/freebsd/ports/head/lang/python27|http://www.scorchworks.com/K40whisperer/k40whisperer.html > ---------------------------------------------------------------------- > > Is it bug of Mk/Uses/python.mk? > Mk/Uses/python.mk has this (line 648): .if ${PYTHON_REL} < 3500 PY_PILLOW= ${PYTHON_PKGNAMEPREFIX}pillow6>=6.0.0:graphics/py-pillow6@${PY_FLAVOR} PY_PYGMENTS= ${PYTHON_PKGNAMEPREFIX}pygments-25>=2.5.1<3:textproc/py-pygments-25@${PY_FLAVOR} PY_SPHINX= ${PYTHON_PKGNAMEPREFIX}sphinx18>=0,1:textproc/py-sphinx18@${PY_FLAVOR} PY_TYPING= ${PYTHON_PKGNAMEPREFIX}typing>=3.7.4.1:devel/py-typing@${PY_FLAVOR} .else PY_PILLOW= ${PYTHON_PKGNAMEPREFIX}pillow>=7.0.0:graphics/py-pillow@${PY_FLAVOR} PY_PYGMENTS= ${PYTHON_PKGNAMEPREFIX}pygments>=2.5.1<3:textproc/py-pygments@${PY_FLAVOR} PY_SPHINX= ${PYTHON_PKGNAMEPREFIX}sphinx>=3.0,1:textproc/py-sphinx@${PY_FLAVOR} PY_TYPING= .endif So it uses graphics/py-pillow on Python 3.8. But indeed if I run env DEFAULT_VERSIONS=python=3.8 make -C /usr/ports/cad/k40-whisperer make describe I get py-pillow6 as a dependency. The cad/k40-whisperer Makefile has USES=python:-3.7 so it does not support 3.8 and 3.9, and this upper limit indeed creates the py-pillow6 dependency (it works fine if you remove the -3.7 ). CC'ing Mateusz as he is the maintainer of this port. Regards, René
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20210103162508.GA63996>