Add py-requests-kerberos
An authentication handler for using Kerberos with Python Requests. Approved by: mat (mentor)
This commit is contained in:
parent
86aaf8b926
commit
85e64b3137
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=382353
3 changed files with 33 additions and 0 deletions
18
security/py-requests-kerberos/Makefile
Normal file
18
security/py-requests-kerberos/Makefile
Normal file
|
@ -0,0 +1,18 @@
|
|||
# Created by: Dan Langille <dvl@FreeBSD.org>
|
||||
# $FreeBSD$
|
||||
|
||||
PORTNAME= requests-kerberos
|
||||
PORTVERSION= 0.6.1
|
||||
CATEGORIES= security python
|
||||
MASTER_SITES= CHEESESHOP
|
||||
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
|
||||
|
||||
MAINTAINER= dvl@FreeBSD.org
|
||||
COMMENT= A Kerberos authentication handler for python-requests
|
||||
|
||||
RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}requests>0:${PORTSDIR}/www/py-requests
|
||||
|
||||
USES= python:2
|
||||
USE_PYTHON= distutils autoplist
|
||||
|
||||
.include <bsd.port.mk>
|
2
security/py-requests-kerberos/distinfo
Normal file
2
security/py-requests-kerberos/distinfo
Normal file
|
@ -0,0 +1,2 @@
|
|||
SHA256 (requests-kerberos-0.6.1.tar.gz) = 604dd84a2c04f819b322b3c8d85218367f7dd759427efdd96b71e7053afca6cc
|
||||
SIZE (requests-kerberos-0.6.1.tar.gz) = 6860
|
13
security/py-requests-kerberos/pkg-descr
Normal file
13
security/py-requests-kerberos/pkg-descr
Normal file
|
@ -0,0 +1,13 @@
|
|||
An authentication handler for using Kerberos with Python Requests.
|
||||
|
||||
Requests is an HTTP library, written in Python, for human beings. This
|
||||
library adds optional Kerberos/GSSAPI authentication support and supports
|
||||
mutual authentication. Basic GET usage:
|
||||
|
||||
>>> import requests
|
||||
>>> from requests_kerberos import HTTPKerberosAuth
|
||||
>>> r = requests.get("http://example.org", auth=HTTPKerberosAuth())
|
||||
...
|
||||
The entire requests.api should be supported.
|
||||
|
||||
WWW: https://github.com/requests/requests-kerberos
|
Loading…
Reference in a new issue