aboutsummaryrefslogtreecommitdiffstats
path: root/www
diff options
context:
space:
mode:
authorkoobs <koobs@FreeBSD.org>2017-09-26 00:20:35 +0800
committerkoobs <koobs@FreeBSD.org>2017-09-26 00:20:35 +0800
commitecdcc12db26b2b8636f72d2488a1b5e07b2a4458 (patch)
tree1d4a137c72278e01000bcfe1d52a1a1ac634a8a1 /www
parent204c38f67ae26e6e877a0f41e4ab6c67951821f2 (diff)
downloadfreebsd-ports-gnome-ecdcc12db26b2b8636f72d2488a1b5e07b2a4458.tar.gz
freebsd-ports-gnome-ecdcc12db26b2b8636f72d2488a1b5e07b2a4458.tar.zst
freebsd-ports-gnome-ecdcc12db26b2b8636f72d2488a1b5e07b2a4458.zip
www/py-yarl: Update to 0.12.0
- Update PORTVERSION/distinfo checksum (0.12.0) [1] - Set RUN_DEPENDS minimum version to match setup.py:*_requires - Add TEST_DEPENDS and test target - Strip shared library PR: 222524 Submitted by: philip [1] Approved by: wg (maintainer)
Diffstat (limited to 'www')
-rw-r--r--www/py-yarl/Makefile11
-rw-r--r--www/py-yarl/distinfo6
2 files changed, 12 insertions, 5 deletions
diff --git a/www/py-yarl/Makefile b/www/py-yarl/Makefile
index a0360aa93de6..76f36ffa5840 100644
--- a/www/py-yarl/Makefile
+++ b/www/py-yarl/Makefile
@@ -1,7 +1,7 @@
# $FreeBSD$
PORTNAME= yarl
-PORTVERSION= 0.10.3
+PORTVERSION= 0.12.0
CATEGORIES= www python
MASTER_SITES= CHEESESHOP
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
@@ -13,9 +13,16 @@ LICENSE= APACHE20
LICENSE_FILE= ${WRKSRC}/LICENSE
BUILD_DEPENDS= cython:lang/cython
-RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}multidict>0:www/py-multidict
+RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}multidict>=2.0:www/py-multidict
+TEST_DEPENDS= ${PYTHON_PKGNAMEPREFIX}pytest>0:devel/py-pytest \
+ ${PYTHON_PKGNAMEPREFIX}pytest-runner>0:devel/py-pytest-runner
USES= python:3.4+
USE_PYTHON= autoplist distutils
+do-test:
+ @cd ${WRKSRC} && ${PYTHON_CMD} ${PYDISTUTILS_SETUP} test
+
+post-install:
+ ${STRIP_CMD} ${STAGEDIR}${PYTHONPREFIX_SITELIBDIR}/yarl/_quoting.so
.include <bsd.port.mk>
diff --git a/www/py-yarl/distinfo b/www/py-yarl/distinfo
index a341232ca2a2..7bb8b4f12320 100644
--- a/www/py-yarl/distinfo
+++ b/www/py-yarl/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1497631728
-SHA256 (yarl-0.10.3.tar.gz) = 27b24ba3ef3cb8475aea1a655a1750bb11918ba139278af21db5846ee9643138
-SIZE (yarl-0.10.3.tar.gz) = 127867
+TIMESTAMP = 1506352820
+SHA256 (yarl-0.12.0.tar.gz) = fc0f71ffdce882b4d4b287b0b3a68d9f2557ab14cc2c10ce4df714c42512cbde
+SIZE (yarl-0.12.0.tar.gz) = 132769