pkgsrc/net/py-boto/Makefile
taca 019262bed8 net/py-boto: fix ALTERNATIVES file
Fix ALTERNATIVES file syntax.

Bump PKGREVISION.
2018-12-22 17:30:08 +00:00

30 lines
965 B
Makefile

# $NetBSD: Makefile,v 1.32 2018/12/22 17:30:08 taca Exp $
DISTNAME= boto-2.49.0
PKGNAME= ${PYPKGPREFIX}-${DISTNAME}
PKGREVISION= 2
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
TEST_DEPENDS+= ${PYPKGPREFIX}-nose-[0-9]*:../../devel/py-nose
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
do-test:
cd ${WRKSRC}/tests && ${PYTHONBIN} -m unittest discover -v
.include "../../lang/python/egg.mk"
.include "../../mk/bsd.pkg.mk"