git: 5b3d59488348 - main - devel/py-unidiff: New port

From: Muhammad Moinur Rahman <bofh_at_FreeBSD.org>
Date: Mon, 04 Mar 2024 12:36:51 UTC
The branch main has been updated by bofh:

URL: https://cgit.FreeBSD.org/ports/commit/?id=5b3d59488348b7c588e9cb4c2c190fdb61d77718

commit 5b3d59488348b7c588e9cb4c2c190fdb61d77718
Author:     Muhammad Moinur Rahman <bofh@FreeBSD.org>
AuthorDate: 2024-03-04 11:59:25 +0000
Commit:     Muhammad Moinur Rahman <bofh@FreeBSD.org>
CommitDate: 2024-03-04 12:31:03 +0000

    devel/py-unidiff: New port
    
    Simple Python library to parse and interact with unified diff data.
---
 devel/Makefile             |  1 +
 devel/py-unidiff/Makefile  | 19 +++++++++++++++++++
 devel/py-unidiff/distinfo  |  3 +++
 devel/py-unidiff/pkg-descr |  1 +
 4 files changed, 24 insertions(+)

diff --git a/devel/Makefile b/devel/Makefile
index 39bd6b397fbb..6028154de4a5 100644
--- a/devel/Makefile
+++ b/devel/Makefile
@@ -5802,6 +5802,7 @@
     SUBDIR += py-unearth
     SUBDIR += py-unicodecsv
     SUBDIR += py-unicodedata2
+    SUBDIR += py-unidiff
     SUBDIR += py-unipath
     SUBDIR += py-unittest2
     SUBDIR += py-unittest2pytest
diff --git a/devel/py-unidiff/Makefile b/devel/py-unidiff/Makefile
new file mode 100644
index 000000000000..3152c7eeccd7
--- /dev/null
+++ b/devel/py-unidiff/Makefile
@@ -0,0 +1,19 @@
+PORTNAME=	unidiff
+DISTVERSION=	0.7.5
+CATEGORIES=	devel python
+MASTER_SITES=	PYPI
+PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
+
+MAINTAINER=	bofh@FreeBSD.org
+COMMENT=	Python library to parse and interact with unified diff data
+WWW=		https://github.com/matiasb/python-unidiff
+
+LICENSE=	MIT
+LICENSE_FILE=	${WRKSRC}/LICENSE
+
+USES=		python
+USE_PYTHON=	autoplist concurrent distutils
+
+NO_ARCH=	yes
+
+.include <bsd.port.mk>
diff --git a/devel/py-unidiff/distinfo b/devel/py-unidiff/distinfo
new file mode 100644
index 000000000000..7c590afafec6
--- /dev/null
+++ b/devel/py-unidiff/distinfo
@@ -0,0 +1,3 @@
+TIMESTAMP = 1709552983
+SHA256 (unidiff-0.7.5.tar.gz) = 2e5f0162052248946b9f0970a40e9e124236bf86c82b70821143a6fc1dea2574
+SIZE (unidiff-0.7.5.tar.gz) = 20931
diff --git a/devel/py-unidiff/pkg-descr b/devel/py-unidiff/pkg-descr
new file mode 100644
index 000000000000..aa2c0e91dd6c
--- /dev/null
+++ b/devel/py-unidiff/pkg-descr
@@ -0,0 +1 @@
+Simple Python library to parse and interact with unified diff data.