Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 03 Sep 2019 03:21:29 +0000
From:      bugzilla-noreply@freebsd.org
To:        python@FreeBSD.org
Subject:   [Bug 231392] print/py-psautohint: Update to 1.9.1
Message-ID:  <bug-231392-21822-6s5AZ0mT9C@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-231392-21822@https.bugs.freebsd.org/bugzilla/>
References:  <bug-231392-21822@https.bugs.freebsd.org/bugzilla/>

next in thread | previous in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D231392

--- Comment #24 from Ting-Wei Lan <lantw44@gmail.com> ---
(In reply to Sunpoet Po-Chuan Hsieh from comment #23)
> Instead of -extras, I would prefer current naming which is clear enough. =
And
> what if other ports require different options?
When a new option is needed, it will be added to OPTIONS_SLAVE of
py-fonttools-extras. The use of -extras is used to avoid renaming and preve=
nt
the name from being too long when more options are needed.

> But I don't like the combination of options. It would be more flexible if=
 a
> port enables only one option.
I don't like controlling multiple options with single port, either. I alrea=
dy
proposed making one port for each option in attachment 205520, but you didn=
't
seem to review it. Therefore, I just assumed that you had rejected the idea=
 and
I had to find a different solution.=20

> Regarding the patch, it looks strange to me. Why not use OPTIONS_EXCLUDE
> rather than redefining OPTIONS_DEFINE?
There are 8 options in py-fonttools. In order to hide 'make config' dialog,=
 I
have to exclude all options which are not enabled in the slave port, which =
is a
long list that have to be changed every time an option is added to
py-fonttools. Redefining OPTIONS_DEFINE means we can just ignore options we
don't need, which should be easier to read and maintain.

> What if we move the OPTIONS from Makefile to another file (e.g. options.m=
k).
> Let py-fonttools-foo include that file and add py-fonttools and
> foo_RUN_DEPENDS to RUN_DEPENDS. If a port requires fonttools[foo] and=20
> fonttools[bar], you could add py-fonttools-foo and py-fonttools-bar to=20
> RUN_DEPENDS.
That was what I proposed in attachment 205520. Although I called it
'Makefile.features' instead of 'options.mk', the idea is the same.

--=20
You are receiving this mail because:
You are on the CC list for the bug.=



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-231392-21822-6s5AZ0mT9C>