Annotation of pkgsrc/www/py-google-api-python-client/Makefile, revision 1.46
1.46 ! wiz 1: # $NetBSD: Makefile,v 1.45 2022/01/04 20:55:29 wiz Exp $
1.1 wiz 2:
1.44 adam 3: DISTNAME= google-api-python-client-2.15.0
1.1 wiz 4: PKGNAME= ${PYPKGPREFIX}-${DISTNAME}
1.46 ! wiz 5: PKGREVISION= 2
1.17 adam 6: CATEGORIES= www python
7: MASTER_SITES= ${MASTER_SITE_PYPI:=g/google-api-python-client/}
1.1 wiz 8:
9: MAINTAINER= pkgsrc-users@NetBSD.org
1.36 adam 10: HOMEPAGE= https://github.com/googleapis/google-api-python-client
1.1 wiz 11: COMMENT= Python client library for Google's discovery based APIs
12: LICENSE= apache-2.0
13:
1.39 adam 14: DEPENDS+= ${PYPKGPREFIX}-google-api-core>=1.21.0:../../devel/py-google-api-core
1.36 adam 15: DEPENDS+= ${PYPKGPREFIX}-google-auth>=1.16.0:../../security/py-google-auth
1.44 adam 16: DEPENDS+= ${PYPKGPREFIX}-google-auth-httplib2>=0.1.0:../../security/py-google-auth-httplib2
17: DEPENDS+= ${PYPKGPREFIX}-httplib2>=0.15.0:../../www/py-httplib2
1.39 adam 18: DEPENDS+= ${PYPKGPREFIX}-six>=1.13.0:../../lang/py-six
1.17 adam 19: DEPENDS+= ${PYPKGPREFIX}-uritemplate>=3.0.0:../../textproc/py-uritemplate
1.27 adam 20: TEST_DEPENDS+= ${PYPKGPREFIX}-mock-[0-9]*:../../devel/py-mock
21: TEST_DEPENDS+= ${PYPKGPREFIX}-oauth2client-[0-9]*:../../security/py-oauth2client
1.38 wiz 22: TEST_DEPENDS+= ${PYPKGPREFIX}-parameterized-[0-9]*:../../devel/py-parameterized
1.15 wiz 23:
1.35 adam 24: USE_LANGUAGES= # none
25:
1.30 wiz 26: PYTHON_VERSIONS_INCOMPATIBLE= 27
27:
1.46 ! wiz 28: # unittest2 is a replacement for python 2.x for unittest; this package
! 29: # is limited to python 3.x anyway, so use unittest directly
! 30: SUBST_CLASSES+= unittest
! 31: SUBST_STAGE.unittest= pre-build
! 32: SUBST_MESSAGE.unittest= Removing unittest2 dependency
! 33: SUBST_SED.unittest+= -e 's/import unittest2 as unittest/import unittest/'
! 34: SUBST_FILES.unittest+= tests/test*.py
! 35:
1.1 wiz 36: .include "../../lang/python/egg.mk"
37: .include "../../mk/bsd.pkg.mk"
CVSweb <webmaster@jp.NetBSD.org>