9.0.4,1textprocΣ=16 9.0.4,1Version of this port present on the latest quarterly branch.upstream: 9.2.0A newer version was found upstream by portscout, first on 2026-10-21.
Sphinx is a tool that makes it easy to create intelligent and beautiful
documentation for Python projects, written by Georg Brandl and licensed
under the BSD license.
NOTE: If this package has multiple flavors (see below), then use one of them instead of the name specified above. NOTE: This is a Python port. Instead of py312-sphinx listed in the above command, you can pick from the names under the Packages section.
textproc/py-sphinx: Update version requirement of RUN_DEPENDS
- Sort RUN_DEPENDS
- Add more TEST_DEPENDS, including USE_PYTHON=cython_test
- Update WWW
from pyproject.toml:
"alabaster>=0.7.14",
Reference: https://github.com/sphinx-doc/sphinx/blob/v9.0.4/pyproject.toml#L82
textproc/py-sphinx: Update to 9.0.4
Sphinx 9.0.4 is the last release with Python 3.11 support.
Many thanks to Alastair Hogge for the initial patch, to Hiroo Ono for
fixing numerous fallouts, and to Harley (SponiX on IRC) for providing
the access to his building box.
PR: 284845
Exp-run by: antoine
Co-authored-by: Alastair Hogge <agh@riseup.net>
Co-authored-by: Hiroo Ono <hiroo.ono+freebsd@gmail.com>
textproc/py-sphinx: Switch to use flit-core as build system
In Sphinx-5.3.0/pyproject.toml build system is specified as following.
[build-system]
requires = ["flit_core>=3.7"]
build-backend = "flit_core.buildapi"
I confirmed build succeeds with devel/py-flit-core as BUILD_DEPENDS.
And it also reduces the number of packages that are required as build
dependencies.
PR: 273577
Approved by: sunpoet (python, maintainer)
all: remove explicit versions in USES=python for "3.x+"
The logic in USES=python will automatically convert this to 3.8+ by
itself.
Adjust two ports that only had Python 3.7 mentioned but build fine
on Python 3.8 too.
finance/quickfix: mark BROKEN with PYTHON
libtool: compile: c++ -DHAVE_CONFIG_H -I. -I../.. -I -I. -I.. -I../.. -I../C++
-DLIBICONV_PLUG -DPYTHON_MAJOR_VERSION=3 -Wno-unused-variable
-Wno-maybe-uninitialized -O2 -pipe -DLIBICONV_PLUG -fstack-protector-strong
-fno-strict-aliasing -DLIBICONV_PLUG -Wall -ansi
-Wno-unused-command-line-argument -Wpointer-arith -Wwrite-strings
-Wno-overloaded-virtual -Wno-deprecated-declarations -Wno-deprecated -std=c++0x
-MT _quickfix_la-QuickfixPython.lo -MD -MP -MF
.deps/_quickfix_la-QuickfixPython.Tpo -c QuickfixPython.cpp -fPIC -DPIC -o
.libs/_quickfix_la-QuickfixPython.o
warning: unknown warning option '-Wno-maybe-uninitialized'; did you mean
'-Wno-uninitialized'? [-Wunknown-warning-option]
QuickfixPython.cpp:175:11: fatal error: 'Python.h' file not found
^~~~~~~~~~
1 warning and 1 error generated.
Reviewed by: portmgr, vishwin, yuri
Differential Revision: <https://reviews.freebsd.org/D40568>
Remove WWW entries moved into port Makefiles
Commit b7f05445c00f has added WWW entries to port Makefiles based on
WWW: lines in pkg-descr files.
This commit removes the WWW: lines of moved-over URLs from these
pkg-descr files.
Approved by: portmgr (tcberner)
Add WWW entries to port Makefiles
It has been common practice to have one or more URLs at the end of the
ports' pkg-descr files, one per line and prefixed with "WWW:". These
URLs should point at a project website or other relevant resources.
Access to these URLs required processing of the pkg-descr files, and
they have often become stale over time. If more than one such URL was
present in a pkg-descr file, only the first one was tarnsfered into
the port INDEX, but for many ports only the last line did contain the
port specific URL to further information.
There have been several proposals to make a project URL available as
a macro in the ports' Makefiles, over time.
(Only the first 15 lines of the commit message are shown above )
textproc/py-sphinx: update to 4.5.0 release (+)
While sphinx project provided 5.x branch, update our tree with 4.5.0 release.
It will satisfy requirements for consumers (e.g, Django40 require sphinx>=4.5.0
for offline HTML docs)
Exp-run was fine for 4.4.0, 4.5.0 is a bugfix, so no additional tests assumed.
PR: 261505
Exp-run by: antoine
Approved by: python (lwhsu)
textproc/py-sphinx: switch to USES=pytest and document failing tests
Reported by: reprise
Approved by: portmgr blanket (no explicit approval requested as the change only
affects testing)
textproc/py-sphinx: bump PORTREVISION
Bump PORTREVISION after 7583c6f to actually fix the runtime problem
for these who installed py310-sphinx before the commit.
Approved by: portmgr blanket
textproc/py-sphinx: Update to 3.5.2
Add patches to fix Sphinx consumers; The most common issues are related with
pkg-plist, the output files for Sphinx changes between versions, keep this
dynamically is the better approach and will save time in future Sphinx updates.
Changelog: https://github.com/sphinx-doc/sphinx/blob/v3.5.2/CHANGES
PR: 254185
Approved by: python (with hat)
Exp-run by: antoine
textproc/py-sphinx: Fix build (extract) with static bsdtar(1)
===> Extracting for py37-sphinx-3.0.3,1
=> SHA256 Checksum OK for python/Sphinx-3.0.3.tar.gz.
tar: Pathname can't be converted from UTF-8 to current locale.
tar: Error exit delayed from previous errors.
*** Error code 1
Issue found at least on arm64.aarch64 and mips.mips64 builds using
native-x-tools/poudriere.
As /usr/bin/tar is replaced by the binary in /nxb-bin/, pointing EXTRACT_CMD
to /usr/bin/bsdtar instead.
root@12-mips64-default:/tmp # file /usr/bin/tar
(Only the first 15 lines of the commit message are shown above )
Update Sphinx
- Repocopy textproc/py-sphinx to textproc/py-sphinx18
Update it to 1.8.5 (latest version from 1.8.X).
This version supports Python 2 and 3.
Add test target.
- textproc/py-sphinx: Update to 3.0.2
Python 3 only (3.5+).
Add test target.
- Mk/Uses/python.mk: Add PY_SPHINX
(Only the first 15 lines of the commit message are shown above )
Convert Python ports to FLAVORS.
Ports using USE_PYTHON=distutils are now flavored. They will
automatically get flavors (py27, py34, py35, py36) depending on what
versions they support.
There is also a USE_PYTHON=flavors for ports that do not use distutils
but need FLAVORS to be set. A USE_PYTHON=noflavors can be set if
using distutils but flavors are not wanted.
A new USE_PYTHON=optsuffix that will add PYTHON_PKGNAMESUFFIX has been
added to cope with Python ports that did not have the Python
PKGNAMEPREFIX but are flavored.
USES=python now also exports a PY_FLAVOR variable that contains the
(Only the first 15 lines of the commit message are shown above )
- Update textproc/py-sphinx to 1.3.1
- Reverse depend upon textproc/py-sphinx_rtd_theme
- Take maintainership of textproc/py-sphinx
Approved by: lwhsu@
- Remove easy_install dependency
- Bump PORTREVISION to enforce a cleanup for the easy_install references
With hat: python@
Approved by: portmgr (implicit)
- Bump PORTREVISION (changed pkg-plist)
- Add code to generate the pickle file of sphinx/pycode/Grammar.txt,
otherwise it can be generated indirectly by another port, which uses
the command sphinx-build (analyzing Python code).
See http://goo.gl/AIqn1
Reported by: pointyhat (via erwin)
Approved by: lwhsu (maintainer), via private email