mirror of
https://git.freebsd.org/ports.git
synced 2025-04-28 09:36:41 -04:00
sphinxcontrib-django is a sphinx extension which improves the documentation of Django apps. Improvements for the output of Sphinx's autodoc for Django classes: - List all model and form fields as class parameters - Improve model field representations - Link related and reverse related fields to the referenced class - Hide irrelevant runtime information like declared_fieldsets, fieldsets and Meta from classes - Add information about autogenerated methods - Fix intersphinx mappings to Django modules - Custom text roles to cross-reference the documentations of Django (:setting:, :templatetag:, :templatefilter:, :fieldlookup:) and Sphinx (:event:, :confval:)
25 lines
797 B
Makefile
25 lines
797 B
Makefile
PORTNAME= sphinxcontrib-django
|
|
PORTVERSION= 2.5
|
|
CATEGORIES= textproc python
|
|
MASTER_SITES= PYPI
|
|
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
|
|
|
|
MAINTAINER= sunpoet@FreeBSD.org
|
|
COMMENT= Improve the Sphinx autodoc for Django classes
|
|
WWW= https://github.com/sphinx-doc/sphinxcontrib-django
|
|
|
|
LICENSE= APACHE20
|
|
LICENSE_FILE= ${WRKSRC}/LICENSE
|
|
|
|
BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}setuptools>=0:devel/py-setuptools@${PY_FLAVOR} \
|
|
${PYTHON_PKGNAMEPREFIX}wheel>=0:devel/py-wheel@${PY_FLAVOR}
|
|
RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}django42>=3.2:www/py-django42@${PY_FLAVOR} \
|
|
${PYTHON_PKGNAMEPREFIX}pprintpp>=0:devel/py-pprintpp@${PY_FLAVOR} \
|
|
${PYTHON_PKGNAMEPREFIX}sphinx>=3.4.0,1:textproc/py-sphinx@${PY_FLAVOR}
|
|
|
|
USES= python
|
|
USE_PYTHON= autoplist concurrent pep517
|
|
|
|
NO_ARCH= yes
|
|
|
|
.include <bsd.port.mk>
|