Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 27 Mar 2015 14:10:57 +1100
From:      Kubilay Kocak <koobs@FreeBSD.org>
To:        Dan Langille <dvl@FreeBSD.org>, ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   Re: svn commit: r382353 - head/security/py-requests-kerberos
Message-ID:  <5514CA41.1050404@FreeBSD.org>
In-Reply-To: <201503262313.t2QNDEol052266@svn.freebsd.org>
References:  <201503262313.t2QNDEol052266@svn.freebsd.org>

next in thread | previous in thread | raw e-mail | index | archive | help
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@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

 * 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
> 




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