pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/net/py-boto Import boto-1.0a. This package was import...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/a7bda93fab65
branches:  trunk
changeset: 538338:a7bda93fab65
user:      bjs <bjs%pkgsrc.org@localhost>
date:      Wed Feb 06 07:08:11 2008 +0000

description:
Import boto-1.0a.  This package was imported so that the update of
sysutils/duplicity could use amazon web services.

Blurb:

Boto is a Python package that provides interfaces to Amazon Web Services.
At the moment, boto supports S3 (Simple Storage Service) and SQS (Simple
Queue Service) via the REST API's provided by those services and EC2
(Elastic Compute Cloud) via the Query API.  The intent is to support
additional services in the future.

The goal of boto is to provide a very simple, easy to use, lightweight
wrapper around the Amazon services.  Not all features supported by the
Amazon Web Services will be supported in boto.  Basically, those
features I need to do what I want to do are supported first.  Other
features and requests are welcome and will be accomodated to the best
of my ability.  Patches and contributions are welcome!

Boto was written using Python 2.4.1 on Mac OSX.  It has also been tested
on Linux Fedora Core 4 using Python 2.4.1.  Boto requires no additional
libraries or packages other than those that are distributed with Python 2.4.1.
NOTE: A patch was supplied recently by josh.bressers that should allow
boto to run in Python 2.3.  I have not tested this myself.

[NOTE: I did not mark 23 as an acceptable python version]

There is some documentation for boto, mainly in the form of tutorials.
Check in the doc directory of the distribution.  You can also check out
the unit tests in the tests directory of the distribution for examples of use.

You AWS credentials can be passed into the methods that create S3 and SQS
connections.  Alternatively, boto will check for the existance of the
following environment variables to ascertain your credentials:

AWS_ACCESS_KEY_ID - Your AWS Access Key ID
AWS_SECRET_ACCESS_KEY - Your AWS Secret Access Key

diffstat:

 net/py-boto/DESCR         |   12 +++
 net/py-boto/Makefile      |   20 ++++++
 net/py-boto/PLIST         |  152 ++++++++++++++++++++++++++++++++++++++++++++++
 net/py-boto/buildlink3.mk |   19 +++++
 net/py-boto/distinfo      |    6 +
 5 files changed, 209 insertions(+), 0 deletions(-)

diffs (229 lines):

diff -r 48d974b179af -r a7bda93fab65 net/py-boto/DESCR
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/net/py-boto/DESCR Wed Feb 06 07:08:11 2008 +0000
@@ -0,0 +1,12 @@
+Boto is a Python package that provides interfaces to Amazon Web Services.
+At the moment, boto supports S3 (Simple Storage Service) and SQS (Simple
+Queue Service) via the REST API's provided by those services and EC2
+(Elastic Compute Cloud) via the Query API.  The intent is to support
+additional services in the future.
+
+The goal of boto is to provide a very simple, easy to use, lightweight
+wrapper around the Amazon services.  Not all features supported by the
+Amazon Web Services will be supported in boto.  Basically, those
+features I need to do what I want to do are supported first.  Other
+features and requests are welcome and will be accomodated to the best
+of my ability.  Patches and contributions are welcome!
diff -r 48d974b179af -r a7bda93fab65 net/py-boto/Makefile
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/net/py-boto/Makefile      Wed Feb 06 07:08:11 2008 +0000
@@ -0,0 +1,20 @@
+# $NetBSD: Makefile,v 1.1.1.1 2008/02/06 07:08:11 bjs Exp $
+#
+
+DISTNAME=      boto-1.0a
+PKGNAME=       ${PYPKGPREFIX}-${DISTNAME}
+EGG_NAME=      ${DISTNAME}
+CATEGORIES=    net
+MASTER_SITES=  http://boto.googlecode.com/files/
+
+MAINTAINER=    bjs%NetBSD.org@localhost
+HOMEPAGE=      http://boto.googlecode.com/
+COMMENT=       Python interface to Amazon web services
+
+PKG_DESTDIR_SUPPORT=   user-destdir
+
+PYDISTUTILSPKG=        yes
+PYTHON_VERSIONS_ACCEPTED= 24
+
+.include "../../lang/python/egg.mk"
+.include "../../mk/bsd.pkg.mk"
diff -r 48d974b179af -r a7bda93fab65 net/py-boto/PLIST
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/net/py-boto/PLIST Wed Feb 06 07:08:11 2008 +0000
@@ -0,0 +1,152 @@
+@comment $NetBSD: PLIST,v 1.1.1.1 2008/02/06 07:08:11 bjs Exp $
+${PYSITELIB}/${EGG_INFODIR}/PKG-INFO
+${PYSITELIB}/${EGG_INFODIR}/SOURCES.txt
+${PYSITELIB}/${EGG_INFODIR}/dependency_links.txt
+${PYSITELIB}/${EGG_INFODIR}/top_level.txt
+${PYSITELIB}/boto/__init__.py
+${PYSITELIB}/boto/__init__.pyc
+${PYSITELIB}/boto/__init__.pyo
+${PYSITELIB}/boto/connection.py
+${PYSITELIB}/boto/connection.pyc
+${PYSITELIB}/boto/connection.pyo
+${PYSITELIB}/boto/contrib/__init__.py
+${PYSITELIB}/boto/contrib/__init__.pyc
+${PYSITELIB}/boto/contrib/__init__.pyo
+${PYSITELIB}/boto/contrib/m2helpers.py
+${PYSITELIB}/boto/contrib/m2helpers.pyc
+${PYSITELIB}/boto/contrib/m2helpers.pyo
+${PYSITELIB}/boto/contrib/ymlmessage.py
+${PYSITELIB}/boto/contrib/ymlmessage.pyc
+${PYSITELIB}/boto/contrib/ymlmessage.pyo
+${PYSITELIB}/boto/ec2/__init__.py
+${PYSITELIB}/boto/ec2/__init__.pyc
+${PYSITELIB}/boto/ec2/__init__.pyo
+${PYSITELIB}/boto/ec2/connection.py
+${PYSITELIB}/boto/ec2/connection.pyc
+${PYSITELIB}/boto/ec2/connection.pyo
+${PYSITELIB}/boto/ec2/image.py
+${PYSITELIB}/boto/ec2/image.pyc
+${PYSITELIB}/boto/ec2/image.pyo
+${PYSITELIB}/boto/ec2/instance.py
+${PYSITELIB}/boto/ec2/instance.pyc
+${PYSITELIB}/boto/ec2/instance.pyo
+${PYSITELIB}/boto/ec2/keypair.py
+${PYSITELIB}/boto/ec2/keypair.pyc
+${PYSITELIB}/boto/ec2/keypair.pyo
+${PYSITELIB}/boto/ec2/securitygroup.py
+${PYSITELIB}/boto/ec2/securitygroup.pyc
+${PYSITELIB}/boto/ec2/securitygroup.pyo
+${PYSITELIB}/boto/exception.py
+${PYSITELIB}/boto/exception.pyc
+${PYSITELIB}/boto/exception.pyo
+${PYSITELIB}/boto/handler.py
+${PYSITELIB}/boto/handler.pyc
+${PYSITELIB}/boto/handler.pyo
+${PYSITELIB}/boto/mturk/__init__.py
+${PYSITELIB}/boto/mturk/__init__.pyc
+${PYSITELIB}/boto/mturk/__init__.pyo
+${PYSITELIB}/boto/mturk/connection.py
+${PYSITELIB}/boto/mturk/connection.pyc
+${PYSITELIB}/boto/mturk/connection.pyo
+${PYSITELIB}/boto/mturk/notification.py
+${PYSITELIB}/boto/mturk/notification.pyc
+${PYSITELIB}/boto/mturk/notification.pyo
+${PYSITELIB}/boto/mturk/price.py
+${PYSITELIB}/boto/mturk/price.pyc
+${PYSITELIB}/boto/mturk/price.pyo
+${PYSITELIB}/boto/mturk/qualification.py
+${PYSITELIB}/boto/mturk/qualification.pyc
+${PYSITELIB}/boto/mturk/qualification.pyo
+${PYSITELIB}/boto/mturk/question.py
+${PYSITELIB}/boto/mturk/question.pyc
+${PYSITELIB}/boto/mturk/question.pyo
+${PYSITELIB}/boto/resultset.py
+${PYSITELIB}/boto/resultset.pyc
+${PYSITELIB}/boto/resultset.pyo
+${PYSITELIB}/boto/s3/__init__.py
+${PYSITELIB}/boto/s3/__init__.pyc
+${PYSITELIB}/boto/s3/__init__.pyo
+${PYSITELIB}/boto/s3/acl.py
+${PYSITELIB}/boto/s3/acl.pyc
+${PYSITELIB}/boto/s3/acl.pyo
+${PYSITELIB}/boto/s3/bucket.py
+${PYSITELIB}/boto/s3/bucket.pyc
+${PYSITELIB}/boto/s3/bucket.pyo
+${PYSITELIB}/boto/s3/bucketlistresultset.py
+${PYSITELIB}/boto/s3/bucketlistresultset.pyc
+${PYSITELIB}/boto/s3/bucketlistresultset.pyo
+${PYSITELIB}/boto/s3/connection.py
+${PYSITELIB}/boto/s3/connection.pyc
+${PYSITELIB}/boto/s3/connection.pyo
+${PYSITELIB}/boto/s3/key.py
+${PYSITELIB}/boto/s3/key.pyc
+${PYSITELIB}/boto/s3/key.pyo
+${PYSITELIB}/boto/s3/prefix.py
+${PYSITELIB}/boto/s3/prefix.pyc
+${PYSITELIB}/boto/s3/prefix.pyo
+${PYSITELIB}/boto/s3/user.py
+${PYSITELIB}/boto/s3/user.pyc
+${PYSITELIB}/boto/s3/user.pyo
+${PYSITELIB}/boto/sdb/__init__.py
+${PYSITELIB}/boto/sdb/__init__.pyc
+${PYSITELIB}/boto/sdb/__init__.pyo
+${PYSITELIB}/boto/sdb/attribute.py
+${PYSITELIB}/boto/sdb/attribute.pyc
+${PYSITELIB}/boto/sdb/attribute.pyo
+${PYSITELIB}/boto/sdb/connection.py
+${PYSITELIB}/boto/sdb/connection.pyc
+${PYSITELIB}/boto/sdb/connection.pyo
+${PYSITELIB}/boto/sdb/domain.py
+${PYSITELIB}/boto/sdb/domain.pyc
+${PYSITELIB}/boto/sdb/domain.pyo
+${PYSITELIB}/boto/sdb/item.py
+${PYSITELIB}/boto/sdb/item.pyc
+${PYSITELIB}/boto/sdb/item.pyo
+${PYSITELIB}/boto/sdb/item_orig.py
+${PYSITELIB}/boto/sdb/item_orig.pyc
+${PYSITELIB}/boto/sdb/item_orig.pyo
+${PYSITELIB}/boto/sdb/queryresultset.py
+${PYSITELIB}/boto/sdb/queryresultset.pyc
+${PYSITELIB}/boto/sdb/queryresultset.pyo
+${PYSITELIB}/boto/sqs/__init__.py
+${PYSITELIB}/boto/sqs/__init__.pyc
+${PYSITELIB}/boto/sqs/__init__.pyo
+${PYSITELIB}/boto/sqs/attributes.py
+${PYSITELIB}/boto/sqs/attributes.pyc
+${PYSITELIB}/boto/sqs/attributes.pyo
+${PYSITELIB}/boto/sqs/connection.py
+${PYSITELIB}/boto/sqs/connection.pyc
+${PYSITELIB}/boto/sqs/connection.pyo
+${PYSITELIB}/boto/sqs/message.py
+${PYSITELIB}/boto/sqs/message.pyc
+${PYSITELIB}/boto/sqs/message.pyo
+${PYSITELIB}/boto/sqs/queue.py
+${PYSITELIB}/boto/sqs/queue.pyc
+${PYSITELIB}/boto/sqs/queue.pyo
+${PYSITELIB}/boto/utils.py
+${PYSITELIB}/boto/utils.pyc
+${PYSITELIB}/boto/utils.pyo
+${PYSITELIB}/tests/__init__.py
+${PYSITELIB}/tests/__init__.pyc
+${PYSITELIB}/tests/__init__.pyo
+${PYSITELIB}/tests/test_ec2connection.py
+${PYSITELIB}/tests/test_ec2connection.pyc
+${PYSITELIB}/tests/test_ec2connection.pyo
+${PYSITELIB}/tests/test_s3connection.py
+${PYSITELIB}/tests/test_s3connection.pyc
+${PYSITELIB}/tests/test_s3connection.pyo
+${PYSITELIB}/tests/test_sdbconnection.py
+${PYSITELIB}/tests/test_sdbconnection.pyc
+${PYSITELIB}/tests/test_sdbconnection.pyo
+${PYSITELIB}/tests/test_sqsconnection.py
+${PYSITELIB}/tests/test_sqsconnection.pyc
+${PYSITELIB}/tests/test_sqsconnection.pyo
+@dirrm ${PYSITELIB}/${EGG_INFODIR}
+@dirrm ${PYSITELIB}/tests
+@dirrm ${PYSITELIB}/boto/sqs
+@dirrm ${PYSITELIB}/boto/sdb
+@dirrm ${PYSITELIB}/boto/s3
+@dirrm ${PYSITELIB}/boto/mturk
+@dirrm ${PYSITELIB}/boto/ec2
+@dirrm ${PYSITELIB}/boto/contrib
+@dirrm ${PYSITELIB}/boto
diff -r 48d974b179af -r a7bda93fab65 net/py-boto/buildlink3.mk
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/net/py-boto/buildlink3.mk Wed Feb 06 07:08:11 2008 +0000
@@ -0,0 +1,19 @@
+# $NetBSD: buildlink3.mk,v 1.1.1.1 2008/02/06 07:08:11 bjs Exp $
+
+BUILDLINK_DEPTH:=              ${BUILDLINK_DEPTH}+
+PY24_BOTO_BUILDLINK3_MK:=      ${PY24_BOTO_BUILDLINK3_MK}+
+
+.if ${BUILDLINK_DEPTH} == "+"
+BUILDLINK_DEPENDS+=    py24-boto
+.endif
+
+BUILDLINK_PACKAGES:=   ${BUILDLINK_PACKAGES:Npy24-boto}
+BUILDLINK_PACKAGES+=   py24-boto
+BUILDLINK_ORDER:=      ${BUILDLINK_ORDER} ${BUILDLINK_DEPTH}py24-boto
+
+.if ${PY24_BOTO_BUILDLINK3_MK} == "+"
+BUILDLINK_API_DEPENDS.py24-boto+=      py24-boto>=1.0a
+BUILDLINK_PKGSRCDIR.py24-boto?=        ../../net/py-boto
+.endif # PY24_BOTO_BUILDLINK3_MK
+
+BUILDLINK_DEPTH:=              ${BUILDLINK_DEPTH:S/+$//}
diff -r 48d974b179af -r a7bda93fab65 net/py-boto/distinfo
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/net/py-boto/distinfo      Wed Feb 06 07:08:11 2008 +0000
@@ -0,0 +1,6 @@
+$NetBSD: distinfo,v 1.1.1.1 2008/02/06 07:08:11 bjs Exp $
+
+SHA1 (boto-1.0a.tar.gz) = 4aa4c2bf0e935d76b946b053398100c5b1b3ab59
+RMD160 (boto-1.0a.tar.gz) = d6e0fbc053f07f2c4adb307804052a52566d28c3
+Size (boto-1.0a.tar.gz) = 71893 bytes
+SHA1 (patch-aa) = 01f1030a667bf7b4db9d0a139eb21017732adeb7



Home | Main Index | Thread Index | Old Index