git: 32515454502c - main - devel/py-pip-requirements-parser: Add py-pip-requirements-parser 32.0.1

From: Po-Chuan Hsieh <sunpoet_at_FreeBSD.org>
Date: Sun, 09 Jul 2023 10:33:32 UTC
The branch main has been updated by sunpoet:

URL: https://cgit.FreeBSD.org/ports/commit/?id=32515454502ca7fd7e09c3549228a0b624ab4e21

commit 32515454502ca7fd7e09c3549228a0b624ab4e21
Author:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
AuthorDate: 2023-07-09 10:10:24 +0000
Commit:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
CommitDate: 2023-07-09 10:10:24 +0000

    devel/py-pip-requirements-parser: Add py-pip-requirements-parser 32.0.1
    
    pip-requirements-parser is a mostly correct pip requirements parsing library ...
    because it uses pip's own code!
---
 devel/Makefile                             |  1 +
 devel/py-pip-requirements-parser/Makefile  | 25 +++++++++++++++++++++++++
 devel/py-pip-requirements-parser/distinfo  |  3 +++
 devel/py-pip-requirements-parser/pkg-descr |  2 ++
 4 files changed, 31 insertions(+)

diff --git a/devel/Makefile b/devel/Makefile
index cabcaabcd674..ee36776a85ee 100644
--- a/devel/Makefile
+++ b/devel/Makefile
@@ -5133,6 +5133,7 @@
     SUBDIR += py-pip-api
     SUBDIR += py-pip-audit
     SUBDIR += py-pip-licenses
+    SUBDIR += py-pip-requirements-parser
     SUBDIR += py-pip-run
     SUBDIR += py-pip-shims
     SUBDIR += py-pip-tools
diff --git a/devel/py-pip-requirements-parser/Makefile b/devel/py-pip-requirements-parser/Makefile
new file mode 100644
index 000000000000..6dde0d806d5e
--- /dev/null
+++ b/devel/py-pip-requirements-parser/Makefile
@@ -0,0 +1,25 @@
+PORTNAME=	pip-requirements-parser
+PORTVERSION=	32.0.1
+CATEGORIES=	devel python
+MASTER_SITES=	PYPI
+PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
+
+MAINTAINER=	sunpoet@FreeBSD.org
+COMMENT=	Mostly correct pip requirements parsing library
+WWW=		https://github.com/nexB/pip-requirements-parser
+
+LICENSE=	MIT
+LICENSE_FILE=	${WRKSRC}/LICENSE
+
+BUILD_DEPENDS=	${PYTHON_PKGNAMEPREFIX}setuptools>=50:devel/py-setuptools@${PY_FLAVOR} \
+		${PYTHON_PKGNAMEPREFIX}setuptools_scm>=6:devel/py-setuptools_scm@${PY_FLAVOR} \
+		${PYTHON_PKGNAMEPREFIX}wheel>=0:devel/py-wheel@${PY_FLAVOR}
+RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}packaging>=0:devel/py-packaging@${PY_FLAVOR} \
+		${PYTHON_PKGNAMEPREFIX}pyparsing>=0:devel/py-pyparsing@${PY_FLAVOR}
+
+USES=		python
+USE_PYTHON=	autoplist concurrent pep517
+
+NO_ARCH=	yes
+
+.include <bsd.port.mk>
diff --git a/devel/py-pip-requirements-parser/distinfo b/devel/py-pip-requirements-parser/distinfo
new file mode 100644
index 000000000000..2204b341baf3
--- /dev/null
+++ b/devel/py-pip-requirements-parser/distinfo
@@ -0,0 +1,3 @@
+TIMESTAMP = 1688166012
+SHA256 (pip-requirements-parser-32.0.1.tar.gz) = b4fa3a7a0be38243123cf9d1f3518da10c51bdb165a2b2985566247f9155a7d3
+SIZE (pip-requirements-parser-32.0.1.tar.gz) = 209359
diff --git a/devel/py-pip-requirements-parser/pkg-descr b/devel/py-pip-requirements-parser/pkg-descr
new file mode 100644
index 000000000000..3bc46317f08f
--- /dev/null
+++ b/devel/py-pip-requirements-parser/pkg-descr
@@ -0,0 +1,2 @@
+pip-requirements-parser is a mostly correct pip requirements parsing library ...
+because it uses pip's own code!