aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSunpoet Po-Chuan Hsieh <sunpoet@FreeBSD.org>2018-03-24 00:46:00 +0800
committerSunpoet Po-Chuan Hsieh <sunpoet@FreeBSD.org>2018-03-24 00:46:00 +0800
commitb8fbed998daa3f60b818a67fc80c6ba06fbe2576 (patch)
tree22063087829dc43e4bc9aa15074efdef26303ce2
parent55f22e172a716537c302afd01456339ef01e223d (diff)
downloadfreebsd-ports-b8fbed998daa3f60b818a67fc80c6ba06fbe2576.tar.gz
freebsd-ports-b8fbed998daa3f60b818a67fc80c6ba06fbe2576.tar.zst
freebsd-ports-b8fbed998daa3f60b818a67fc80c6ba06fbe2576.zip
Update to 1.7.4
- Add TEST_DEPENDS - Convert to options helper - Remove TESTS option - Add NO_ARCH Changes: https://docs.pylonsproject.org/projects/webob/en/stable/changes.html https://github.com/Pylons/webob/blob/master/CHANGES.txt PR: 226781 Submitted by: sunpoet (myself) Approved by: nivit (maintainer)
Notes
Notes: svn path=/head/; revision=465383
-rw-r--r--www/py-webob/Makefile28
-rw-r--r--www/py-webob/distinfo6
2 files changed, 14 insertions, 20 deletions
diff --git a/www/py-webob/Makefile b/www/py-webob/Makefile
index 2e976c5d7f3d..e8907d7707f8 100644
--- a/www/py-webob/Makefile
+++ b/www/py-webob/Makefile
@@ -1,7 +1,7 @@
# $FreeBSD$
PORTNAME= webob
-PORTVERSION= 1.6.3
+PORTVERSION= 1.7.4
CATEGORIES= www python
MASTER_SITES= CHEESESHOP
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
@@ -12,31 +12,25 @@ COMMENT= WSGI request and response Python object
LICENSE= MIT
-DOCS_BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}sphinx>0:textproc/py-sphinx@${FLAVOR}
+TEST_DEPENDS= ${PYTHON_PKGNAMEPREFIX}coverage>=0:devel/py-coverage@${FLAVOR} \
+ ${PYTHON_PKGNAMEPREFIX}pytest-cov>=0:devel/py-pytest-cov@${FLAVOR} \
+ ${PYTHON_PKGNAMEPREFIX}pytest>=0:devel/py-pytest@${FLAVOR}
+
+DOCS_BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}pylons-sphinx-themes>=0:textproc/py-pylons-sphinx-themes@${FLAVOR} \
+ ${PYTHON_PKGNAMEPREFIX}sphinx>=1.3.1:textproc/py-sphinx@${FLAVOR}
+DOCS_VARS= PYDISTUTILS_BUILD_TARGET+="build_sphinx -a -E"
DOCSDIR= ${PREFIX}/share/doc/${PYTHON_PKGNAMEPREFIX}${PORTNAME}
-OPTIONS_DEFINE= DOCS TESTS
+OPTIONS_DEFINE= DOCS
PORTDOCS= *
+NO_ARCH= yes
USES= python
USE_PYTHON= distutils autoplist
-TESTS_BUILD_DEPENDS= nosetests:devel/py-nose
-TESTS_DESC= Run tests with Nose
-
-.include <bsd.port.options.mk>
-
-.if ${PORT_OPTIONS:MDOCS}
-PYDISTUTILS_BUILD_TARGET+= build_sphinx -a -E
-
-post-install:
+post-install-DOCS-on:
@(cd ${WRKSRC}/build/sphinx/html && \
${COPYTREE_SHARE} . ${STAGEDIR}${DOCSDIR} "! -name .buildinfo -and ! -name objectiv.inv")
-.endif
-
-.if ${PORT_OPTIONS:MTESTS}
-PYDISTUTILS_BUILD_TARGET+= nosetests
-.endif
.include <bsd.port.mk>
diff --git a/www/py-webob/distinfo b/www/py-webob/distinfo
index c3b4bcb8baec..f0f44e33ae6f 100644
--- a/www/py-webob/distinfo
+++ b/www/py-webob/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1479560616
-SHA256 (WebOb-1.6.3.tar.gz) = 1b03115e162dd0102f6147c5d5ed71a3a2ba0f58ef829244b64f52fe6dbf5888
-SIZE (WebOb-1.6.3.tar.gz) = 206375
+TIMESTAMP = 1521342831
+SHA256 (WebOb-1.7.4.tar.gz) = 8d10af182fda4b92193113ee1edeb687ab9dc44336b37d6804e413f0240d40d9
+SIZE (WebOb-1.7.4.tar.gz) = 219331