git: 03427f9ea196 - main - devel/py-dep-logic: Add py-dep-logic 0.2.0

From: Po-Chuan Hsieh <sunpoet_at_FreeBSD.org>
Date: Sat, 09 Mar 2024 14:09:39 UTC
The branch main has been updated by sunpoet:

URL: https://cgit.FreeBSD.org/ports/commit/?id=03427f9ea196fd7536a81a1682eaa2b59ea09172

commit 03427f9ea196fd7536a81a1682eaa2b59ea09172
Author:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
AuthorDate: 2024-03-09 13:44:13 +0000
Commit:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
CommitDate: 2024-03-09 14:05:14 +0000

    devel/py-dep-logic: Add py-dep-logic 0.2.0
    
    Dep-Logic allows logic operations on version specifiers and environment markers.
---
 devel/Makefile               |  1 +
 devel/py-dep-logic/Makefile  | 23 +++++++++++++++++++++++
 devel/py-dep-logic/distinfo  |  3 +++
 devel/py-dep-logic/pkg-descr |  1 +
 4 files changed, 28 insertions(+)

diff --git a/devel/Makefile b/devel/Makefile
index 7b3146903072..965d5ffe4837 100644
--- a/devel/Makefile
+++ b/devel/Makefile
@@ -4605,6 +4605,7 @@
     SUBDIR += py-deepmerge
     SUBDIR += py-defusedxml
     SUBDIR += py-demjson
+    SUBDIR += py-dep-logic
     SUBDIR += py-deprecat
     SUBDIR += py-deprecated
     SUBDIR += py-deprecation
diff --git a/devel/py-dep-logic/Makefile b/devel/py-dep-logic/Makefile
new file mode 100644
index 000000000000..f47b0a4c6c5a
--- /dev/null
+++ b/devel/py-dep-logic/Makefile
@@ -0,0 +1,23 @@
+PORTNAME=	dep-logic
+PORTVERSION=	0.2.0
+CATEGORIES=	devel python
+MASTER_SITES=	PYPI
+PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
+DISTNAME=	dep_logic-${PORTVERSION}
+
+MAINTAINER=	sunpoet@FreeBSD.org
+COMMENT=	Python dependency specifications supporting logical operations
+WWW=		https://github.com/pdm-project/dep-logic
+
+LICENSE=	APACHE20
+LICENSE_FILE=	${WRKSRC}/LICENSE
+
+BUILD_DEPENDS=	${PYTHON_PKGNAMEPREFIX}pdm-backend>=0:devel/py-pdm-backend@${PY_FLAVOR}
+RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}packaging>=22:devel/py-packaging@${PY_FLAVOR}
+
+USES=		python
+USE_PYTHON=	autoplist concurrent pep517
+
+NO_ARCH=	yes
+
+.include <bsd.port.mk>
diff --git a/devel/py-dep-logic/distinfo b/devel/py-dep-logic/distinfo
new file mode 100644
index 000000000000..d56cf06311ea
--- /dev/null
+++ b/devel/py-dep-logic/distinfo
@@ -0,0 +1,3 @@
+TIMESTAMP = 1709390330
+SHA256 (dep_logic-0.2.0.tar.gz) = cff502b515aff2d413d19d6afc70174fc67da19e821be4a9b68460ccee2514c9
+SIZE (dep_logic-0.2.0.tar.gz) = 27758
diff --git a/devel/py-dep-logic/pkg-descr b/devel/py-dep-logic/pkg-descr
new file mode 100644
index 000000000000..77c4bcdbb120
--- /dev/null
+++ b/devel/py-dep-logic/pkg-descr
@@ -0,0 +1 @@
+Dep-Logic allows logic operations on version specifiers and environment markers.