mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-02 01:20:54 +00:00
4dea0427d5
Macaroons, like cookies, are a form of bearer credential. Unlike opaque tokens, macaroons embed caveats that define specific authorization requirements for the target service, the service that issued the root macaroon and which is capable of verifying the integrity of macaroons it receives. WWW: https://github.com/matrix-org/pymacaroons PR: 205914 Submitted by: Brendan Molloy <brendan+freebsd@bbqsrc.net>
33 lines
904 B
Makefile
33 lines
904 B
Makefile
# Created by: Brendan Molloy <brendan+freebsd@bbqsrc.net>
|
|
# $FreeBSD$
|
|
|
|
PORTNAME= pymacaroons-pynacl
|
|
PORTVERSION= 0.9.3
|
|
DISTVERSIONPREFIX= v
|
|
CATEGORIES= security devel python
|
|
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
|
|
|
|
MAINTAINER= brendan+freebsd@bbqsrc.net
|
|
COMMENT= Macaroon library for Python
|
|
|
|
LICENSE= MIT
|
|
LICENSE_FILE= ${WRKSRC}/LICENSE
|
|
|
|
BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}pynacl>=0.3.0:${PORTSDIR}/security/py-pynacl \
|
|
${PYTHON_PKGNAMEPREFIX}six>=1.8.0:${PORTSDIR}/devel/py-six
|
|
TEST_DEPENDS= ${PYTHON_PKGNAMEPREFIX}hypothesis>0:${PORTSDIR}/devel/py-hypothesis \
|
|
${PYTHON_PKGNAMEPREFIX}mock>0:${PORTSDIR}/devel/py-mock \
|
|
${PYTHON_PKGNAMEPREFIX}nose>0:${PORTSDIR}/devel/py-nose
|
|
|
|
USES= python
|
|
USE_GITHUB= yes
|
|
USE_PYTHON= autoplist distutils
|
|
|
|
GH_ACCOUNT= matrix-org
|
|
GH_PROJECT= pymacaroons
|
|
|
|
do-test:
|
|
@(cd ${WRKSRC} && ${PYTHON_CMD} ${PYDISTUTILS_SETUP} nosetests)
|
|
|
|
.include <bsd.port.mk>
|