debian/0000755000000000000000000000000012262051633007166 5ustar debian/python3-gridfs.install0000644000000000000000000000004412233003453013427 0ustar usr/lib/python3*/*-packages/gridfs* debian/docs0000644000000000000000000000001312233003453010026 0ustar README.rst debian/python3-pymongo.install0000644000000000000000000000012512233003453013641 0ustar usr/lib/python3*/*-packages/pymongo*/*.py usr/lib/python3*/*-packages/pymongo*/*.txt debian/copyright0000644000000000000000000000405012233003453011113 0ustar Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/ Source: http://api.mongodb.org/python/ Files: * Copyright: © 2011, Mike Dirolf License: Apache Files: bson/time64.c Copyright: © 2007-2010, Michael G Schwern License: MIT Files: debian/* Copyright: © 2011-2012, Federico Ceratto © 2011-2012, Janos Guljas © 2012, ChangZhuo Chen License: Apache License: Apache Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at . http://www.apache.org/licenses/LICENSE-2.0 . Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License. License: MIT Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: . The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. . THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. debian/python3-bson-ext.install0000644000000000000000000000004712233003453013713 0ustar usr/lib/python3*/*-packages/bson*/*.so debian/python3-pymongo-ext.install0000644000000000000000000000005212233003453014436 0ustar usr/lib/python3*/*-packages/pymongo*/*.so debian/changelog0000644000000000000000000001161612262051633011045 0ustar pymongo (2.6.3-1build1) trusty; urgency=medium * Rebuild for python3.4 as a supported python version. -- Matthias Klose Sat, 04 Jan 2014 18:31:55 +0000 pymongo (2.6.3-1) unstable; urgency=low * New upstream release. -- Federico Ceratto Sat, 26 Oct 2013 19:16:51 +0100 pymongo (2.6.2-1) unstable; urgency=low * New upstream release. -- Federico Ceratto Sun, 22 Sep 2013 14:49:04 +0100 pymongo (2.6-1) unstable; urgency=low * Imported Upstream version 2.6 (Closes: #709487) * Michael G Schwern copyright on time64.c added (Closes: #720612). * Improved *-ext dependencies (Closes: #715395) -- Federico Ceratto Tue, 27 Aug 2013 22:01:21 +0100 pymongo (2.5.2-1.1) unstable; urgency=low * Non-maintainer upload. * Split out python3 extensions python-pymongo-ext and python3-bson-ext so that they can have proper dependencies (Closes: #712112) -- Scott Kitterman Mon, 19 Aug 2013 18:55:56 -0400 pymongo (2.5.2-1) unstable; urgency=high * New upstream release. (Closes: #710597) * Releasing to unstable. -- Federico Ceratto Sun, 02 Jun 2013 11:11:10 +0100 pymongo (2.5-1) experimental; urgency=low * New upstream release. * Dependency versions updated (Closes: #705560) -- Federico Ceratto Wed, 01 May 2013 22:55:11 +0100 pymongo (2.4.2-1) unstable; urgency=low * New upstream release. (Closes: #703447) * Python3 support added. (Closes: #680376, #680379) -- Federico Ceratto Wed, 20 Mar 2013 00:38:10 +0000 pymongo (2.2-2) unstable; urgency=low * Dependency added (Closes: #678471) * debhelper dependency version bumped to >= 9~ -- Federico Ceratto Tue, 26 Jun 2012 23:34:24 +0100 pymongo (2.2-1) unstable; urgency=low * New upstream release. * Dependencies added (Closes: #670268) -- Federico Ceratto Thu, 10 May 2012 21:21:40 +0100 pymongo (2.1.1-3) unstable; urgency=low * C extensions moved to python-pymongo-ext and python-bson-ext packages (Closes: #657150) -- Federico Ceratto Sat, 25 Feb 2012 17:10:28 +0000 pymongo (2.1.1-2) experimental; urgency=low * C extensions moved to python-pymongo-ext and python-bson-ext packages -- Federico Ceratto Fri, 10 Feb 2012 21:55:36 +0000 pymongo (2.1.1-1) unstable; urgency=low * New upstream release. -- Federico Ceratto Tue, 24 Jan 2012 20:33:33 +0000 pymongo (2.1-1) unstable; urgency=low * New upstream release. * Add libjs-underscore dependency to python-pymongo-doc. * Use unversioned copyright format uri in debian/changelog. -- Janos Guljas Sun, 11 Dec 2011 02:05:08 +0100 pymongo (2.0.1-1) unstable; urgency=low * New upstream release, http://api.mongodb.org/python/2.0.1/changelog.html -- Janos Guljas Tue, 16 Aug 2011 04:25:27 +0200 pymongo (2.0-1) unstable; urgency=low * New upstream release, http://api.mongodb.org/python/2.0/changelog.html -- Federico Ceratto Tue, 09 Aug 2011 19:28:40 +0000 pymongo (1.11-1) unstable; urgency=low * New upstream release, http://api.mongodb.org/python/1.11/changelog.html -- Federico Ceratto Tue, 14 Jun 2011 15:10:53 +0000 pymongo (1.10.1-1) unstable; urgency=low [ Federico Ceratto ] * New upstream release. * Standards-Version bumped to 3.9.2 * Minor updates. -- Federico Ceratto Wed, 13 Apr 2011 22:54:38 +0200 pymongo (1.10-1) unstable; urgency=low [ Janos Guljas ] * New upstream release. [ Federico Ceratto ] * FTBFS fixed (Closes: #620069). -- Federico Ceratto Thu, 31 Mar 2011 20:17:41 +0000 pymongo (1.9-1) unstable; urgency=low [ Federico Ceratto ] * New upstream release (Closes: #618271). [ Janos Guljas ] * Fix debian/python-pymongo.install (Closes: #597085). * Switch to dh_python2. * Add binary package python-pymongo-doc. * Add binary package python-bson. -- Federico Ceratto Sat, 26 Mar 2011 11:58:19 +0100 pymongo (1.8.1-1) unstable; urgency=low * New upstream release. * Standards-Version bumped to 3.9.1 -- Federico Ceratto Sun, 22 Aug 2010 15:12:23 +0100 pymongo (1.7-1) unstable; urgency=low * New upstream release. -- Federico Ceratto Thu, 24 Jun 2010 09:44:11 +0100 pymongo (1.6-1) unstable; urgency=low * New upstream release. -- Federico Ceratto Sat, 24 Apr 2010 22:24:31 +0100 pymongo (1.5.2-1) unstable; urgency=low * Initial release (Closes: #573754) -- Federico Ceratto Mon, 05 Apr 2010 15:50:58 +0100 debian/python-pymongo-ext.install0000644000000000000000000000005212233003453014353 0ustar usr/lib/python2*/*-packages/pymongo*/*.so debian/python-bson-ext.install0000644000000000000000000000004712233003453013630 0ustar usr/lib/python2*/*-packages/bson*/*.so debian/pymongo.30000644000000000000000000000256612233003453010746 0ustar .TH PYMONGO 3 "March 13, 2010" .SH NAME pymongo \- Python interface for MongoDB .SH SYNOPSIS .B pymongo .br .SH DESCRIPTION .br This manual page documents briefly the .B pymongo python library. .PP .SH USAGE Assuming that a running instance of MongoDB is available, setup a connection to the daemon: >>> from pymongo import Connection .br >>> connection = Connection('localhost', 27017) If you are happy with the default values (localhost) you can simply use Connection() .br A single instance of MongoDB can support multiple independent databases. Select the database you want to use: >>> db = connection.test_database You can use dictionary-style access instead: >>> db = connection['test-database'] A collection is a group of documents stored in MongoDB, a bit like a table in a relational database. .br Get a collection: >>> collection = db.test_collection .br Or: .br >>> collection = db['test-collection'] Warning: Collections and databases are created when the first document is inserted into them. .br Example of data insertion: >>> item = {"author": "Me","title": "This is a test"} >>> collection.insert(item) Comprehensive documentation can be found at: .br http://api.mongodb.org/python/ .br .SH AUTHOR pymongo was written by Mike Dirolf. .PP This manual page was written by Federico Ceratto , for the Debian project (and may be used by others). debian/compat0000644000000000000000000000000212233003453010357 0ustar 9 debian/python-gridfs.install0000644000000000000000000000004412233003453013344 0ustar usr/lib/python2*/*-packages/gridfs* debian/control0000644000000000000000000001227212233003453010570 0ustar Source: pymongo Section: python Priority: optional Maintainer: Federico Ceratto Uploaders: Janos Guljas Build-Depends: debhelper (>= 9~), python-all-dev (>= 2.6.6-3~), python-setuptools (>= 0.6.14), python-sphinx, python3-all-dev (>= 3.1), python3-setuptools Standards-Version: 3.9.4 X-Python-Version: >= 2.5 X-Python3-Version: >= 3.1 Homepage: http://api.mongodb.org/python/ Vcs-Git: git://anonscm.debian.org/collab-maint/pymongo.git Vcs-Browser: http://anonscm.debian.org/gitweb/?p=collab-maint/pymongo.git;a=summary Package: python-pymongo Architecture: any Depends: python-bson (= ${binary:Version}), ${python:Depends}, ${misc:Depends} Recommends: python-gridfs (>= ${source:Version}) , python-pymongo-ext [any-i386 any-ia64 any-amd64] Provides: ${python:Provides} Description: Python interface to the MongoDB document-oriented database MongoDB is a high-performance, open source, schema-free document-oriented data store. Pymongo provides an interface to easily access it from Python. Consider installing the python-pymongo-ext C extension to improve performance. Package: python3-pymongo Architecture: any Depends: python3-bson (= ${binary:Version}), ${python3:Depends}, ${misc:Depends} Recommends: python3-gridfs (>= ${source:Version}) , python3-pymongo-ext [any-i386 any-ia64 any-amd64] Provides: ${python3:Provides} Description: Python3 interface to the MongoDB document-oriented database MongoDB is a high-performance, open source, schema-free document-oriented data store. Pymongo provides an interface to easily access it from Python3. Consider installing the python-pymongo-ext C extension to improve performance. Package: python-pymongo-ext Architecture: any-i386 any-ia64 any-amd64 Depends: ${misc:Depends} , ${python:Depends} , ${shlibs:Depends} , python-bson (= ${binary:Version}) , python-pymongo (= ${binary:Version}) Recommends: python-gridfs (>= ${source:Version}) Provides: ${python:Provides} Description: C-coded extension to the python-pymongo package Pymongo provides an interface to easily access MongoDB from Python. This package contains an extension written in C for higher performance. Package: python3-pymongo-ext Architecture: any-i386 any-ia64 any-amd64 Depends: ${misc:Depends} , ${python:Depends} , ${shlibs:Depends} , python3-bson (= ${binary:Version}) , python3-pymongo (= ${binary:Version}) Recommends: python3-gridfs (>= ${source:Version}) Description: C-coded extension to the python3-pymongo package Pymongo provides an interface to easily access MongoDB from Python 3. This package contains an extension written in C for higher performance. Package: python-pymongo-doc Architecture: all Depends: ${misc:Depends}, libjs-jquery, libjs-underscore Section: doc Description: Python interface to the MongoDB document-oriented database (documentation) MongoDB is a high-performance, open source, schema-free document-oriented data store. Pymongo provides an interface to easily access it from Python. . This package contains the HTML documentation. Package: python-gridfs Architecture: all Depends: ${python:Depends} , ${misc:Depends} , python-pymongo Provides: ${python:Provides} Description: Python implementation of GridFS for MongoDB GridFS is a storage specification for large objects in MongoDB. The Python gridfs module is an implementation based on the pymongo module. It provides a file-like interface. Package: python3-gridfs Architecture: all Depends: ${python3:Depends}, ${misc:Depends} Provides: ${python3:Provides} Description: Python3 implementation of GridFS for MongoDB GridFS is a storage specification for large objects in MongoDB. The Python3 gridfs module is an implementation based on the pymongo module. It provides a file-like interface. Package: python-bson Architecture: any Depends: ${python:Depends}, ${misc:Depends}, ${shlibs:Depends} Recommends: python-bson-ext [any-i386 any-ia64 any-amd64] Provides: ${python:Provides} Description: Python implementation of BSON for MongoDB BSON Python module contains all of the Binary JSON encoding and decoding logic for MongoDB. Package: python3-bson Architecture: any Depends: ${python3:Depends}, ${misc:Depends}, ${shlibs:Depends} Recommends: python3-bson-ext [any-i386 any-ia64 any-amd64] Provides: ${python3:Provides} Description: Python3 implementation of BSON for MongoDB BSON Python3 module contains all of the Binary JSON encoding and decoding logic for MongoDB. Package: python-bson-ext Architecture: any-i386 any-ia64 any-amd64 Depends: ${python:Depends} , ${misc:Depends} , ${shlibs:Depends} , python-bson (= ${binary:Version}) Provides: ${python:Provides} Description: C-coded extension to the python-bson package BSON Python module contains all of the Binary JSON encoding and decoding logic for MongoDB. This package contains an extension written in C for higher performance. Package: python3-bson-ext Architecture: any-i386 any-ia64 any-amd64 Depends: ${python3:Depends} , ${misc:Depends} , ${shlibs:Depends} , python3-bson (= ${binary:Version}) Description: C-coded extension to the python3-bson package BSON Python 3 module contains all of the Binary JSON encoding and decoding logic for MongoDB. This package contains an extension written in C for higher performance. debian/python3-bson.install0000644000000000000000000000004712233003453013115 0ustar usr/lib/python3*/*-packages/bson*/*.py debian/python-pymongo-doc.docs0000644000000000000000000000002712233003453013604 0ustar README.rst debian/html debian/python-bson.install0000644000000000000000000000004712233003453013032 0ustar usr/lib/python2*/*-packages/bson*/*.py debian/rules0000755000000000000000000000167712233003453010254 0ustar #!/usr/bin/make -f export DH_VERBOSE=1 PY3VERS = $(shell py3versions -r 2>/dev/null) ROOT=$(CURDIR)/debian/tmp %: dh $@ --with python2,python3 override_dh_auto_build: dh_auto_build for py3 in $(PY3VERS); do \ $$py3 setup.py build --force --build-base=$(ROOT); \ done sphinx-build -b html doc debian/html rm -f debian/python-pymongo-doc/usr/share/doc/python-pymongo-doc/html/_static/jquery.js rm -rf debian/python-pymongo-doc/usr/share/doc/python-pymongo-doc/html/.doctrees override_dh_installchangelogs: dh_installchangelogs doc/changelog.rst override_dh_auto_install: for py3 in $(PY3VERS); do \ $$py3 setup.py install --install-layout=deb --force --no-compile -O0 --root=$(ROOT); \ done dh_auto_install override_dh_auto_clean: rm -rf debian/html find doc -name "*.pyc" -exec rm -rf {} + dh_auto_clean for py3 in $(PY3VERS); do \ $$py3 setup.py clean --all --build-base=$(ROOT); \ done override_dh_compress: dh_compress -X.html debian/source/0000755000000000000000000000000012233003453010461 5ustar debian/source/format0000644000000000000000000000001412233003453011667 0ustar 3.0 (quilt) debian/python-pymongo.install0000644000000000000000000000012512233003453013556 0ustar usr/lib/python2*/*-packages/pymongo*/*.py usr/lib/python2*/*-packages/pymongo*/*.txt debian/watch0000644000000000000000000000012612233003453010211 0ustar version=3 http://pypi.python.org/packages/source/p/pymongo/pymongo-([\d\.]*)\.tar\.gz debian/python-pymongo-doc.doc-base0000644000000000000000000000107412233003453014334 0ustar Document: python-pymongo-doc Title: PyMongo Documentation Author: Michael Dirolf Abstract: PyMongo is a Python distribution containing tools for working with MongoDB, and is the recommended way to work with MongoDB from Python. This documentation attempts to explain everything you need to know to use PyMongo. Section: Programming/Python Format: HTML Index: /usr/share/doc/python-pymongo-doc/html/index.html Files: /usr/share/doc/python-pymongo-doc/html/*.html /usr/share/doc/python-pymongo-doc/html/api/*.html /usr/share/doc/python-pymongo-doc/html/examples/*.html debian/python-pymongo-doc.links0000644000000000000000000000031212233003453013771 0ustar /usr/share/javascript/jquery/jquery.js usr/share/doc/python-pymongo-doc/html/_static/jquery.js /usr/share/javascript/underscore/underscore.js usr/share/doc/python-pymongo-doc/html/_static/underscore.js