forked from pool/python-python-mimeparse
Accepting request 484347 from home:alois:branches:devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/484347 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-python-mimeparse?expand=0&rev=6
This commit is contained in:
parent
ef67da28be
commit
1f991dbf25
@ -1,3 +0,0 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:bef134a59598cc6aa598f84553162aa7a0c01f3f431588225bb9a208964b1827
|
||||
size 5870
|
BIN
python-mimeparse-1.6.0.tar.gz
(Stored with Git LFS)
Normal file
BIN
python-mimeparse-1.6.0.tar.gz
(Stored with Git LFS)
Normal file
Binary file not shown.
@ -1,3 +1,30 @@
|
||||
-------------------------------------------------------------------
|
||||
Sat Apr 1 14:24:37 UTC 2017 - aloisio@gmx.com
|
||||
|
||||
- Updated to version 1.6.0
|
||||
* let acceptable types specify their quality (#26)
|
||||
* more readable formatting of test data
|
||||
* Run PyPy tests with pypy-5.4 on Travis (#30)
|
||||
* Ignore more dirs in flake8 tests (#31)
|
||||
* ignore .venv instead of venv
|
||||
* flake8 tweaks (#27)
|
||||
* ignore build/ and venv/ dirs
|
||||
version 1.5.4:
|
||||
* Release as a universal wheel (#28)
|
||||
* Remove __init__.py (#29)
|
||||
version 1.5.3:
|
||||
* extra test based on RFC 7231 page 38
|
||||
* cleaner code for quality_and_fitness_parsed
|
||||
* more readable testdata.json
|
||||
* readme tweaks
|
||||
* setup.py sanity check + pep8 tweaks to mimeparse.py
|
||||
* setup.py + README tidying (#22)
|
||||
* Document return types (#24)
|
||||
* Add pypy3 to test matrix
|
||||
* update download_url (fixes #18)
|
||||
|
||||
- Converted to single-spec
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue Nov 15 12:45:22 UTC 2016 - dmueller@suse.com
|
||||
|
||||
|
@ -1,7 +1,7 @@
|
||||
#
|
||||
# spec file for package python-python-mimeparse
|
||||
#
|
||||
# Copyright (c) 2016 SUSE LINUX 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,24 +16,24 @@
|
||||
#
|
||||
|
||||
|
||||
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
|
||||
Name: python-python-mimeparse
|
||||
Version: 1.5.2
|
||||
Version: 1.6.0
|
||||
Release: 0
|
||||
Url: http://code.google.com/p/mimeparse/
|
||||
Summary: Basic functions for parsing and matching mime-type names
|
||||
License: MIT
|
||||
Group: Development/Languages/Python
|
||||
Url: https://github.com/dbtsai/python-mimeparse
|
||||
Source: https://pypi.io/packages/source/p/python-mimeparse/python-mimeparse-%{version}.tar.gz
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||
BuildRequires: python-devel
|
||||
BuildRequires: python-setuptools
|
||||
BuildRequires: %{python_module devel}
|
||||
BuildRequires: %{python_module setuptools}
|
||||
BuildRequires: fdupes
|
||||
BuildRequires: python-rpm-macros
|
||||
Provides: python-mimeparse = 0.1.4
|
||||
Obsoletes: python-mimeparse < 0.1.4
|
||||
%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
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||
BuildArch: noarch
|
||||
%endif
|
||||
%python_subpackages
|
||||
|
||||
%description
|
||||
This module provides basic functions for handling mime-types. It can handle
|
||||
@ -44,17 +44,20 @@ the HTTP specification [RFC 2616] for a complete explanation.
|
||||
%setup -q -n python-mimeparse-%{version}
|
||||
|
||||
%build
|
||||
python setup.py build
|
||||
%python_build
|
||||
|
||||
%install
|
||||
python setup.py install --prefix=%{_prefix} --root=%{buildroot}
|
||||
%python_install
|
||||
%python_expand %fdupes -s %{buildroot}%{$python_sitelib}
|
||||
|
||||
%check
|
||||
python mimeparse_test.py
|
||||
%python_exec mimeparse_test.py
|
||||
|
||||
%files
|
||||
%files %{python_files}
|
||||
%defattr(-,root,root,-)
|
||||
%doc LICENSE README.md
|
||||
%{python_sitelib}/*
|
||||
%doc LICENSE README.rst
|
||||
%pycache_only %{python_sitelib}/__pycache__
|
||||
%{python_sitelib}/mimeparse.py*
|
||||
%{python_sitelib}/python_mimeparse-%{version}-py%{python_version}.egg-info
|
||||
|
||||
%changelog
|
||||
|
Loading…
x
Reference in New Issue
Block a user