git: c8aaec3796ba - main - irc/py-sopel-help: help plugin that branched off irc/py-sopel

From: Rene Ladan <rene_at_FreeBSD.org>
Date: Mon, 24 Jun 2024 21:21:48 UTC
The branch main has been updated by rene:

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

commit c8aaec3796ba9fe3609e3a0e5d4679a31738aac2
Author:     Jesús Daniel Colmenares Oviedo <DtxdF@disroot.org>
AuthorDate: 2024-06-24 21:19:12 +0000
Commit:     Rene Ladan <rene@FreeBSD.org>
CommitDate: 2024-06-24 21:21:05 +0000

    irc/py-sopel-help: help plugin that branched off irc/py-sopel
    
    PR:             279657
---
 irc/Makefile                                 |  1 +
 irc/py-sopel-help/Makefile                   | 28 ++++++++++++++++++++++++++++
 irc/py-sopel-help/distinfo                   |  3 +++
 irc/py-sopel-help/files/patch-pyproject.toml |  9 +++++++++
 irc/py-sopel-help/pkg-descr                  |  3 +++
 5 files changed, 44 insertions(+)

diff --git a/irc/Makefile b/irc/Makefile
index d4515669d0ed..7a09a759bcf8 100644
--- a/irc/Makefile
+++ b/irc/Makefile
@@ -73,6 +73,7 @@
     SUBDIR += py-irc
     SUBDIR += py-limnoria
     SUBDIR += py-sopel
+    SUBDIR += py-sopel-help
     SUBDIR += quassel
     SUBDIR += quassel-core
     SUBDIR += quirc
diff --git a/irc/py-sopel-help/Makefile b/irc/py-sopel-help/Makefile
new file mode 100644
index 000000000000..ffe850d2bce3
--- /dev/null
+++ b/irc/py-sopel-help/Makefile
@@ -0,0 +1,28 @@
+PORTNAME=	sopel-help
+DISTVERSION=	0.5.1
+CATEGORIES=	irc python
+MASTER_SITES=	PYPI
+PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
+DISTNAME=	sopel_help-${PORTVERSION}
+
+MAINTAINER=	DtxdF@disroot.org
+COMMENT=	Help plugin for Sopel
+WWW=		https://github.com/sopel-irc/${PORTNAME}
+
+LICENSE=	EFLv2
+LICENSE_GROUPS=	FSF GPL OSI
+LICENSE_NAME=	Eiffel Forum License, version 2
+LICENSE_FILE=	${WRKSRC}/LICENSE.txt
+LICENSE_PERMS=	dist-mirror dist-sell pkg-mirror pkg-sell auto-accept
+
+BUILD_DEPENDS=	${PY_SETUPTOOLS} \
+		${PYTHON_PKGNAMEPREFIX}wheel>=0:devel/py-wheel@${PY_FLAVOR}
+RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}requests>0:www/py-requests@${PY_FLAVOR} \
+		${PYTHON_PKGNAMEPREFIX}sopel>=0:irc/py-sopel@${PY_FLAVOR}
+
+USES=		python
+USE_PYTHON=	autoplist pep517
+
+NO_ARCH=	yes
+
+.include <bsd.port.mk>
diff --git a/irc/py-sopel-help/distinfo b/irc/py-sopel-help/distinfo
new file mode 100644
index 000000000000..5a99bc8f358d
--- /dev/null
+++ b/irc/py-sopel-help/distinfo
@@ -0,0 +1,3 @@
+TIMESTAMP = 1718049690
+SHA256 (sopel_help-0.5.1.tar.gz) = b60c83fbc838f52128cc2bb86d539f7646e74d053aa50d75b0e26ebf2b3c1585
+SIZE (sopel_help-0.5.1.tar.gz) = 14914
diff --git a/irc/py-sopel-help/files/patch-pyproject.toml b/irc/py-sopel-help/files/patch-pyproject.toml
new file mode 100644
index 000000000000..1e3f5d9f1e97
--- /dev/null
+++ b/irc/py-sopel-help/files/patch-pyproject.toml
@@ -0,0 +1,9 @@
+--- pyproject.toml.orig	2024-06-10 20:59:27 UTC
++++ pyproject.toml
+@@ -1,5 +1,5 @@
+ [build-system]
+-requires = ["setuptools>=68.0", "wheel"]
++requires = ["setuptools", "wheel"]
+ build-backend = "setuptools.build_meta"
+ 
+ [tool.setuptools]
diff --git a/irc/py-sopel-help/pkg-descr b/irc/py-sopel-help/pkg-descr
new file mode 100644
index 000000000000..7fec2fabbb49
--- /dev/null
+++ b/irc/py-sopel-help/pkg-descr
@@ -0,0 +1,3 @@
+sopel-help is a plugin for irc/py-sopel that provides help information
+invoked by the .help command in an IRC chat. It was a built-in
+command, but now it is separate like any other Sopel plugin.