summaryrefslogtreecommitdiff
path: root/net/py-gsutil/Makefile
blob: 1a95969d1d5b4582bd5fcf4e9b3807c11db2f81b (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
38
39
40
41
42
# $NetBSD: Makefile,v 1.7 2020/01/03 12:09:06 adam Exp $

DISTNAME=	gsutil-4.46
PKGNAME=	${PYPKGPREFIX}-${DISTNAME}
CATEGORIES=	net python
MASTER_SITES=	${MASTER_SITE_PYPI:=g/gsutil/}

MAINTAINER=	bsiegert@NetBSD.org
HOMEPAGE=	https://cloud.google.com/storage/docs/gsutil
COMMENT=	Command line tool for interacting with cloud storage services
LICENSE=	apache-2.0

REPLACE_PYTHON+=	test/gsutil_measure_imports
REPLACE_PYTHON+=	gslib/vendored/boto/boto/pyami/launch_ami.py
REPLACE_PYTHON+=	gslib/vendored/boto/boto/services/bs.py
REPLACE_PYTHON+=	gslib/vendored/boto/tests/fps/test.py
REPLACE_PYTHON+=	gslib/vendored/boto/tests/test.py

DEPENDS+=	${PYPKGPREFIX}-OpenSSL>=0.13:../../security/py-OpenSSL
DEPENDS+=	${PYPKGPREFIX}-SocksiPy-branch>=1.01:../../net/py-socksipy-branch
DEPENDS+=	${PYPKGPREFIX}-argcomplete>=1.9.4:../../devel/py-argcomplete
DEPENDS+=	${PYPKGPREFIX}-boto>=2.48.0:../../net/py-boto
DEPENDS+=	${PYPKGPREFIX}-crcmod>=1.7:../../security/py-crcmod
DEPENDS+=	${PYPKGPREFIX}-fasteners>=0.14.1:../../devel/py-fasteners
DEPENDS+=	${PYPKGPREFIX}-gcs-oauth2-boto-plugin>=2.5:../../net/py-gcs-oauth2-boto-plugin
DEPENDS+=	${PYPKGPREFIX}-google-apitools>=0.5.30:../../www/py-google-apitools
DEPENDS+=	${PYPKGPREFIX}-google-reauth>=0.1.0:../../security/py-google-reauth
DEPENDS+=	${PYPKGPREFIX}-httplib2>=0.11.3:../../www/py-httplib2
DEPENDS+=	${PYPKGPREFIX}-mock>=2.0.0:../../devel/py-mock
DEPENDS+=	${PYPKGPREFIX}-monotonic>=1.4:../../time/py-monotonic
DEPENDS+=	${PYPKGPREFIX}-oauth2client>=4.1.3:../../security/py-oauth2client
DEPENDS+=	${PYPKGPREFIX}-retry_decorator>=1.0.0:../../devel/py-retry_decorator
DEPENDS+=	${PYPKGPREFIX}-six>=1.12.0:../../lang/py-six

USE_LANGUAGES=	# none

post-install:
	cd ${DESTDIR}${PREFIX}/bin && ${MV} gsutil gsutil-${PYVERSSUFFIX} || ${TRUE}

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