From owner-svn-ports-head@freebsd.org Tue Jul 19 19:12:43 2016 Return-Path: Delivered-To: svn-ports-head@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id E03B9B9E9B8; Tue, 19 Jul 2016 19:12:43 +0000 (UTC) (envelope-from jbeich@FreeBSD.org) Received: from repo.freebsd.org (repo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 8DE36163F; Tue, 19 Jul 2016 19:12:43 +0000 (UTC) (envelope-from jbeich@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id u6JJCgua025980; Tue, 19 Jul 2016 19:12:42 GMT (envelope-from jbeich@FreeBSD.org) Received: (from jbeich@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id u6JJCgc6025975; Tue, 19 Jul 2016 19:12:42 GMT (envelope-from jbeich@FreeBSD.org) Message-Id: <201607191912.u6JJCgc6025975@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: jbeich set sender to jbeich@FreeBSD.org using -f From: Jan Beich Date: Tue, 19 Jul 2016 19:12:42 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r418812 - in head/www: py-flask-restplus py-flask-restplus08 X-SVN-Group: ports-head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-head@freebsd.org X-Mailman-Version: 2.1.22 Precedence: list List-Id: SVN commit messages for the ports tree for head List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 19 Jul 2016 19:12:44 -0000 Author: jbeich Date: Tue Jul 19 19:12:42 2016 New Revision: 418812 URL: https://svnweb.freebsd.org/changeset/ports/418812 Log: www/py-flask-restplus{,08}: fix |make test| via pytest - Switch to USE_GITHUB as postman-v1.schema.json isn't included in PyPI tarball PR: 211174 Approved by: Andrej Ebert (maintainer) Modified: head/www/py-flask-restplus/Makefile (contents, props changed) head/www/py-flask-restplus/distinfo (contents, props changed) head/www/py-flask-restplus08/Makefile (contents, props changed) head/www/py-flask-restplus08/distinfo (contents, props changed) Modified: head/www/py-flask-restplus/Makefile ============================================================================== --- head/www/py-flask-restplus/Makefile Tue Jul 19 19:06:03 2016 (r418811) +++ head/www/py-flask-restplus/Makefile Tue Jul 19 19:12:42 2016 (r418812) @@ -3,7 +3,6 @@ PORTNAME= flask-restplus PORTVERSION= 0.9.2 CATEGORIES= www python -MASTER_SITES= CHEESESHOP PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} MAINTAINER= andrej@ebert.su @@ -17,20 +16,27 @@ RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}Flas ${PYTHON_PKGNAMEPREFIX}jsonschema>0:devel/py-jsonschema \ ${PYTHON_PKGNAMEPREFIX}pytz>0:devel/py-pytz \ ${PYTHON_PKGNAMEPREFIX}aniso8601>=0.82:devel/py-aniso8601 - -TEST_DEPENDS:= ${RUN_DEPENDS} \ +TEST_DEPENDS= ${PYTHON_PKGNAMEPREFIX}blinker>0:devel/py-blinker \ ${PYTHON_PKGNAMEPREFIX}nose>0:devel/py-nose \ - ${PYTHON_PKGNAMEPREFIX}rednose>0:devel/py-rednose \ - ${PYTHON_PKGNAMEPREFIX}blinker>0:devel/py-blinker \ - ${PYTHON_PKGNAMEPREFIX}tzlocal>0:devel/py-tzlocal + ${PYTHON_PKGNAMEPREFIX}pytest>0:devel/py-pytest CONFLICTS_INSTALL= ${PYTHON_PKGNAMEPREFIX}flask-restplus08 +USE_GITHUB= yes +GH_ACCOUNT= noirbizarre + USES= python USE_PYTHON= autoplist distutils NO_ARCH= yes +.include + +.if ${PYTHON_REL} < 3300 +TEST_DEPENDS+= ${PYTHON_PKGNAMEPREFIX}mock>0:devel/py-mock +.endif + do-test: - @(cd ${WRKSRC} && ${PYTHON_CMD} ${PYDISTUTILS_SETUP} test) + @${RM} -fr ${TEST_WRKSRC}/build/lib/tests + @(cd ${TEST_WRKSRC} && ${SETENV} ${TEST_ENV} ${PYTHON_CMD} -m pytest) -.include +.include Modified: head/www/py-flask-restplus/distinfo ============================================================================== --- head/www/py-flask-restplus/distinfo Tue Jul 19 19:06:03 2016 (r418811) +++ head/www/py-flask-restplus/distinfo Tue Jul 19 19:12:42 2016 (r418812) @@ -1,3 +1,3 @@ TIMESTAMP = 1468167697 -SHA256 (flask-restplus-0.9.2.tar.gz) = c4313097a673ef2cffabceb44b6fdd03132ee5e7ab34d0289c37af12a3d11186 -SIZE (flask-restplus-0.9.2.tar.gz) = 868988 +SHA256 (noirbizarre-flask-restplus-0.9.2_GH0.tar.gz) = df87a84ec65e0b35cc9e4f98f21358087468761f45a27f2ca74583439bbb3114 +SIZE (noirbizarre-flask-restplus-0.9.2_GH0.tar.gz) = 255824 Modified: head/www/py-flask-restplus08/Makefile ============================================================================== --- head/www/py-flask-restplus08/Makefile Tue Jul 19 19:06:03 2016 (r418811) +++ head/www/py-flask-restplus08/Makefile Tue Jul 19 19:12:42 2016 (r418812) @@ -3,7 +3,6 @@ PORTNAME= flask-restplus PORTVERSION= 0.8.6 CATEGORIES= www python -MASTER_SITES= CHEESESHOP PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} PKGNAMESUFFIX= 08 @@ -18,21 +17,28 @@ RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}Flas ${PYTHON_PKGNAMEPREFIX}jsonschema>0:devel/py-jsonschema \ ${PYTHON_PKGNAMEPREFIX}pytz>0:devel/py-pytz \ ${PYTHON_PKGNAMEPREFIX}aniso8601>=0.82:devel/py-aniso8601 - -TEST_DEPENDS:= ${RUN_DEPENDS} \ +TEST_DEPENDS= ${PYTHON_PKGNAMEPREFIX}blinker>0:devel/py-blinker \ ${PYTHON_PKGNAMEPREFIX}nose>0:devel/py-nose \ - ${PYTHON_PKGNAMEPREFIX}rednose>0:devel/py-rednose \ - ${PYTHON_PKGNAMEPREFIX}blinker>0:devel/py-blinker \ - ${PYTHON_PKGNAMEPREFIX}tzlocal>0:devel/py-tzlocal + ${PYTHON_PKGNAMEPREFIX}pytest>0:devel/py-pytest CONFLICTS_INSTALL= ${PYTHON_PKGNAMEPREFIX}flask-restplus PORTSCOUT= limit:^0\.8 +USE_GITHUB= yes +GH_ACCOUNT= noirbizarre + USES= python USE_PYTHON= autoplist distutils NO_ARCH= yes +.include + +.if ${PYTHON_REL} < 3300 +TEST_DEPENDS+= ${PYTHON_PKGNAMEPREFIX}mock>0:devel/py-mock +.endif + do-test: - @(cd ${WRKSRC} && ${PYTHON_CMD} ${PYDISTUTILS_SETUP} test) + @${RM} -fr ${TEST_WRKSRC}/build/lib/tests + @(cd ${TEST_WRKSRC} && ${SETENV} ${TEST_ENV} ${PYTHON_CMD} -m pytest) -.include +.include Modified: head/www/py-flask-restplus08/distinfo ============================================================================== --- head/www/py-flask-restplus08/distinfo Tue Jul 19 19:06:03 2016 (r418811) +++ head/www/py-flask-restplus08/distinfo Tue Jul 19 19:12:42 2016 (r418812) @@ -1,3 +1,3 @@ TIMESTAMP = 1468851260 -SHA256 (flask-restplus-0.8.6.tar.gz) = 3bb76cc156b9a09da62396d82b29fa31e4f27cccf79528538fe7155cf2785593 -SIZE (flask-restplus-0.8.6.tar.gz) = 1077073 +SHA256 (noirbizarre-flask-restplus-0.8.6_GH0.tar.gz) = 5f10e1391e99216f74cc5053c421bfed3ccdc2ef16569bf4a31c01bfebff74c6 +SIZE (noirbizarre-flask-restplus-0.8.6_GH0.tar.gz) = 100249