commit python-MarkupSafe for openSUSE:Factory

2019-03-08 Thread root
Hello community,

here is the log from the commit of package python-MarkupSafe for 
openSUSE:Factory checked in at 2019-03-08 11:00:46

Comparing /work/SRC/openSUSE:Factory/python-MarkupSafe (Old)
 and  /work/SRC/openSUSE:Factory/.python-MarkupSafe.new.28833 (New)


Package is "python-MarkupSafe"

Fri Mar  8 11:00:46 2019 rev:20 rq:681854 version:1.1.1

Changes:

--- /work/SRC/openSUSE:Factory/python-MarkupSafe/python-MarkupSafe.changes  
2019-01-28 20:46:03.470055887 +0100
+++ 
/work/SRC/openSUSE:Factory/.python-MarkupSafe.new.28833/python-MarkupSafe.changes
   2019-03-08 11:00:48.136546539 +0100
@@ -1,0 +2,21 @@
+Tue Mar  5 16:46:50 UTC 2019 - Tomáš Chvátal 
+
+- Update to 1.1.1:
+  * Fix segfault when __html__ method raises an exception when using the C 
speedups. The exception is now propagated correctly. (#109)
+
+---
+Thu Feb 21 16:13:28 UTC 2019 - John Vandenberg 
+
+- Update to v1.1.0
+  - Drop support for Python 2.6 and 3.3.
+  - Build wheels for Linux, Mac, and Windows, allowing systems without
+a compiler to take advantage of the C extension speedups
+  - Use newer CPython API on Python 3, resulting in a 1.5x speedup
+  - ``escape`` wraps ``__html__`` result in ``Markup``, consistent with
+documented behavior
+- Switch to using pytest in %check as setup.py test no longer works
+- Use more precise URL https://github.com/pallets/markupsafe
+- Add docs/ to %doc, including the changelog
+- Remove AUTHORS from %doc, removed upstream in 6247e015
+
+---

Old:

  MarkupSafe-1.0.tar.gz

New:

  MarkupSafe-1.1.1.tar.gz



Other differences:
--
++ python-MarkupSafe.spec ++
--- /var/tmp/diff_new_pack.vJwU8r/_old  2019-03-08 11:00:49.108546384 +0100
+++ /var/tmp/diff_new_pack.vJwU8r/_new  2019-03-08 11:00:49.112546383 +0100
@@ -19,16 +19,17 @@
 %define oldpython python
 %{?!python_module:%define python_module() python-%{**} python3-%{**}}
 Name:   python-MarkupSafe
-Version:1.0
+Version:1.1.1
 Release:0
-Url:http://dev.pocoo.org/
+URL:https://github.com/pallets/markupsafe
 Summary:Implements a XML/HTML/XHTML Markup safe string for Python
 License:BSD-3-Clause
 Group:  Development/Languages/Python
 Source: 
https://files.pythonhosted.org/packages/source/M/MarkupSafe/MarkupSafe-%{version}.tar.gz
-BuildRoot:  %{_tmppath}/%{name}-%{version}-build
 BuildRequires:  %{python_module devel}
+BuildRequires:  %{python_module pytest}
 BuildRequires:  %{python_module setuptools}
+BuildRequires:  fdupes
 BuildRequires:  python-rpm-macros
 %ifpython2
 Provides:   %{oldpython}-markupsafe = %{version}
@@ -43,6 +44,7 @@
 
 %prep
 %setup -q -n MarkupSafe-%{version}
+rm docs/make.bat docs/Makefile docs/conf.py docs/requirements.txt
 
 %build
 export CFLAGS="%{optflags}"
@@ -50,15 +52,15 @@
 
 %install
 %python_install
+%python_expand %fdupes %{buildroot}%{$python_sitearch}
 %python_expand rm %{buildroot}%{$python_sitearch}/markupsafe/_speedups.c
 
 %check
-%python_exec setup.py test
+%python_expand PYTHONPATH=%{buildroot}%{$python_sitearch} $python -m pytest
 
-%files %python_files
-%defattr(-,root,root,-)
-%license LICENSE
-%doc AUTHORS README.rst
+%files %{python_files}
+%license LICENSE.rst
+%doc README.rst docs/
 %{python_sitearch}/markupsafe/
 %{python_sitearch}/MarkupSafe-%{version}-py*.egg-info
 

++ MarkupSafe-1.0.tar.gz -> MarkupSafe-1.1.1.tar.gz ++
 4186 lines of diff (skipped)




commit python-MarkupSafe for openSUSE:Factory

2019-01-28 Thread root
Hello community,

here is the log from the commit of package python-MarkupSafe for 
openSUSE:Factory checked in at 2019-01-28 20:46:01

Comparing /work/SRC/openSUSE:Factory/python-MarkupSafe (Old)
 and  /work/SRC/openSUSE:Factory/.python-MarkupSafe.new.28833 (New)


Package is "python-MarkupSafe"

Mon Jan 28 20:46:01 2019 rev:19 rq:665998 version:1.0

Changes:

--- /work/SRC/openSUSE:Factory/python-MarkupSafe/python-MarkupSafe.changes  
2017-04-19 18:07:17.319862241 +0200
+++ 
/work/SRC/openSUSE:Factory/.python-MarkupSafe.new.28833/python-MarkupSafe.changes
   2019-01-28 20:46:03.470055887 +0100
@@ -1,0 +2,5 @@
+Mon Jan 14 16:01:46 CET 2019 - ku...@suse.de
+
+- Use %license instead of %doc [bsc#1082318]
+
+---



Other differences:
--
++ python-MarkupSafe.spec ++
--- /var/tmp/diff_new_pack.BnIkgk/_old  2019-01-28 20:46:04.174055146 +0100
+++ /var/tmp/diff_new_pack.BnIkgk/_new  2019-01-28 20:46:04.174055146 +0100
@@ -1,7 +1,7 @@
 #
 # spec file for package python-MarkupSafe
 #
-# Copyright (c) 2017 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,7 +12,7 @@
 # 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/
 #
 
 
@@ -57,7 +57,8 @@
 
 %files %python_files
 %defattr(-,root,root,-)
-%doc AUTHORS LICENSE README.rst
+%license LICENSE
+%doc AUTHORS README.rst
 %{python_sitearch}/markupsafe/
 %{python_sitearch}/MarkupSafe-%{version}-py*.egg-info
 




commit python-MarkupSafe for openSUSE:Factory

2017-04-19 Thread root
Hello community,

here is the log from the commit of package python-MarkupSafe for 
openSUSE:Factory checked in at 2017-04-19 18:07:16

Comparing /work/SRC/openSUSE:Factory/python-MarkupSafe (Old)
 and  /work/SRC/openSUSE:Factory/.python-MarkupSafe.new (New)


Package is "python-MarkupSafe"

Wed Apr 19 18:07:16 2017 rev:18 rq:485684 version:1.0

Changes:

--- /work/SRC/openSUSE:Factory/python-MarkupSafe/python-MarkupSafe.changes  
2014-07-16 16:37:14.0 +0200
+++ /work/SRC/openSUSE:Factory/.python-MarkupSafe.new/python-MarkupSafe.changes 
2017-04-19 18:07:17.319862241 +0200
@@ -1,0 +2,19 @@
+Tue Apr  4 15:13:20 UTC 2017 - jmate...@suse.com
+
+- update source url
+- fix obs/prov to refer to old python
+- drop _speedups.c from installed directory
+
+---
+Wed Mar 22 15:11:29 UTC 2017 - tbecht...@suse.com
+
+- Add missing BuildRequires for python-rpm-macros
+
+---
+Wed Mar 22 13:08:44 UTC 2017 - tbecht...@suse.com
+
+- update to 1.0.0
+  + No upstream changelog
+- Switch to singlespec approach
+
+---

Old:

  MarkupSafe-0.23.tar.gz

New:

  MarkupSafe-1.0.tar.gz



Other differences:
--
++ python-MarkupSafe.spec ++
--- /var/tmp/diff_new_pack.Qm4cQD/_old  2017-04-19 18:07:17.963771157 +0200
+++ /var/tmp/diff_new_pack.Qm4cQD/_new  2017-04-19 18:07:17.963771157 +0200
@@ -1,7 +1,7 @@
 #
 # spec file for package python-MarkupSafe
 #
-# Copyright (c) 2014 SUSE LINUX Products GmbH, Nuernberg, Germany.
+# Copyright (c) 2017 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
@@ -16,23 +16,26 @@
 #
 
 
+%define oldpython python
+%{?!python_module:%define python_module() python-%{**} python3-%{**}}
 Name:   python-MarkupSafe
-Version:0.23
+Version:1.0
 Release:0
 Url:http://dev.pocoo.org/
 Summary:Implements a XML/HTML/XHTML Markup safe string for Python
 License:BSD-3-Clause
 Group:  Development/Languages/Python
-Source: 
http://pypi.python.org/packages/source/M/MarkupSafe/MarkupSafe-%{version}.tar.gz
+Source: 
https://files.pythonhosted.org/packages/source/M/MarkupSafe/MarkupSafe-%{version}.tar.gz
 BuildRoot:  %{_tmppath}/%{name}-%{version}-build
-BuildRequires:  python-devel
-BuildRequires:  python-setuptools
-%if 0%{?suse_version}
-%py_requires
+BuildRequires:  %{python_module devel}
+BuildRequires:  %{python_module setuptools}
+BuildRequires:  python-rpm-macros
+%ifpython2
+Provides:   %{oldpython}-markupsafe = %{version}
+Obsoletes:  %{oldpython}-markupsafe < %{version}
 %endif
-Provides:   python-markupsafe = %{version}
-Obsoletes:  python-markupsafe < %{version}
-%{!?python_sitearch: %global python_sitearch %(%{__python} -c "from 
distutils.sysconfig import get_python_lib; print get_python_lib(1)")}
+
+%python_subpackages
 
 %description
 Implements a unicode subclass that supports HTML strings. This can be used to
@@ -42,15 +45,17 @@
 %setup -q -n MarkupSafe-%{version}
 
 %build
-CFLAGS="%{optflags}" python setup.py build
+export CFLAGS="%{optflags}"
+%python_build
 
 %install
-python setup.py install --prefix=%{_prefix} --root=%{buildroot}
+%python_install
+%python_expand rm %{buildroot}%{$python_sitearch}/markupsafe/_speedups.c
 
 %check
-python setup.py test
+%python_exec setup.py test
 
-%files
+%files %python_files
 %defattr(-,root,root,-)
 %doc AUTHORS LICENSE README.rst
 %{python_sitearch}/markupsafe/

++ MarkupSafe-0.23.tar.gz -> MarkupSafe-1.0.tar.gz ++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/MarkupSafe-0.23/CHANGES new/MarkupSafe-1.0/CHANGES
--- old/MarkupSafe-0.23/CHANGES 1970-01-01 01:00:00.0 +0100
+++ new/MarkupSafe-1.0/CHANGES  2016-01-13 22:37:41.0 +0100
@@ -0,0 +1,48 @@
+MarkupSafe Changelog
+
+
+Version 1.0
+---
+
+- Fixed custom types not invoking `__unicode__` when used
+  with `format()`.
+- Added `__version__` module attribute
+- Improve unescape code to leave lone ampersands alone.
+
+Version 0.18
+
+
+- Fixed `__mul__` and string splitting on Python 3.
+
+Version 0.17
+
+
+- Fixed a bug with broken interpolation on tuples.
+
+Version 0.16
+
+
+- Improved Python 3 Support and removed 2to3
+- Removed support for Python 3.2 and 2.5
+
+Version 0.15
+
+
+- Fixed a typo that caused the library to fail to install
+  on pypy and jython -.-
+
+Version 0.1

commit python-MarkupSafe for openSUSE:Factory

2014-07-16 Thread h_root
Hello community,

here is the log from the commit of package python-MarkupSafe for 
openSUSE:Factory checked in at 2014-07-16 16:37:14

Comparing /work/SRC/openSUSE:Factory/python-MarkupSafe (Old)
 and  /work/SRC/openSUSE:Factory/.python-MarkupSafe.new (New)


Package is "python-MarkupSafe"

Changes:

--- /work/SRC/openSUSE:Factory/python-MarkupSafe/python-MarkupSafe.changes  
2014-05-10 08:32:41.0 +0200
+++ /work/SRC/openSUSE:Factory/.python-MarkupSafe.new/python-MarkupSafe.changes 
2014-07-16 16:37:14.0 +0200
@@ -1,0 +2,6 @@
+Tue Jul 15 10:42:00 UTC 2014 - toddrme2...@gmail.com
+
+- Update to 0.23
+  + No upstream changelog
+
+---

Old:

  MarkupSafe-0.21.tar.gz

New:

  MarkupSafe-0.23.tar.gz



Other differences:
--
++ python-MarkupSafe.spec ++
--- /var/tmp/diff_new_pack.VffB3t/_old  2014-07-16 16:37:15.0 +0200
+++ /var/tmp/diff_new_pack.VffB3t/_new  2014-07-16 16:37:15.0 +0200
@@ -17,7 +17,7 @@
 
 
 Name:   python-MarkupSafe
-Version:0.21
+Version:0.23
 Release:0
 Url:http://dev.pocoo.org/
 Summary:Implements a XML/HTML/XHTML Markup safe string for Python

++ MarkupSafe-0.21.tar.gz -> MarkupSafe-0.23.tar.gz ++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/MarkupSafe-0.21/MarkupSafe.egg-info/PKG-INFO 
new/MarkupSafe-0.23/MarkupSafe.egg-info/PKG-INFO
--- old/MarkupSafe-0.21/MarkupSafe.egg-info/PKG-INFO2014-04-17 
11:50:53.0 +0200
+++ new/MarkupSafe-0.23/MarkupSafe.egg-info/PKG-INFO2014-05-08 
16:58:52.0 +0200
@@ -1,6 +1,6 @@
 Metadata-Version: 1.0
 Name: MarkupSafe
-Version: 0.21
+Version: 0.23
 Summary: Implements a XML/HTML/XHTML Markup safe string for Python
 Home-page: http://github.com/mitsuhiko/markupsafe
 Author: Armin Ronacher
@@ -79,7 +79,7 @@
 3.  otherwise the default format system of Python kicks in and the 
result
 is HTML escaped.
 
-Here is how you can implement your own formatting:
+Here is how you can implement your own formatting::
 
 class User(object):
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/MarkupSafe-0.21/PKG-INFO new/MarkupSafe-0.23/PKG-INFO
--- old/MarkupSafe-0.21/PKG-INFO2014-04-17 11:50:53.0 +0200
+++ new/MarkupSafe-0.23/PKG-INFO2014-05-08 16:58:52.0 +0200
@@ -1,6 +1,6 @@
 Metadata-Version: 1.0
 Name: MarkupSafe
-Version: 0.21
+Version: 0.23
 Summary: Implements a XML/HTML/XHTML Markup safe string for Python
 Home-page: http://github.com/mitsuhiko/markupsafe
 Author: Armin Ronacher
@@ -79,7 +79,7 @@
 3.  otherwise the default format system of Python kicks in and the 
result
 is HTML escaped.
 
-Here is how you can implement your own formatting:
+Here is how you can implement your own formatting::
 
 class User(object):
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/MarkupSafe-0.21/README.rst 
new/MarkupSafe-0.23/README.rst
--- old/MarkupSafe-0.21/README.rst  2014-04-17 11:49:09.0 +0200
+++ new/MarkupSafe-0.23/README.rst  2014-04-17 11:58:15.0 +0200
@@ -71,7 +71,7 @@
 3.  otherwise the default format system of Python kicks in and the result
 is HTML escaped.
 
-Here is how you can implement your own formatting:
+Here is how you can implement your own formatting::
 
 class User(object):
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/MarkupSafe-0.21/markupsafe/__init__.py 
new/MarkupSafe-0.23/markupsafe/__init__.py
--- old/MarkupSafe-0.21/markupsafe/__init__.py  2014-04-17 11:43:10.0 
+0200
+++ new/MarkupSafe-0.23/markupsafe/__init__.py  2014-05-08 16:52:34.0 
+0200
@@ -10,6 +10,7 @@
 """
 import re
 import string
+from collections import Mapping
 from markupsafe._compat import text_type, string_types, int_types, \
  unichr, iteritems, PY2
 
@@ -42,7 +43,7 @@
 >>> class Foo(object):
 ...  def __html__(self):
 ...   return 'foo'
-... 
+...
 >>> Markup(Foo())
 Markup(u'foo')
 
@@ -118,7 +119,8 @@
 rsplit.__doc__ = text_type.rsplit.__doc__
 
 def splitlines(self, *args, **kwargs):
-return list(map(self.__class__, text_type.splitlines(self, *args, 
**kwargs)))
+return list(map(self.__class__, text_type.splitlines(
+self, *args, **kwargs)))
 splitlines.__doc__ = text_type.splitlines.__doc__
 
 def unescape(self):
@@ -195,7 +197,8 @@
 def format(*args

commit python-MarkupSafe for openSUSE:Factory

2014-05-09 Thread h_root
Hello community,

here is the log from the commit of package python-MarkupSafe for 
openSUSE:Factory checked in at 2014-05-10 08:32:23

Comparing /work/SRC/openSUSE:Factory/python-MarkupSafe (Old)
 and  /work/SRC/openSUSE:Factory/.python-MarkupSafe.new (New)


Package is "python-MarkupSafe"

Changes:

--- /work/SRC/openSUSE:Factory/python-MarkupSafe/python-MarkupSafe.changes  
2014-03-15 17:35:55.0 +0100
+++ /work/SRC/openSUSE:Factory/.python-MarkupSafe.new/python-MarkupSafe.changes 
2014-05-10 08:32:41.0 +0200
@@ -1,0 +2,6 @@
+Thu May  8 13:51:56 UTC 2014 - toddrme2...@gmail.com
+
+- Update to 0.21
+  + No upstream changelog
+  
+  ---

Old:

  MarkupSafe-0.19.tar.gz

New:

  MarkupSafe-0.21.tar.gz



Other differences:
--
++ python-MarkupSafe.spec ++
--- /var/tmp/diff_new_pack.GKIHW7/_old  2014-05-10 08:32:42.0 +0200
+++ /var/tmp/diff_new_pack.GKIHW7/_new  2014-05-10 08:32:42.0 +0200
@@ -17,7 +17,7 @@
 
 
 Name:   python-MarkupSafe
-Version:0.19
+Version:0.21
 Release:0
 Url:http://dev.pocoo.org/
 Summary:Implements a XML/HTML/XHTML Markup safe string for Python
@@ -54,6 +54,6 @@
 %defattr(-,root,root,-)
 %doc AUTHORS LICENSE README.rst
 %{python_sitearch}/markupsafe/
-%{python_sitearch}/MarkupSafe-%{version}-py%{py_ver}.egg-info
+%{python_sitearch}/MarkupSafe-%{version}-py*.egg-info
 
 %changelog

++ MarkupSafe-0.19.tar.gz -> MarkupSafe-0.21.tar.gz ++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/MarkupSafe-0.19/MarkupSafe.egg-info/PKG-INFO 
new/MarkupSafe-0.21/MarkupSafe.egg-info/PKG-INFO
--- old/MarkupSafe-0.19/MarkupSafe.egg-info/PKG-INFO2014-03-06 
17:52:29.0 +0100
+++ new/MarkupSafe-0.21/MarkupSafe.egg-info/PKG-INFO2014-04-17 
11:50:53.0 +0200
@@ -1,6 +1,6 @@
 Metadata-Version: 1.0
 Name: MarkupSafe
-Version: 0.19
+Version: 0.21
 Summary: Implements a XML/HTML/XHTML Markup safe string for Python
 Home-page: http://github.com/mitsuhiko/markupsafe
 Author: Armin Ronacher
@@ -29,6 +29,9 @@
 >>> soft_unicode(Markup('foo'))
 Markup(u'foo')
 
+HTML Representations
+
+
 Objects can customize their HTML markup equivalent by overriding
 the `__html__` function:
 
@@ -41,6 +44,9 @@
 >>> Markup(Foo())
 Markup(u'Nice')
 
+Silent Escapes
+--
+
 Since MarkupSafe 0.10 there is now also a separate escape function
 called `escape_silent` that returns an empty string for `None` for
 consistency with other systems that return empty strings for `None`
@@ -58,6 +64,48 @@
 def escape(cls, s):
 return cls(escape(s))
 
+New-Style String Formatting
+---
+
+Starting with MarkupSafe 0.21 new style string formats from Python 2.6 
and
+3.x are now fully supported.  Previously the escape behavior of those
+functions was spotty at best.  The new implementations operates under 
the
+following algorithm:
+
+1.  if an object has an ``__html_format__`` method it is called as
+replacement for ``__format__`` with the format specifier.  It 
either
+has to return a string or markup object.
+2.  if an object has an ``__html__`` method it is called.
+3.  otherwise the default format system of Python kicks in and the 
result
+is HTML escaped.
+
+Here is how you can implement your own formatting:
+
+class User(object):
+
+def __init__(self, id, username):
+self.id = id
+self.username = username
+
+def __html_format__(self, format_spec):
+if format_spec == 'link':
+return Markup('{1}').format(
+self.id,
+self.__html__(),
+)
+elif format_spec:
+raise ValueError('Invalid format spec')
+return self.__html__()
+
+def __html__(self):
+return Markup('{0}').format(self.username)
+
+And to format that user:
+
+>>> user = User(1, 'foo')
+>>> Markup('User: {0:link}').format(user)
+Markup(u'User: foo')
+
 Platform: UNKNOWN
 Classifier: Development Status :: 5 - Production/Stable
 Classifier: Environment :

commit python-MarkupSafe for openSUSE:Factory

2014-03-15 Thread h_root
Hello community,

here is the log from the commit of package python-MarkupSafe for 
openSUSE:Factory checked in at 2014-03-15 17:35:54

Comparing /work/SRC/openSUSE:Factory/python-MarkupSafe (Old)
 and  /work/SRC/openSUSE:Factory/.python-MarkupSafe.new (New)


Package is "python-MarkupSafe"

Changes:

--- /work/SRC/openSUSE:Factory/python-MarkupSafe/python-MarkupSafe.changes  
2013-10-25 11:21:12.0 +0200
+++ /work/SRC/openSUSE:Factory/.python-MarkupSafe.new/python-MarkupSafe.changes 
2014-03-15 17:35:55.0 +0100
@@ -1,0 +2,6 @@
+Thu Mar 13 14:03:44 UTC 2014 - mci...@suse.cz
+
+- update to 0.19:
+  + Various Python 3.x fixes
+
+---

Old:

  MarkupSafe-0.18.tar.gz

New:

  MarkupSafe-0.19.tar.gz



Other differences:
--
++ python-MarkupSafe.spec ++
--- /var/tmp/diff_new_pack.6y5l1d/_old  2014-03-15 17:35:56.0 +0100
+++ /var/tmp/diff_new_pack.6y5l1d/_new  2014-03-15 17:35:56.0 +0100
@@ -1,7 +1,7 @@
 #
 # spec file for package python-MarkupSafe
 #
-# Copyright (c) 2013 SUSE LINUX Products GmbH, Nuernberg, Germany.
+# Copyright (c) 2014 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-MarkupSafe
-Version:0.18
+Version:0.19
 Release:0
 Url:http://dev.pocoo.org/
 Summary:Implements a XML/HTML/XHTML Markup safe string for Python

++ MarkupSafe-0.18.tar.gz -> MarkupSafe-0.19.tar.gz ++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/MarkupSafe-0.18/MarkupSafe.egg-info/PKG-INFO 
new/MarkupSafe-0.19/MarkupSafe.egg-info/PKG-INFO
--- old/MarkupSafe-0.18/MarkupSafe.egg-info/PKG-INFO2013-05-22 
03:15:40.0 +0200
+++ new/MarkupSafe-0.19/MarkupSafe.egg-info/PKG-INFO2014-03-06 
17:52:29.0 +0100
@@ -1,6 +1,6 @@
 Metadata-Version: 1.0
 Name: MarkupSafe
-Version: 0.18
+Version: 0.19
 Summary: Implements a XML/HTML/XHTML Markup safe string for Python
 Home-page: http://github.com/mitsuhiko/markupsafe
 Author: Armin Ronacher
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/MarkupSafe-0.18/PKG-INFO new/MarkupSafe-0.19/PKG-INFO
--- old/MarkupSafe-0.18/PKG-INFO2013-05-22 03:15:40.0 +0200
+++ new/MarkupSafe-0.19/PKG-INFO2014-03-06 17:52:29.0 +0100
@@ -1,6 +1,6 @@
 Metadata-Version: 1.0
 Name: MarkupSafe
-Version: 0.18
+Version: 0.19
 Summary: Implements a XML/HTML/XHTML Markup safe string for Python
 Home-page: http://github.com/mitsuhiko/markupsafe
 Author: Armin Ronacher
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/MarkupSafe-0.18/setup.py new/MarkupSafe-0.19/setup.py
--- old/MarkupSafe-0.18/setup.py2013-05-22 03:15:33.0 +0200
+++ new/MarkupSafe-0.19/setup.py2014-03-06 17:51:40.0 +0100
@@ -1,6 +1,6 @@
 import os
 import sys
-from setuptools import setup, Extension, Feature
+from setuptools import setup, Extension
 from distutils.command.build_ext import build_ext
 from distutils.errors import CCompilerError, DistutilsExecError, \
 DistutilsPlatformError
@@ -13,13 +13,14 @@
 is_pypy = hasattr(sys, 'pypy_version_info')
 
 
-speedups = Feature(
-'optional C speed-enhancement module',
-standard=True,
-ext_modules = [
-Extension('markupsafe._speedups', ['markupsafe/_speedups.c']),
-],
-)
+# Remove old arguments that were once supported.  Thanks setuptools
+# 3.0 for just randomly removing functionality.
+for arg in '--with-speedups', '--without-speedups':
+try:
+sys.argv.remove(arg)
+except ValueError:
+pass
+
 
 ext_errors = (CCompilerError, DistutilsExecError, DistutilsPlatformError)
 if sys.platform == 'win32' and sys.version_info > (2, 6):
@@ -61,12 +62,11 @@
 
 
 def run_setup(with_binary):
-features = {}
-if with_binary:
-features['speedups'] = speedups
+ext = Extension('markupsafe._speedups', ['markupsafe/_speedups.c'])
+ext_modules = [ext] if with_binary else []
 setup(
 name='MarkupSafe',
-version='0.18',
+version='0.19',
 url='http://github.com/mitsuhiko/markupsafe',
 license='BSD',
 author='Armin Ronacher',
@@ -90,7 +90,7 @@
 test_suite='markupsafe.tests.suite',
 include_package_data=True,
 cmdclass={'build_ext': ve_build_ext},
-features=features,
+ext_modules=ext_modules,
 )
 
 

-- 
To unsubscribe, e-mail: opensuse-commit+unsubscr...@ope

commit python-MarkupSafe for openSUSE:Factory

2013-10-25 Thread h_root
Hello community,

here is the log from the commit of package python-MarkupSafe for 
openSUSE:Factory checked in at 2013-10-25 11:21:11

Comparing /work/SRC/openSUSE:Factory/python-MarkupSafe (Old)
 and  /work/SRC/openSUSE:Factory/.python-MarkupSafe.new (New)


Package is "python-MarkupSafe"

Changes:

--- /work/SRC/openSUSE:Factory/python-MarkupSafe/python-MarkupSafe.changes  
2013-07-02 14:28:16.0 +0200
+++ /work/SRC/openSUSE:Factory/.python-MarkupSafe.new/python-MarkupSafe.changes 
2013-10-25 11:21:12.0 +0200
@@ -1,0 +2,5 @@
+Thu Oct 24 11:08:17 UTC 2013 - speili...@suse.com
+
+- Require python-setuptools instead of distribute (upstreams merged)
+
+---



Other differences:
--
++ python-MarkupSafe.spec ++
--- /var/tmp/diff_new_pack.YFZs2u/_old  2013-10-25 11:21:13.0 +0200
+++ /var/tmp/diff_new_pack.YFZs2u/_new  2013-10-25 11:21:13.0 +0200
@@ -26,7 +26,7 @@
 Source: 
http://pypi.python.org/packages/source/M/MarkupSafe/MarkupSafe-%{version}.tar.gz
 BuildRoot:  %{_tmppath}/%{name}-%{version}-build
 BuildRequires:  python-devel
-BuildRequires:  python-distribute
+BuildRequires:  python-setuptools
 %if 0%{?suse_version}
 %py_requires
 %endif

-- 
To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org
For additional commands, e-mail: opensuse-commit+h...@opensuse.org



commit python-MarkupSafe for openSUSE:Factory

2013-07-02 Thread h_root
Hello community,

here is the log from the commit of package python-MarkupSafe for 
openSUSE:Factory checked in at 2013-07-02 12:28:22

Comparing /work/SRC/openSUSE:Factory/python-MarkupSafe (Old)
 and  /work/SRC/openSUSE:Factory/.python-MarkupSafe.new (New)


Package is "python-MarkupSafe"

Changes:

--- /work/SRC/openSUSE:Factory/python-MarkupSafe/python-MarkupSafe.changes  
2012-05-25 16:19:02.0 +0200
+++ /work/SRC/openSUSE:Factory/.python-MarkupSafe.new/python-MarkupSafe.changes 
2013-07-02 14:28:16.0 +0200
@@ -1,0 +2,7 @@
+Tue Jun 25 11:56:41 UTC 2013 - dmuel...@suse.com
+
+- update to 0.18:
+  + Fixed interpolation on tuples
+  + Varios Python 3.x fixes
+
+---

Old:

  MarkupSafe-0.15.tar.gz

New:

  MarkupSafe-0.18.tar.gz



Other differences:
--
++ python-MarkupSafe.spec ++
--- /var/tmp/diff_new_pack.v127m5/_old  2013-07-02 14:28:17.0 +0200
+++ /var/tmp/diff_new_pack.v127m5/_new  2013-07-02 14:28:17.0 +0200
@@ -17,7 +17,7 @@
 
 
 Name:   python-MarkupSafe
-Version:0.15
+Version:0.18
 Release:0
 Url:http://dev.pocoo.org/
 Summary:Implements a XML/HTML/XHTML Markup safe string for Python

++ MarkupSafe-0.15.tar.gz -> MarkupSafe-0.18.tar.gz ++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/MarkupSafe-0.15/MarkupSafe.egg-info/PKG-INFO 
new/MarkupSafe-0.18/MarkupSafe.egg-info/PKG-INFO
--- old/MarkupSafe-0.15/MarkupSafe.egg-info/PKG-INFO2011-07-20 
10:58:11.0 +0200
+++ new/MarkupSafe-0.18/MarkupSafe.egg-info/PKG-INFO2013-05-22 
03:15:40.0 +0200
@@ -1,8 +1,8 @@
 Metadata-Version: 1.0
 Name: MarkupSafe
-Version: 0.15
+Version: 0.18
 Summary: Implements a XML/HTML/XHTML Markup safe string for Python
-Home-page: http://dev.pocoo.org/
+Home-page: http://github.com/mitsuhiko/markupsafe
 Author: Armin Ronacher
 Author-email: armin.ronac...@active-4.com
 License: BSD
@@ -20,7 +20,8 @@
 
 If you want to make an object unicode that is not yet unicode
 but don't want to lose the taint information, you can use the
-`soft_unicode` function:
+`soft_unicode` function.  (On Python 3 you can also use `soft_str` 
which
+is a different name for the same function).
 
 >>> from markupsafe import soft_unicode
 >>> soft_unicode(42)
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/MarkupSafe-0.15/MarkupSafe.egg-info/SOURCES.txt 
new/MarkupSafe-0.18/MarkupSafe.egg-info/SOURCES.txt
--- old/MarkupSafe-0.15/MarkupSafe.egg-info/SOURCES.txt 2011-07-20 
10:58:12.0 +0200
+++ new/MarkupSafe-0.18/MarkupSafe.egg-info/SOURCES.txt 2013-05-22 
03:15:40.0 +0200
@@ -9,6 +9,7 @@
 MarkupSafe.egg-info/not-zip-safe
 MarkupSafe.egg-info/top_level.txt
 markupsafe/__init__.py
+markupsafe/_compat.py
 markupsafe/_constants.py
 markupsafe/_native.py
 markupsafe/_speedups.c
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/MarkupSafe-0.15/PKG-INFO new/MarkupSafe-0.18/PKG-INFO
--- old/MarkupSafe-0.15/PKG-INFO2011-07-20 10:58:12.0 +0200
+++ new/MarkupSafe-0.18/PKG-INFO2013-05-22 03:15:40.0 +0200
@@ -1,8 +1,8 @@
 Metadata-Version: 1.0
 Name: MarkupSafe
-Version: 0.15
+Version: 0.18
 Summary: Implements a XML/HTML/XHTML Markup safe string for Python
-Home-page: http://dev.pocoo.org/
+Home-page: http://github.com/mitsuhiko/markupsafe
 Author: Armin Ronacher
 Author-email: armin.ronac...@active-4.com
 License: BSD
@@ -20,7 +20,8 @@
 
 If you want to make an object unicode that is not yet unicode
 but don't want to lose the taint information, you can use the
-`soft_unicode` function:
+`soft_unicode` function.  (On Python 3 you can also use `soft_str` 
which
+is a different name for the same function).
 
 >>> from markupsafe import soft_unicode
 >>> soft_unicode(42)
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/MarkupSafe-0.15/README.rst 
new/MarkupSafe-0.18/README.rst
--- old/MarkupSafe-0.15/README.rst  2010-09-07 17:43:12.0 +0200
+++ new/MarkupSafe-0.18/README.rst  2013-05-20 20:25:19.0 +0200
@@ -12,7 +12,8 @@
 
 If you want to make an object unicode that is not yet unicode
 but don't want to lose the taint information, you can use the
-`soft_unicode` function:
+`soft_unicode` function.  (On Python 3 you can also use `soft_str` which
+is a different name for the same function).
 
 >>> from markupsafe import soft_unicode
 >>> soft_un

commit python-MarkupSafe for openSUSE:Factory

2013-06-19 Thread h_root
Hello community,

here is the log from the commit of package python-MarkupSafe for 
openSUSE:Factory checked in at 2013-06-19 16:22:08

Comparing /work/SRC/openSUSE:Factory/python-MarkupSafe (Old)
 and  /work/SRC/openSUSE:Factory/.python-MarkupSafe.new (New)


Package is "python-MarkupSafe"

Changes:


Old:

  python3-MarkupSafe.changes
  python3-MarkupSafe.spec



Other differences:
--
++ python-MarkupSafe.spec ++
--- /var/tmp/diff_new_pack.bsJkMn/_old  2013-06-19 16:22:10.0 +0200
+++ /var/tmp/diff_new_pack.bsJkMn/_new  2013-06-19 16:22:10.0 +0200
@@ -1,7 +1,7 @@
 #
 # spec file for package python-MarkupSafe
 #
-# 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
@@ -16,10 +16,9 @@
 #
 
 
-
 Name:   python-MarkupSafe
 Version:0.15
-Release:1
+Release:0
 Url:http://dev.pocoo.org/
 Summary:Implements a XML/HTML/XHTML Markup safe string for Python
 License:BSD-3-Clause

-- 
To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org
For additional commands, e-mail: opensuse-commit+h...@opensuse.org



commit python-MarkupSafe for openSUSE:Factory

2012-09-11 Thread h_root
Hello community,

here is the log from the commit of package python-MarkupSafe for 
openSUSE:Factory checked in at 2012-09-11 09:16:12

Comparing /work/SRC/openSUSE:Factory/python-MarkupSafe (Old)
 and  /work/SRC/openSUSE:Factory/.python-MarkupSafe.new (New)


Package is "python-MarkupSafe", Maintainer is ""

Changes:

--- /work/SRC/openSUSE:Factory/python-MarkupSafe/python3-MarkupSafe.changes 
2012-05-25 16:19:02.0 +0200
+++ 
/work/SRC/openSUSE:Factory/.python-MarkupSafe.new/python3-MarkupSafe.changes
2012-09-11 09:16:25.0 +0200
@@ -1,0 +2,8 @@
+Thu Sep  6 13:05:51 UTC 2012 - toddrme2...@gmail.com
+
+- Restore BuildRequires: python3  This package depends on hash
+  algorithms that are only available if python3 is installed,
+  python3-devel will not pull them in.  Building will fail if 
+  BuildRequires: python3 is removed.
+
+---



Other differences:
--
++ python3-MarkupSafe.spec ++
--- /var/tmp/diff_new_pack.K3nnVr/_old  2012-09-11 09:16:31.0 +0200
+++ /var/tmp/diff_new_pack.K3nnVr/_new  2012-09-11 09:16:31.0 +0200
@@ -26,6 +26,7 @@
 Group:  Development/Languages/Python
 Source: 
http://pypi.python.org/packages/source/M/MarkupSafe/MarkupSafe-%{version}.tar.gz
 BuildRoot:  %{_tmppath}/%{name}-%{version}-build
+BuildRequires:  python3
 BuildRequires:  python3-devel
 BuildRequires:  python3-distribute
 BuildRequires:  python3-2to3

-- 
To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org
For additional commands, e-mail: opensuse-commit+h...@opensuse.org



commit python-MarkupSafe for openSUSE:Factory

2012-05-25 Thread h_root
Hello community,

here is the log from the commit of package python-MarkupSafe for 
openSUSE:Factory checked in at 2012-05-25 16:18:36

Comparing /work/SRC/openSUSE:Factory/python-MarkupSafe (Old)
 and  /work/SRC/openSUSE:Factory/.python-MarkupSafe.new (New)


Package is "python-MarkupSafe", Maintainer is ""

Changes:

--- /work/SRC/openSUSE:Factory/python-MarkupSafe/python-MarkupSafe.changes  
2011-09-23 12:42:26.0 +0200
+++ /work/SRC/openSUSE:Factory/.python-MarkupSafe.new/python-MarkupSafe.changes 
2012-05-25 16:19:02.0 +0200
@@ -1,0 +2,6 @@
+Wed May 23 05:24:01 UTC 2012 - highwaystar...@gmail.com
+
+- python3 package added
+- minor spec improvement 
+
+---
New Changes file:

--- /dev/null   2012-05-03 01:24:41.895590051 +0200
+++ 
/work/SRC/openSUSE:Factory/.python-MarkupSafe.new/python3-MarkupSafe.changes
2012-05-25 16:19:02.0 +0200
@@ -0,0 +1,5 @@
+---
+Wed May 23 05:24:50 UTC 2012 - highwaystar...@gmail.com
+
+- python3-Markupsafe package added 
+

New:

  python3-MarkupSafe.changes
  python3-MarkupSafe.spec



Other differences:
--
++ python-MarkupSafe.spec ++
--- /var/tmp/diff_new_pack.0HIREa/_old  2012-05-25 16:19:04.0 +0200
+++ /var/tmp/diff_new_pack.0HIREa/_new  2012-05-25 16:19:04.0 +0200
@@ -1,7 +1,7 @@
 #
 # spec file for package python-MarkupSafe
 #
-# Copyright (c) 2011 SUSE LINUX Products GmbH, Nuernberg, Germany.
+# 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
@@ -54,6 +54,7 @@
 %files
 %defattr(-,root,root,-)
 %doc AUTHORS LICENSE README.rst
-%{python_sitearch}/*
+%{python_sitearch}/markupsafe/
+%{python_sitearch}/MarkupSafe-%{version}-py%{py_ver}.egg-info
 
 %changelog

++ python3-MarkupSafe.spec ++
#
# spec file for package python3-MarkupSafe
#
# 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:   python3-MarkupSafe
Version:0.15
Release:1
Url:http://dev.pocoo.org/
Summary:Implements a XML/HTML/XHTML Markup safe string for Python
License:BSD-3-Clause
Group:  Development/Languages/Python
Source: 
http://pypi.python.org/packages/source/M/MarkupSafe/MarkupSafe-%{version}.tar.gz
BuildRoot:  %{_tmppath}/%{name}-%{version}-build
BuildRequires:  python3-devel
BuildRequires:  python3-distribute
BuildRequires:  python3-2to3

%if 0%{?suse_version} <= 1140
%{!?python3_sitearch: %global python3_sitearch %(python3 -c "from 
distutils.sysconfig import get_python_lib; print(get_python_lib(1))")}
%{!?py3_ver: %global py3_ver %(python3 -c "import sys; 
version=str(sys.version_info[0]) + '.' + str(sys.version_info[1]); 
print(version)")}
%endif
Requires:   python(abi) = %{py3_ver}

%description
Implements a unicode subclass that supports HTML strings. This can be used to
safely encode strings for dynamically generated web pages.

%prep
%setup -q -n MarkupSafe-%{version}

%build
CFLAGS="%{optflags}" python3 setup.py build

%install
python3 setup.py install --prefix=%{_prefix} --root=%{buildroot}

%check
python3 setup.py test

%files
%defattr(-,root,root,-)
%doc AUTHORS LICENSE README.rst
%{python3_sitearch}/markupsafe
%{python3_sitearch}/MarkupSafe-%{version}-py%{py3_ver}.egg-info

%changelog
-- 
To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org
For additional commands, e-mail: opensuse-commit+h...@opensuse.org



commit python-MarkupSafe for openSUSE:Factory

2011-09-01 Thread h_root

Hello community,

here is the log from the commit of package python-MarkupSafe for 
openSUSE:Factory
checked in at Thu Sep 1 17:51:18 CEST 2011.




New Changes file:

--- /dev/null   2010-08-26 16:28:41.0 +0200
+++ python-MarkupSafe/python-MarkupSafe.changes 2011-09-01 15:34:26.0 
+0200
@@ -0,0 +1,21 @@
+---
+Thu Sep  1 13:31:24 UTC 2011 - sasc...@suse.de
+
+- Update to 0.15
+- Changed license to BSD-3-Clause
+- Renamed to python-MarkupSafe (from python-markupsafe)
+
+---
+Mon Aug 30 16:06:34 UTC 2010 - jf...@funktronics.ca
+
+- Update to 0.11
+Since MarkupSafe 0.10 there is now also a separate escape function
+called `escape_silent` that returns an empty string for `None` for
+consistency with other systems that return empty strings for `None`
+when escaping (for instance Pylons' webhelpers).
+
+---
+Thu Jul  1 18:08:55 UTC 2010 - jf...@funktronics.ca
+
+- Initial release
+

calling whatdependson for head-i586


New:

  MarkupSafe-0.15.tar.gz
  python-MarkupSafe.changes
  python-MarkupSafe.spec



Other differences:
--
++ python-MarkupSafe.spec ++
#
# spec file for package python-MarkupSafe
#
# Copyright (c) 2011 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-MarkupSafe
Version:0.15
Release:1
Url:http://dev.pocoo.org/
Summary:Implements a XML/HTML/XHTML Markup safe string for Python
License:BSD-3-Clause
Group:  Development/Languages/Python
Source: 
http://pypi.python.org/packages/source/M/MarkupSafe/MarkupSafe-%{version}.tar.gz
BuildRoot:  %{_tmppath}/%{name}-%{version}-build
BuildRequires:  python-devel
BuildRequires:  python-distribute
%if 0%{?suse_version}
%py_requires
%endif
Provides:   python-markupsafe = %{version}
Obsoletes:  python-markupsafe < %{version}
%{!?python_sitearch: %global python_sitearch %(%{__python} -c "from 
distutils.sysconfig import get_python_lib; print get_python_lib(1)")}

%description
Implements a unicode subclass that supports HTML strings. This can be used to
safely encode strings for dynamically generated we pages.

%prep
%setup -q -n MarkupSafe-%{version}

%build
CFLAGS="%{optflags}" python setup.py build

%install
python setup.py install --prefix=%{_prefix} --root=%{buildroot}

%check
python setup.py test

%files
%defattr(-,root,root,-)
%doc AUTHORS LICENSE README.rst
%{python_sitearch}/*

%changelog





Remember to have fun...

-- 
To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org
For additional commands, e-mail: opensuse-commit+h...@opensuse.org