aboutsummaryrefslogtreecommitdiffstats
path: root/textproc
diff options
context:
space:
mode:
authorcpm <cpm@FreeBSD.org>2016-05-22 01:43:57 +0800
committercpm <cpm@FreeBSD.org>2016-05-22 01:43:57 +0800
commit49af4238f20b92aa50a09c4994c9e0864efe0a9e (patch)
tree7ef2433af661164f10d84b8c7bb82f0884ff0b55 /textproc
parentb3a7e35e61cef8a1c02d8bc524521c03c83203c3 (diff)
downloadfreebsd-ports-gnome-49af4238f20b92aa50a09c4994c9e0864efe0a9e.tar.gz
freebsd-ports-gnome-49af4238f20b92aa50a09c4994c9e0864efe0a9e.tar.zst
freebsd-ports-gnome-49af4238f20b92aa50a09c4994c9e0864efe0a9e.zip
New port: textproc/py-numpydoc
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
Diffstat (limited to 'textproc')
-rw-r--r--textproc/Makefile1
-rw-r--r--textproc/py-numpydoc/Makefile27
-rw-r--r--textproc/py-numpydoc/distinfo3
-rw-r--r--textproc/py-numpydoc/pkg-descr5
4 files changed, 36 insertions, 0 deletions
diff --git a/textproc/Makefile b/textproc/Makefile
index 49c0071e9143..04e18fa3ce0e 100644
--- a/textproc/Makefile
+++ b/textproc/Makefile
@@ -1253,6 +1253,7 @@
SUBDIR += py-mistune
SUBDIR += py-mwparserfromhell
SUBDIR += py-nltk
+ SUBDIR += py-numpydoc
SUBDIR += py-openpyxl
SUBDIR += py-paragrep
SUBDIR += py-pdfminer
diff --git a/textproc/py-numpydoc/Makefile b/textproc/py-numpydoc/Makefile
new file mode 100644
index 000000000000..b521946bdeec
--- /dev/null
+++ b/textproc/py-numpydoc/Makefile
@@ -0,0 +1,27 @@
+# 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>
diff --git a/textproc/py-numpydoc/distinfo b/textproc/py-numpydoc/distinfo
new file mode 100644
index 000000000000..69c1e13599ee
--- /dev/null
+++ b/textproc/py-numpydoc/distinfo
@@ -0,0 +1,3 @@
+TIMESTAMP = 1463447147
+SHA256 (numpydoc-0.6.0.tar.gz) = 1ec573e91f6d868a9940d90a6599f3e834a2d6c064030fbe078d922ee21dcfa1
+SIZE (numpydoc-0.6.0.tar.gz) = 32464
diff --git a/textproc/py-numpydoc/pkg-descr b/textproc/py-numpydoc/pkg-descr
new file mode 100644
index 000000000000..e35ff69f87df
--- /dev/null
+++ b/textproc/py-numpydoc/pkg-descr
@@ -0,0 +1,5 @@
+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