git: b97251ec25c4 - main - devel/py-jsonlines: Update to 3.0.0
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Tue, 11 Jan 2022 18:54:45 UTC
The branch main has been updated by sunpoet:
URL: https://cgit.FreeBSD.org/ports/commit/?id=b97251ec25c429fa72997247d8eebf4a640d7ecb
commit b97251ec25c429fa72997247d8eebf4a640d7ecb
Author: Po-Chuan Hsieh <sunpoet@FreeBSD.org>
AuthorDate: 2022-01-11 17:15:18 +0000
Commit: Po-Chuan Hsieh <sunpoet@FreeBSD.org>
CommitDate: 2022-01-11 18:44:26 +0000
devel/py-jsonlines: Update to 3.0.0
Changes: https://github.com/wbolster/jsonlines/blob/master/doc/index.rst#version-history
---
devel/py-jsonlines/Makefile | 12 ++++++++++--
devel/py-jsonlines/distinfo | 6 +++---
devel/py-jsonlines/pkg-descr | 1 -
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