Port details |
- py-mkdocstrings-python-legacy Legacy Python handler for mkdocstrings
- 0.2.7 textproc
=2 0.2.6Version of this port present on the latest quarterly branch. - Maintainer: kai@FreeBSD.org
 - Port Added: 2023-08-31 05:48:27
- Last Update: 2025-05-29 14:21:45
- Commit Hash: 533a2fd
- People watching this port, also watch:: jdictionary, py311-Automat, py311-python-gdsii, py311-PyOpenGL, p5-Sane
- Also Listed In: python
- License: ISCL
- WWW:
- https://github.com/mkdocstrings/python-legacy
- Description:
- This Python handler for the "mkdocstrings" package uses PyTkDocs
(= textproc/py-pytkdocs) to collect documentation from Python source code.
Features:
* Data collection from source code: collection of the object-tree and the
docstrings is done thanks to pytkdocs.
* Support for type annotations: pytkdocs collects your type annotations and
mkdocstrings uses them to display parameters types or return types.
* Recursive documentation of Python objects: just use the module dotted-path as
identifier, and you get the full module docs. You don't need to inject
documentation for each class, function, etc.
* Support for documented attributes: attributes (variables) followed by a
docstring (triple-quoted string) will be recognized by Griffe in modules,
classes and even in __init__ methods.
* Multiple docstring-styles support: common support for Google-style,
Numpydoc-style, and Sphinx-style docstrings.
¦ ¦ ¦ ¦ 
- Manual pages:
- FreshPorts has no man page information for this port.
- pkg-plist: as obtained via:
make generate-plist - There is no configure plist information for this port.
- Dependency lines:
-
- ${PYTHON_PKGNAMEPREFIX}mkdocstrings-python-legacy>0:textproc/py-mkdocstrings-python-legacy@${PY_FLAVOR}
- Conflicts:
- CONFLICTS_INSTALL:
- py311-mkdocstrings-python
- To install the port:
- cd /usr/ports/textproc/py-mkdocstrings-python-legacy/ && make install clean
- To add the package, run one of these commands:
- pkg install textproc/py-mkdocstrings-python-legacy
- pkg install py311-mkdocstrings-python-legacy
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 py311-mkdocstrings-python-legacy listed in the above command, you can pick from the names under the Packages section.- PKGNAME: py311-mkdocstrings-python-legacy
- Package flavors (<flavor>: <package>)
- py311: py311-mkdocstrings-python-legacy
- distinfo:
- TIMESTAMP = 1748511463
SHA256 (mkdocstrings_python_legacy-0.2.7.tar.gz) = 1aa8a277a332fb0d49be3786de3fa18af7d8792e8d611f6ba8d550dc3a1ff8a1
SIZE (mkdocstrings_python_legacy-0.2.7.tar.gz) = 99605
Packages (timestamps in pop-ups are UTC):
- Dependencies
- NOTE: FreshPorts displays only information on required and default dependencies. Optional dependencies are not covered.
- Build dependencies:
-
- py311-pdm-backend>0 : devel/py-pdm-backend@py311
- python3.11 : lang/python311
- py311-build>=0 : devel/py-build@py311
- py311-installer>=0 : devel/py-installer@py311
- Test dependencies:
-
- py311-mkdocs-material>0 : textproc/py-mkdocs-material@py311
- py311-mkdocstrings>=0.28.3 : textproc/py-mkdocstrings@py311
- py311-pytest>=7,1 : devel/py-pytest@py311
- python3.11 : lang/python311
- Runtime dependencies:
-
- py311-mkdocs-autorefs>=1.1 : textproc/py-mkdocs-autorefs@py311
- py311-pytkdocs>=0.14 : textproc/py-pytkdocs@py311
- python3.11 : lang/python311
- There are no ports dependent upon this port
Configuration Options:
- No options to configure
- Options name:
- textproc_py-mkdocstrings-python-legacy
- USES:
- python
- FreshPorts was unable to extract/find any pkg message
- Master Sites:
|
Commit History - (may be incomplete: for full details, see links to repositories near top of page) |
Commit | Credits | Log message |
0.2.7 29 May 2025 14:21:45
    |
Kai Knoblich (kai)  |
textproc/py-mkdocstrings-python-legacy: Update to 0.2.7
* Adjust USES=python accordingly, because Python 3.8 is no longer
present in the ports tree after ca15850a2b13 while I'm here.
Changelog:
https://github.com/mkdocstrings/python-legacy/releases/tag/0.2.7 |
0.2.6 25 Mar 2025 07:41:22
    |
Kai Knoblich (kai)  |
textproc/py-mkdocstrings-python-legacy: Update to 0.2.6
* Switch back to PyPI because since this release the sdist tarball
contain all the required Python source files again and remove the
no longer required workaround for "pyproject.toml".
Changelog:
https://github.com/mkdocstrings/python-legacy/releases/tag/0.2.6 |
0.2.5 22 Mar 2025 16:11:34
    |
Kai Knoblich (kai)  |
textproc/py-mkdocstrings-python-legacy: Update to 0.2.5
* Switch to GitHub for while as the sdist tarball at PyPI doesn't
contain all required Python source files.
* Support for Python 3.8 was dropped with this release, thus remove
a now obsolete hint regarding the Python version.
Changelog:
https://github.com/mkdocstrings/python-legacy/releases/tag/0.2.5 |
0.2.4 27 Jan 2025 05:15:35
    |
Kai Knoblich (kai)  |
textproc/py-mkdocstrings-{crystal,python-legacy}: Adjust USE_PYTHON
* Since c0c720d7ebf0 the dependency textproc/py-mkdocs-autorefs requires
at least Python version 3.10 or newer and packages of this port for
older Python versions can no longer be build, thus set USE_PYTHON
accordingly. |
0.2.4 03 Nov 2024 19:50:29
    |
Kai Knoblich (kai)  |
textproc/py-mkdocstrings-python-legacy: Update to 0.2.4
* Remove no longer required workaround for "pyproject.toml".
* Enable all tests from the test suite, which are now packaged in the
recent sdists.
Changelog:
https://github.com/mkdocstrings/python-legacy/releases/tag/0.2.4 |
0.2.3 31 Aug 2023 05:44:11
    |
Kai Knoblich (kai)  |
textproc/py-mkdocstrings-python-legacy: New port
This Python handler for the "mkdocstrings" package uses PyTkDocs
(= textproc/py-pytkdocs) to collect documentation from Python source
code.
Features:
* Data collection from source code: collection of the object-tree and
the docstrings is done thanks to pytkdocs.
* Support for type annotations: pytkdocs collects your type annotations
and mkdocstrings uses them to display parameters types or return
types.
* Recursive documentation of Python objects: just use the module
dotted-path as identifier, and you get the full module docs. You don't
need to inject documentation for each class, function, etc.
* Support for documented attributes: attributes (variables) followed by
a docstring (triple-quoted string) will be recognized by Griffe in
modules, classes and even in __init__ methods.
* Multiple docstring-styles support: common support for Google-style,
Numpydoc-style, and Sphinx-style docstrings. |