aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPo-Chuan Hsieh <sunpoet@FreeBSD.org>2024-04-05 23:56:47 +0000
committerPo-Chuan Hsieh <sunpoet@FreeBSD.org>2024-04-05 23:56:47 +0000
commit20f42b8a49ef5e764371e38e8d2ceedd3e171a10 (patch)
tree7435341b6dd31a67e4ff028cc47b2303b0125303
parentd6004c5fd9202e0050b0d5aa8c81f224467cd6ef (diff)
downloadports-20f42b8a49ef5e764371e38e8d2ceedd3e171a10.tar.gz
ports-20f42b8a49ef5e764371e38e8d2ceedd3e171a10.zip
devel/py-moreorless: Add py-moreorless 0.4.0
moreorless is a thin wrapper around difflib.unified_diff that Does The Right Thing for "No newline at eof".
-rw-r--r--devel/Makefile1
-rw-r--r--devel/py-moreorless/Makefile24
-rw-r--r--devel/py-moreorless/distinfo3
-rw-r--r--devel/py-moreorless/pkg-descr2
4 files changed, 30 insertions, 0 deletions
diff --git a/devel/Makefile b/devel/Makefile
index 198365e2e022..c0f887ef5c5e 100644
--- a/devel/Makefile
+++ b/devel/Makefile
@@ -5056,6 +5056,7 @@
SUBDIR += py-monotonic
SUBDIR += py-monty
SUBDIR += py-more-itertools
+ SUBDIR += py-moreorless
SUBDIR += py-moto
SUBDIR += py-mox
SUBDIR += py-mrkd
diff --git a/devel/py-moreorless/Makefile b/devel/py-moreorless/Makefile
new file mode 100644
index 000000000000..305aca8ce6a1
--- /dev/null
+++ b/devel/py-moreorless/Makefile
@@ -0,0 +1,24 @@
+PORTNAME= moreorless
+PORTVERSION= 0.4.0
+CATEGORIES= devel python
+MASTER_SITES= PYPI
+PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
+
+MAINTAINER= sunpoet@FreeBSD.org
+COMMENT= Python diff wrapper
+WWW= https://github.com/thatch/moreorless
+
+LICENSE= MIT
+LICENSE_FILE= ${WRKSRC}/LICENSE
+
+BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}setuptools>=38.3.0:devel/py-setuptools@${PY_FLAVOR} \
+ ${PYTHON_PKGNAMEPREFIX}setuptools-scm>=0:devel/py-setuptools-scm@${PY_FLAVOR} \
+ ${PYTHON_PKGNAMEPREFIX}wheel>=0:devel/py-wheel@${PY_FLAVOR}
+RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}click>=0:devel/py-click@${PY_FLAVOR}
+
+USES= python
+USE_PYTHON= autoplist concurrent pep517
+
+NO_ARCH= yes
+
+.include <bsd.port.mk>
diff --git a/devel/py-moreorless/distinfo b/devel/py-moreorless/distinfo
new file mode 100644
index 000000000000..b3740f77f2cf
--- /dev/null
+++ b/devel/py-moreorless/distinfo
@@ -0,0 +1,3 @@
+TIMESTAMP = 1712330555
+SHA256 (moreorless-0.4.0.tar.gz) = 85e19972c1a0b3a49f8543914f57bd83f6e1b10df144d5b97b8c5e9744d9c08c
+SIZE (moreorless-0.4.0.tar.gz) = 10127
diff --git a/devel/py-moreorless/pkg-descr b/devel/py-moreorless/pkg-descr
new file mode 100644
index 000000000000..6de25257d8ec
--- /dev/null
+++ b/devel/py-moreorless/pkg-descr
@@ -0,0 +1,2 @@
+moreorless is a thin wrapper around difflib.unified_diff that Does The Right
+Thing for "No newline at eof".