[Python-modules-commits] [python-requests-cache] 04/07: merge patched into master
Sandro Tosi
morph at moszumanska.debian.org
Mon Jan 18 00:42:00 UTC 2016
This is an automated email from the git hooks/post-receive script.
morph pushed a commit to branch master
in repository python-requests-cache.
commit b897aabb895d5e466eda33ffe8b2d6d7ebbac951
Merge: ab8baf7 b917cb4
Author: Sandro Tosi <morph at debian.org>
Date: Mon Jan 18 00:08:53 2016 +0000
merge patched into master
HISTORY.rst | 5 ++
PKG-INFO | 9 +++-
README.rst | 2 +-
debian/.git-dpm | 6 +--
.../patches/tests_dont_import_toplevel_dir.patch | 4 +-
requests_cache.egg-info/PKG-INFO | 9 +++-
requests_cache/__init__.py | 2 +-
requests_cache/backends/base.py | 2 +
requests_cache/backends/storage/dbdict.py | 22 +++-----
requests_cache/core.py | 23 +++++++--
setup.py | 2 +-
tests/test_cache.py | 59 ++++++++++++++--------
12 files changed, 93 insertions(+), 52 deletions(-)
diff --cc debian/.git-dpm
index f22075e,0000000..5897efd
mode 100644,000000..100644
--- a/debian/.git-dpm
+++ b/debian/.git-dpm
@@@ -1,11 -1,0 +1,11 @@@
+# see git-dpm(1) from git-dpm package
- c93d0030cd7b0d8bfb52791127e09af6b35e450b
- c93d0030cd7b0d8bfb52791127e09af6b35e450b
- 91dfd690e464463f5238d712d80d1a6e18634428
++b917cb44ebfaef61285c52d5f386f27cc4470fd7
++b917cb44ebfaef61285c52d5f386f27cc4470fd7
++28c86001c1c741c25e3ba8108a2a3914e40a0e85
+28c86001c1c741c25e3ba8108a2a3914e40a0e85
+python-requests-cache_0.4.10.orig.tar.gz
+0e7da9146601f267329f814df8e2ef65e1bb6d2f
+27979
+debianTag="debian/%e%v"
+patchedTag="patched/%e%v"
+upstreamTag="upstream/%e%u"
diff --cc debian/patches/tests_dont_import_toplevel_dir.patch
index a56b81e,0000000..8bd6b44
mode 100644,000000..100644
--- a/debian/patches/tests_dont_import_toplevel_dir.patch
+++ b/debian/patches/tests_dont_import_toplevel_dir.patch
@@@ -1,103 -1,0 +1,103 @@@
- From c93d0030cd7b0d8bfb52791127e09af6b35e450b Mon Sep 17 00:00:00 2001
++From b917cb44ebfaef61285c52d5f386f27cc4470fd7 Mon Sep 17 00:00:00 2001
+From: Sandro Tosi <morph at debian.org>
+Date: Thu, 8 Oct 2015 13:02:24 -0700
+Subject: Don't force usage of toplevel dir to run tests
+
+Origin: vendor
+Forwarded: no
+Last-Update: 2015-04-11
+Patch-Name: tests_dont_import_toplevel_dir.patch
+---
+ tests/test_cache.py | 1 -
+ tests/test_custom_dict.py | 1 -
+ tests/test_dbdict.py | 1 -
+ tests/test_mongodict.py | 1 -
+ tests/test_monkey_patch.py | 1 -
+ tests/test_redisdict.py | 1 -
+ tests/test_thread_safety.py | 1 -
+ 7 files changed, 7 deletions(-)
+
+diff --git a/tests/test_cache.py b/tests/test_cache.py
- index 2ed2b7f..a108862 100644
++index 56a2858..e2a679a 100644
+--- a/tests/test_cache.py
++++ b/tests/test_cache.py
+@@ -2,7 +2,6 @@
+ # -*- coding: utf-8 -*-
+ # Path hack
+ import os, sys
+-sys.path.insert(0, os.path.abspath('..'))
+
+ try:
+ import unittest2 as unittest
+diff --git a/tests/test_custom_dict.py b/tests/test_custom_dict.py
+index f146d79..0af3d21 100644
+--- a/tests/test_custom_dict.py
++++ b/tests/test_custom_dict.py
+@@ -2,7 +2,6 @@
+ # -*- coding: utf-8 -*-
+ # Path hack
+ import os, sys
+-sys.path.insert(0, os.path.abspath('..'))
+
+ from requests_cache.backends.storage.dbdict import DbDict, DbPickleDict
+
+diff --git a/tests/test_dbdict.py b/tests/test_dbdict.py
+index 04987ee..8ce7af9 100644
+--- a/tests/test_dbdict.py
++++ b/tests/test_dbdict.py
+@@ -2,7 +2,6 @@
+ # -*- coding: utf-8 -*-
+ # Path hack
+ import os, sys
+-sys.path.insert(0, os.path.abspath('..'))
+
+ try:
+ import unittest2 as unittest
+diff --git a/tests/test_mongodict.py b/tests/test_mongodict.py
+index bd7f49e..67aafb7 100644
+--- a/tests/test_mongodict.py
++++ b/tests/test_mongodict.py
+@@ -2,7 +2,6 @@
+ # -*- coding: utf-8 -*-
+ # Path hack
+ import os, sys
+-sys.path.insert(0, os.path.abspath('..'))
+
+ try:
+ import unittest2 as unittest
+diff --git a/tests/test_monkey_patch.py b/tests/test_monkey_patch.py
+index f944014..26ec87b 100644
+--- a/tests/test_monkey_patch.py
++++ b/tests/test_monkey_patch.py
+@@ -2,7 +2,6 @@
+ # -*- coding: utf-8 -*-
+ # Path hack
+ import os, sys
+-sys.path.insert(0, os.path.abspath('..'))
+
+ try:
+ import unittest2 as unittest
+diff --git a/tests/test_redisdict.py b/tests/test_redisdict.py
+index 6dce788..a8013cb 100644
+--- a/tests/test_redisdict.py
++++ b/tests/test_redisdict.py
+@@ -2,7 +2,6 @@
+ # -*- coding: utf-8 -*-
+ # Path hack
+ import os, sys
+-sys.path.insert(0, os.path.abspath('..'))
+
+ try:
+ import unittest2 as unittest
+diff --git a/tests/test_thread_safety.py b/tests/test_thread_safety.py
+index 3b90e67..0b9f226 100644
+--- a/tests/test_thread_safety.py
++++ b/tests/test_thread_safety.py
+@@ -2,7 +2,6 @@
+ # -*- coding: utf-8 -*-
+ # Path hack
+ import os, sys
+-sys.path.insert(0, os.path.abspath('..'))
+
+ try:
+ import unittest2 as unittest
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/python-modules/packages/python-requests-cache.git
More information about the Python-modules-commits
mailing list