Skip to Content.
Sympa Menu

sm-commit - [SM-Commit] GIT changes to master grimoire by Eric Sandall (068d895cc5e96129cf75f88ead5a447f7c50b927)

sm-commit AT lists.ibiblio.org

Subject: Source Mage code commit list

List archive

Chronological Thread  
  • From: Eric Sandall <scm AT sourcemage.org>
  • To: sm-commit AT lists.ibiblio.org
  • Subject: [SM-Commit] GIT changes to master grimoire by Eric Sandall (068d895cc5e96129cf75f88ead5a447f7c50b927)
  • Date: Fri, 7 May 2010 06:37:33 -0500

GIT changes to master grimoire by Eric Sandall <sandalle AT sourcemage.org>:

ChangeLog | 4 +
python-pypi/desktopcouch/DEPENDS | 6 +-
python-pypi/desktopcouch/DETAILS | 1
python-pypi/desktopcouch/HISTORY | 6 ++
python-pypi/desktopcouch/PRE_BUILD | 6 ++
python-pypi/desktopcouch/bug566073.patch | 24
++++++++
python-pypi/desktopcouch/oauth2.patch | 21
+++++++
python-pypi/python-oauth2/DEPENDS | 2
python-pypi/python-oauth2/DETAILS | 27
++++++++++
python-pypi/python-oauth2/HISTORY | 7 ++
python-pypi/python-oauth2/python-oauth2-1.1.3-0-g9962d31.tar.gz.sig |binary
11 files changed, 101 insertions(+), 3 deletions(-)

New commits:
commit f71633f412009eee2c6e1eda5d802f11b12bfeaf
Author: Eric Sandall <sandalle AT sourcemage.org>
Commit: Eric Sandall <sandalle AT sourcemage.org>

desktopcouch: Applying patch to use up-to-date oauth2
PATCHLEVEL++
Runtime depends on python-oauth2

python-oauth (as seen http://oauth.googlecode.com/svn/code/python/)
hasn't seen a real update since around 2007, much less a real release
(just a SVN checkout).

http://oauth.net/code/ also says:
Joe Stump (SimpleGeo) maintains the python-oauth2 library on GitHub, and
is considered the most up-to-date and unit-tested implementation of
OAuth for Python 2.4+.

commit 34c7380f1ac7bf8cfaa0f977a452e2b27185bf56
Author: Eric Sandall <sandalle AT sourcemage.org>
Commit: Eric Sandall <sandalle AT sourcemage.org>

python-oauth2: Added an open protocol to allow API authentication

commit 5e71e8cac7b1c4248b5d88abe767a2d112bebb58
Author: Eric Sandall <sandalle AT sourcemage.org>
Commit: Eric Sandall <sandalle AT sourcemage.org>

ChangeLog: Fix date for entry

commit a2dc407f6638f5c2aea8ac2282c673cc721c45f5
Author: Eric Sandall <sandalle AT sourcemage.org>
Commit: Eric Sandall <sandalle AT sourcemage.org>

desktopcouch: Fix couchdb-python API change
https://bugs.launchpad.net/desktopcouch/+bug/566073

diff --git a/ChangeLog b/ChangeLog
index cdd404d..5d80029 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -2,9 +2,11 @@
* devel/gccxml: new spell, XML output for GCC
* python-pypi/pygccxml: new spell, Python module to read GCCXML output

-2010-05-06 Eric Sandall <sandalle AT sourcemage.org>
+2010-05-07 Eric Sandall <sandalle AT sourcemage.org>
* python-pypi/couchdb-python: Added a Python library for working with
CouchDB
+ * python-pypi/python-oauth2: Added an open protocol to allow API
+ authentication

2010-05-06 Vlad Glagolev <stealth AT sourcemage.org>
* audio-libs/opencore-amr: new spell, OpenCORE libraries for AMR-NB
and
diff --git a/python-pypi/desktopcouch/DEPENDS
b/python-pypi/desktopcouch/DEPENDS
index 6c4f0ca..a5dd115 100755
--- a/python-pypi/desktopcouch/DEPENDS
+++ b/python-pypi/desktopcouch/DEPENDS
@@ -1,3 +1,5 @@
-depends couchdb &&
depends python &&
-depends setuptools
+depends setuptools &&
+
+runtime_depends couchdb &&
+runtime_depends python-oauth2
diff --git a/python-pypi/desktopcouch/DETAILS
b/python-pypi/desktopcouch/DETAILS
index 701d3db..a2cc467 100755
--- a/python-pypi/desktopcouch/DETAILS
+++ b/python-pypi/desktopcouch/DETAILS
@@ -4,6 +4,7 @@
SOURCE_GPG="gurus.gpg:$SOURCE.sig:WORKS_FOR_ME"

SOURCE_URL[0]="http://launchpad.net/$SPELL/trunk/$VERSION/+download/$SOURCE";
SOURCE_DIRECTORY="$BUILD_DIRECTORY/$SPELL-$VERSION"
+ PATCHLEVEL=2
WEB_SITE=https://launchpad.net/desktopcouch
LICENSE[0]=GPLv3
ENTERED=20100505
diff --git a/python-pypi/desktopcouch/HISTORY
b/python-pypi/desktopcouch/HISTORY
index d8a704c..0427b80 100644
--- a/python-pypi/desktopcouch/HISTORY
+++ b/python-pypi/desktopcouch/HISTORY
@@ -1,3 +1,9 @@
2010-05-05 Eric Sandall <sandalle AT sourcemage.org>
* DETAILS, DEPENDS: Created
+ * DETAILS: PATCHLEVEL++
+ PATCHLEVEL++ for oauth2.patch
+ * DEPENDS: Runtime depends on python-oauth2
+ * PRE_BUILD: Apply bug566073.patch
+ * bug566073.patch: Fix couchdb-python API change
+ https://bugs.launchpad.net/desktopcouch/+bug/566073

diff --git a/python-pypi/desktopcouch/PRE_BUILD
b/python-pypi/desktopcouch/PRE_BUILD
new file mode 100755
index 0000000..7b122bf
--- /dev/null
+++ b/python-pypi/desktopcouch/PRE_BUILD
@@ -0,0 +1,6 @@
+default_pre_build &&
+cd $SOURCE_DIRECTORY &&
+message "${MESSAGE_COLOR}Applying Launchpad Bug #566073
patch...${DEFAULT_COLOR}" &&
+patch -p1 < $SPELL_DIRECTORY/bug566073.patch &&
+message "${MESSAGE_COLOR}Applying patch to use up-to-date
oauth2...${DEFAULT_COLOR}" &&
+patch -p1 < $SPELL_DIRECTORY/oauth2.patch
diff --git a/python-pypi/desktopcouch/bug566073.patch
b/python-pypi/desktopcouch/bug566073.patch
new file mode 100644
index 0000000..916d8c6
--- /dev/null
+++ b/python-pypi/desktopcouch/bug566073.patch
@@ -0,0 +1,24 @@
+diff -Naur desktopcouch-0.6.4.orig/desktopcouch/records/server.py
desktopcouch-0.6.4/desktopcouch/records/server.py
+--- desktopcouch-0.6.4.orig/desktopcouch/records/server.py 2010-05-07
02:01:04.308859356 -0700
++++ desktopcouch-0.6.4/desktopcouch/records/server.py 2010-05-07
02:02:06.355867612 -0700
+@@ -22,7 +22,7 @@
+ """The Desktop Couch Records API."""
+
+ from couchdb import Server
+-from couchdb.client import Resource
++from couchdb.http import Resource
+ import desktopcouch
+ from desktopcouch.records import server_base
+ import urlparse
+diff -Naur desktopcouch-0.6.4.orig/desktopcouch/records/server_base.py
desktopcouch-0.6.4/desktopcouch/records/server_base.py
+--- desktopcouch-0.6.4.orig/desktopcouch/records/server_base.py
2010-05-07 02:01:04.308859356 -0700
++++ desktopcouch-0.6.4/desktopcouch/records/server_base.py 2010-05-07
02:01:53.851940948 -0700
+@@ -39,7 +39,7 @@
+ from oauth import oauth
+
+ from couchdb import Server
+-from couchdb.client import ResourceNotFound, ResourceConflict, uri as
couchdburi
++from couchdb.http import ResourceNotFound, ResourceConflict, uri as
couchdburi
+ from couchdb.design import ViewDefinition
+ from record import Record
+
diff --git a/python-pypi/desktopcouch/oauth2.patch
b/python-pypi/desktopcouch/oauth2.patch
new file mode 100644
index 0000000..5c5e9a4
--- /dev/null
+++ b/python-pypi/desktopcouch/oauth2.patch
@@ -0,0 +1,21 @@
+diff -Naur desktopcouch-0.6.4.orig/desktopcouch/records/server_base.py
desktopcouch-0.6.4/desktopcouch/records/server_base.py
+--- desktopcouch-0.6.4.orig/desktopcouch/records/server_base.py
2010-05-07 02:01:04.308859356 -0700
++++ desktopcouch-0.6.4/desktopcouch/records/server_base.py 2010-05-07
02:50:55.242862656 -0700
+@@ -36,7 +36,7 @@
+ import json
+ # pylint: enable-msg=F0401
+
+-from oauth import oauth
++import oauth2 as oauth
+
+ from couchdb import Server
+ from couchdb.client import ResourceNotFound, ResourceConflict, uri as
couchdburi
+diff -Naur
desktopcouch-0.6.4.orig/desktopcouch/replication_services/ubuntuone.py
desktopcouch-0.6.4/desktopcouch/replication_services/ubuntuone.py
+--- desktopcouch-0.6.4.orig/desktopcouch/replication_services/ubuntuone.py
2010-05-07 02:01:04.307859496 -0700
++++ desktopcouch-0.6.4/desktopcouch/replication_services/ubuntuone.py
2010-05-07 02:50:46.389139860 -0700
+@@ -1,4 +1,4 @@
+-from oauth import oauth
++import oauth2 as oauth
+ import logging
+ import httplib2
+ import gnomekeyring
diff --git a/python-pypi/python-oauth2/DEPENDS
b/python-pypi/python-oauth2/DEPENDS
new file mode 100755
index 0000000..bc66e00
--- /dev/null
+++ b/python-pypi/python-oauth2/DEPENDS
@@ -0,0 +1,2 @@
+depends python &&
+depends setuptools
diff --git a/python-pypi/python-oauth2/DETAILS
b/python-pypi/python-oauth2/DETAILS
new file mode 100755
index 0000000..856d57a
--- /dev/null
+++ b/python-pypi/python-oauth2/DETAILS
@@ -0,0 +1,27 @@
+ SPELL=python-oauth2
+ VERSION=1.1.3-0-g9962d31
+ SOURCE="$SPELL-$VERSION.tar.gz"
+ SOURCE_GPG="gurus.gpg:$SOURCE.sig:WORKS_FOR_ME"
+ SOURCE_URL[0]="http://download.github.com/simplegeo-$SOURCE";
+SOURCE_DIRECTORY="$BUILD_DIRECTORY/simplegeo-$SPELL-${VERSION/*g/}"
+ LICENSE[0]=MIT
+ WEB_SITE=http://github.com/simplegeo/python-oauth2
+ ENTERED=20100506
+ SHORT="An open protocol to allow API authentication"
+cat << EOF
+This code was originally forked from Leah Culver and Andy Smith's oauth.py
+code. Some of the tests come from a fork by Vic Fryzel, while a revamped
+Request class and more tests were merged in from Mark Paschal's fork. A
number
+of notable differences exist between this code and its forefathers:
+
+ * 100% unit test coverage.
+ * The DataStore object has been completely ripped out. While creating unit
+ tests for the library I found several substantial bugs with the
+ implementation and confirmed with Andy Smith that it was never fully
baked.
+ * Classes are no longer prefixed with OAuth.
+ * The Request class now extends from dict.
+ * The library is likely no longer compatible with Python 2.3.
+ * The Client class works and extends from httplib2. It's a thin wrapper that
+ handles automatically signing any normal HTTP request you might wish to
+ make.
+EOF
diff --git a/python-pypi/python-oauth2/HISTORY
b/python-pypi/python-oauth2/HISTORY
new file mode 100644
index 0000000..47907cf
--- /dev/null
+++ b/python-pypi/python-oauth2/HISTORY
@@ -0,0 +1,7 @@
+2010-05-05 Eric Sandall <sandalle AT sourcemage.org>
+ * DETAILS, DEPENDS: Created
+ * DETAILS: PATCHLEVEL++
+ * PRE_BUILD: Apply bug566073.patch
+ * bug566073.patch: Fix couchdb-python API change
+ https://bugs.launchpad.net/desktopcouch/+bug/566073
+
diff --git
a/python-pypi/python-oauth2/python-oauth2-1.1.3-0-g9962d31.tar.gz.sig
b/python-pypi/python-oauth2/python-oauth2-1.1.3-0-g9962d31.tar.gz.sig
new file mode 100644
index 0000000..94f8d0a
Binary files /dev/null and
b/python-pypi/python-oauth2/python-oauth2-1.1.3-0-g9962d31.tar.gz.sig differ



  • [SM-Commit] GIT changes to master grimoire by Eric Sandall (068d895cc5e96129cf75f88ead5a447f7c50b927), Eric Sandall, 05/07/2010

Archive powered by MHonArc 2.6.24.

Top of Page