[Python-modules-commits] r15164 - in trunk/python-couchdbkit (18 files)
takaki at users.alioth.debian.org
takaki at users.alioth.debian.org
Tue Dec 28 08:27:47 UTC 2010
Date: Tuesday, December 28, 2010 @ 08:27:46
Author: takaki
Revision: 15164
[svn-inject] Applying Debian modifications (0.5.1-1) to trunk
Added:
trunk/python-couchdbkit/debian/
trunk/python-couchdbkit/debian/changelog
trunk/python-couchdbkit/debian/clean
trunk/python-couchdbkit/debian/compat
trunk/python-couchdbkit/debian/control
trunk/python-couchdbkit/debian/copyright
trunk/python-couchdbkit/debian/pyversions
trunk/python-couchdbkit/debian/rules
trunk/python-couchdbkit/debian/source/
trunk/python-couchdbkit/debian/source/format
trunk/python-couchdbkit/debian/watch
Deleted:
trunk/python-couchdbkit/couchdbkit.egg-info/PKG-INFO
trunk/python-couchdbkit/couchdbkit.egg-info/SOURCES.txt
trunk/python-couchdbkit/couchdbkit.egg-info/dependency_links.txt
trunk/python-couchdbkit/couchdbkit.egg-info/entry_points.txt
trunk/python-couchdbkit/couchdbkit.egg-info/not-zip-safe
trunk/python-couchdbkit/couchdbkit.egg-info/requires.txt
trunk/python-couchdbkit/couchdbkit.egg-info/top_level.txt
Deleted: trunk/python-couchdbkit/couchdbkit.egg-info/PKG-INFO
===================================================================
--- trunk/python-couchdbkit/couchdbkit.egg-info/PKG-INFO 2010-12-28 08:27:30 UTC (rev 15163)
+++ trunk/python-couchdbkit/couchdbkit.egg-info/PKG-INFO 2010-12-28 08:27:46 UTC (rev 15164)
@@ -1,172 +0,0 @@
-Metadata-Version: 1.0
-Name: couchdbkit
-Version: 0.5.1
-Summary: Python couchdb kit
-Home-page: http://couchdbkit.org
-Author: Benoit Chesneau
-Author-email: benoitc at e-engura.com
-License: Apache License 2
-Description: About
- -----
-
- `Couchdbkit`_ provides you a full featured and easy client to access and
- manage CouchDB. It allows you to manage a CouchDBserver, databases, doc
- managements and view access. All objects mostly reflect python objects for
- convenience. Server and Databases objects could be used for example as easy
- as using a dict.
-
- Installation
- ------------
-
- Couchdbkit requires Python 2.x superior to 2.5.
-
- Install from sources::
-
- $ python setup.py install
-
- Or from Pypi::
-
- $ easy_install -U couchdbkit
-
- Getting started
- ---------------
-
- This tutorial exposes key features of this library mainly through code
- examples. For in-depth description of the modules, you'll want to read
- the `API`_ documentation.
-
- Write your first CouchDB document
- +++++++++++++++++++++++++++++++++
-
- ::
-
- from couchdbkit import Server
- # server object
- server = Server()
-
- # create database
- db = server.get_or_create_db("greeting")
-
- doc = {"mydoc": "test"}
- db.save_doc(db)
-
- ::
-
- import datetime
- from couchdbkit import *
-
- class Greeting(Document):
- author = StringProperty()
- content = StringProperty()
- date = DateTimeProperty()
-
-
- Store the submitted Greetings
- +++++++++++++++++++++++++++++
-
- Here is the code to save a greet on ``Greeting`` database. We also see how to create a database::
-
- from couchdbkit import Server
-
- # associate Greeting to the db
- Greeting.set_db(db)
-
- # create a new greet
- greet = Greeting(
- author="Benoit",
- content="Welcome to couchdbkit world",
- date=datetime.datetime.utcnow()
- )
-
- # save it
- greet.save()
-
- .. NOTE::
-
- You can just use the db object to save a Schema: ``db.save(greet)`` .
-
-
- Your document ``greet`` is now in the ``greetings`` db. Each document
- is saved with a ``doc_type`` field that allow you to find easily each
- kind of document with the views. By default ``doc_type`` is the name of
- the class.
-
- Now that you saved your document, you can update it::
-
- greet.author = u"Benoit Chesneau"
- greet.save()
-
- Here we updated the author name.
-
- Dynamic properties
- ++++++++++++++++++
-
- Mmm ok, but isn't CouchDB storing documents schema less? Do you want to
- add a property ? Easy::
-
- greet.homepage = "http://www.e-engura.org"
- greet.save()
-
- Now you have just added an homepage property to the document.
-
- Get all greetings
- +++++++++++++++++
-
- You first have to create a view and save it in the db. We will call it
- ``greeting/all``. To do this we will use the loader system of couchdbkit
- that allows you to send views to CouchDB.
-
- Let's create a folder that contains the design doc, and then the folder
- for the view. On unix::
-
- mkdir -p ~/Work/couchdbkit/example/_design/greeting/views/all
-
- In this folder we edit a file `map.js`::
-
- function(doc) {
- if (doc.doc_type == "Greeting")
- emit(doc._id, doc);
- }
- }
-
- Here is a folder structure::
-
- /Work/couchdbkit/example/:
-
- --_design/
- ---- greetings
- ------ view
-
- Here is a screenshot:
-
- .. image:: http://couchdbkit.org/images/gettingstarted.png
-
-
- A system will be provided to manage view creation and other things. As
- some noticed, this system works like `couchapp`_ and is fully
- compatible.
-
- Then we use push function to send the design document to CouchDB::
-
- from couchdbkit.designer import push
- push('/path/to/example/_design/greetings', db)
-
- The design doc is now in the ``greetings`` database and you can get all
- greets::
-
- greets = Greeting.view('greeting/all')
-
- .. _Couchdbkit: http://couchdbkit.org
- .. _API: http://couchdbkit.org/doc/api/
- .. _couchapp: http://github.com/couchapp/couchapp/tree/
-
-Platform: UNKNOWN
-Classifier: Development Status :: 4 - Beta
-Classifier: Environment :: Other Environment
-Classifier: Intended Audience :: Developers
-Classifier: License :: OSI Approved :: Apache Software License
-Classifier: Operating System :: OS Independent
-Classifier: Programming Language :: Python
-Classifier: Topic :: Database
-Classifier: Topic :: Utilities
-Classifier: Topic :: Software Development :: Libraries :: Python Modules
Deleted: trunk/python-couchdbkit/couchdbkit.egg-info/SOURCES.txt
===================================================================
--- trunk/python-couchdbkit/couchdbkit.egg-info/SOURCES.txt 2010-12-28 08:27:30 UTC (rev 15163)
+++ trunk/python-couchdbkit/couchdbkit.egg-info/SOURCES.txt 2010-12-28 08:27:46 UTC (rev 15164)
@@ -1,73 +0,0 @@
-LICENSE
-MANIFEST.in
-README.rst
-distribute_setup.py
-setup.cfg
-setup.py
-couchdbkit/__init__.py
-couchdbkit/client.py
-couchdbkit/exceptions.py
-couchdbkit/external.py
-couchdbkit/loaders.py
-couchdbkit/resource.py
-couchdbkit/utils.py
-couchdbkit.egg-info/PKG-INFO
-couchdbkit.egg-info/SOURCES.txt
-couchdbkit.egg-info/dependency_links.txt
-couchdbkit.egg-info/entry_points.txt
-couchdbkit.egg-info/not-zip-safe
-couchdbkit.egg-info/requires.txt
-couchdbkit.egg-info/top_level.txt
-couchdbkit/consumer/__init__.py
-couchdbkit/consumer/base.py
-couchdbkit/consumer/ceventlet.py
-couchdbkit/consumer/cgevent.py
-couchdbkit/consumer/sync.py
-couchdbkit/designer/__init__.py
-couchdbkit/designer/fs.py
-couchdbkit/designer/macros.py
-couchdbkit/ext/__init__.py
-couchdbkit/ext/django/__init__.py
-couchdbkit/ext/django/forms.py
-couchdbkit/ext/django/loading.py
-couchdbkit/ext/django/schema.py
-couchdbkit/ext/django/management/__init__.py
-couchdbkit/ext/django/management/commands/__init__.py
-couchdbkit/ext/django/management/commands/sync_couchdb.py
-couchdbkit/ext/pylons/__init__.py
-couchdbkit/ext/pylons/commands.py
-couchdbkit/ext/pylons/db.py
-couchdbkit/ext/pylons/test.py
-couchdbkit/ext/pylons/auth/__init__.py
-couchdbkit/ext/pylons/auth/adapters.py
-couchdbkit/ext/pylons/auth/basic.py
-couchdbkit/ext/pylons/auth/model.py
-couchdbkit/schema/__init__.py
-couchdbkit/schema/base.py
-couchdbkit/schema/properties.py
-couchdbkit/schema/properties_proxy.py
-couchdbkit/wsgi/__init__.py
-couchdbkit/wsgi/handler.py
-couchdbkit/wsgi/proxy.py
-tests/__init__.py
-tests/__init__.pyc
-tests/client_test.py
-tests/client_test.pyc
-tests/test_consumer.py
-tests/test_consumer.pyc
-tests/test_loaders.py
-tests/test_loaders.pyc
-tests/test_resource.py
-tests/test_resource.pyc
-tests/test_schema.py
-tests/test_schema.pyc
-tests/data/app-template/_attachments/index.html
-tests/data/app-template/_attachments/style/main.css
-tests/data/app-template/foo/bar.txt
-tests/data/app-template/lib/helpers/math.js
-tests/data/app-template/lib/helpers/template.js
-tests/data/app-template/lib/templates/example.html
-tests/data/app-template/lists/feed.js
-tests/data/app-template/shows/example-show.js
-tests/data/app-template/views/example/map.js
-tests/data/app-template/views/example/reduce.js
\ No newline at end of file
Deleted: trunk/python-couchdbkit/couchdbkit.egg-info/dependency_links.txt
===================================================================
--- trunk/python-couchdbkit/couchdbkit.egg-info/dependency_links.txt 2010-12-28 08:27:30 UTC (rev 15163)
+++ trunk/python-couchdbkit/couchdbkit.egg-info/dependency_links.txt 2010-12-28 08:27:46 UTC (rev 15164)
@@ -1 +0,0 @@
-
Deleted: trunk/python-couchdbkit/couchdbkit.egg-info/entry_points.txt
===================================================================
--- trunk/python-couchdbkit/couchdbkit.egg-info/entry_points.txt 2010-12-28 08:27:30 UTC (rev 15163)
+++ trunk/python-couchdbkit/couchdbkit.egg-info/entry_points.txt 2010-12-28 08:27:46 UTC (rev 15164)
@@ -1,6 +0,0 @@
-
- [couchdbkit.consumers]
- sync=couchdbkit.consumer.sync:SyncConsumer
- eventlet=couchdbkit.consumer.ceventlet:EventletConsumer
- gevent=couchdbkit.consumer.cgevent:GeventConsumer
-
\ No newline at end of file
Deleted: trunk/python-couchdbkit/couchdbkit.egg-info/not-zip-safe
===================================================================
--- trunk/python-couchdbkit/couchdbkit.egg-info/not-zip-safe 2010-12-28 08:27:30 UTC (rev 15163)
+++ trunk/python-couchdbkit/couchdbkit.egg-info/not-zip-safe 2010-12-28 08:27:46 UTC (rev 15164)
@@ -1 +0,0 @@
-
Deleted: trunk/python-couchdbkit/couchdbkit.egg-info/requires.txt
===================================================================
--- trunk/python-couchdbkit/couchdbkit.egg-info/requires.txt 2010-12-28 08:27:30 UTC (rev 15163)
+++ trunk/python-couchdbkit/couchdbkit.egg-info/requires.txt 2010-12-28 08:27:46 UTC (rev 15164)
@@ -1,2 +0,0 @@
-setuptools
-restkit>=2.3.0
\ No newline at end of file
Deleted: trunk/python-couchdbkit/couchdbkit.egg-info/top_level.txt
===================================================================
--- trunk/python-couchdbkit/couchdbkit.egg-info/top_level.txt 2010-12-28 08:27:30 UTC (rev 15163)
+++ trunk/python-couchdbkit/couchdbkit.egg-info/top_level.txt 2010-12-28 08:27:46 UTC (rev 15164)
@@ -1 +0,0 @@
-couchdbkit
Added: trunk/python-couchdbkit/debian/changelog
===================================================================
--- trunk/python-couchdbkit/debian/changelog (rev 0)
+++ trunk/python-couchdbkit/debian/changelog 2010-12-28 08:27:46 UTC (rev 15164)
@@ -0,0 +1,66 @@
+python-couchdbkit (0.5.1-1) unstable; urgency=low
+
+ * New upstream.
+
+ -- TANIGUCHI Takaki <takaki at debian.org> Wed, 08 Dec 2010 17:13:25 +0900
+
+python-couchdbkit (0.4.11-1) unstable; urgency=low
+
+ * New upstream.
+ * debian/control:
+ + Updated to Standards-Version 3.9.1 (no changes needed)
+ + Depends: python-restkit(>=2.1.1)
+
+ -- TANIGUCHI Takaki <takaki at debian.org> Wed, 25 Aug 2010 15:27:51 +0900
+
+python-couchdbkit (0.4.8-1) unstable; urgency=low
+
+ * New upstream
+ * debian/control:
+ + Updated to Standards-Version 3.9.0.0 (no changes needed)
+ + Depends: python-restkit(>=2.0)
+
+ -- TANIGUCHI Takaki <takaki at debian.org> Sun, 11 Jul 2010 17:15:27 +0900
+
+python-couchdbkit (0.4.6-1) unstable; urgency=low
+
+ * New upstream.
+
+ -- TANIGUCHI Takaki <takaki at debian.org> Sun, 27 Jun 2010 16:17:14 +0900
+
+python-couchdbkit (0.4.5-2) unstable; urgency=low
+
+ * debian/control: add python-anyjson and python-restkit to Depends.
+ (Closes: #576114)
+
+ -- TANIGUCHI Takaki <takaki at debian.org> Sat, 10 Apr 2010 18:33:00 +0900
+
+python-couchdbkit (0.4.5-1) unstable; urgency=low
+
+ * New upstream.
+ * debian/docs: Removed.
+
+ -- TANIGUCHI Takaki <takaki at debian.org> Sun, 21 Mar 2010 22:20:49 +0900
+
+python-couchdbkit (0.4.2-1) unstable; urgency=low
+
+ * New upstream.
+ * debian/control: Bump Standards-Version: to 3.8.4.
+ * debian/watch: scan upstream info from pypi.
+ * debian/docs: remove TODO.txt.
+ * debian/README.Debian: removed (not need to mention dfsg upstream).
+
+ -- TANIGUCHI Takaki <takaki at debian.org> Thu, 25 Feb 2010 11:32:24 +0900
+
+python-couchdbkit (0.3.1+dfsg-1) unstable; urgency=low
+
+ * New upstream.
+ * Source Format: 3.0 (quilt)
+
+ -- TANIGUCHI Takaki <takaki at debian.org> Tue, 15 Dec 2009 21:41:34 +0900
+
+python-couchdbkit (0.2.4+dfsg-1) unstable; urgency=low
+
+ * Initial release (Closes: #556288)
+
+ -- TANIGUCHI Takaki <takaki at debian.org> Mon, 23 Nov 2009 17:53:05 +0900
Added: trunk/python-couchdbkit/debian/clean
===================================================================
--- trunk/python-couchdbkit/debian/clean (rev 0)
+++ trunk/python-couchdbkit/debian/clean 2010-12-28 08:27:46 UTC (rev 15164)
@@ -0,0 +1 @@
+couchdbkit.egg-info/*
Added: trunk/python-couchdbkit/debian/compat
===================================================================
--- trunk/python-couchdbkit/debian/compat (rev 0)
+++ trunk/python-couchdbkit/debian/compat 2010-12-28 08:27:46 UTC (rev 15164)
@@ -0,0 +1 @@
+7
Added: trunk/python-couchdbkit/debian/control
===================================================================
--- trunk/python-couchdbkit/debian/control (rev 0)
+++ trunk/python-couchdbkit/debian/control 2010-12-28 08:27:46 UTC (rev 15164)
@@ -0,0 +1,19 @@
+Source: python-couchdbkit
+Section: python
+Priority: optional
+Maintainer: TANIGUCHI Takaki <takaki at debian.org>
+Uploaders: Debian Python Modules Team <python-modules-team at lists.alioth.debian.org>
+Build-Depends: debhelper (>= 7), python-support, python-setuptools
+Standards-Version: 3.9.1
+Homepage: http://couchdbkit.org/
+
+Package: python-couchdbkit
+Architecture: all
+Depends: ${python:Depends}, ${shlibs:Depends}, ${misc:Depends},
+ python-anyjson, python-restkit(>=2.1.1)
+Provides: ${python:Provides}
+Description: Trying to improve couchdb experience in Python
+ Couchdbkit provides you a full featured and easy client to access and
+ manage CouchDB. It allows you to manage a CouchDB server, databases,
+ doc managements and view access. All objects mostly reflect Python
+ objects for convenience.
Added: trunk/python-couchdbkit/debian/copyright
===================================================================
--- trunk/python-couchdbkit/debian/copyright (rev 0)
+++ trunk/python-couchdbkit/debian/copyright 2010-12-28 08:27:46 UTC (rev 15164)
@@ -0,0 +1,38 @@
+This work was packaged for Debian by:
+
+ TANIGUCHI Takaki <takaki at debian.org> on Mon, 23 Nov 2009 17:53:05 +0900
+
+It was downloaded from http://couchdbkit.org/.
+
+Upstream Author(s):
+
+ Benoit Chesneau <benoitc at e-engura.org>
+
+Copyright:
+
+ Copyright (c) 2008,2009 Benoit Chesneau <benoitc at e-engura.com>
+
+License:
+
+ Permission to use, copy, modify, and distribute this software for any
+ purpose with or without fee is hereby granted, provided that the above
+ copyright notice and this permission notice appear in all copies.
+
+ THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES
+ WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF
+ MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR
+ ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
+ WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN
+ ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
+ OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
+
+tests/data/app-template/lib/helpers/template.js:
+
+ John Resig - http://ejohn.org/ - MIT Licensed
+
+The Debian packaging is:
+
+ Copyright (C) 2009 TANIGUCHI Takaki <takaki at debian.org>
+
+and is licensed under the GPL version 3,
+see `/usr/share/common-licenses/GPL-3'.
Added: trunk/python-couchdbkit/debian/pyversions
===================================================================
--- trunk/python-couchdbkit/debian/pyversions (rev 0)
+++ trunk/python-couchdbkit/debian/pyversions 2010-12-28 08:27:46 UTC (rev 15164)
@@ -0,0 +1 @@
+2.5-
Added: trunk/python-couchdbkit/debian/rules
===================================================================
--- trunk/python-couchdbkit/debian/rules (rev 0)
+++ trunk/python-couchdbkit/debian/rules 2010-12-28 08:27:46 UTC (rev 15164)
@@ -0,0 +1,13 @@
+#!/usr/bin/make -f
+# -*- makefile -*-
+# Sample debian/rules that uses debhelper.
+# This file was originally written by Joey Hess and Craig Small.
+# As a special exception, when this file is copied by dh-make into a
+# dh-make output file, you may use that output file without restriction.
+# This special exception was added by Craig Small in version 0.37 of dh-make.
+
+# Uncomment this to turn on verbose mode.
+# export DH_VERBOSE=1
+
+%:
+ dh $@
Property changes on: trunk/python-couchdbkit/debian/rules
___________________________________________________________________
Added: svn:executable
+ *
Added: trunk/python-couchdbkit/debian/source/format
===================================================================
--- trunk/python-couchdbkit/debian/source/format (rev 0)
+++ trunk/python-couchdbkit/debian/source/format 2010-12-28 08:27:46 UTC (rev 15164)
@@ -0,0 +1 @@
+3.0 (quilt)
Added: trunk/python-couchdbkit/debian/watch
===================================================================
--- trunk/python-couchdbkit/debian/watch (rev 0)
+++ trunk/python-couchdbkit/debian/watch 2010-12-28 08:27:46 UTC (rev 15164)
@@ -0,0 +1,26 @@
+# Example watch control file for uscan
+# Rename this file to "watch" and then you can run the "uscan" command
+# to check for upstream updates and more.
+# See uscan(1) for format
+
+# Compulsory line, this is a version 3 file
+version=3
+
+# Uncomment to examine a Webpage
+# <Webpage URL> <string match>
+#http://www.example.com/downloads.php python-couchdbkit-(.*)\.tar\.gz
+opts=dversionmangle=s/\+dfsg$// \
+ http://pypi.python.org/packages/source/c/couchdbkit/couchdbkit-(.*).tar.gz
+# http://github.com/benoitc/couchdbkit/downloads/ /benoitc/couchdbkit/tarball/([0-9].*)
+
+# Uncomment to examine a Webserver directory
+#http://www.example.com/pub/python-couchdbkit-(.*)\.tar\.gz
+
+# Uncommment to examine a FTP server
+#ftp://ftp.example.com/pub/python-couchdbkit-(.*)\.tar\.gz debian uupdate
+
+# Uncomment to find new files on sourceforge, for devscripts >= 2.9
+# http://sf.net/python-couchdbkit/python-couchdbkit-(.*)\.tar\.gz
+
+# Uncomment to find new files on GooglePages
+# http://example.googlepages.com/foo.html python-couchdbkit-(.*)\.tar\.gz
More information about the Python-modules-commits
mailing list