summaryrefslogtreecommitdiff
path: root/www/py-google-api-python-client/Makefile
blob: d60eaf55d9f0e5aa1618c68bab33421ab5a47ce7 (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
# $NetBSD: Makefile,v 1.2 2014/12/31 13:57:33 wiz Exp $

DISTNAME=	google-api-python-client-1.3.1
PKGNAME=	${PYPKGPREFIX}-${DISTNAME}
CATEGORIES=	net python
MASTER_SITES=	-https://github.com/google/google-api-python-client/archive/v${PKGVERSION_NOREV}${EXTRACT_SUFX}

MAINTAINER=	pkgsrc-users@NetBSD.org
HOMEPAGE=	https://github.com/google/google-api-python-client
COMMENT=	Python client library for Google's discovery based APIs
LICENSE=	apache-2.0

DEPENDS+=	${PYPKGPREFIX}-httplib2-[0-9]*:../../www/py-httplib2
DEPENDS+=	${PYPKGPREFIX}-oauth2client-[0-9]*:../../security/py-oauth2client
DEPENDS+=	${PYPKGPREFIX}-uritemplate-[0-9]*:../../textproc/py-uritemplate

PYTHON_VERSIONS_INCOMPATIBLE=	33 34 # as of 1.3.1

# doesn't work, but doesn't matter
# see also https://github.com/google/google-api-python-client/issues/40
REPLACE_PYTHON+=	googleapiclient/errors.py
REPLACE_PYTHON+=	googleapiclient/model.py

.include "../../lang/python/egg.mk"
.include "../../mk/bsd.pkg.mk"