aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMuhammad Moinur Rahman <bofh@FreeBSD.org>2024-03-04 11:59:25 +0000
committerMuhammad Moinur Rahman <bofh@FreeBSD.org>2024-03-04 12:31:03 +0000
commit5b3d59488348b7c588e9cb4c2c190fdb61d77718 (patch)
tree065f70be0efd12072be831682665e76580880924
parentaa16a472faf9b09551f3e4ad2645b20c30bebefe (diff)
devel/py-unidiff: New port
Simple Python library to parse and interact with unified diff data.
-rw-r--r--devel/Makefile1
-rw-r--r--devel/py-unidiff/Makefile19
-rw-r--r--devel/py-unidiff/distinfo3
-rw-r--r--devel/py-unidiff/pkg-descr1
4 files changed, 24 insertions, 0 deletions
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.