svn commit: r410169 - head/www/py-aiohttp
Kubilay Kocak
koobs at FreeBSD.org
Sat Mar 5 11:00:29 UTC 2016
Author: koobs
Date: Sat Mar 5 11:00:28 2016
New Revision: 410169
URL: https://svnweb.freebsd.org/changeset/ports/410169
Log:
www/py-aiohttp: Update to 0.21.2, Modernize
- Update PORTVERSION and distinfo checksum (0.21.2)
- Switch to py3-chardet (C'mon VARIANTS! :|)
- Update TEST_DEPENDS and test target to new framework bits
- Remove TESTS option bits accordingly
- Update USES:python minimum version
- Remove conditional asyncio RUN_DEPENDS accordingly
- Strip shared extensions
Changes:
https://github.com/KeepSafe/aiohttp/blob/v0.21.2/CHANGES.txt
Modified:
head/www/py-aiohttp/Makefile
head/www/py-aiohttp/distinfo
Modified: head/www/py-aiohttp/Makefile
==============================================================================
--- head/www/py-aiohttp/Makefile Sat Mar 5 08:28:19 2016 (r410168)
+++ head/www/py-aiohttp/Makefile Sat Mar 5 11:00:28 2016 (r410169)
@@ -2,7 +2,7 @@
# $FreeBSD$
PORTNAME= aiohttp
-PORTVERSION= 0.16.3
+PORTVERSION= 0.21.2
CATEGORIES= www python
MASTER_SITES= CHEESESHOP
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
@@ -13,28 +13,17 @@ COMMENT= HTTP client/server for asyncio
LICENSE= BSD2CLAUSE
LICENSE_FILE= ${WRKSRC}/LICENSE.txt
-RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}chardet>0:${PORTSDIR}/textproc/py-chardet
-TEST_DEPENDS:= ${RUN_DEPENDS} \
- ${PYTHON_PKGNAMEPREFIX}nose>0:${PORTSDIR}/devel/py-nose \
+RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}chardet>0:${PORTSDIR}/textproc/py3-chardet
+TEST_DEPENDS= ${PYTHON_PKGNAMEPREFIX}pytest>0:${PORTSDIR}/devel/py-pytest \
${PYTHON_PKGNAMEPREFIX}gunicorn>0:${PORTSDIR}/www/py-gunicorn
-OPTIONS_DEFINE= TESTS
-TESTS_DESC= Install test suite requirements
-TESTS_BUILD_DEPENDS= ${TEST_DEPENDS}
-
-USES= python:3.3+
+USES= python:3.4+
USE_PYTHON= autoplist distutils
-.include <bsd.port.pre.mk>
-
-.if ${PYTHON_REL} < 3400
-RUN_DEPENDS+= ${PYTHON_PKGNAMEPREFIX}asyncio>0:${PORTSDIR}/devel/py-asyncio
-.endif
-.if defined(PACKAGE_BUILDING) && ${PYTHON_VER} != ${PYTHON_DEFAULT}
-IGNORE= you have python ${PYTHON_DEFAULT} set as the default, and this needs ${PYTHON_VER}
-.endif
+post-install:
+ ${STRIP_CMD} ${STAGEDIR}${PYTHONPREFIX_SITELIBDIR}/aiohttp/*.so
-regression-test: build
+do-test:
@cd ${WRKSRC} && ${PYTHON_CMD} ${PYDISTUTILS_SETUP} test
-.include <bsd.port.post.mk>
+.include <bsd.port.mk>
Modified: head/www/py-aiohttp/distinfo
==============================================================================
--- head/www/py-aiohttp/distinfo Sat Mar 5 08:28:19 2016 (r410168)
+++ head/www/py-aiohttp/distinfo Sat Mar 5 11:00:28 2016 (r410169)
@@ -1,2 +1,2 @@
-SHA256 (aiohttp-0.16.3.tar.gz) = eaf479acc98ffee0a029882465ebf21f3c302e1b94a41b16c8a5a695bc614900
-SIZE (aiohttp-0.16.3.tar.gz) = 1442720
+SHA256 (aiohttp-0.21.2.tar.gz) = 991e574309815036ca36889a8917005bb795522acd2ba9cc870e07c260c092b5
+SIZE (aiohttp-0.21.2.tar.gz) = 528570
More information about the svn-ports-all
mailing list