Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 05 Apr 2026 17:26:21 +0000
From:      Po-Chuan Hsieh <sunpoet@FreeBSD.org>
To:        ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org
Subject:   git: 73b76cb66663 - main - textproc/py-line-protocol-parser: Update to 2.0.0
Message-ID:  <69d29b3d.1ec86.24d7dcd3@gitrepo.freebsd.org>

index | next in thread | raw e-mail

The branch main has been updated by sunpoet:

URL: https://cgit.FreeBSD.org/ports/commit/?id=73b76cb66663807b49c2410ba8af695161ef017c

commit 73b76cb66663807b49c2410ba8af695161ef017c
Author:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
AuthorDate: 2026-04-05 17:10:25 +0000
Commit:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
CommitDate: 2026-04-05 17:18:54 +0000

    textproc/py-line-protocol-parser: Update to 2.0.0
    
    - Update COMMENT
    - Update WWW
    - Convert to USE_PYTHON=pep517
    - Strip shared library
    - Reformat pkg-descr
    - Take maintainership
    
    Changes:        https://github.com/Penlect/line-protocol-parser/releases
                    https://github.com/Penlect/line-protocol-parser/commits/master
---
 textproc/py-line-protocol-parser/Makefile  | 23 +++++++++++++----------
 textproc/py-line-protocol-parser/distinfo  |  6 +++---
 textproc/py-line-protocol-parser/pkg-descr |  4 ++--
 3 files changed, 18 insertions(+), 15 deletions(-)

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 <bsd.port.mk>
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.


home | help

Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?69d29b3d.1ec86.24d7dcd3>