| Summary: | math/py-matplotlib-scalebar: Update to 0.6.2 | ||||||||
|---|---|---|---|---|---|---|---|---|---|
| Product: | Ports & Packages | Reporter: | Rainer Hurling <rhurlin> | ||||||
| Component: | Individual Port(s) | Assignee: | Dmitry Marakasov <amdmi3> | ||||||
| Status: | Closed Overcome By Events | ||||||||
| Severity: | Affects Only Me | CC: | koobs, lbartoletti, rhurlin, tcberner | ||||||
| Priority: | --- | ||||||||
| Version: | Latest | ||||||||
| Hardware: | Any | ||||||||
| OS: | Any | ||||||||
| Attachments: |
|
||||||||
|
Description
Rainer Hurling
2020-04-12 12:27:42 UTC
Addendum: Now, that r531531 for math/suitesparse (Fix on i386, by using GCC), allows to build math/py-matplotlib-scalebar for i386 again. So now, the patch is tested on Poudriere (11.3i, 12.0i, and HEADi), also. Moin moin This seems to fail for py27 and py35 -- should it possibly be marked 3.6+? mfg Tobias Moin Tobias, Thanks for bringing this up. py27 can't build anymore, since py-matplotlib-scalebar uses pathlib[1], which was introduced in Python since 3.4 [2]. [1] https://github.com/ppinard/matplotlib-scalebar/commit/166015e9b4cad5b9d00df31e0d242c335c93ab79 [2] https://docs.python.org/3/library/pathlib.html py35, py36 and py38 seem to be broken for the following ports, which are ignored with the following error: Unknown flavor 'py3[568]', possible flavors: py37 py27 - devel/py-six@py3[568] - math/py-kiwisolver@py3[568] - www/py-tornado@py3[568] - devel/py-pyparsing@py3[568] - devel/py-pytz@py3[568] - textproc/py-toml@py3[568] So I think, in principle you are right. But for now, we should restrict FLAVORS to only 3.7 for now. HG, Rainer Created attachment 213423 [details] patch to fix math/py-matplotlib-scalebar reciprocal unit prefix, python 3.7 only This is the patch belonging to comment #3. (In reply to Rainer Hurling from comment #3) Hi Rainer, It's not documented (there is a documentation on python/flavors, but personally, I think it's misleading.) Please, can you try with BUILD_ALL_PYTHON_FLAVORS=yes in /etc/make.conf? ping koobs@ (In reply to Loïc Bartoletti from comment #5) Let's touch base on IRC to talk about improving the Mk/Uses/python.mk messaging for these things (In reply to Loïc Bartoletti from comment #5) With USES=python (w/o :3.7) in the ports Makefile and with BUILD_ALL_PYTHON_FLAVORS=yes in /etc/make.conf I just build on Poudriere: It only builds the 3.7 flavor. Is this the expected behaviour? The port is now at 0.7.2 |