Accepting request 225730 from devel:languages:python
- Update to version 1.4.20: + ignore unicode decode errors in xmlescape. Thanks Anatoly Bubenkoff. + on python2 modify traceback.format_exception_only to match python3 behaviour, namely trying to print unicode for Exception instances + use a safer way for serializing exception reports (helps to fix pytest issue413) - Drop %check section, we never ran tests. That would need python-pytest and introduce a cycle OBS-URL: https://build.opensuse.org/request/show/225730 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-py?expand=0&rev=15
This commit is contained in:
parent
8ef7bb993d
commit
d566ba0654
@ -1,3 +0,0 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:a1c4c1d2c218b1939fc466c46d4697026fbc09a3b17cdee298a08e62570eefa6
|
||||
size 187665
|
3
py-1.4.20.tar.gz
Normal file
3
py-1.4.20.tar.gz
Normal file
@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:23c99d99ebb2a60eb7023b7577bfc988acb0092082257a57189f100ce84b72f1
|
||||
size 185583
|
@ -1,3 +1,15 @@
|
||||
-------------------------------------------------------------------
|
||||
Wed Mar 12 16:08:39 UTC 2014 - speilicke@suse.com
|
||||
|
||||
- Update to version 1.4.20:
|
||||
+ ignore unicode decode errors in xmlescape. Thanks Anatoly Bubenkoff.
|
||||
+ on python2 modify traceback.format_exception_only to match python3
|
||||
behaviour, namely trying to print unicode for Exception instances
|
||||
+ use a safer way for serializing exception reports (helps to fix
|
||||
pytest issue413)
|
||||
- Drop %check section, we never ran tests. That would need python-pytest
|
||||
and introduce a cycle
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Fri Jan 3 08:30:42 UTC 2014 - mvyskocil@suse.com
|
||||
|
||||
|
@ -17,17 +17,18 @@
|
||||
|
||||
|
||||
Name: python-py
|
||||
Version: 1.4.19
|
||||
Version: 1.4.20
|
||||
Release: 0
|
||||
Summary: Library with cross-python path, ini-parsing, io, code, log facilities
|
||||
License: MIT
|
||||
Group: Development/Languages/Python
|
||||
Url: http://pylib.org
|
||||
Source: http://pypi.python.org/packages/source/p/py/py-%{version}.tar.gz
|
||||
BuildRequires: python-Sphinx
|
||||
BuildRequires: python-devel
|
||||
BuildRequires: python-setuptools
|
||||
BuildRequires: unzip
|
||||
# Documentation requirements:
|
||||
BuildRequires: python-Sphinx
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||
%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()")}
|
||||
@ -55,9 +56,6 @@ cd doc && make html && rm -r _build/html/.buildinfo # Generate HTML documentatio
|
||||
%install
|
||||
python setup.py install --prefix=%{_prefix} --root=%{buildroot}
|
||||
|
||||
%check
|
||||
python setup.py test
|
||||
|
||||
%files
|
||||
%defattr(-,root,root,-)
|
||||
%doc LICENSE README.txt doc/_build/html
|
||||
|
Loading…
x
Reference in New Issue
Block a user