aboutsummaryrefslogtreecommitdiffstats
path: root/textproc
diff options
context:
space:
mode:
authorcpm <cpm@FreeBSD.org>2016-06-05 05:03:27 +0800
committercpm <cpm@FreeBSD.org>2016-06-05 05:03:27 +0800
commit9abfac3813ad5264d73bc99ae6c11911e6b3da93 (patch)
treeb48e110c764c746bfc2041079e87f457c5b7afcc /textproc
parent3474d2b3635fa557ac813ef4ef0dae52a36960b8 (diff)
downloadfreebsd-ports-gnome-9abfac3813ad5264d73bc99ae6c11911e6b3da93.tar.gz
freebsd-ports-gnome-9abfac3813ad5264d73bc99ae6c11911e6b3da93.tar.zst
freebsd-ports-gnome-9abfac3813ad5264d73bc99ae6c11911e6b3da93.zip
- Add LICENSE_FILE
- Add NO_ARCH - Fix RUN_DEPENDS - Add TEST_DEPENDS and include a do-test target - Update MAINTAINER to my @FreeBSD.org address - Update WWW in pkg-descr - Bump PORTREVISION Reviewed by: amdmi3 (mentor) Approved by: amdmi3 (mentor) Differential Revision: D6700
Diffstat (limited to 'textproc')
-rw-r--r--textproc/py-sphinxcontrib-programoutput/Makefile12
-rw-r--r--textproc/py-sphinxcontrib-programoutput/distinfo1
-rw-r--r--textproc/py-sphinxcontrib-programoutput/pkg-descr2
3 files changed, 12 insertions, 3 deletions
diff --git a/textproc/py-sphinxcontrib-programoutput/Makefile b/textproc/py-sphinxcontrib-programoutput/Makefile
index fc13be4a8494..c116c9f9e0b9 100644
--- a/textproc/py-sphinxcontrib-programoutput/Makefile
+++ b/textproc/py-sphinxcontrib-programoutput/Makefile
@@ -3,18 +3,26 @@
PORTNAME= sphinxcontrib-programoutput
PORTVERSION= 0.8
+PORTREVISION= 1
CATEGORIES= textproc
MASTER_SITES= CHEESESHOP
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
-MAINTAINER= cpm@fbsd.es
+MAINTAINER= cpm@FreeBSD.org
COMMENT= Sphinx extension to include program output
LICENSE= BSD2CLAUSE
+LICENSE_FILE= ${WRKSRC}/LICENSE
-RUN_DEPENDS= ${PKGNAMEPREFIX}sphinx>=1.1.3:textproc/py-sphinx
+RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}sphinx>=1.1.3:textproc/py-sphinx
+TEST_DEPENDS= ${PYTHON_PKGNAMEPREFIX}pytest>=2.2:devel/py-pytest
USES= python
USE_PYTHON= autoplist distutils
+NO_ARCH= yes
+
+do-test:
+ @cd ${WRKSRC} && ${PYTHON_CMD} -m pytest
+
.include <bsd.port.mk>
diff --git a/textproc/py-sphinxcontrib-programoutput/distinfo b/textproc/py-sphinxcontrib-programoutput/distinfo
index 1713e83c163e..9a7d243fd997 100644
--- a/textproc/py-sphinxcontrib-programoutput/distinfo
+++ b/textproc/py-sphinxcontrib-programoutput/distinfo
@@ -1,2 +1,3 @@
+TIMESTAMP = 1464922684
SHA256 (sphinxcontrib-programoutput-0.8.tar.gz) = 1776a03124bab87e35576f7f3992fc21d5bb457321b35e6023eb011dbed10a25
SIZE (sphinxcontrib-programoutput-0.8.tar.gz) = 14419
diff --git a/textproc/py-sphinxcontrib-programoutput/pkg-descr b/textproc/py-sphinxcontrib-programoutput/pkg-descr
index a0942853db93..0c8618ef93b6 100644
--- a/textproc/py-sphinxcontrib-programoutput/pkg-descr
+++ b/textproc/py-sphinxcontrib-programoutput/pkg-descr
@@ -1,4 +1,4 @@
A Sphinx extension to literally insert the output of arbitrary commands into
documents, helping you to keep your command examples up to date.
-WWW: http://sphinxcontrib-programoutput.readthedocs.org/
+WWW: http://pythonhosted.org/sphinxcontrib-programoutput/