[BACK]Return to Makefile CVS log [TXT][DIR] Up to [cvs.NetBSD.org] / pkgsrc / net / py-boto

File: [cvs.NetBSD.org] / pkgsrc / net / py-boto / Makefile (download)

Revision 1.27, Thu May 18 18:25:27 2017 UTC (19 months ago) by adam
Branch: MAIN
Changes since 1.26: +14 -45 lines

Changes 2.46.1:
Fixes a bug where a recently added module was not added to setup.py.

# $NetBSD: Makefile,v 1.27 2017/05/18 18:25:27 adam Exp $

DISTNAME=	boto-2.46.1
PKGNAME=	${PYPKGPREFIX}-${DISTNAME}
CATEGORIES=	net python www
MASTER_SITES=	${MASTER_SITE_PYPI:=b/boto/}

MAINTAINER=	pkgsrc-users@NetBSD.org
HOMEPAGE=	https://github.com/boto/boto/
COMMENT=	Python interface to Amazon web services
LICENSE=	mit

DEPENDS+=	${PYPKGPREFIX}-filechunkio-[0-9]*:../../devel/py-filechunkio

BUILD_DEPENDS+=	${PYPKGPREFIX}-nose-[0-9]*:../../devel/py-nose

REPLACE_PYTHON+=	bin/*
REPLACE_PYTHON+=	boto/pyami/launch_ami.py
REPLACE_PYTHON+=	boto/services/bs.py
REPLACE_PYTHON+=	boto/services/result.py

PY_PATCHPLIST=			yes

post-install:
.for f in asadmin bundle_image cfadmin cq cwutil dynamodb_dump dynamodb_load \
	elbadmin fetch_file glacier instance_events kill_instance \
	launch_instance list_instances lss3 mturk pyami_sendmail route53 \
	s3put sdbadmin taskadmin
	${MV} ${DESTDIR}${PREFIX}/bin/${f} \
		${DESTDIR}${PREFIX}/bin/${f}${PYVERSSUFFIX} || ${TRUE}
.endfor

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