Numpy's documentation uses several custom extensions to Sphinx. These are shipped in this numpydoc package, in case you want to make use of them in third-party projects. WWW: https://github.com/numpy/numpydoc Submitted by: cpm Reviewed by: amdmi3 (mentor) Approved by: amdmi3 (mentor) Differential Revision: D6451
27 lines
610 B
Makefile
27 lines
610 B
Makefile
# Created by: Carlos J. Puga Medina <cpm@FreeBSD.org>
|
|
# $FreeBSD$
|
|
|
|
PORTNAME= numpydoc
|
|
PORTVERSION= 0.6.0
|
|
CATEGORIES= textproc python
|
|
MASTER_SITES= CHEESESHOP
|
|
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
|
|
|
|
MAINTAINER= cpm@FreeBSD.org
|
|
COMMENT= Sphinx extension to support docstrings in Numpy format
|
|
|
|
LICENSE= BSD2CLAUSE
|
|
LICENSE_FILE= ${WRKSRC}/LICENSE.txt
|
|
|
|
RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}sphinx>=1.0.1:textproc/py-sphinx
|
|
TEST_DEPENDS= ${PYTHON_PKGNAMEPREFIX}nose>=0:devel/py-nose
|
|
|
|
USES= python
|
|
USE_PYTHON= autoplist distutils
|
|
|
|
NO_ARCH= yes
|
|
|
|
do-test:
|
|
cd ${WRKSRC} && ${PYTHON_CMD} -m nose
|
|
|
|
.include <bsd.port.mk>
|