diff --git a/textproc/py-line-protocol-parser/Makefile b/textproc/py-line-protocol-parser/Makefile index 9da6c4fb249b..c07b660c00a0 100644 --- a/textproc/py-line-protocol-parser/Makefile +++ b/textproc/py-line-protocol-parser/Makefile @@ -1,24 +1,27 @@ PORTNAME= line-protocol-parser -PORTVERSION= 1.1.1 -PORTREVISION= 1 +PORTVERSION= 2.0.0 CATEGORIES= textproc python +MASTER_SITES= PYPI PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} +DISTNAME= line_protocol_parser-${PORTVERSION} -MAINTAINER= ports@FreeBSD.org -COMMENT= Parses InfluxDB line protocol strings into Python dictionaries -WWW= https://github.com/Penlect/line-protocol-parser/ +MAINTAINER= sunpoet@FreeBSD.org +COMMENT= Parse InfluxDB line protocol string into Python dictionary +WWW= https://github.com/Penlect/line-protocol-parser LICENSE= MIT LICENSE_FILE= ${WRKSRC}/LICENSE.md +BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}setuptools>=0:devel/py-setuptools@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}wheel>=0:devel/py-wheel@${PY_FLAVOR} + USES= python -USE_GITHUB= yes -USE_PYTHON= autoplist concurrent distutils +USE_PYTHON= autoplist concurrent pep517 -GH_ACCOUNT= Penlect -GH_PROJECT= line-protocol-parser +post-install: + ${FIND} ${STAGEDIR}${PYTHON_SITELIBDIR} -name '*.so' -exec ${STRIP_CMD} {} + do-test: - @cd ${WRKSRC} && ${PYTHON_CMD} ${PYDISTUTILS_SETUP} test + cd ${WRKSRC} && ${PYTHON_CMD} setup.py test .include diff --git a/textproc/py-line-protocol-parser/distinfo b/textproc/py-line-protocol-parser/distinfo index cd2292ada641..4ee5daa1dca7 100644 --- a/textproc/py-line-protocol-parser/distinfo +++ b/textproc/py-line-protocol-parser/distinfo @@ -1,3 +1,3 @@ -TIMESTAMP = 1649083509 -SHA256 (Penlect-line-protocol-parser-1.1.1_GH0.tar.gz) = 25329d0b25ee611420cae59672e9cba0d512a6463a4d251c335ed5a7b4a03060 -SIZE (Penlect-line-protocol-parser-1.1.1_GH0.tar.gz) = 12258 +TIMESTAMP = 1773966928 +SHA256 (line_protocol_parser-2.0.0.tar.gz) = 8bd814e82dcf58a1dbd828d0675ac3e43e1ef026c07bb7b9556fe79b9e90c33f +SIZE (line_protocol_parser-2.0.0.tar.gz) = 16802 diff --git a/textproc/py-line-protocol-parser/pkg-descr b/textproc/py-line-protocol-parser/pkg-descr index 2e4998d03900..e9d5e1ab7b5d 100644 --- a/textproc/py-line-protocol-parser/pkg-descr +++ b/textproc/py-line-protocol-parser/pkg-descr @@ -1,3 +1,3 @@ The InfluxDB line protocol is a text based format for writing points to -InfluxDB. This library can read this format and convert line strings to -Python dicitonaries. +InfluxDB. This library can read this format and convert line strings to Python +dicitonaries.