diff options
author | sunpoet <sunpoet@FreeBSD.org> | 2018-03-24 00:46:00 +0800 |
---|---|---|
committer | sunpoet <sunpoet@FreeBSD.org> | 2018-03-24 00:46:00 +0800 |
commit | 5aa53fbea688fdd9d502370f00f9ace3173e4c7e (patch) | |
tree | 22063087829dc43e4bc9aa15074efdef26303ce2 /www | |
parent | 63d06e617369131bcf0362ebf746533185e68e8b (diff) | |
download | freebsd-ports-gnome-5aa53fbea688fdd9d502370f00f9ace3173e4c7e.tar.gz freebsd-ports-gnome-5aa53fbea688fdd9d502370f00f9ace3173e4c7e.tar.zst freebsd-ports-gnome-5aa53fbea688fdd9d502370f00f9ace3173e4c7e.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)
Diffstat (limited to 'www')
-rw-r--r-- | www/py-webob/Makefile | 28 | ||||
-rw-r--r-- | www/py-webob/distinfo | 6 |
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 |