Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 23 Mar 2018 16:46:00 +0000 (UTC)
From:      Sunpoet Po-Chuan Hsieh <sunpoet@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r465383 - head/www/py-webob
Message-ID:  <201803231646.w2NGk06F009544@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: sunpoet
Date: Fri Mar 23 16:46:00 2018
New Revision: 465383
URL: https://svnweb.freebsd.org/changeset/ports/465383

Log:
  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)

Modified:
  head/www/py-webob/Makefile
  head/www/py-webob/distinfo

Modified: head/www/py-webob/Makefile
==============================================================================
--- head/www/py-webob/Makefile	Fri Mar 23 16:45:55 2018	(r465382)
+++ head/www/py-webob/Makefile	Fri Mar 23 16:46:00 2018	(r465383)
@@ -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>

Modified: head/www/py-webob/distinfo
==============================================================================
--- head/www/py-webob/distinfo	Fri Mar 23 16:45:55 2018	(r465382)
+++ head/www/py-webob/distinfo	Fri Mar 23 16:46:00 2018	(r465383)
@@ -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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201803231646.w2NGk06F009544>