If you attempt to install security/py-trezor@py36 while you have security/py-trezor@py27 installed, you get the following error: ===> Registering installation for py36-trezor-0.9.0 as automatic /usr/bin/env PORTSDIR=/usr/ports FORCE_POST="rmdir kldxref mkfontscale mkfontdir fc-cache fonts.dir fonts.scale gtk-update-icon-cache gio-querymodules gtk-query-immodules ldconfig load-octave-pkg ocamlfind update-desktop-database update-mime-database gdk-pixbuf-query-loaders catalog.ports glib-compile-schemas ccache-update-links" /usr/local/sbin/pkg-static egister -d -i /usr/ports/security/py-trezor/work-py36/stage -m /usr/ports/security/py-trezor/work-py36/.metadir -f /usr/ports/security/py-trezor/work-py36/.PLIST.mktmp Installing py36-trezor-0.9.0... pkg-static: py36-trezor-0.9.0 conflicts with py27-trezor-0.7.16 (installs files into the same place). Problematic file: /usr/local/bin/trezorctl Since I needed the py36 flavor, my workaround was to remove py27-trezor. That could be a problem if you want both the py2 and py3 flavors installed. In my case, it was not important to have both flavors. It seems like there will be a number of flavored ports that will have this problem - basically many py- ports that install scripts into PREFIX/bin.
Created attachment 190531 [details] [patch] allow concurrent install of py-trezor for different py flavors Allow concurrent install of different py flavors for the py-trezor port.
A commit references this bug: Author: ehaupt Date: Mon Feb 12 20:03:05 UTC 2018 New revision: 461647 URL: https://svnweb.freebsd.org/changeset/ports/461647 Log: - Avoid conflict flavors by using 'concurrent' python keyword - While here mark NO_ARCH PR: 225840 Submitted by: John Hein <z7dr6ut7gs@snkmail.com> Changes: head/security/py-trezor/Makefile
Committed, thanks!