From nobody Wed Feb 21 15:17:21 2024 X-Original-To: dev-commits-ports-all@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4Tg0J20Mmrz59djV; Wed, 21 Feb 2024 15:17:22 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4Tg0J157r1z4tPy; Wed, 21 Feb 2024 15:17:21 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1708528641; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=4Vt3dfUPJJVrCLDy47REdKBdNrwiAgnYx7XRFBgQQM0=; b=kcULxLCoiCUN3STZSRj+wXjzBexX8ZQIxFUfTjGew3hnsqJ0sZB8XnCFATt7BrmQgqtFy1 ZUgzutt2FZJDMgtVwPvChHOxDdslcZFFuDFfEVWTMLGQNPMKX70j9zUZ9W7AHIxpaH9ymU gOjgsQ7YukSghBZ9mSt54mel9c4q0SdPdFBo0txCJVHM51eXIbHIzyQQhy0XKNRr00gWEY lZWGtoW8iz0ctlKNTwm4GOqvL3Q2KK5d7dkZDoiL/b6dsnyqtLv6n+9OTeYiz3W8oqNFRw MFu9M+dvAsvoQGyMFxxXxVWGTYW9n+B4SVGsZ9u+l2cNoYISS1Dy52Tt3h8kpQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1708528641; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=4Vt3dfUPJJVrCLDy47REdKBdNrwiAgnYx7XRFBgQQM0=; b=YWOYDLVBhwHERTRNLN6yG/Kzcyo6yJsVbQhw0XNXRnQJs6ewfg2R+FbOD65hXy4kgXCQGg 817jyhlhoOieFFbkRCsrO4n2EwIeiNkKWautlHqSca1zfEF0zXkdQtfFiX6bfUiGrESI+e ona17pWCBoWnVHBiAYiSbBJpHCxeVhuBNaPYbQHGXHuZ53MV8hUnjSYinr8bZqQlKMkMp5 uyUbblovHLrsFoCOw/k6k2ZwO/HxuvRImsm9IKjG/5OcDFWr6qTZf4x/WyQZlPcevwChHn bMx9CCdMwUjIBHJXwayKY8WP6NFSFZQrK7RJFn2W7kQOYnm77LBXQM/grSp0/A== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1708528641; a=rsa-sha256; cv=none; b=v8gWtwEu76gn35QF/dZTQcAkl6LHhDNrP1Mem/SWnkwwHc8H+3KviA6gsP0xnQO26wmFA/ 2vZOAXThvy247dFLKzxRtsdt1wQzpCJXXkpQalyZ9mdHu6OhY16ld0K9VZc2s+aSN8Grh+ e5vitvY2CM8XB5DIBbabitnmvLwDjudRf+ZQaX6r54P5ad7WYOYhi4s/3poZSMKtaQbzK5 hA9Dx8Sy3WGLYh+kyhf5jh4NTloN6Xkegbm9q2E3wWy7eG57Rr03c04nmMTMsrbbnQv3k4 T1XRMz3iUqJV4yOOV9USMTYsEaauIyCgyMZ5U60OQc2pPvoUiUuUUyXr6HMfcA== Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4Tg0J14F7Yz16wX; Wed, 21 Feb 2024 15:17:21 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.17.1/8.17.1) with ESMTP id 41LFHLPO012430; Wed, 21 Feb 2024 15:17:21 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.17.1/8.17.1/Submit) id 41LFHLsc012427; Wed, 21 Feb 2024 15:17:21 GMT (envelope-from git) Date: Wed, 21 Feb 2024 15:17:21 GMT Message-Id: <202402211517.41LFHLsc012427@gitrepo.freebsd.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org From: Po-Chuan Hsieh Subject: git: 51e1402c8475 - main - net-im/py-slackeventsapi: Add py-slackeventsapi 3.0.1 List-Id: Commit messages for all branches of the ports repository List-Archive: https://lists.freebsd.org/archives/dev-commits-ports-all List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-dev-commits-ports-all@freebsd.org X-BeenThere: dev-commits-ports-all@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: sunpoet X-Git-Repository: ports X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: 51e1402c8475f5b12707b4138ef10330f05c8614 Auto-Submitted: auto-generated The branch main has been updated by sunpoet: URL: https://cgit.FreeBSD.org/ports/commit/?id=51e1402c8475f5b12707b4138ef10330f05c8614 commit 51e1402c8475f5b12707b4138ef10330f05c8614 Author: Po-Chuan Hsieh AuthorDate: 2024-02-21 14:13:20 +0000 Commit: Po-Chuan Hsieh CommitDate: 2024-02-21 15:06:08 +0000 net-im/py-slackeventsapi: Add py-slackeventsapi 3.0.1 The Slack Events Adapter is a Python-based solution to receive and parse events from Slack's Events API. This library uses an event emitter framework to allow you to easily process Slack events by simply attaching functions to event listeners. This adapter enhances and simplifies Slack's Events API by incorporating useful best practices, patterns, and opportunities to abstract out common tasks. --- net-im/Makefile | 1 + net-im/py-slackeventsapi/Makefile | 22 ++++++++++++++++++++++ net-im/py-slackeventsapi/distinfo | 3 +++ net-im/py-slackeventsapi/files/patch-setup.py | 11 +++++++++++ net-im/py-slackeventsapi/pkg-descr | 7 +++++++ 5 files changed, 44 insertions(+) diff --git a/net-im/Makefile b/net-im/Makefile index 8db413a7f55e..3e6764b4a2cf 100644 --- a/net-im/Makefile +++ b/net-im/Makefile @@ -116,6 +116,7 @@ SUBDIR += py-punjab SUBDIR += py-python-telegram-bot SUBDIR += py-slack-sdk + SUBDIR += py-slackeventsapi SUBDIR += py-slixmpp SUBDIR += py-telepot SUBDIR += py-toxcore-c diff --git a/net-im/py-slackeventsapi/Makefile b/net-im/py-slackeventsapi/Makefile new file mode 100644 index 000000000000..e61b39812fd5 --- /dev/null +++ b/net-im/py-slackeventsapi/Makefile @@ -0,0 +1,22 @@ +PORTNAME= slackeventsapi +PORTVERSION= 3.0.1 +CATEGORIES= net-im python +MASTER_SITES= PYPI +PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} + +MAINTAINER= sunpoet@FreeBSD.org +COMMENT= Python Slack Events API adapter for Flask +WWW= https://github.com/slackapi/python-slack-events-api + +LICENSE= MIT +LICENSE_FILE= ${WRKSRC}/LICENSE + +RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}flask>=2:www/py-flask@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}pyee>=8:devel/py-pyee@${PY_FLAVOR} + +USES= python +USE_PYTHON= autoplist concurrent distutils + +NO_ARCH= yes + +.include diff --git a/net-im/py-slackeventsapi/distinfo b/net-im/py-slackeventsapi/distinfo new file mode 100644 index 000000000000..b4287810154c --- /dev/null +++ b/net-im/py-slackeventsapi/distinfo @@ -0,0 +1,3 @@ +TIMESTAMP = 1708448844 +SHA256 (slackeventsapi-3.0.1.tar.gz) = 24f8e843a60118b08368161105bae8a998801202f85782239d48f8635e2ead58 +SIZE (slackeventsapi-3.0.1.tar.gz) = 7309 diff --git a/net-im/py-slackeventsapi/files/patch-setup.py b/net-im/py-slackeventsapi/files/patch-setup.py new file mode 100644 index 000000000000..0c965be1a65a --- /dev/null +++ b/net-im/py-slackeventsapi/files/patch-setup.py @@ -0,0 +1,11 @@ +--- setup.py.orig 2021-11-30 08:16:52 UTC ++++ setup.py +@@ -34,7 +34,7 @@ setup(name='slackeventsapi', + long_description_content_type='text/x-rst', + long_description=long_description, + install_requires=[ +- 'flask>=2,<3', ++ 'flask>=2', + 'pyee>=8', + ], + classifiers=[ diff --git a/net-im/py-slackeventsapi/pkg-descr b/net-im/py-slackeventsapi/pkg-descr new file mode 100644 index 000000000000..5120bc58d989 --- /dev/null +++ b/net-im/py-slackeventsapi/pkg-descr @@ -0,0 +1,7 @@ +The Slack Events Adapter is a Python-based solution to receive and parse events +from Slack's Events API. This library uses an event emitter framework to allow +you to easily process Slack events by simply attaching functions to event +listeners. + +This adapter enhances and simplifies Slack's Events API by incorporating useful +best practices, patterns, and opportunities to abstract out common tasks.