Date: Fri, 26 Apr 2019 05:58:48 +0000 (UTC) From: Kubilay Kocak <koobs@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r500083 - head/www/py-txrequests Message-ID: <201904260558.x3Q5wmeD049325@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: koobs Date: Fri Apr 26 05:58:47 2019 New Revision: 500083 URL: https://svnweb.freebsd.org/changeset/ports/500083 Log: www/py-txrequests: Allow Python 3.x builds txrequests ships a universal (py2,py3) wheel in PyPI, which means its Python 2/3 compatible and that the maintainer used `bdist_wheel --universal` when uploading the wheel to PyPI. buildbot (2.2.0), which is now Python 3.x only, depends on it for tests. txrequests tests (3/3 of them) pass under Python 3, and buildbots test utilising txrequests don't appear to fail. Enable Python 3.x builds accordingly. Modified: head/www/py-txrequests/Makefile Modified: head/www/py-txrequests/Makefile ============================================================================== --- head/www/py-txrequests/Makefile Fri Apr 26 05:13:26 2019 (r500082) +++ head/www/py-txrequests/Makefile Fri Apr 26 05:58:47 2019 (r500083) @@ -16,12 +16,13 @@ LICENSE_FILE= ${WRKSRC}/LICENSE RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}requests>=1.2.0:www/py-requests@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}twisted>=9.0.0:devel/py-twisted@${PY_FLAVOR} -USES= python:-2.7 +USES= python USE_PYTHON= autoplist distutils NO_ARCH= yes TEST_ENV= PYTHONPATH=${TEST_WRKSRC} + do-test: @cd ${WRKSRC} && ${SETENV} ${TEST_ENV} ${LOCALBASE}/bin/trial ${WRKSRC}/test_txrequests.py
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201904260558.x3Q5wmeD049325>