mirror of
https://git.freebsd.org/ports.git
synced 2025-05-15 00:31:51 -04:00
- 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
27 lines
854 B
Makefile
27 lines
854 B
Makefile
PORTNAME= numpydoc
|
|
PORTVERSION= 1.6.0
|
|
CATEGORIES= textproc python
|
|
MASTER_SITES= PYPI
|
|
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
|
|
|
|
MAINTAINER= python@FreeBSD.org
|
|
COMMENT= Sphinx extension to support docstrings in Numpy format
|
|
WWW= https://numpydoc.readthedocs.io/en/latest/ \
|
|
https://github.com/numpy/numpydoc
|
|
|
|
LICENSE= BSD2CLAUSE
|
|
LICENSE_FILE= ${WRKSRC}/LICENSE.txt
|
|
|
|
BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}setuptools>=61.2:devel/py-setuptools@${PY_FLAVOR} \
|
|
${PYTHON_PKGNAMEPREFIX}wheel>=0:devel/py-wheel@${PY_FLAVOR}
|
|
RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}Jinja2>=2.10:devel/py-Jinja2@${PY_FLAVOR} \
|
|
${PYTHON_PKGNAMEPREFIX}sphinx>=5,1:textproc/py-sphinx@${PY_FLAVOR} \
|
|
${PYTHON_PKGNAMEPREFIX}tabulate>=0.8.9:devel/py-tabulate@${PY_FLAVOR} \
|
|
${PY_TOMLI}
|
|
|
|
USES= python
|
|
USE_PYTHON= autoplist concurrent pep517 nose
|
|
|
|
NO_ARCH= yes
|
|
|
|
.include <bsd.port.mk>
|