Bug 197072 - devel/ipython: Support for Python3.x is missing
Summary: devel/ipython: Support for Python3.x is missing
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Only Me
Assignee: Jimmy Olgeni
URL:
Keywords: needs-patch, needs-qa
Depends on:
Blocks:
 
Reported: 2015-01-25 17:18 UTC by p5B2EA84B3
Modified: 2018-01-16 11:53 UTC (History)
4 users (show)

See Also:
bugzilla: maintainer-feedback? (olgeni)


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description p5B2EA84B3 2015-01-25 17:18:52 UTC
IPython supports Python 2.7 and 3.3 or newer. But the port actually does support only Python2.x as file ipython3 is missing in /usr/local/bin
Comment 1 Bugzilla Automation freebsd_committer freebsd_triage 2015-01-25 17:18:52 UTC
Auto-assigned to maintainer olgeni@FreeBSD.org
Comment 2 Kurt Jaeger freebsd_committer freebsd_triage 2015-05-10 16:45:31 UTC
If both versions of python are installed, this conflict causes the
build/install of ipython for py3.4 to fail:

# make PYTHON_VERSION=python3.4 install
===>  Installing for py34-pygments-2.0.2
===>   py34-pygments-2.0.2 depends on package: py34-setuptools34>0 - found
===>   py34-pygments-2.0.2 depends on file: /usr/local/bin/python3.4 - found
===>  Checking if py34-pygments already installed
===>   Registering installation for py34-pygments-2.0.2
Installing py34-pygments-2.0.2...
pkg-static: py34-pygments-2.0.2 conflicts with py27-pygments-2.0.2 (installs files into the same place).  Problematic file: /usr/local/bin/pygmentize
*** Error code 70

Stop.
make: stopped in /usr/ports/textproc/py-pygments
Comment 3 John W. O'Brien 2017-01-29 15:45:42 UTC
Depends on bug #214295

(I can't edit the actual "Depends on" field)
Comment 4 Walter Schwarzenfeld freebsd_triage 2018-01-16 09:21:36 UTC
This should solved with introduction of FLAVOR. Or is it still a problem?
Comment 5 John W. O'Brien 2018-01-16 11:31:17 UTC
(In reply to w.schwarzenfeld from comment #4)

I'm not sure if it was FLAVOR that solved this, but it is solved.

$ pkg info -x ipython
py36-ipython-5.3.0_2
py36-ipython_genutils-0.2.0
$ pkg info -xl ipython | grep bin
        /usr/local/bin/iptest
        /usr/local/bin/iptest3
        /usr/local/bin/ipython
        /usr/local/bin/ipython3

IPython still cannot be installed concurrently for multiple versions of python, but that's a separate problem.