Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 22 Mar 2018 06:20:27 +0200
From:      David Naylor <naylor.b.david@gmail.com>
To:        Mathieu Arnold <mat@freebsd.org>
Cc:        Yuri <yuri@freebsd.org>, Mathieu Arnold <mat@freebsd.org>, ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   Re: svn commit: r464842 - head/devel/py-black
Message-ID:  <3266631.7f3I6XmlL7@dragon.local>
In-Reply-To: <20180321215019.iai5htaygv3eljtw@atuin.in.mat.cc>
References:  <201803171854.w2HIsD3u010171@repo.freebsd.org> <b9be60c5-52e4-2c88-9d12-1d6c57830bbd@freebsd.org> <20180321215019.iai5htaygv3eljtw@atuin.in.mat.cc>

next in thread | previous in thread | raw e-mail | index | archive | help
--nextPart1597936.b5c6CN2dQY
Content-Transfer-Encoding: 7Bit
Content-Type: text/plain; charset="us-ascii"

On Wednesday, 21 March 2018 22:50:19 Mathieu Arnold wrote:
> On Wed, Mar 21, 2018 at 05:28:19PM +0000, Yuri wrote:
> > On 03/20/18 01:12, Mathieu Arnold wrote:
> > > This was not a mistake, it was the correct way to do it.  Using
> > > PY_FLAVOR is more robust because it will always contain the Python
> > > flavor.
> > 
> > Should python ports always use @${PY_FLAVOR} then?
> 
> Maybe, I do not know.  PY_FLAVOR came late in the flavorization process,
> and I did not think much of it at the time.

PY_FLAVOR solves an important problem: how do you specify the flavor of a 
python dependency (especially if the port does not use python flavors, or no 
flavors).  

Technically, if the port uses python flavors then PY_FLAVOR=FLAVOR, but the 
most robust (and consistent way) is to use @${PY_FLAVOR} for dependencies.  

Regards
--nextPart1597936.b5c6CN2dQY
Content-Type: application/pgp-signature; name="signature.asc"
Content-Description: This is a digitally signed message part.
Content-Transfer-Encoding: 7Bit

-----BEGIN PGP SIGNATURE-----

iQKTBAABCgB9FiEElI7FEaJ/AwLnmbU6rWP6jday2lUFAlqzLwtfFIAAAAAALgAo
aXNzdWVyLWZwckBub3RhdGlvbnMub3BlbnBncC5maWZ0aGhvcnNlbWFuLm5ldDk0
OEVDNTExQTI3RjAzMDJFNzk5QjUzQUFENjNGQThERDZCMkRBNTUACgkQrWP6jday
2lVAWhAAtuLniD3GrQ8u7KRewNfkMblF6bQQk5kUjPVQQUQK/r9UbSOlx48P7Y4t
bBBFVU4ncbIEGGTV1HRK0jajB0h4sC6wkggS5MgJjX+n3v+OzrR8j9vWdObu8KXq
NHK42FItcQhJ9DpEZdYhbLj0qfbDjezwJYmvfSBBgVcJzqNIG2U1P2rv3ADxxhLH
k5yNC3tuSe14C5ktYzUpZiVJOz1Z3e6nFFR4kPQLGqsV4prNEw0key5pjmetzAzU
awNkIwXR+lBS05evDFfkThM/w6TMvcK9mi/JRWvyttYZs+CBpCOn35BNPYK5csXp
kzMet5Yk2dbOBjjB+rLedK+F1cXYEgx6dBHn0+7mLBAS0tOzcJbOvgrudIfBfbyi
FKZc0AaqDFwCp5REI7LGOJxBucAETGFBdg4LzOjsAGO77nvMu5gXP+ZjHwvUGPWX
qTuTY901qpr/PhDXFcclZ4hcbUD6NK564gVhvVqL+Kl/zCRmtKq321U6cf1jsp3D
xIct+O7nNOC1VMtjk+TTJt2xgaidVs10DuFdwsDG8bD1/NXGKAVKpnble8mzTmWX
GQoaEfe14WDRJz4Yw2ZmsNccgPqZ8UFRqh8MTJ/+kg6dgT/K5LJL2oxxmd0LXdQS
Zz+3Q7AsFL4SpEs2jORzNvWiaLq6m/yurEUyOGopthoBF8xGRNs=
=4Ama
-----END PGP SIGNATURE-----

--nextPart1597936.b5c6CN2dQY--




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