git: d3d6758224b5 - main - www/py-aiohttp-oauthlib: oauthlib for aiohttp clients

From: Alexandre C. Guimarães <rigoletto_at_FreeBSD.org>
Date: Sun, 02 Apr 2023 17:41:39 UTC
The branch main has been updated by rigoletto:

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

commit d3d6758224b58092ec290e9494e25d4c4a3e7854
Author:     Corey Halpin <chalpin@cs.wisc.edu>
AuthorDate: 2023-04-02 17:38:46 +0000
Commit:     Alexandre C. Guimarães <rigoletto@FreeBSD.org>
CommitDate: 2023-04-02 17:41:14 +0000

    www/py-aiohttp-oauthlib: oauthlib for aiohttp clients
    
    - New port
    - Committed with minor changes
    
    PR:             270456
---
 www/Makefile                      |  1 +
 www/py-aiohttp-oauthlib/Makefile  | 23 +++++++++++++++++++++++
 www/py-aiohttp-oauthlib/distinfo  |  3 +++
 www/py-aiohttp-oauthlib/pkg-descr |  4 ++++
 4 files changed, 31 insertions(+)

diff --git a/www/Makefile b/www/Makefile
index 8eb9dec0fba2..a6bf80cebe24 100644
--- a/www/Makefile
+++ b/www/Makefile
@@ -1419,6 +1419,7 @@
     SUBDIR += py-aioh2
     SUBDIR += py-aiohttp
     SUBDIR += py-aiohttp-middlewares
+    SUBDIR += py-aiohttp-oauthlib
     SUBDIR += py-aiohttp-session
     SUBDIR += py-aiohttp-wsgi
     SUBDIR += py-aiohttp_cors
diff --git a/www/py-aiohttp-oauthlib/Makefile b/www/py-aiohttp-oauthlib/Makefile
new file mode 100644
index 000000000000..2fb7a42c3bc8
--- /dev/null
+++ b/www/py-aiohttp-oauthlib/Makefile
@@ -0,0 +1,23 @@
+PORTNAME=	aiohttp-oauthlib
+DISTVERSION=	0.1.0
+CATEGORIES=	www python
+MASTER_SITES=	PYPI
+PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
+
+MAINTAINER=	chalpin@cs.wisc.edu
+COMMENT=	Oauthlib for aiohttp clients
+WWW=		https://git.sr.ht/~whynothugo/aiohttp-oauthlib
+
+LICENSE=	ISCL
+LICENSE_FILE=	${WRKSRC}/LICENCE
+
+BUILD_DEPENDS=	${PYTHON_PKGNAMEPREFIX}wheel>0:devel/py-wheel@${PY_FLAVOR} \
+		${PYTHON_PKGNAMEPREFIX}setuptools_scm>=0:devel/py-setuptools_scm@${PY_FLAVOR}
+
+RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}aiohttp>0:www/py-aiohttp@${PY_FLAVOR} \
+		${PYTHON_PKGNAMEPREFIX}oauthlib>0:security/py-oauthlib@${PY_FLAVOR}
+
+USES=		python
+USE_PYTHON=	autoplist distutils
+
+.include <bsd.port.mk>
diff --git a/www/py-aiohttp-oauthlib/distinfo b/www/py-aiohttp-oauthlib/distinfo
new file mode 100644
index 000000000000..2061ca04e904
--- /dev/null
+++ b/www/py-aiohttp-oauthlib/distinfo
@@ -0,0 +1,3 @@
+TIMESTAMP = 1679770191
+SHA256 (aiohttp-oauthlib-0.1.0.tar.gz) = 893cd1a59ddd0c2e4e980e3a544f9710b7c4ffb9e27b4cd038b51fe1d70393b7
+SIZE (aiohttp-oauthlib-0.1.0.tar.gz) = 8007
diff --git a/www/py-aiohttp-oauthlib/pkg-descr b/www/py-aiohttp-oauthlib/pkg-descr
new file mode 100644
index 000000000000..ada7dde88e9e
--- /dev/null
+++ b/www/py-aiohttp-oauthlib/pkg-descr
@@ -0,0 +1,4 @@
+Oauthlib for aiohttp clients
+
+Library integrating OAuthlib from Requests into the AIOHTTP Asynchronous
+HTTP Client/Server framework.