>sudo make -C /usr/ports/devel/py-pip PYTHON_VERSION=3.4 ===> License MIT accepted by the user ===> Found saved configuration for py34-pip-8.0.2 ===> py34-pip-8.0.2 depends on file: /usr/local/sbin/pkg - found ===> Fetching all distfiles required by py34-pip-8.0.2 for building ===> Extracting for py34-pip-8.0.2 => SHA256 Checksum OK for pypa-pip-8.0.2_GH0.tar.gz. ===> Patching for py34-pip-8.0.2 ===> Applying FreeBSD patches for py34-pip-8.0.2 ===> py34-pip-8.0.2 depends on executable: sphinx-build - found ===> py34-pip-8.0.2 depends on package: py34-setuptools34>0 - found ===> py34-pip-8.0.2 depends on file: /usr/local/bin/python3.4 - found ===> Configuring for py34-pip-8.0.2 running config ===> Building for py34-pip-8.0.2 usage: setup.py [global_opts] cmd1 [cmd1_opts] [cmd2 [cmd2_opts] ...] or: setup.py --help [cmd1 cmd2 ...] or: setup.py --help-commands or: setup.py cmd --help error: invalid command 'build_sphinx' *** Error code 1 Stop. make[1]: stopped in /usr/ports/devel/py-pip *** Error code 1 Stop. make: stopped in /usr/ports/devel/py-pip
Docs seems to require py34-sphinx installed. I tried with this python 3.6 it seems to work fine.
A commit references this bug: Author: woodsb02 Date: Sat Jun 10 02:19:05 UTC 2017 New revision: 443059 URL: https://svnweb.freebsd.org/changeset/ports/443059 Log: [NEW] devel/py3-pip: Add Python 3.x version of this port PR: 219833 PR: 212950 Changes: head/devel/Makefile head/devel/py-pip/Makefile head/devel/py3-pip/ head/devel/py3-pip/Makefile
Hi Ibartoletti, I have created new py3- ports to allow py3-pip to be build by the main FreeBSD package builders. Whilst this solves the problem of py3-pip being able to build with Python>=3.5, it does not help with Python 3.3 or 3.4. This is because building docs with devel/py3-pip has DOC_BUILD_DEPENDS on textproc/py3-sphinx, which has BUILD/RUN_DEPENDS on devel/py3-Jinja2. According to the devel/py3-Jinja2 port, versions of Jinja2 > 2.9 are no longer compatible with versions of Python<3.5. Refer to PR215651: https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=215651#c2 bofh: are you aware if more recent versions of Jinja2 have fixed the build on Python 3.3 or 3.4?
(In reply to Ben Woods from comment #3) Noops the build has not yet been fixed.
make FLAVOR=py34 works fine. Overcome by events.