Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 6 Apr 2024 00:01:14 GMT
From:      Po-Chuan Hsieh <sunpoet@FreeBSD.org>
To:        ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org
Subject:   git: 20f42b8a49ef - main - devel/py-moreorless: Add py-moreorless 0.4.0
Message-ID:  <202404060001.43601EMc072282@gitrepo.freebsd.org>

next in thread | raw e-mail | index | archive | help
The branch main has been updated by sunpoet:

URL: https://cgit.FreeBSD.org/ports/commit/?id=20f42b8a49ef5e764371e38e8d2ceedd3e171a10

commit 20f42b8a49ef5e764371e38e8d2ceedd3e171a10
Author:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
AuthorDate: 2024-04-05 23:56:47 +0000
Commit:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
CommitDate: 2024-04-05 23:56:47 +0000

    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".
---
 devel/Makefile                |  1 +
 devel/py-moreorless/Makefile  | 24 ++++++++++++++++++++++++
 devel/py-moreorless/distinfo  |  3 +++
 devel/py-moreorless/pkg-descr |  2 ++
 4 files changed, 30 insertions(+)

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".



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202404060001.43601EMc072282>