Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 1 Sep 2022 19:28:23 GMT
From:      Emanuel Haupt <ehaupt@FreeBSD.org>
To:        ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org
Subject:   git: 3249865ef320 - main - www/py-requests-gssapi: Add new port
Message-ID:  <202209011928.281JSNEd068080@gitrepo.freebsd.org>

next in thread | raw e-mail | index | archive | help
The branch main has been updated by ehaupt:

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

commit 3249865ef32052075c97bfec80dd683c1e7e2c83
Author:     Emanuel Haupt <ehaupt@FreeBSD.org>
AuthorDate: 2022-09-01 19:26:22 +0000
Commit:     Emanuel Haupt <ehaupt@FreeBSD.org>
CommitDate: 2022-09-01 19:28:15 +0000

    www/py-requests-gssapi: Add new port
    
    Requests is an HTTP library, written in Python, for human beings. This
    library adds optional GSSAPI authentication support and supports mutual
    authentication.
    
    It provides a fully backward-compatible shim for the old
    python-requests-kerberos library.
    
    A more powerful interface is provided by the HTTPSPNEGOAuth component,
    but this is of course not guaranteed to be compatible. Documentation
    below is written toward the new interface.
    
    WWW: https://pypi.org/project/requests-gssapi/
---
 www/Makefile                     |  1 +
 www/py-requests-gssapi/Makefile  | 19 +++++++++++++++++++
 www/py-requests-gssapi/distinfo  |  3 +++
 www/py-requests-gssapi/pkg-descr | 12 ++++++++++++
 4 files changed, 35 insertions(+)

diff --git a/www/Makefile b/www/Makefile
index 6f0b1996dc28..4bf872081349 100644
--- a/www/Makefile
+++ b/www/Makefile
@@ -1721,6 +1721,7 @@
     SUBDIR += py-requests-cache93
     SUBDIR += py-requests-file
     SUBDIR += py-requests-futures
+    SUBDIR += py-requests-gssapi
     SUBDIR += py-requests-mock
     SUBDIR += py-requests-oauthlib
     SUBDIR += py-requests-toolbelt
diff --git a/www/py-requests-gssapi/Makefile b/www/py-requests-gssapi/Makefile
new file mode 100644
index 000000000000..c65be69f2022
--- /dev/null
+++ b/www/py-requests-gssapi/Makefile
@@ -0,0 +1,19 @@
+PORTNAME=	requests-gssapi
+PORTVERSION=	1.2.3
+CATEGORIES=	www python
+MASTER_SITES=	CHEESESHOP
+PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
+
+MAINTAINER=	ehaupt@FreeBSD.org
+COMMENT=	GSSAPI authentication handler for python-requests
+
+LICENSE=	ISCL
+LICENSE_FILE=	${WRKSRC}/LICENSE
+
+RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}gssapi>=1.4.1:security/py-gssapi@${PY_FLAVOR} \
+		${PYTHON_PKGNAMEPREFIX}requests>=1.1.0:www/py-requests@${PY_FLAVOR}
+
+USES=		python
+USE_PYTHON=	autoplist distutils
+
+.include <bsd.port.mk>
diff --git a/www/py-requests-gssapi/distinfo b/www/py-requests-gssapi/distinfo
new file mode 100644
index 000000000000..9b56f41bb781
--- /dev/null
+++ b/www/py-requests-gssapi/distinfo
@@ -0,0 +1,3 @@
+TIMESTAMP = 1662059140
+SHA256 (requests-gssapi-1.2.3.tar.gz) = 20784508981401f7153c933eed095338933a40818da65a259dbf2d80dccb150e
+SIZE (requests-gssapi-1.2.3.tar.gz) = 19007
diff --git a/www/py-requests-gssapi/pkg-descr b/www/py-requests-gssapi/pkg-descr
new file mode 100644
index 000000000000..94b42833bb9f
--- /dev/null
+++ b/www/py-requests-gssapi/pkg-descr
@@ -0,0 +1,12 @@
+Requests is an HTTP library, written in Python, for human beings. This
+library adds optional GSSAPI authentication support and supports mutual
+authentication.
+
+It provides a fully backward-compatible shim for the old
+python-requests-kerberos library.
+
+A more powerful interface is provided by the HTTPSPNEGOAuth component,
+but this is of course not guaranteed to be compatible. Documentation
+below is written toward the new interface.
+
+WWW: https://pypi.org/project/requests-gssapi/



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202209011928.281JSNEd068080>