[Bug 216941] devel/py-logilab-common & devel/py-pytest install to the same files

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Thu Feb 9 15:12:33 UTC 2017


https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=216941

            Bug ID: 216941
           Summary: devel/py-logilab-common & devel/py-pytest install to
                    the same files
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: Individual Port(s)
          Assignee: freebsd-ports-bugs at FreeBSD.org
          Reporter: dvl at FreeBSD.org
                CC: python at FreeBSD.org
                CC: python at FreeBSD.org

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()

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


More information about the freebsd-python mailing list