pkgsrc/security/py-google-auth-oauthlib/Makefile

25 lines
811 B
Makefile

# $NetBSD: Makefile,v 1.3 2020/01/09 14:21:06 wiz Exp $
DISTNAME= google-auth-oauthlib-0.4.1
PKGNAME= ${PYPKGPREFIX}-${DISTNAME}
CATEGORIES= security python
MASTER_SITES= ${MASTER_SITE_PYPI:=g/google-auth-oauthlib/}
MAINTAINER= pkgsrc-users@NetBSD.org
HOMEPAGE= https://github.com/GoogleCloudPlatform/google-auth-library-python-oauthlib
COMMENT= Google Authentication Library
LICENSE= apache-2.0
DEPENDS+= ${PYPKGPREFIX}-google-auth-[0-9]*:../../security/py-google-auth
DEPENDS+= ${PYPKGPREFIX}-requests-oauthlib>=0.7.0:../../security/py-requests-oauthlib
USE_LANGUAGES= # none
PYTHON_VERSIONS_INCOMPATIBLE= 27
post-install:
cd ${DESTDIR}${PREFIX}/bin && \
${MV} google-oauthlib-tool google-oauthlib-tool-${PYVERSSUFFIX} || ${TRUE}
.include "../../lang/python/egg.mk"
.include "../../mk/bsd.pkg.mk"