Sync from SUSE:SLFO:1.1 python-python-mimeparse revision 15aa1176edaa5bf501422ca1fd17b80c
This commit is contained in:
parent
28ed67e80f
commit
14d4482933
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,14 +1,3 @@
|
|||||||
-------------------------------------------------------------------
|
|
||||||
Tue Sep 10 13:29:06 UTC 2024 - Dirk Müller <dmueller@suse.com>
|
|
||||||
|
|
||||||
- update to 2.0.0:
|
|
||||||
* `python-mimeparse` brings support for CPython 3.13 (by
|
|
||||||
addressing the removal of the `cgi` module), and drops
|
|
||||||
support for Python 3.7. Also included are packaging, tooling,
|
|
||||||
and CI improvements. `python-mimeparse` is otherwise a stable
|
|
||||||
and mature project that hopefully does not need much active
|
|
||||||
development.
|
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Fri Apr 21 12:32:19 UTC 2023 - Dirk Müller <dmueller@suse.com>
|
Fri Apr 21 12:32:19 UTC 2023 - Dirk Müller <dmueller@suse.com>
|
||||||
|
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
#
|
#
|
||||||
# spec file for package python-python-mimeparse
|
# spec file for package python-python-mimeparse
|
||||||
#
|
#
|
||||||
# Copyright (c) 2024 SUSE LLC
|
# Copyright (c) 2023 SUSE LLC
|
||||||
#
|
#
|
||||||
# All modifications and additions to the file contributed by third parties
|
# All modifications and additions to the file contributed by third parties
|
||||||
# remain the property of their copyright owners, unless otherwise agreed
|
# remain the property of their copyright owners, unless otherwise agreed
|
||||||
@ -16,20 +16,24 @@
|
|||||||
#
|
#
|
||||||
|
|
||||||
|
|
||||||
|
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
|
||||||
|
%define oldpython python
|
||||||
%{?sle15_python_module_pythons}
|
%{?sle15_python_module_pythons}
|
||||||
Name: python-python-mimeparse
|
Name: python-python-mimeparse
|
||||||
Version: 2.0.0
|
Version: 1.6.0
|
||||||
Release: 0
|
Release: 0
|
||||||
Summary: Basic functions for parsing and matching mime-type names
|
Summary: Basic functions for parsing and matching mime-type names
|
||||||
License: MIT
|
License: MIT
|
||||||
URL: https://github.com/dbtsai/python-mimeparse
|
URL: https://github.com/dbtsai/python-mimeparse
|
||||||
Source: https://files.pythonhosted.org/packages/source/p/python-mimeparse/python_mimeparse-%{version}.tar.gz
|
Source: https://files.pythonhosted.org/packages/source/p/python-mimeparse/python-mimeparse-%{version}.tar.gz
|
||||||
BuildRequires: %{python_module pip}
|
|
||||||
BuildRequires: %{python_module setuptools}
|
BuildRequires: %{python_module setuptools}
|
||||||
BuildRequires: %{python_module wheel}
|
|
||||||
BuildRequires: fdupes
|
BuildRequires: fdupes
|
||||||
BuildRequires: python-rpm-macros
|
BuildRequires: python-rpm-macros
|
||||||
BuildArch: noarch
|
BuildArch: noarch
|
||||||
|
%ifpython2
|
||||||
|
Obsoletes: %{oldpython}-mimeparse < 0.1.4
|
||||||
|
Provides: %{oldpython}-mimeparse = %{version}
|
||||||
|
%endif
|
||||||
%python_subpackages
|
%python_subpackages
|
||||||
|
|
||||||
%description
|
%description
|
||||||
@ -38,13 +42,13 @@ matching mime-types against a list of media-ranges. See section 14.1 of
|
|||||||
the HTTP specification [RFC 2616] for a complete explanation.
|
the HTTP specification [RFC 2616] for a complete explanation.
|
||||||
|
|
||||||
%prep
|
%prep
|
||||||
%autosetup -p1 -n python_mimeparse-%{version}
|
%setup -q -n python-mimeparse-%{version}
|
||||||
|
|
||||||
%build
|
%build
|
||||||
%pyproject_wheel
|
%python_build
|
||||||
|
|
||||||
%install
|
%install
|
||||||
%pyproject_install
|
%python_install
|
||||||
%python_expand %fdupes %{buildroot}%{$python_sitelib}
|
%python_expand %fdupes %{buildroot}%{$python_sitelib}
|
||||||
|
|
||||||
%check
|
%check
|
||||||
@ -55,6 +59,6 @@ the HTTP specification [RFC 2616] for a complete explanation.
|
|||||||
%doc README.rst
|
%doc README.rst
|
||||||
%pycache_only %{python_sitelib}/__pycache__
|
%pycache_only %{python_sitelib}/__pycache__
|
||||||
%{python_sitelib}/mimeparse.py*
|
%{python_sitelib}/mimeparse.py*
|
||||||
%{python_sitelib}/python_mimeparse-%{version}.dist-info
|
%{python_sitelib}/python_mimeparse-%{version}-py%{python_version}.egg-info
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
BIN
python_mimeparse-2.0.0.tar.gz
(Stored with Git LFS)
BIN
python_mimeparse-2.0.0.tar.gz
(Stored with Git LFS)
Binary file not shown.
Loading…
x
Reference in New Issue
Block a user