blob: 86092d5e091a44712bce51d9e738a2787cd01e03 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
|
# $NetBSD: Makefile,v 1.24 2020/08/31 16:32:13 wiz Exp $
DISTNAME= google-auth-1.21.0
PKGNAME= ${PYPKGPREFIX}-${DISTNAME}
CATEGORIES= security python
MASTER_SITES= ${MASTER_SITE_PYPI:=g/google-auth/}
MAINTAINER= pkgsrc-users@NetBSD.org
HOMEPAGE= https://github.com/googleapis/google-auth-library-python
COMMENT= Google Authentication Library
LICENSE= apache-2.0
DEPENDS+= ${PYPKGPREFIX}-asn1-modules>=0.2.1:../../security/py-asn1-modules
DEPENDS+= ${PYPKGPREFIX}-cachetools>=2.0.0:../../devel/py-cachetools
DEPENDS+= ${PYPKGPREFIX}-rsa>=3.1.4:../../security/py-rsa
DEPENDS+= ${PYPKGPREFIX}-setuptools>=40.3.0:../../devel/py-setuptools
DEPENDS+= ${PYPKGPREFIX}-six>=1.9.0:../../lang/py-six
TEST_DEPENDS+= ${PYPKGPREFIX}-flask-[0-9]*:../../www/py-flask
TEST_DEPENDS+= ${PYPKGPREFIX}-mock-[0-9]*:../../devel/py-mock
TEST_DEPENDS+= ${PYPKGPREFIX}-oauth2client-[0-9]*:../../security/py-oauth2client
TEST_DEPENDS+= ${PYPKGPREFIX}-test-[0-9]*:../../devel/py-test
TEST_DEPENDS+= ${PYPKGPREFIX}-test-localserver-[0-9]*:../../devel/py-test-localserver
# not mentioned, but needed
DEPENDS+= ${PYPKGPREFIX}-cryptography-[0-9]*:../../security/py-cryptography
DEPENDS+= ${PYPKGPREFIX}-requests-[0-9]*:../../devel/py-requests
TEST_DEPENDS+= ${PYPKGPREFIX}-freezegun-[0-9]*:../../devel/py-freezegun
TEST_DEPENDS+= ${PYPKGPREFIX}-responses-[0-9]*:../../net/py-responses
PYTHON_VERSIONS_INCOMPATIBLE= 27 # py-cachetools
USE_LANGUAGES= # none
do-test:
cd ${WRKSRC} && pytest-${PYVERSSUFFIX} tests
.include "../../lang/python/egg.mk"
.include "../../mk/bsd.pkg.mk"
|