diff --git a/textproc/py-csvkit/Makefile b/textproc/py-csvkit/Makefile index 60976a463523..9793c4dc61d5 100644 --- a/textproc/py-csvkit/Makefile +++ b/textproc/py-csvkit/Makefile @@ -1,25 +1,31 @@ PORTNAME= csvkit -PORTVERSION= 1.5.0 +PORTVERSION= 2.0.0 CATEGORIES= textproc python MASTER_SITES= PYPI PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} MAINTAINER= matthew@FreeBSD.org COMMENT= Command line tools for working with CSV WWW= https://csvkit.readthedocs.io/ LICENSE= MIT RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}agate>=1.6.3:textproc/py-agate@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}agate-excel>=0.2.2:textproc/py-agate-excel@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}agate-dbf>=0.2.2:textproc/py-agate-dbf@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}agate-sql>=0.5.3:databases/py-agate-sql@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}openpyxl>=0:textproc/py-openpyxl@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}sqlalchemy20>=0:databases/py-sqlalchemy20@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}xlrd>=0:textproc/py-xlrd@${PY_FLAVOR} USES= python USE_PYTHON= autoplist distutils NO_ARCH= yes -.include +.include + +.if ${PYTHON_REL} < 31000 +RUN_DEPENDS+= ${PYTHON_PKGNAMEPREFIX}importlib-metadata>=0:devel/py-importlib-metadata@${PY_FLAVOR} +.endif + +.include diff --git a/textproc/py-csvkit/distinfo b/textproc/py-csvkit/distinfo index 91b133aadec9..957128e62d64 100644 --- a/textproc/py-csvkit/distinfo +++ b/textproc/py-csvkit/distinfo @@ -1,3 +1,3 @@ -TIMESTAMP = 1711644029 -SHA256 (csvkit-1.5.0.tar.gz) = 967a8be8fc58edf5621225b5a6a697b0e8730b962ea68085916a91860b22211c -SIZE (csvkit-1.5.0.tar.gz) = 3811034 +TIMESTAMP = 1714914616 +SHA256 (csvkit-2.0.0.tar.gz) = 311f21787615a91656897e217c62ab26c8446d67309b61bd013e345b35816fdf +SIZE (csvkit-2.0.0.tar.gz) = 3818527