git: ecef70f9940f - main - devel/py-setuptools-gettext: new port

From: Robert Clausecker <fuz_at_FreeBSD.org>
Date: Mon, 05 Jun 2023 16:54:15 UTC
The branch main has been updated by fuz:

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

commit ecef70f9940fcb7de674c9bd8aea694432c11226
Author:     Matthew D. Fuller <fullermd@over-yonder.net>
AuthorDate: 2023-06-04 19:51:09 +0000
Commit:     Robert Clausecker <fuz@FreeBSD.org>
CommitDate: 2023-06-05 16:53:03 +0000

    devel/py-setuptools-gettext: new port
    
    A setuptools plugin to compile .po files into .mo files.
    
    WWW: https://github.com/breezy-team/setuptools-gettext
    
    PR:             267680
---
 devel/Makefile                        |  1 +
 devel/py-setuptools-gettext/Makefile  | 19 +++++++++++++++++++
 devel/py-setuptools-gettext/distinfo  |  3 +++
 devel/py-setuptools-gettext/pkg-descr |  2 ++
 4 files changed, 25 insertions(+)

diff --git a/devel/Makefile b/devel/Makefile
index 9dc1aaa081a9..ac1f36be02bc 100644
--- a/devel/Makefile
+++ b/devel/Makefile
@@ -5493,6 +5493,7 @@
     SUBDIR += py-setproctitle
     SUBDIR += py-setuptools
     SUBDIR += py-setuptools-declarative-requirements
+    SUBDIR += py-setuptools-gettext
     SUBDIR += py-setuptools-git
     SUBDIR += py-setuptools-pkg
     SUBDIR += py-setuptools-rust
diff --git a/devel/py-setuptools-gettext/Makefile b/devel/py-setuptools-gettext/Makefile
new file mode 100644
index 000000000000..59fc26b57131
--- /dev/null
+++ b/devel/py-setuptools-gettext/Makefile
@@ -0,0 +1,19 @@
+PORTNAME=	setuptools-gettext
+PORTVERSION=	0.1.3
+CATEGORIES=	devel python
+MASTER_SITES=	PYPI
+PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
+
+MAINTAINER=	fullermd@over-yonder.net
+COMMENT=	Setuptools plugin for gettext
+WWW=		https://github.com/breezy-team/setuptools-gettext
+
+LICENSE=	GPLv2+
+LICENSE_FILE=	${WRKSRC}/COPYING
+
+USES=		python:3.7+
+USE_PYTHON=	autoplist concurrent distutils
+
+NO_ARCH=	yes
+
+.include <bsd.port.mk>
diff --git a/devel/py-setuptools-gettext/distinfo b/devel/py-setuptools-gettext/distinfo
new file mode 100644
index 000000000000..ee198209683f
--- /dev/null
+++ b/devel/py-setuptools-gettext/distinfo
@@ -0,0 +1,3 @@
+TIMESTAMP = 1679867854
+SHA256 (setuptools-gettext-0.1.3.tar.gz) = 1a76c6e73d2c4f5f72b4def0e539c268b72b0856f473c1ddcb279a0885f4636c
+SIZE (setuptools-gettext-0.1.3.tar.gz) = 10654
diff --git a/devel/py-setuptools-gettext/pkg-descr b/devel/py-setuptools-gettext/pkg-descr
new file mode 100644
index 000000000000..a61752838b31
--- /dev/null
+++ b/devel/py-setuptools-gettext/pkg-descr
@@ -0,0 +1,2 @@
+setuptools-gettest is a plugin for setuptools to use gettext to compile
+.po files into .mo files.