blob: 0617f6fc4f0333e017c255f1c5239c053b1a637f (
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
|
# $NetBSD: Makefile,v 1.31 2018/12/20 11:30:57 wiz Exp $
DISTNAME= boto-2.49.0
PKGNAME= ${PYPKGPREFIX}-${DISTNAME}
PKGREVISION= 1
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"
|