From owner-svn-ports-all@freebsd.org Sun Jan 3 16:25:08 2021 Return-Path: Delivered-To: svn-ports-all@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id B00C94D64B3; Sun, 3 Jan 2021 16:25:08 +0000 (UTC) (envelope-from rene@freebsd.org) Received: from freefall.freebsd.org (freefall.freebsd.org [96.47.72.132]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "freefall.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4D83yD4Wdcz3N3k; Sun, 3 Jan 2021 16:25:08 +0000 (UTC) (envelope-from rene@freebsd.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1609691108; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=twHgwXFcb68BXT5vhW0myPpSHw4aFTlpL+HJznfeK9Q=; b=VPcDD/NtLVgHveVEyb+xc98ZSvjhaYRdGZa4cm9eixeZZrP0SalcQGJWwMpi3S5uMUnSeM Mb7ticjLUGopxnMwdfZkDypCH5gW4gQ1tuQrM238aGTfBbQrKydUMNrImdPky8UrSchLNk 3oCQ66LpqyThGu0CBIklrIPLQZ9m4vBhF4JkrvZX2VJS/Za4A1U2A3wfIps3D1/mLsO7E+ C4tZMYrQSYhwV9lKb+0fF4LrPI7ru8wjqgiYvPVPmX8Lpcz6wInZ0zQvsRNRYjiem7xUxA Y7f+L080HSgkMtjkbwpFJUH4dPVUoAZbH0HoXnfSJJpE0Sn//OkGsv3GwfnxSQ== Received: by freefall.freebsd.org (Postfix, from userid 1185) id 9359025810; Sun, 3 Jan 2021 16:25:08 +0000 (UTC) Date: Sun, 3 Jan 2021 16:25:08 +0000 From: Rene Ladan To: Yasuhiro Kimura 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> References: <202101022245.102Mjhqd090035@repo.freebsd.org> <20210104.011255.554753433583153896.yasu@utahime.org> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <20210104.011255.554753433583153896.yasu@utahime.org> ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1609691108; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=twHgwXFcb68BXT5vhW0myPpSHw4aFTlpL+HJznfeK9Q=; b=oA5QTVFKL9Dcov3Qtr1T7qiIFMb/9taR1xQU9qwNoOzvcGlze+dJnZacpu0ImUn1oYG+Ej PlOyBut89jct+TfXwmoxHzq32Ze5cy4s87uPZlbXco5WVmMbI8hmhPQYSp60bsou5cpE3Q lHPAB5uVc+uxXQNJh9e8b+ds52W5105JkvHOmXrxZdFRaZBvd6j5PWvQrjpC9f/bzXPwn7 f4y8EiT+hqGjcZELajK3yBouGLKP+eLF4SoI+NS3niXpiq7EobndTnGzFTWcII6aQjAeyn XVI6lrsdam7oCbN9qwln+EIfYO6mvkykKJmUzWCnRqwu7Ud+61g8HDCFW88yJg== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1609691108; a=rsa-sha256; cv=none; b=QZbsjktRCpRelDO5YKca8n2MbhvohyfH4A01T+wlVQPMq2ZksN11AGzEmCxoR9363f4hvJ qi/HQ4Gt3QE4iLl0ACp8SjLUJIZOUeFj7RY3LlZwqF5fEfoKiXQaS9mP07Gaurfvq//vjz g/dqMArUp2EPzliaKaH6uer4PBBqdmb0w0ooi4pEseh6xBUXDQHbrwHANyqR5nMK78zOR0 qSGLz04OM6m9XXtHNRpT2nABY84gn7Op1rZpgI+UjcVbJh2Q5nvNvddgcxDYmog3EZFqbP my7/4HyFElTGi7DFErtYw1UEZ3ZdQ/WHX1EEPh/Er2rB71F2XlYX/y7114DF4g== ARC-Authentication-Results: i=1; mx1.freebsd.org; none X-BeenThere: svn-ports-all@freebsd.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: SVN commit messages for the ports tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 03 Jan 2021 16:25:08 -0000 On Mon, Jan 04, 2021 at 01:12:55AM +0900, Yasuhiro Kimura wrote: > From: Rene Ladan > 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é