svn commit: r382353 - head/security/py-requests-kerberos
Kubilay Kocak
koobs at FreeBSD.org
Fri Mar 27 03:11:10 UTC 2015
On 27/03/2015 10:13 AM, Dan Langille wrote:
> Author: dvl
> Date: Thu Mar 26 23:13:13 2015
> New Revision: 382353
> URL: https://svnweb.freebsd.org/changeset/ports/382353
> QAT: https://qat.redports.org/buildarchive/r382353/
>
> Log:
> Add py-requests-kerberos
>
> An authentication handler for using Kerberos with Python Requests.
>
> Approved by: mat (mentor)
>
> Added:
> head/security/py-requests-kerberos/
> head/security/py-requests-kerberos/Makefile (contents, props changed)
> head/security/py-requests-kerberos/distinfo (contents, props changed)
> head/security/py-requests-kerberos/pkg-descr (contents, props changed)
>
> Added: head/security/py-requests-kerberos/Makefile
> ==============================================================================
> --- /dev/null 00:00:00 1970 (empty, because file is newly added)
> +++ head/security/py-requests-kerberos/Makefile Thu Mar 26 23:13:13 2015 (r382353)
> @@ -0,0 +1,18 @@
> +# Created by: Dan Langille <dvl at FreeBSD.org>
> +# $FreeBSD$
> +
> +PORTNAME= requests-kerberos
> +PORTVERSION= 0.6.1
> +CATEGORIES= security python
> +MASTER_SITES= CHEESESHOP
> +PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
> +
> +MAINTAINER= dvl at FreeBSD.org
> +COMMENT= A Kerberos authentication handler for python-requests
* Remove indefinite article from COMMENT
* Add LICENSE / LICENSE_FILE
> +
> +RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}requests>0:${PORTSDIR}/www/py-requests
* Missing RUN_DEPENDS on security/py-kerberos [1]
* Match upstream minimum version requirements where possible:
requests>=1.1.0 [1]
[1]
https://github.com/requests/requests-kerberos/blob/master/requirements.txt
> +
> +USES= python:2
> +USE_PYTHON= distutils autoplist
* Sort values
> +
> +.include <bsd.port.mk>
>
> Added: head/security/py-requests-kerberos/distinfo
> ==============================================================================
> --- /dev/null 00:00:00 1970 (empty, because file is newly added)
> +++ head/security/py-requests-kerberos/distinfo Thu Mar 26 23:13:13 2015 (r382353)
> @@ -0,0 +1,2 @@
> +SHA256 (requests-kerberos-0.6.1.tar.gz) = 604dd84a2c04f819b322b3c8d85218367f7dd759427efdd96b71e7053afca6cc
> +SIZE (requests-kerberos-0.6.1.tar.gz) = 6860
>
> Added: head/security/py-requests-kerberos/pkg-descr
> ==============================================================================
> --- /dev/null 00:00:00 1970 (empty, because file is newly added)
> +++ head/security/py-requests-kerberos/pkg-descr Thu Mar 26 23:13:13 2015 (r382353)
> @@ -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
>
More information about the svn-ports-all
mailing list