notbugAs an Amazon Associate I earn from qualifying purchases.
Want a good read? Try FreeBSD Mastery: Jails (IT Mastery Book 15)
Want a good monitor light? See my photosAll times are UTC
Ukraine
Port details
py-docformatter Format docstrings to follow PEP 257
1.7.5 devel on this many watch lists=2 search for ports that depend on this port Find issues related to this port Report an issue related to this port View this port on Repology. pkg-fallout 1.7.5Version of this port present on the latest quarterly branch.
Maintainer: sunpoet@FreeBSD.org search for ports maintained by this maintainer
Port Added: 2023-11-27 18:09:06
Last Update: 2024-07-21 16:55:40
Commit Hash: 180cd73
People watching this port, also watch:: jdictionary, py311-Automat, py311-python-gdsii, py39-PyOpenGL, p5-Sane
Also Listed In: python
License: MIT
WWW:
https://docformatter.readthedocs.io/en/latest/
https://github.com/PyCQA/docformatter
Description:
docformatter automatically formats docstrings to follow a subset of the PEP 257 conventions. Below are the relevant items quoted from PEP 257. - For consistency, always use triple double quotes around docstrings. - Triple quotes are used even though the string fits on one line. - Multi-line docstrings consist of a summary line just like a one-line docstring, followed by a blank line, followed by a more elaborate description. - Unless the entire docstring fits on a line, place the closing quotes on a line by themselves. docformatter also handles some of the PEP 8 conventions. - Don't write string literals that rely on significant trailing whitespace. Such trailing whitespace is visually indistinguishable and some editors (or more recently, reindent.py) will trim them. docformatter formats docstrings compatible with black when passed the --black option. docformatter formats field lists that use Epytext or Sphinx styles.
HomepageHomepage    cgit ¦ Codeberg ¦ GitHub ¦ GitLab ¦ SVNWeb - no subversion history for this port

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}docformatter>0:devel/py-docformatter@${PY_FLAVOR}
To install the port:
cd /usr/ports/devel/py-docformatter/ && make install clean
To add the package, run one of these commands:
  • pkg install devel/py-docformatter
  • pkg install py311-docformatter
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-docformatter listed in the above command, you can pick from the names under the Packages section.
PKGNAME: py311-docformatter
Package flavors (<flavor>: <package>)
  • py311: py311-docformatter
distinfo:
TIMESTAMP = 1701083330 SHA256 (docformatter-1.7.5.tar.gz) = ffed3da0daffa2e77f80ccba4f0e50bfa2755e1c10e130102571c890a61b246e SIZE (docformatter-1.7.5.tar.gz) = 25893

Packages (timestamps in pop-ups are UTC):
py39-docformatter
ABIaarch64amd64armv6armv7i386powerpcpowerpc64powerpc64le
FreeBSD:13:latest--------
FreeBSD:13:quarterly-----1.7.51.7.51.7.5
FreeBSD:14:latest--------
FreeBSD:14:quarterly-----1.7.51.7.51.7.5
FreeBSD:15:latest--n/a-n/a1.7.51.7.51.7.5
 

py311-docformatter
ABIaarch64amd64armv6armv7i386powerpcpowerpc64powerpc64le
FreeBSD:13:latest1.7.51.7.5-1.7.51.7.5---
FreeBSD:13:quarterly1.7.51.7.5-1.7.51.7.5---
FreeBSD:14:latest1.7.51.7.5-1.7.51.7.5---
FreeBSD:14:quarterly1.7.51.7.5-1.7.51.7.5---
FreeBSD:15:latest1.7.51.7.5n/a1.7.5n/a---
 

Dependencies
NOTE: FreshPorts displays only information on required and default dependencies. Optional dependencies are not covered.
Build dependencies:
  1. py311-poetry-core>=1.0.0 : devel/py-poetry-core@py311
  2. python3.11 : lang/python311
  3. py311-build>=0 : devel/py-build@py311
  4. py311-installer>=0 : devel/py-installer@py311
Test dependencies:
  1. python3.11 : lang/python311
Runtime dependencies:
  1. py311-charset-normalizer>=3.0.0<4 : textproc/py-charset-normalizer@py311
  2. py311-untokenize>=0.1.1<0.2 : devel/py-untokenize@py311
  3. python3.11 : lang/python311
There are no ports dependent upon this port

Configuration Options:
===> The following configuration options are available for py311-docformatter-1.7.5: TOMLI=on: TOML (Tom's Obvious Minimal Language) support ===> Use 'make config' to modify these settings
Options name:
devel_py-docformatter
USES:
python shebangfix
FreshPorts was unable to extract/find any pkg message
Master Sites:
Expand this list (2 items)
Collapse this list.
  1. https://files.pythonhosted.org/packages/source/d/docformatter/
  2. https://pypi.org/packages/source/d/docformatter/
Collapse this list.

Number of commits found: 2

Commit History - (may be incomplete: for full details, see links to repositories near top of page)
CommitCreditsLog message
1.7.5
21 Jul 2024 16:55:40
commit hash: 180cd7365c99492bcd78a06b5070190e6f950245commit hash: 180cd7365c99492bcd78a06b5070190e6f950245commit hash: 180cd7365c99492bcd78a06b5070190e6f950245commit hash: 180cd7365c99492bcd78a06b5070190e6f950245 files touched by this commit
Po-Chuan Hsieh (sunpoet) search for other commits by this committer
Mk/Uses/python.mk: Introduce PY_TOMLI

- Convert ports to use PY_TOMLI to simplify Makefile.

The minimal version is set to 2.0.1 because it is required by multiple ports
such as devel/py-poetry.
The upper bound of version is set to 3 because it is limited by devel/py-poetry.

With hat:	python
1.7.5
27 Nov 2023 18:07:44
commit hash: c18d4609ce0539c00b85a7e139ac9da1f4237b92commit hash: c18d4609ce0539c00b85a7e139ac9da1f4237b92commit hash: c18d4609ce0539c00b85a7e139ac9da1f4237b92commit hash: c18d4609ce0539c00b85a7e139ac9da1f4237b92 files touched by this commit
Po-Chuan Hsieh (sunpoet) search for other commits by this committer
devel/py-docformatter: Add py-docformatter 1.7.5

docformatter automatically formats docstrings to follow a subset of the PEP 257
conventions. Below are the relevant items quoted from PEP 257.
- For consistency, always use triple double quotes around docstrings.
- Triple quotes are used even though the string fits on one line.
- Multi-line docstrings consist of a summary line just like a one-line
  docstring, followed by a blank line, followed by a more elaborate description.
- Unless the entire docstring fits on a line, place the closing quotes on a line
  by themselves.

docformatter also handles some of the PEP 8 conventions.
- Don't write string literals that rely on significant trailing whitespace. Such
  trailing whitespace is visually indistinguishable and some editors (or more
  recently, reindent.py) will trim them.

docformatter formats docstrings compatible with black when passed the --black
option.

docformatter formats field lists that use Epytext or Sphinx styles.

Number of commits found: 2