bb579283d0
They now have a tool dependency on py-setuptools instead of a DEPENDS
30 lines
964 B
Makefile
30 lines
964 B
Makefile
# $NetBSD: Makefile,v 1.34 2022/01/04 20:54:25 wiz Exp $
|
|
|
|
DISTNAME= boto-2.49.0
|
|
PKGNAME= ${PYPKGPREFIX}-${DISTNAME}
|
|
PKGREVISION= 4
|
|
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"
|