aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPo-Chuan Hsieh <sunpoet@FreeBSD.org>2021-09-21 03:13:03 +0000
committerPo-Chuan Hsieh <sunpoet@FreeBSD.org>2021-09-21 03:44:46 +0000
commit4854986e98e57693f8b6cdf6c3cdc912c678f8a8 (patch)
tree1bbd4a02d033019b03b6ea223b791e101364a8e1
parent359ab5a39c1f0f8daa6233c0c7067574a53a61a4 (diff)
downloadports-4854986e98e57693f8b6cdf6c3cdc912c678f8a8.tar.gz
ports-4854986e98e57693f8b6cdf6c3cdc912c678f8a8.zip
devel/py-yaspin: Update to 2.1.0
-rw-r--r--devel/py-yaspin/Makefile10
-rw-r--r--devel/py-yaspin/distinfo6
2 files changed, 11 insertions, 5 deletions
diff --git a/devel/py-yaspin/Makefile b/devel/py-yaspin/Makefile
index ed42e99fe39e..a6b605ea9e89 100644
--- a/devel/py-yaspin/Makefile
+++ b/devel/py-yaspin/Makefile
@@ -1,7 +1,7 @@
# Created by: Po-Chuan Hsieh <sunpoet@FreeBSD.org>
PORTNAME= yaspin
-PORTVERSION= 2.0.0
+PORTVERSION= 2.1.0
CATEGORIES= devel python
MASTER_SITES= CHEESESHOP
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
@@ -20,7 +20,13 @@ USE_PYTHON= autoplist concurrent distutils
NO_ARCH= yes
+.include <bsd.port.pre.mk>
+
+.if ${PYTHON_REL} < 30700
+RUN_DEPENDS+= ${PYTHON_PKGNAMEPREFIX}dataclasses>=0.8<0.9:devel/py-dataclasses@${PY_FLAVOR}
+.endif
+
do-test:
cd ${WRKSRC} && ${PYTHON_CMD} -m pytest -rs -v
-.include <bsd.port.mk>
+.include <bsd.port.post.mk>
diff --git a/devel/py-yaspin/distinfo b/devel/py-yaspin/distinfo
index 22dfb97c35d7..4af7a8f1e643 100644
--- a/devel/py-yaspin/distinfo
+++ b/devel/py-yaspin/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1622037978
-SHA256 (yaspin-2.0.0.tar.gz) = 0498039b3e110f53824417a9f59418a20843e8752b8b15c26bb81a659d4aec5c
-SIZE (yaspin-2.0.0.tar.gz) = 33794
+TIMESTAMP = 1632037170
+SHA256 (yaspin-2.1.0.tar.gz) = c8d34eca9fda3f4dfbe59f57f3cf0f3641af3eefbf1544fbeb9b3bacf82c580a
+SIZE (yaspin-2.1.0.tar.gz) = 34471