These two ports conflict. They install the same file. I suggest they both be renamed. I will post this ticket, then work on patches for review/approval. If anyone else wishes to proceed on this issue before I do that, please proceed. Here are command run after a poudriere testport on a recent ports tree: testport of devel/py-pytest # pkg info -l py27-pytest-3.0.6 | grep /usr/local/bin/pytest /usr/local/bin/pytest /usr/local/bin/pytest-2.7 # cat /usr/local/bin/pytest #!/usr/local/bin/python2.7 # EASY-INSTALL-ENTRY-SCRIPT: 'pytest==3.0.6','console_scripts','pytest' __requires__ = 'pytest==3.0.6' import re import sys from pkg_resources import load_entry_point if __name__ == '__main__': sys.argv[0] = re.sub(r'(-script\.pyw?|\.exe)?$', '', sys.argv[0]) sys.exit( load_entry_point('pytest==3.0.6', 'console_scripts', 'pytest')() ) testport of devel/py-logilab-common # pkg info -l py27-logilab-common-1.2.2 | grep /usr/local/bin/pytest /usr/local/bin/pytest /usr/local/bin/pytest-2.7 # cat /usr/local/bin/pytest #!/usr/local/bin/python2.7 import warnings warnings.simplefilter('default', DeprecationWarning) from logilab.common.pytest import run run()
Issue raised with upstreadm pytest project: https://github.com/pytest-dev/pytest/issues/2243 They pointed out, this has already been raised. https://github.com/pytest-dev/pytest/issues/1833 No change will occur upstream. Sounds like we must resolve it ourselves.
Solution is to upgrade devel/py-logilab-common to v 1.3.0 because that version no longer ships that script.
Code review created: https://reviews.freebsd.org/D9516
Committed revision: https://svnweb.freebsd.org/ports?view=revision&revision=433793