Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 04 Jan 2021 01:57:59 +0900 (JST)
From:      Yasuhiro Kimura <yasu@utahime.org>
To:        rene@freebsd.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:  <20210104.015759.627455078431487241.yasu@utahime.org>
In-Reply-To: <20210103162508.GA63996@freefall.freebsd.org>
References:  <202101022245.102Mjhqd090035@repo.freebsd.org> <20210104.011255.554753433583153896.yasu@utahime.org> <20210103162508.GA63996@freefall.freebsd.org>

next in thread | previous in thread | raw e-mail | index | archive | help
From: Rene Ladan <rene@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...
Date: Sun, 3 Jan 2021 16:25:08 +0000

> 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.

>From the viewpoint of ports framework, if a port works fine only with
python 3.x or before and user sets 3.(x+1) or later as default
version, how the port should behave? Should 3.x be used as dependency?
Or should it be regareded as BROKEN or IGNORE?

---
Yasuhiro Kimura



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20210104.015759.627455078431487241.yasu>