From b29a5f1a5cfa309da0390fbe5b6fec75c32aa5a4 Mon Sep 17 00:00:00 2001
From: Ivan Rozhuk <rozhuk.im@gmail.com>
Date: Sat, 31 Jul 2021 05:48:15 -0400
Subject: [PATCH] devel/py-pycognito: New port

Makes working with AWS Cognito easier for Python developers.

PR:		252081
---
 devel/Makefile               |  1 +
 devel/py-pycognito/Makefile  | 20 ++++++++++++++++++++
 devel/py-pycognito/distinfo  |  3 +++
 devel/py-pycognito/pkg-descr |  3 +++
 4 files changed, 27 insertions(+)
 create mode 100644 devel/py-pycognito/Makefile
 create mode 100644 devel/py-pycognito/distinfo
 create mode 100644 devel/py-pycognito/pkg-descr

diff --git a/devel/Makefile b/devel/Makefile
index 403b0a48182e..d0c429672c2e 100644
--- a/devel/Makefile
+++ b/devel/Makefile
@@ -4895,6 +4895,7 @@
     SUBDIR += py-pycmd
     SUBDIR += py-pycodeexport
     SUBDIR += py-pycodestyle
+    SUBDIR += py-pycognito
     SUBDIR += py-pycompilation
     SUBDIR += py-pycparser
     SUBDIR += py-pydantic
diff --git a/devel/py-pycognito/Makefile b/devel/py-pycognito/Makefile
new file mode 100644
index 000000000000..5f53ab8a1013
--- /dev/null
+++ b/devel/py-pycognito/Makefile
@@ -0,0 +1,20 @@
+PORTNAME=	pycognito
+DISTVERSION=	2021.3.1
+CATEGORIES=	devel python
+MASTER_SITES=	CHEESESHOP
+PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
+
+MAINTAINER=	ygy@FreeBSD.org
+COMMENT=	Makes working with AWS Cognito easier for Python developers
+
+LICENSE=	APACHE20
+
+RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}boto3>0:www/py-boto3@${PY_FLAVOR} \
+		${PYTHON_PKGNAMEPREFIX}envs>0:devel/py-envs@${PY_FLAVOR} \
+		${PYTHON_PKGNAMEPREFIX}python-jose>0:security/py-python-jose@${PY_FLAVOR} \
+		${PYTHON_PKGNAMEPREFIX}requests>0:www/py-requests@${PY_FLAVOR}
+
+USES=		python
+USE_PYTHON=	autoplist distutils
+
+.include <bsd.port.mk>
diff --git a/devel/py-pycognito/distinfo b/devel/py-pycognito/distinfo
new file mode 100644
index 000000000000..81b38b09f712
--- /dev/null
+++ b/devel/py-pycognito/distinfo
@@ -0,0 +1,3 @@
+TIMESTAMP = 1625112808
+SHA256 (pycognito-2021.3.1.tar.gz) = 3a496364b697d744b37187d0ca3d950abc7540653455240477e4a41c3ba887a1
+SIZE (pycognito-2021.3.1.tar.gz) = 19923
diff --git a/devel/py-pycognito/pkg-descr b/devel/py-pycognito/pkg-descr
new file mode 100644
index 000000000000..5b4abb98092d
--- /dev/null
+++ b/devel/py-pycognito/pkg-descr
@@ -0,0 +1,3 @@
+Makes working with AWS Cognito easier for Python developers.
+
+WWW: https://github.com/pvizeli/pycognito
-- 
GitLab