commit python-slumber for openSUSE:Factory
Hello community, here is the log from the commit of package python-slumber for openSUSE:Factory checked in at 2020-06-25 15:11:26 Comparing /work/SRC/openSUSE:Factory/python-slumber (Old) and /work/SRC/openSUSE:Factory/.python-slumber.new.3060 (New) Package is "python-slumber" Thu Jun 25 15:11:26 2020 rev:13 rq:817035 version:0.7.1 Changes: --- /work/SRC/openSUSE:Factory/python-slumber/python-slumber.changes 2020-06-12 21:39:30.859937253 +0200 +++ /work/SRC/openSUSE:Factory/.python-slumber.new.3060/python-slumber.changes 2020-06-25 15:11:48.902191222 +0200 @@ -1,0 +2,7 @@ +Thu Jun 25 10:19:35 UTC 2020 - pgaj...@suse.com + +- so remove the dependency on unittest2, too +- modified patches + % python-slumber-no-unittest2.patch (refreshed) + +--- Other differences: -- ++ python-slumber.spec ++ --- /var/tmp/diff_new_pack.KNTy7e/_old 2020-06-25 15:11:49.442192917 +0200 +++ /var/tmp/diff_new_pack.KNTy7e/_new 2020-06-25 15:11:49.442192917 +0200 @@ -38,7 +38,6 @@ BuildRequires: %{python_module mock} BuildRequires: %{python_module pytest} BuildRequires: %{python_module requests} -BuildRequires: %{python_module unittest2} # /SECTION Requires: python-requests Suggests: python-PyYAML ++ python-slumber-no-unittest2.patch ++ --- /var/tmp/diff_new_pack.KNTy7e/_old 2020-06-25 15:11:49.466192992 +0200 +++ /var/tmp/diff_new_pack.KNTy7e/_new 2020-06-25 15:11:49.466192992 +0200 @@ -1,7 +1,7 @@ Index: slumber-0.7.1/tests/resource.py === --- slumber-0.7.1.orig/tests/resource.py 2015-05-14 17:53:16.0 +0200 -+++ slumber-0.7.1/tests/resource.py2020-06-03 11:50:53.965257547 +0200 slumber-0.7.1/tests/resource.py2020-06-25 12:20:23.700299520 +0200 @@ -4,7 +4,7 @@ import mock import requests import slumber @@ -14,7 +14,7 @@ Index: slumber-0.7.1/tests/utils.py === --- slumber-0.7.1.orig/tests/utils.py 2015-05-14 17:53:16.0 +0200 -+++ slumber-0.7.1/tests/utils.py 2020-06-03 11:51:10.837350476 +0200 slumber-0.7.1/tests/utils.py 2020-06-25 12:20:23.700299520 +0200 @@ -1,7 +1,7 @@ # -*- coding: utf-8 -*- import sys @@ -24,3 +24,24 @@ import slumber +Index: slumber-0.7.1/requirements-test.txt +=== +--- slumber-0.7.1.orig/requirements-test.txt 2015-05-14 17:53:16.0 +0200 slumber-0.7.1/requirements-test.txt2020-06-25 12:20:54.904479047 +0200 +@@ -1,3 +1,2 @@ + mock +-unittest2 + pyyaml +Index: slumber-0.7.1/setup.py +=== +--- slumber-0.7.1.orig/setup.py2015-05-14 17:53:16.0 +0200 slumber-0.7.1/setup.py 2020-06-25 12:20:45.152422938 +0200 +@@ -3,7 +3,7 @@ import sys + from setuptools import setup + + install_requires = ["requests"] +-tests_require = ["mock", "unittest2"] ++tests_require = ["mock"] + + base_dir = os.path.dirname(os.path.abspath(__file__)) +
commit python-slumber for openSUSE:Factory
Hello community, here is the log from the commit of package python-slumber for openSUSE:Factory checked in at 2020-06-12 21:37:35 Comparing /work/SRC/openSUSE:Factory/python-slumber (Old) and /work/SRC/openSUSE:Factory/.python-slumber.new.3606 (New) Package is "python-slumber" Fri Jun 12 21:37:35 2020 rev:12 rq:811139 version:0.7.1 Changes: --- /work/SRC/openSUSE:Factory/python-slumber/python-slumber.changes 2019-04-14 12:22:18.859753366 +0200 +++ /work/SRC/openSUSE:Factory/.python-slumber.new.3606/python-slumber.changes 2020-06-12 21:39:30.859937253 +0200 @@ -1,0 +2,8 @@ +Wed Jun 3 10:01:43 UTC 2020 - pgaj...@suse.com + +- actually it does not depend on unittest2 +- added patches + fix https://github.com/samgiles/slumber/pull/153 + + python-slumber-no-unittest2.patch + +--- New: python-slumber-no-unittest2.patch Other differences: -- ++ python-slumber.spec ++ --- /var/tmp/diff_new_pack.031Ahq/_old 2020-06-12 21:39:32.399938337 +0200 +++ /var/tmp/diff_new_pack.031Ahq/_new 2020-06-12 21:39:32.399938337 +0200 @@ -1,7 +1,7 @@ # # spec file for package python-slumber # -# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2020 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -28,6 +28,8 @@ Source: https://github.com/samgiles/slumber/archive/%{version}.tar.gz # https://github.com/samgiles/slumber/issues/151 Patch0: python-slumber-disable-test_yaml_get_serializer-subtest.patch +# https://github.com/samgiles/slumber/pull/153 +Patch1: python-slumber-no-unittest2.patch BuildRequires: %{python_module setuptools} BuildRequires: fdupes BuildRequires: python-rpm-macros @@ -53,6 +55,7 @@ %prep %setup -q -n slumber-%{version} %patch0 -p1 +%patch1 -p1 %build %python_build ++ python-slumber-no-unittest2.patch ++ Index: slumber-0.7.1/tests/resource.py === --- slumber-0.7.1.orig/tests/resource.py2015-05-14 17:53:16.0 +0200 +++ slumber-0.7.1/tests/resource.py 2020-06-03 11:50:53.965257547 +0200 @@ -4,7 +4,7 @@ import mock import requests import slumber import slumber.serialize -import unittest2 as unittest +import unittest from slumber import exceptions Index: slumber-0.7.1/tests/utils.py === --- slumber-0.7.1.orig/tests/utils.py 2015-05-14 17:53:16.0 +0200 +++ slumber-0.7.1/tests/utils.py2020-06-03 11:51:10.837350476 +0200 @@ -1,7 +1,7 @@ # -*- coding: utf-8 -*- import sys -import unittest2 as unittest +import unittest import slumber
commit python-slumber for openSUSE:Factory
Hello community, here is the log from the commit of package python-slumber for openSUSE:Factory checked in at 2019-04-14 12:22:16 Comparing /work/SRC/openSUSE:Factory/python-slumber (Old) and /work/SRC/openSUSE:Factory/.python-slumber.new.27019 (New) Package is "python-slumber" Sun Apr 14 12:22:16 2019 rev:11 rq:692782 version:0.7.1 Changes: --- /work/SRC/openSUSE:Factory/python-slumber/python-slumber.changes 2015-05-18 22:25:39.0 +0200 +++ /work/SRC/openSUSE:Factory/.python-slumber.new.27019/python-slumber.changes 2019-04-14 12:22:18.859753366 +0200 @@ -1,0 +2,11 @@ +Tue Apr 9 14:37:36 UTC 2019 - pgaj...@suse.com + +- version update to 0.7.1 + * Correct support for UTF encoded responses. +- single spec +- run testsuite +- run spec-cleaner +- Add patch to skip one failing test: + * python-slumber-disable-test_yaml_get_serializer-subtest.patch + +--- Old: slumber-0.7.0.tar.gz New: 0.7.1.tar.gz python-slumber-disable-test_yaml_get_serializer-subtest.patch Other differences: -- ++ python-slumber.spec ++ --- /var/tmp/diff_new_pack.FYcRVX/_old 2019-04-14 12:22:19.583754235 +0200 +++ /var/tmp/diff_new_pack.FYcRVX/_new 2019-04-14 12:22:19.583754235 +0200 @@ -1,7 +1,7 @@ # # spec file for package python-slumber # -# Copyright (c) 2015 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -12,31 +12,37 @@ # license that conforms to the Open Source Definition (Version 1.9) # published by the Open Source Initiative. -# Please submit bugfixes or comments via http://bugs.opensuse.org/ +# Please submit bugfixes or comments via https://bugs.opensuse.org/ # +%{?!python_module:%define python_module() python-%{**} python3-%{**}} Name: python-slumber -Version:0.7.0 +Version:0.7.1 Release:0 -Url:http://slumber.in/ -Summary:A library that makes consuming a REST API easier and more convenient +Summary:Object Orientated Interface to ReSTful APIs License:BSD-2-Clause Group: Development/Languages/Python -Source: http://pypi.python.org/packages/source/s/slumber/slumber-%{version}.tar.gz -BuildRoot: %{_tmppath}/%{name}-%{version}-build -BuildRequires: python-devel -BuildRequires: python-setuptools -#BuildRequires: python-mock -#BuildRequires: python-requests +URL:https://github.com/samgiles/slumber +# https://github.com/samgiles/slumber/issues/43 +Source: https://github.com/samgiles/slumber/archive/%{version}.tar.gz +# https://github.com/samgiles/slumber/issues/151 +Patch0: python-slumber-disable-test_yaml_get_serializer-subtest.patch +BuildRequires: %{python_module setuptools} +BuildRequires: fdupes +BuildRequires: python-rpm-macros +# SECTION test requirements +BuildRequires: %{python_module PyYAML} +BuildRequires: %{python_module mock} +BuildRequires: %{python_module pytest} +BuildRequires: %{python_module requests} +BuildRequires: %{python_module unittest2} +# /SECTION Requires: python-requests Suggests: python-PyYAML Suggests: python-simplejson -%if 0%{?suse_version} && 0%{?suse_version} <= 1110 -%{!?python_sitelib: %global python_sitelib %(python -c "from distutils.sysconfig import get_python_lib; print get_python_lib()")} -%else BuildArch: noarch -%endif +%python_subpackages %description Slumber is a python library that provides a convenient yet powerful object @@ -46,19 +52,21 @@ %prep %setup -q -n slumber-%{version} +%patch0 -p1 %build -python setup.py build +%python_build %install -python setup.py install --prefix=%{_prefix} --root=%{buildroot} +%python_install +%python_expand %fdupes %{buildroot}%{$python_sitelib} -#check -#python setup.py test +%check +%python_exec setup.py test -%files -%defattr(-,root,root,-) -%doc CHANGELOG.rst LICENSE.txt README.rst docs/* +%files %{python_files} +%license LICENSE.txt +%doc CHANGELOG.rst README.rst docs/* %{python_sitelib}/* %changelog ++ slumber-0.7.0.tar.gz -> 0.7.1.tar.gz ++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/slumber-0.7.0/.gitignore new/slumber-0.7.1/.gitignore --- old/slumber-0.7.0/.gitignore1970-01-01 01:00:00.0 +0100 +++ new/slumber-0.7.1/.gitignore2015-05-14 17:53:16.0 +0200 @@ -0,0 +1,10 @@ +dist/* +docs/_build/* +.tox +*.pyc +slumber.egg-info +build/ +.coverage +/.project +/.pydevproject +/.settings/ diff -urN '--exclude=CVS' '
commit python-slumber for openSUSE:Factory
Hello community, here is the log from the commit of package python-slumber for openSUSE:Factory checked in at 2015-05-18 22:25:38 Comparing /work/SRC/openSUSE:Factory/python-slumber (Old) and /work/SRC/openSUSE:Factory/.python-slumber.new (New) Package is "python-slumber" Changes: --- /work/SRC/openSUSE:Factory/python-slumber/python-slumber.changes 2013-09-16 16:35:35.0 +0200 +++ /work/SRC/openSUSE:Factory/.python-slumber.new/python-slumber.changes 2015-05-18 22:25:39.0 +0200 @@ -1,0 +2,14 @@ +Wed May 13 10:51:10 UTC 2015 - benoit.mo...@gmx.fr + +- update to version 0.7.0: + * no changelog available +- additional changes from version 0.6.2: + * Further Python 3 compatibility fixes, many thanks to +Alexander Shchepetilnikov (irqed) +- additional changes from version 0.6.1: + * Remove simplejson dependency. + * Support range now Python 2.6 - Python 3.4 +- suggests python-PyYAML and python-simplejson + instead of requiring them + +--- Old: slumber-0.6.0.tar.gz New: slumber-0.7.0.tar.gz Other differences: -- ++ python-slumber.spec ++ --- /var/tmp/diff_new_pack.a6cyGr/_old 2015-05-18 22:25:40.0 +0200 +++ /var/tmp/diff_new_pack.a6cyGr/_new 2015-05-18 22:25:40.0 +0200 @@ -1,7 +1,7 @@ # # spec file for package python-slumber # -# Copyright (c) 2013 SUSE LINUX Products GmbH, Nuernberg, Germany. +# Copyright (c) 2015 SUSE LINUX GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -17,7 +17,7 @@ Name: python-slumber -Version:0.6.0 +Version:0.7.0 Release:0 Url:http://slumber.in/ Summary:A library that makes consuming a REST API easier and more convenient @@ -29,9 +29,9 @@ BuildRequires: python-setuptools #BuildRequires: python-mock #BuildRequires: python-requests -Requires: python-PyYAML Requires: python-requests -Requires: python-simplejson +Suggests: python-PyYAML +Suggests: python-simplejson %if 0%{?suse_version} && 0%{?suse_version} <= 1110 %{!?python_sitelib: %global python_sitelib %(python -c "from distutils.sysconfig import get_python_lib; print get_python_lib()")} %else ++ slumber-0.6.0.tar.gz -> slumber-0.7.0.tar.gz ++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/slumber-0.6.0/CHANGELOG.rst new/slumber-0.7.0/CHANGELOG.rst --- old/slumber-0.6.0/CHANGELOG.rst 2013-04-01 19:27:51.0 +0200 +++ new/slumber-0.7.0/CHANGELOG.rst 2015-02-27 10:53:09.0 +0100 @@ -3,6 +3,23 @@ Changelog = + +development version +--- + +0.6.2 +- + +* Further Python 3 compatibility fixes, many thanks to Alexander Shchepetilnikov (irqed) + +0.6.1 +- + +* Remove ``simplejson`` dependency. + +* Support range now Python 2.6 - Python 3.4 + + 0.6.0 - diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/slumber-0.6.0/PKG-INFO new/slumber-0.7.0/PKG-INFO --- old/slumber-0.6.0/PKG-INFO 2013-04-01 20:25:05.0 +0200 +++ new/slumber-0.7.0/PKG-INFO 2015-04-17 11:29:45.0 +0200 @@ -1,25 +1,25 @@ Metadata-Version: 1.0 Name: slumber -Version: 0.6.0 +Version: 0.7.0 Summary: A library that makes consuming a REST API easier and more convenient -Home-page: http://slumber.in/ -Author: Donald Stufft -Author-email: donald.stu...@gmail.com +Home-page: http://github.com/samgiles/slumber +Author: Samuel Giles +Author-email: sam.e.gi...@gmail.com License: UNKNOWN -Description: Slumber -=== +Description: Slumber |build-status| |coverage-status| |docs| +=== -Slumber is a python library that provides a convenient yet powerful object -orientated interface to ReSTful APIs. It acts as a wrapper around the -excellent requests_ library and abstracts away the handling of urls, serialization, -and processing requests. +Slumber is a Python library that provides a convenient yet powerful +object-oriented interface to ReSTful APIs. It acts as a wrapper around the +excellent requests_ library and abstracts away the handling of URLs, serialization, +and request processing. .. _requests: http://python-requests.org/ Getting Help -I have an IRC channel (`#slumber on irc.freenode.net`_) to get help, bounce idea +Visit IRC channel (`#slumber on irc.freenod
commit python-slumber for openSUSE:Factory
Hello community, here is the log from the commit of package python-slumber for openSUSE:Factory checked in at 2013-09-16 16:35:34 Comparing /work/SRC/openSUSE:Factory/python-slumber (Old) and /work/SRC/openSUSE:Factory/.python-slumber.new (New) Package is "python-slumber" Changes: --- /work/SRC/openSUSE:Factory/python-slumber/python-slumber.changes 2012-11-12 16:06:33.0 +0100 +++ /work/SRC/openSUSE:Factory/.python-slumber.new/python-slumber.changes 2013-09-16 16:35:35.0 +0200 @@ -1,0 +2,12 @@ +Sat Sep 14 17:56:36 UTC 2013 - os-...@jacraig.com + +- Update to 0.6.0: + * All HTTP methods support multipart/form-data. The new files parameter is +directly passed to requests. +- Changes from 0.5.2: + * Now compatible with requests 1.0 + * Fix bug when using default serializer +- Changed BuildRequires from distribute to setuptools + + +--- Old: slumber-0.5.1.tar.gz New: slumber-0.6.0.tar.gz Other differences: -- ++ python-slumber.spec ++ --- /var/tmp/diff_new_pack.tID5V3/_old 2013-09-16 16:35:35.0 +0200 +++ /var/tmp/diff_new_pack.tID5V3/_new 2013-09-16 16:35:35.0 +0200 @@ -1,7 +1,7 @@ # # spec file for package python-slumber # -# Copyright (c) 2012 SUSE LINUX Products GmbH, Nuernberg, Germany. +# Copyright (c) 2013 SUSE LINUX Products GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -17,7 +17,7 @@ Name: python-slumber -Version:0.5.1 +Version:0.6.0 Release:0 Url:http://slumber.in/ Summary:A library that makes consuming a REST API easier and more convenient @@ -26,7 +26,7 @@ Source: http://pypi.python.org/packages/source/s/slumber/slumber-%{version}.tar.gz BuildRoot: %{_tmppath}/%{name}-%{version}-build BuildRequires: python-devel -BuildRequires: python-distribute +BuildRequires: python-setuptools #BuildRequires: python-mock #BuildRequires: python-requests Requires: python-PyYAML ++ slumber-0.5.1.tar.gz -> slumber-0.6.0.tar.gz ++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/slumber-0.5.1/CHANGELOG.rst new/slumber-0.6.0/CHANGELOG.rst --- old/slumber-0.5.1/CHANGELOG.rst 2012-10-29 17:05:08.0 +0100 +++ new/slumber-0.6.0/CHANGELOG.rst 2013-04-01 19:27:51.0 +0200 @@ -3,6 +3,21 @@ Changelog = +0.6.0 +- + +* All HTTP methods support multipart/form-data. The new ``files`` + parameter is directly passed to ``requests``. Thanks to Philip + Neustrom and Diego Gaustein. + + +0.5.2 +- + +* Now compatible with ``requests`` 1.0 thanks to Matias Saguir. + +* Fix bug when using default serializer. Thanks to Andy McKay + 0.4.2 - diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/slumber-0.5.1/MANIFEST.in new/slumber-0.6.0/MANIFEST.in --- old/slumber-0.5.1/MANIFEST.in 2012-10-29 17:12:17.0 +0100 +++ new/slumber-0.6.0/MANIFEST.in 2013-04-01 19:27:51.0 +0200 @@ -2,4 +2,4 @@ include README.rst include LICENSE.txt include CHANGELOG.rst -prune tests +include tests diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/slumber-0.5.1/PKG-INFO new/slumber-0.6.0/PKG-INFO --- old/slumber-0.5.1/PKG-INFO 2012-10-30 18:08:48.0 +0100 +++ new/slumber-0.6.0/PKG-INFO 2013-04-01 20:25:05.0 +0200 @@ -1,6 +1,6 @@ Metadata-Version: 1.0 Name: slumber -Version: 0.5.1 +Version: 0.6.0 Summary: A library that makes consuming a REST API easier and more convenient Home-page: http://slumber.in/ Author: Donald Stufft @@ -19,9 +19,8 @@ Getting Help -There are two primary ways of getting help. I have an IRC channel -(`#slumber on irc.freenode.net`_) to get help, want to bounce idea or -generally shoot the breeze. +I have an IRC channel (`#slumber on irc.freenode.net`_) to get help, bounce idea +or generally shoot the breeze. .. _#slumber on irc.freenode.net: irc://irc.freenode.net/slumber @@ -43,9 +42,9 @@ Slumber requires the following modules. -* Python 2.5+ +* Python 2.6+ * requests -* simplejson (If using Python 2.5, or you desire the speedups for JSON serialization) +* simplejson (If you desire the speedups for JSON serialization) * pyyaml (If you are using the optional yaml serialization) ..
commit python-slumber for openSUSE:Factory
Hello community, here is the log from the commit of package python-slumber for openSUSE:Factory checked in at 2012-11-12 16:06:32 Comparing /work/SRC/openSUSE:Factory/python-slumber (Old) and /work/SRC/openSUSE:Factory/.python-slumber.new (New) Package is "python-slumber", Maintainer is "" Changes: --- /work/SRC/openSUSE:Factory/python-slumber/python-slumber.changes 2012-06-10 21:52:18.0 +0200 +++ /work/SRC/openSUSE:Factory/.python-slumber.new/python-slumber.changes 2012-11-12 16:06:33.0 +0100 @@ -1,0 +2,9 @@ +Mon Nov 5 21:48:52 UTC 2012 - sasc...@suse.de + +- Update to version 0.5.1: + + Fix serializers to work with multiple content_types +- Changes from version 0.5.0: + + Refactoring release +- Disabled testsuite, upstream seems to have dropped it + +--- Old: slumber-0.4.2.tar.gz New: slumber-0.5.1.tar.gz Other differences: -- ++ python-slumber.spec ++ --- /var/tmp/diff_new_pack.5OJSIP/_old 2012-11-12 16:06:34.0 +0100 +++ /var/tmp/diff_new_pack.5OJSIP/_new 2012-11-12 16:06:34.0 +0100 @@ -17,7 +17,7 @@ Name: python-slumber -Version:0.4.2 +Version:0.5.1 Release:0 Url:http://slumber.in/ Summary:A library that makes consuming a REST API easier and more convenient @@ -27,8 +27,8 @@ BuildRoot: %{_tmppath}/%{name}-%{version}-build BuildRequires: python-devel BuildRequires: python-distribute -BuildRequires: python-mock -BuildRequires: python-requests +#BuildRequires: python-mock +#BuildRequires: python-requests Requires: python-PyYAML Requires: python-requests Requires: python-simplejson @@ -53,10 +53,8 @@ %install python setup.py install --prefix=%{_prefix} --root=%{buildroot} -%if 0%{?suse_version} != 1110 -%check -python setup.py test -%endif +#check +#python setup.py test %files %defattr(-,root,root,-) ++ slumber-0.4.2.tar.gz -> slumber-0.5.1.tar.gz ++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/slumber-0.4.2/MANIFEST.in new/slumber-0.5.1/MANIFEST.in --- old/slumber-0.4.2/MANIFEST.in 2012-01-21 21:48:34.0 +0100 +++ new/slumber-0.5.1/MANIFEST.in 2012-10-29 17:12:17.0 +0100 @@ -2,3 +2,4 @@ include README.rst include LICENSE.txt include CHANGELOG.rst +prune tests diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/slumber-0.4.2/PKG-INFO new/slumber-0.5.1/PKG-INFO --- old/slumber-0.4.2/PKG-INFO 2012-04-16 13:58:11.0 +0200 +++ new/slumber-0.5.1/PKG-INFO 2012-10-30 18:08:48.0 +0100 @@ -1,6 +1,6 @@ Metadata-Version: 1.0 Name: slumber -Version: 0.4.2 +Version: 0.5.1 Summary: A library that makes consuming a REST API easier and more convenient Home-page: http://slumber.in/ Author: Donald Stufft diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/slumber-0.4.2/docs/options.rst new/slumber-0.5.1/docs/options.rst --- old/slumber-0.4.2/docs/options.rst 2012-04-13 01:25:01.0 +0200 +++ new/slumber-0.5.1/docs/options.rst 2012-10-29 17:12:17.0 +0100 @@ -32,9 +32,9 @@ Serializer == -Slumber allows you to use either json or yaml as your serializer. It defaults to using -json. You can change this default by specifying a ``format`` argument to your -api class.:: +Slumber allows you to use any serialization you want. It comes with json and +yaml but creating your own is easy. By default it will attempt to use json. You +can change the default by specifying a ``format`` argument to your api class.:: # Use Yaml instead of Json api = slumber.API("http://path/to/my/api/";, format="yaml") @@ -45,6 +45,40 @@ api = slumber.API("http://path/to/my/api/";) # Serializer defaults to Json api.resource_name(format="yaml").get() # Serializer will be Yaml +If you want to create your own serializer you can do so. A serialize inherits from +``slumber.serialize.BaseSerializer`` and implements ``loads``, ``dumps``. It +also must have a class member of ``key`` which will be the string key for this +serialization (such as "json").The final requirement is either a class member +of ``content_type`` which is the content type to use for requests (such as +"application/json") or define a ``get_content_type`` method. + +An example:: + +class PickleSerializer(slumber.serialize.BaseSerializer): +key = "pickle" +content_type = "x-application/pickle" + +def loads(self, data): +return pickle.loads(data) + +def dumps(self, data): +return pickle.dumps(data) + +Once y
commit python-slumber for openSUSE:Factory
Hello community, here is the log from the commit of package python-slumber for openSUSE:Factory checked in at 2012-06-10 20:19:07 Comparing /work/SRC/openSUSE:Factory/python-slumber (Old) and /work/SRC/openSUSE:Factory/.python-slumber.new (New) Package is "python-slumber", Maintainer is "" Changes: --- /work/SRC/openSUSE:Factory/python-slumber/python-slumber.changes 2012-05-07 22:50:51.0 +0200 +++ /work/SRC/openSUSE:Factory/.python-slumber.new/python-slumber.changes 2012-06-10 21:52:18.0 +0200 @@ -1,0 +2,6 @@ +Wed Jun 6 11:08:50 UTC 2012 - sasc...@suse.de + +- Update to version 0.4.2: + + Support decoded unicode url fragments + +--- Old: slumber-0.4.1.tar.gz New: slumber-0.4.2.tar.gz Other differences: -- ++ python-slumber.spec ++ --- /var/tmp/diff_new_pack.zHKP1X/_old 2012-06-10 21:52:20.0 +0200 +++ /var/tmp/diff_new_pack.zHKP1X/_new 2012-06-10 21:52:20.0 +0200 @@ -17,7 +17,7 @@ Name: python-slumber -Version:0.4.1 +Version:0.4.2 Release:0 Url:http://slumber.in/ Summary:A library that makes consuming a REST API easier and more convenient ++ slumber-0.4.1.tar.gz -> slumber-0.4.2.tar.gz ++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/slumber-0.4.1/CHANGELOG.rst new/slumber-0.4.2/CHANGELOG.rst --- old/slumber-0.4.1/CHANGELOG.rst 2012-04-13 01:25:10.0 +0200 +++ new/slumber-0.4.2/CHANGELOG.rst 2012-04-16 13:57:32.0 +0200 @@ -1,7 +1,15 @@ +.. :changelog: + Changelog = +0.4.2 +- + +* Support decoded unicode url fragments - Thanks @collinwat + + 0.4.1 - diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/slumber-0.4.1/PKG-INFO new/slumber-0.4.2/PKG-INFO --- old/slumber-0.4.1/PKG-INFO 2012-04-13 01:25:56.0 +0200 +++ new/slumber-0.4.2/PKG-INFO 2012-04-16 13:58:11.0 +0200 @@ -1,6 +1,6 @@ Metadata-Version: 1.0 Name: slumber -Version: 0.4.1 +Version: 0.4.2 Summary: A library that makes consuming a REST API easier and more convenient Home-page: http://slumber.in/ Author: Donald Stufft @@ -52,10 +52,18 @@ +.. :changelog: + Changelog = +0.4.2 +- + +* Support decoded unicode url fragments - Thanks @collinwat + + 0.4.1 - diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/slumber-0.4.1/docs/tutorial.rst new/slumber-0.4.2/docs/tutorial.rst --- old/slumber-0.4.1/docs/tutorial.rst 2012-04-13 01:25:01.0 +0200 +++ new/slumber-0.4.2/docs/tutorial.rst 2012-04-16 13:30:26.0 +0200 @@ -60,7 +60,7 @@ If you wanted to filter the Slumber demo api for notes that start with Bacon, you could do:: >>> import slumber ->>> api = slumber.API("http://slumber.in/api/v1/";, authentication={"name": "demo", "password": "demo"}) +>>> api = slumber.API("http://slumber.in/api/v1/";, auth=("demo", "demo")) >>> ## GET http://slumber.in/api/v1/note/?title__startswith=Bacon >>> api.note.get(title__startswith="Bacon") diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/slumber-0.4.1/setup.py new/slumber-0.4.2/setup.py --- old/slumber-0.4.1/setup.py 2012-04-13 01:25:30.0 +0200 +++ new/slumber-0.4.2/setup.py 2012-04-16 13:56:18.0 +0200 @@ -11,7 +11,7 @@ setup( name = "slumber", -version = "0.4.1", +version = "0.4.2", description = "A library that makes consuming a REST API easier and more convenient", long_description="\n\n".join([ open(os.path.join(base_dir, "README.rst"), "r").read(), diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/slumber-0.4.1/slumber/__init__.py new/slumber-0.4.2/slumber/__init__.py --- old/slumber-0.4.1/slumber/__init__.py 2012-04-13 01:25:10.0 +0200 +++ new/slumber-0.4.2/slumber/__init__.py 2012-04-16 13:55:47.0 +0200 @@ -15,7 +15,7 @@ """ scheme, netloc, path, query, fragment = urlparse.urlsplit(base) path = path if len(path) else "/" -path = posixpath.join(path, *[str(x) for x in args]) +path = posixpath.join(path, *[('%s' % x) for x in args]) return urlparse.urlunsplit([scheme, netloc, path, query, fragment]) diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/slumber-0.4.1/slumber.egg-info/PKG-INFO new/slumber-0
commit python-slumber for openSUSE:Factory
Hello community, here is the log from the commit of package python-slumber for openSUSE:Factory checked in at 2012-05-07 22:50:49 Comparing /work/SRC/openSUSE:Factory/python-slumber (Old) and /work/SRC/openSUSE:Factory/.python-slumber.new (New) Package is "python-slumber", Maintainer is "" Changes: --- /work/SRC/openSUSE:Factory/python-slumber/python-slumber.changes 2012-03-26 11:05:35.0 +0200 +++ /work/SRC/openSUSE:Factory/.python-slumber.new/python-slumber.changes 2012-05-07 22:50:51.0 +0200 @@ -1,0 +2,12 @@ +Fri Apr 13 11:48:42 UTC 2012 - sasc...@suse.de + +- Update to version 0.4.1: + + Added a session kwarg to slumber.API allowing passing a requests +session that will be used instead of the slumber created one + +--- +Wed Apr 11 18:33:23 UTC 2012 - sasc...@gmx.de + +- Disable testsuite on SLE_11_SP2 to fix build + +--- Old: slumber-0.4.tar.gz New: slumber-0.4.1.tar.gz Other differences: -- ++ python-slumber.spec ++ --- /var/tmp/diff_new_pack.Yge21P/_old 2012-05-07 22:50:52.0 +0200 +++ /var/tmp/diff_new_pack.Yge21P/_new 2012-05-07 22:50:52.0 +0200 @@ -11,12 +11,13 @@ # case the license is the MIT License). An "Open Source License" is a # license that conforms to the Open Source Definition (Version 1.9) # published by the Open Source Initiative. -# + # Please submit bugfixes or comments via http://bugs.opensuse.org/ # + Name: python-slumber -Version:0.4 +Version:0.4.1 Release:0 Url:http://slumber.in/ Summary:A library that makes consuming a REST API easier and more convenient @@ -40,7 +41,7 @@ %description Slumber is a python library that provides a convenient yet powerful object orientated interface to ReSTful APIs. It acts as a wrapper around the -excellent requests_ library and abstracts away the handling of urls, serialization, +excellent requests library and abstracts away the handling of urls, serialization, and processing requests. %prep @@ -52,8 +53,10 @@ %install python setup.py install --prefix=%{_prefix} --root=%{buildroot} +%if 0%{?suse_version} != 1110 %check python setup.py test +%endif %files %defattr(-,root,root,-) ++ slumber-0.4.tar.gz -> slumber-0.4.1.tar.gz ++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/slumber-0.4/CHANGELOG.rst new/slumber-0.4.1/CHANGELOG.rst --- old/slumber-0.4/CHANGELOG.rst 2012-01-05 06:43:35.0 +0100 +++ new/slumber-0.4.1/CHANGELOG.rst 2012-04-13 01:25:10.0 +0200 @@ -1,6 +1,13 @@ Changelog = + +0.4.1 +- + +* Added a ``session`` kwarg to ``slumber.API`` allowing passing a ``requests`` session + that will be used instead of the slumber created one + 0.4.0 - diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/slumber-0.4/PKG-INFO new/slumber-0.4.1/PKG-INFO --- old/slumber-0.4/PKG-INFO2012-01-05 06:45:08.0 +0100 +++ new/slumber-0.4.1/PKG-INFO 2012-04-13 01:25:56.0 +0200 @@ -1,6 +1,6 @@ Metadata-Version: 1.0 Name: slumber -Version: 0.4 +Version: 0.4.1 Summary: A library that makes consuming a REST API easier and more convenient Home-page: http://slumber.in/ Author: Donald Stufft @@ -55,6 +55,13 @@ Changelog = + +0.4.1 +- + +* Added a ``session`` kwarg to ``slumber.API`` allowing passing a ``requests`` session + that will be used instead of the slumber created one + 0.4.0 - diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/slumber-0.4/docs/options.rst new/slumber-0.4.1/docs/options.rst --- old/slumber-0.4/docs/options.rst2012-01-05 06:43:35.0 +0100 +++ new/slumber-0.4.1/docs/options.rst 2012-04-13 01:25:01.0 +0200 @@ -21,7 +21,7 @@ You supply the username and password (for Basic Auth) like:: -api = slumber.API("http://path/to/my/api/";, auth("myuser", "mypass")) +api = slumber.API("http://path/to/my/api/";, auth=("myuser", "mypass")) And slumber will attempt to use those credentials with each request. diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/slumber-0.4/docs/tutorial.rst new/slumber-0.4.1/docs/tutorial.rst --- old/slumber-0.4/docs/tutorial.rst 2012-01-05 06:44:17.0 +0100 +++ new/slumber-0.4.1/docs/tutorial.rst 2012-04-13 01:25:01.0 +0200 @@ -36,7 +36,7 @@ >>> import slumber
commit python-slumber for openSUSE:Factory
Hello community, here is the log from the commit of package python-slumber for openSUSE:Factory checked in at 2012-03-26 11:05:34 Comparing /work/SRC/openSUSE:Factory/python-slumber (Old) and /work/SRC/openSUSE:Factory/.python-slumber.new (New) Package is "python-slumber", Maintainer is "" Changes: New Changes file: --- /dev/null 2012-03-17 10:42:43.883537212 +0100 +++ /work/SRC/openSUSE:Factory/.python-slumber.new/python-slumber.changes 2012-03-26 11:05:35.0 +0200 @@ -0,0 +1,5 @@ +--- +Thu Mar 22 19:10:28 UTC 2012 - sasc...@gmx.de + +- Initial version + New: python-slumber.changes python-slumber.spec slumber-0.4.tar.gz Other differences: -- ++ python-slumber.spec ++ # # spec file for package python-slumber # # Copyright (c) 2012 SUSE LINUX Products GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed # upon. The license for this file, and modifications and additions to the # file, is the same license as for the pristine package itself (unless the # license for the pristine package is not an Open Source License, in which # case the license is the MIT License). An "Open Source License" is a # license that conforms to the Open Source Definition (Version 1.9) # published by the Open Source Initiative. # # Please submit bugfixes or comments via http://bugs.opensuse.org/ # Name: python-slumber Version:0.4 Release:0 Url:http://slumber.in/ Summary:A library that makes consuming a REST API easier and more convenient License:BSD-2-Clause Group: Development/Languages/Python Source: http://pypi.python.org/packages/source/s/slumber/slumber-%{version}.tar.gz BuildRoot: %{_tmppath}/%{name}-%{version}-build BuildRequires: python-devel BuildRequires: python-distribute BuildRequires: python-mock BuildRequires: python-requests Requires: python-PyYAML Requires: python-requests Requires: python-simplejson %if 0%{?suse_version} && 0%{?suse_version} <= 1110 %{!?python_sitelib: %global python_sitelib %(python -c "from distutils.sysconfig import get_python_lib; print get_python_lib()")} %else BuildArch: noarch %endif %description Slumber is a python library that provides a convenient yet powerful object orientated interface to ReSTful APIs. It acts as a wrapper around the excellent requests_ library and abstracts away the handling of urls, serialization, and processing requests. %prep %setup -q -n slumber-%{version} %build python setup.py build %install python setup.py install --prefix=%{_prefix} --root=%{buildroot} %check python setup.py test %files %defattr(-,root,root,-) %doc CHANGELOG.rst LICENSE.txt README.rst docs/* %{python_sitelib}/* %changelog -- To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org For additional commands, e-mail: opensuse-commit+h...@opensuse.org