aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPo-Chuan Hsieh <sunpoet@FreeBSD.org>2022-01-11 17:15:18 +0000
committerPo-Chuan Hsieh <sunpoet@FreeBSD.org>2022-01-11 18:44:26 +0000
commitb97251ec25c429fa72997247d8eebf4a640d7ecb (patch)
tree140409fa91dfd5f2a0d289d760e83deae38727ae
parentf142cbd902e5c01a6a94604969ed59b67127d02e (diff)
downloadports-b97251ec25c429fa72997247d8eebf4a640d7ecb.tar.gz
ports-b97251ec25c429fa72997247d8eebf4a640d7ecb.zip
devel/py-jsonlines: Update to 3.0.0
-rw-r--r--devel/py-jsonlines/Makefile12
-rw-r--r--devel/py-jsonlines/distinfo6
-rw-r--r--devel/py-jsonlines/pkg-descr1
3 files changed, 13 insertions, 6 deletions
diff --git a/devel/py-jsonlines/Makefile b/devel/py-jsonlines/Makefile
index 98e1435dd478..18919264bc04 100644
--- a/devel/py-jsonlines/Makefile
+++ b/devel/py-jsonlines/Makefile
@@ -1,7 +1,7 @@
# Created by: Po-Chuan Hsieh <sunpoet@FreeBSD.org>
PORTNAME= jsonlines
-PORTVERSION= 2.0.0
+PORTVERSION= 3.0.0
CATEGORIES= devel python
MASTER_SITES= CHEESESHOP
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
@@ -12,9 +12,17 @@ COMMENT= Library with helpers for the jsonlines file format
LICENSE= BSD3CLAUSE
LICENSE_FILE= ${WRKSRC}/LICENSE.rst
+RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}attrs>=19.2.0:devel/py-attrs@${PY_FLAVOR}
+
USES= python:3.6+
USE_PYTHON= autoplist concurrent distutils
NO_ARCH= yes
-.include <bsd.port.mk>
+.include <bsd.port.pre.mk>
+
+.if ${PYTHON_REL} < 30800
+RUN_DEPENDS+= ${PYTHON_PKGNAMEPREFIX}typing-extensions>=0:devel/py-typing-extensions@${PY_FLAVOR}
+.endif
+
+.include <bsd.port.post.mk>
diff --git a/devel/py-jsonlines/distinfo b/devel/py-jsonlines/distinfo
index 16c95aa7a8f3..4618a7d96dc7 100644
--- a/devel/py-jsonlines/distinfo
+++ b/devel/py-jsonlines/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1609953911
-SHA256 (jsonlines-2.0.0.tar.gz) = 6fdd03104c9a421a1ba587a121aaac743bf02d8f87fa9cdaa3b852249a241fe8
-SIZE (jsonlines-2.0.0.tar.gz) = 6065
+TIMESTAMP = 1641045932
+SHA256 (jsonlines-3.0.0.tar.gz) = 72c8ca6c056906d6acb058dd5fdd5e072a58b9c6753ce0c9ec6f2b0a1853eba4
+SIZE (jsonlines-3.0.0.tar.gz) = 8419
diff --git a/devel/py-jsonlines/pkg-descr b/devel/py-jsonlines/pkg-descr
index 63e25ecf6dcd..ffb8c3cfb0cd 100644
--- a/devel/py-jsonlines/pkg-descr
+++ b/devel/py-jsonlines/pkg-descr
@@ -1,5 +1,4 @@
jsonlines is a Python library to simplify working with jsonlines and ndjson
data.
-WWW: https://pypi.org/project/jsonlines/
WWW: https://github.com/wbolster/jsonlines