summaryrefslogtreecommitdiff
path: root/net/py-boto/Makefile
diff options
context:
space:
mode:
authorrodent <rodent@pkgsrc.org>2014-06-09 00:49:33 +0000
committerrodent <rodent@pkgsrc.org>2014-06-09 00:49:33 +0000
commitc97fd80251547738acc2a884cdec3f8cf7bbee15 (patch)
treeb75946268795a2339ee5a02b71ac963759317441 /net/py-boto/Makefile
parent8936ef04cf122efb6e5a635e9101725e17e46118 (diff)
downloadpkgsrc-c97fd80251547738acc2a884cdec3f8cf7bbee15.tar.gz
Fold diffs from www/py-boto into this package. Use ALTERNATIVES for files
installed to ${PREFIX}/bin. CATEGORIES+=python www. Fix HOMEPAGE and MASTER_SITES. Update REPLACE_PYTHON.
Diffstat (limited to 'net/py-boto/Makefile')
-rw-r--r--net/py-boto/Makefile62
1 files changed, 53 insertions, 9 deletions
diff --git a/net/py-boto/Makefile b/net/py-boto/Makefile
index 2e4f632311d..a824ef23660 100644
--- a/net/py-boto/Makefile
+++ b/net/py-boto/Makefile
@@ -1,23 +1,67 @@
-# $NetBSD: Makefile,v 1.21 2014/05/09 07:37:14 wiz Exp $
+# $NetBSD: Makefile,v 1.22 2014/06/09 00:49:33 rodent Exp $
-DISTNAME= boto-2.6.0
+DISTNAME= boto-2.29.1
PKGNAME= ${PYPKGPREFIX}-${DISTNAME}
-PKGREVISON= 1
-CATEGORIES= net
-MASTER_SITES= http://cloud.github.com/downloads/boto/boto/
+CATEGORIES= net python www
+MASTER_SITES= https://pypi.python.org/packages/source/b/boto/
MAINTAINER= pkgsrc-users@NetBSD.org
-HOMEPAGE= http://docs.pythonboto.org/
+HOMEPAGE= https://github.com/boto/boto/
COMMENT= Python interface to Amazon web services
LICENSE= mit
DEPENDS+= ${PYPKGPREFIX}-filechunkio-[0-9]*:../../devel/py-filechunkio
-REPLACE_PYTHON+= *.py
-REPLACE_PYTHON+= boto/*/*.py
-REPLACE_PYTHON+= bin/*
+REPLACE_PYTHON+= bin/* boto/pyami/launch_ami.py boto/services/bs.py
+REPLACE_PYTHON+= boto/services/result.py
PYTHON_VERSIONS_INCOMPATIBLE= 33 34 # py-filechunkio
+PY_PATCHPLIST= yes
+PLIST_SUBST+= PYVERSSUFFIX=${PYVERSSUFFIX}
+
+post-install:
+ ${MV} ${DESTDIR}${PREFIX}/bin/asadmin \
+ ${DESTDIR}${PREFIX}/bin/asadmin${PYVERSSUFFIX}
+ ${MV} ${DESTDIR}${PREFIX}/bin/bundle_image \
+ ${DESTDIR}${PREFIX}/bin/bundle_image${PYVERSSUFFIX}
+ ${MV} ${DESTDIR}${PREFIX}/bin/cfadmin \
+ ${DESTDIR}${PREFIX}/bin/cfadmin${PYVERSSUFFIX}
+ ${MV} ${DESTDIR}${PREFIX}/bin/cq \
+ ${DESTDIR}${PREFIX}/bin/cq${PYVERSSUFFIX}
+ ${MV} ${DESTDIR}${PREFIX}/bin/cwutil \
+ ${DESTDIR}${PREFIX}/bin/cwutil${PYVERSSUFFIX}
+ ${MV} ${DESTDIR}${PREFIX}/bin/dynamodb_dump \
+ ${DESTDIR}${PREFIX}/bin/dynamodb_dump${PYVERSSUFFIX}
+ ${MV} ${DESTDIR}${PREFIX}/bin/dynamodb_load \
+ ${DESTDIR}${PREFIX}/bin/dynamodb_load${PYVERSSUFFIX}
+ ${MV} ${DESTDIR}${PREFIX}/bin/elbadmin \
+ ${DESTDIR}${PREFIX}/bin/elbadmin${PYVERSSUFFIX}
+ ${MV} ${DESTDIR}${PREFIX}/bin/fetch_file \
+ ${DESTDIR}${PREFIX}/bin/fetch_file${PYVERSSUFFIX}
+ ${MV} ${DESTDIR}${PREFIX}/bin/glacier \
+ ${DESTDIR}${PREFIX}/bin/glacier${PYVERSSUFFIX}
+ ${MV} ${DESTDIR}${PREFIX}/bin/instance_events \
+ ${DESTDIR}${PREFIX}/bin/instance_events${PYVERSSUFFIX}
+ ${MV} ${DESTDIR}${PREFIX}/bin/kill_instance \
+ ${DESTDIR}${PREFIX}/bin/kill_instance${PYVERSSUFFIX}
+ ${MV} ${DESTDIR}${PREFIX}/bin/launch_instance \
+ ${DESTDIR}${PREFIX}/bin/launch_instance${PYVERSSUFFIX}
+ ${MV} ${DESTDIR}${PREFIX}/bin/list_instances \
+ ${DESTDIR}${PREFIX}/bin/list_instances${PYVERSSUFFIX}
+ ${MV} ${DESTDIR}${PREFIX}/bin/lss3 \
+ ${DESTDIR}${PREFIX}/bin/lss3${PYVERSSUFFIX}
+ ${MV} ${DESTDIR}${PREFIX}/bin/mturk \
+ ${DESTDIR}${PREFIX}/bin/mturk${PYVERSSUFFIX}
+ ${MV} ${DESTDIR}${PREFIX}/bin/pyami_sendmail \
+ ${DESTDIR}${PREFIX}/bin/pyami_sendmail${PYVERSSUFFIX}
+ ${MV} ${DESTDIR}${PREFIX}/bin/route53 \
+ ${DESTDIR}${PREFIX}/bin/route53${PYVERSSUFFIX}
+ ${MV} ${DESTDIR}${PREFIX}/bin/s3put \
+ ${DESTDIR}${PREFIX}/bin/s3put${PYVERSSUFFIX}
+ ${MV} ${DESTDIR}${PREFIX}/bin/sdbadmin \
+ ${DESTDIR}${PREFIX}/bin/sdbadmin${PYVERSSUFFIX}
+ ${MV} ${DESTDIR}${PREFIX}/bin/taskadmin \
+ ${DESTDIR}${PREFIX}/bin/taskadmin${PYVERSSUFFIX}
.include "../../lang/python/application.mk"
.include "../../lang/python/egg.mk"