15
0

Accepting request 286297 from home:alois:branches:devel:languages:python

Updated to 2.3.0

OBS-URL: https://build.opensuse.org/request/show/286297
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-chardet?expand=0&rev=17
This commit is contained in:
Denisart Benjamin
2015-02-17 10:22:31 +00:00
committed by Git OBS Bridge
parent ca02d0d8f8
commit 83b6a3eddf
5 changed files with 26 additions and 12 deletions

View File

@@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:7b060958480939141f3133477f6811dca022ca145611ff65af590d1c55c48ab9
size 143195

3
chardet-2.3.0.tar.bz2 Normal file
View File

@@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:631fa4710e363fcfd36f932ff44871b8f2f3b91ebb3d992b7280e7be83beed26
size 130671

3
python-chardet-rpmlintrc Normal file
View File

@@ -0,0 +1,3 @@
# remove warnings about modules not being executable
addFilter("non-executable-script")

View File

@@ -1,3 +1,16 @@
-------------------------------------------------------------------
Tue Feb 10 23:45:01 UTC 2015 - aloisio@gmx.com
- Update to version 2.3.0
* Added support for CP932 detection (thanks to @hashy)
* Fixed an issue where UTF-8 with a BOM would not be detected
as UTF-8-SIG (#8)
* Modified chardetect to use argparse for argument parsing
* Moved docs to a gh-pages branch. You can now access them
at http://chardet.github.io
- Changelog on https://github.com/chardet/chardet/commits/2.3.0
- Other minor changes
-------------------------------------------------------------------
Thu Oct 24 11:00:03 UTC 2013 - speilicke@suse.com

View File

@@ -1,7 +1,7 @@
#
# spec file for package python-chardet
#
# Copyright (c) 2013 SUSE LINUX Products GmbH, Nuernberg, Germany.
# Copyright (c) 2015 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,20 +17,18 @@
Name: python-chardet
Version: 2.1.1
Version: 2.3.0
Release: 0
Summary: Universal encoding detector
License: LGPL-2.1+
Group: Development/Languages/Python
Url: http://chardet.feedparser.org/
Source: chardet-%{version}.tar.bz2
Url: https://github.com/chardet/chardet
Source0: chardet-%{version}.tar.bz2
Source1: python-chardet-rpmlintrc
BuildRequires: python-devel
BuildRequires: python-setuptools
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()")}
%{!?python_sitearch: %global python_sitearch %(python -c "from distutils.sysconfig import get_python_lib; print get_python_lib(1)")}
%else
%if 0%{?suse_version} > 1110
BuildArch: noarch
%endif
@@ -75,6 +73,6 @@ python setup.py install --prefix=%{_prefix} --root=%{buildroot}
%files
%defattr(-,root,root,-)
%{python_sitelib}/*
%{_bindir}/chardetect.py
%{_bindir}/chardetect
%changelog