git: 000dabc7dc9b - main - net/py-err-backend-discord: Add py-err-backend-discord 4.0.0
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Wed, 21 Feb 2024 15:17:17 UTC
The branch main has been updated by sunpoet:
URL: https://cgit.FreeBSD.org/ports/commit/?id=000dabc7dc9b9dbde3a9e93d28d606dcce030ef1
commit 000dabc7dc9b9dbde3a9e93d28d606dcce030ef1
Author: Po-Chuan Hsieh <sunpoet@FreeBSD.org>
AuthorDate: 2024-02-21 14:13:07 +0000
Commit: Po-Chuan Hsieh <sunpoet@FreeBSD.org>
CommitDate: 2024-02-21 15:06:07 +0000
net/py-err-backend-discord: Add py-err-backend-discord 4.0.0
The err-backend-discord backend lets you connect to the Discord platform. A
place that makes it easy to talk every day and hang out more often.
---
net/Makefile | 1 +
net/py-err-backend-discord/Makefile | 24 ++++++++++++++++++++++
net/py-err-backend-discord/distinfo | 3 +++
.../files/patch-pyproject.toml | 11 ++++++++++
net/py-err-backend-discord/pkg-descr | 2 ++
5 files changed, 41 insertions(+)
diff --git a/net/Makefile b/net/Makefile
index 87537f846754..3450cd94d3f6 100644
--- a/net/Makefile
+++ b/net/Makefile
@@ -1049,6 +1049,7 @@
SUBDIR += py-dugong
SUBDIR += py-ec2-cli-tools
SUBDIR += py-ephemeral-port-reserve
+ SUBDIR += py-err-backend-discord
SUBDIR += py-errbot
SUBDIR += py-eventlet
SUBDIR += py-gdown
diff --git a/net/py-err-backend-discord/Makefile b/net/py-err-backend-discord/Makefile
new file mode 100644
index 000000000000..d60972494bbc
--- /dev/null
+++ b/net/py-err-backend-discord/Makefile
@@ -0,0 +1,24 @@
+PORTNAME= err-backend-discord
+PORTVERSION= 4.0.0
+CATEGORIES= net python
+MASTER_SITES= PYPI
+PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
+
+MAINTAINER= sunpoet@FreeBSD.org
+COMMENT= Discord backend for Errbot
+WWW= https://err-backend-discord.readthedocs.io/en/master/ \
+ https://github.com/errbotio/err-backend-discord
+
+LICENSE= GPLv3
+LICENSE_FILE= ${WRKSRC}/LICENSE
+
+BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}setuptools>=61.0:devel/py-setuptools@${PY_FLAVOR} \
+ ${PYTHON_PKGNAMEPREFIX}wheel>=0:devel/py-wheel@${PY_FLAVOR}
+RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}discord.py>=2.0.1:games/py-discord.py@${PY_FLAVOR}
+
+USES= python
+USE_PYTHON= autoplist concurrent pep517
+
+NO_ARCH= yes
+
+.include <bsd.port.mk>
diff --git a/net/py-err-backend-discord/distinfo b/net/py-err-backend-discord/distinfo
new file mode 100644
index 000000000000..90a31484ccf3
--- /dev/null
+++ b/net/py-err-backend-discord/distinfo
@@ -0,0 +1,3 @@
+TIMESTAMP = 1708448836
+SHA256 (err-backend-discord-4.0.0.tar.gz) = 479d8a2f3aeb97aaa88944c6eccff7ef34176b8f12314b8f9aa32600e84959ee
+SIZE (err-backend-discord-4.0.0.tar.gz) = 21693
diff --git a/net/py-err-backend-discord/files/patch-pyproject.toml b/net/py-err-backend-discord/files/patch-pyproject.toml
new file mode 100644
index 000000000000..f05daac9fbd5
--- /dev/null
+++ b/net/py-err-backend-discord/files/patch-pyproject.toml
@@ -0,0 +1,11 @@
+--- pyproject.toml.orig 2022-11-10 17:08:31 UTC
++++ pyproject.toml
+@@ -25,7 +25,7 @@ classifiers = [
+ ]
+
+ dependencies = [
+- "discord.py==2.0.1",
++ "discord.py>=2.0.1",
+ ]
+
+ [project.urls]
diff --git a/net/py-err-backend-discord/pkg-descr b/net/py-err-backend-discord/pkg-descr
new file mode 100644
index 000000000000..b59fb1922618
--- /dev/null
+++ b/net/py-err-backend-discord/pkg-descr
@@ -0,0 +1,2 @@
+The err-backend-discord backend lets you connect to the Discord platform. A
+place that makes it easy to talk every day and hang out more often.