BSD Ports

textproc/py-sphinx-last-updated-by-git 0.3.8 FreeBSD

Get the "last updated" time for each Sphinx page from Git

System
FreeBSD
Repository
FreeBSD ports
Maintainer
[email protected]
License
BSD2CLAUSE
Categories
textproc, python
Package size
15.6 KiB, 49.8 KiB installed

Description

This is a little Sphinx extension that does exactly that. It also checks for included files and other dependencies and uses their "last updated" time if it's more recent. For each file, the "author date" of the Git commit where it was last changed is taken to be its "last updated" time. Uncommitted changes are ignored.

If a page doesn't have a source file, its last_updated time is set to None.

The default value for html_last_updated_fmt is changed from None to the empty string.

In the other systems

SystemPortVersion
FreeBSDtextproc/py-sphinx-last-updated-by-git0.3.8
HardenedBSDtextproc/py-sphinx-last-updated-by-git0.3.8
GhostBSDtextproc/py-sphinx-last-updated-by-git0.3.8

Install

Binary package:

pkg install py312-sphinx-last-updated-by-git

From the ports tree:

cd /usr/ports/textproc/py-sphinx-last-updated-by-git/ && make install clean

To depend on this port in another port's Makefile:

RUN_DEPENDS=	py312-sphinx-last-updated-by-git>0:textproc/py-sphinx-last-updated-by-git

Packages

The version each package repository carries. “-” means the repository builds no package of it, “n/a” that there is no such repository.

Repositoryaarch64amd64armv6armv7i386
FreeBSD:14:latest0.3.80.3.8-0.3.80.3.8
FreeBSD:14:quarterly0.3.80.3.8n/a0.3.80.3.8
FreeBSD:15:latest0.3.80.3.8n/a0.3.80.3.8
FreeBSD:15:quarterly0.3.80.3.8n/an/an/a
FreeBSD:16:latest0.3.80.3.8n/an/an/a
FreeBSD:16:quarterlyn/an/an/an/an/a

Dependencies

As this port's Makefile names them.

Build 2

Runtime 2

The full lists below include those, and their dependencies in turn.

Build dependencies 16
Run dependencies 45

Configuration

No options to configure.

USES
python
Service scripts
none

Files

distinfo 1
FileSizeSHA256
sphinx_last_updated_by_git-0.3.8.tar.gz10785c145011f4609d841805b69a9300099fc02fed8f5bb9e5bcef77d97aea97b7761
Master sites 1
  • PYPI

Commit history 0

No commits in the history this site was built from.