Accepting request 510376 from home:seanmarlow:branches:devel:languages:python
Move to single spec python3 only and update to version 3.1.1. Required by python-yarl. OBS-URL: https://build.opensuse.org/request/show/510376 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-multidict?expand=0&rev=1
This commit is contained in:
23
.gitattributes
vendored
Normal file
23
.gitattributes
vendored
Normal file
@@ -0,0 +1,23 @@
|
||||
## Default LFS
|
||||
*.7z filter=lfs diff=lfs merge=lfs -text
|
||||
*.bsp filter=lfs diff=lfs merge=lfs -text
|
||||
*.bz2 filter=lfs diff=lfs merge=lfs -text
|
||||
*.gem filter=lfs diff=lfs merge=lfs -text
|
||||
*.gz filter=lfs diff=lfs merge=lfs -text
|
||||
*.jar filter=lfs diff=lfs merge=lfs -text
|
||||
*.lz filter=lfs diff=lfs merge=lfs -text
|
||||
*.lzma filter=lfs diff=lfs merge=lfs -text
|
||||
*.obscpio filter=lfs diff=lfs merge=lfs -text
|
||||
*.oxt filter=lfs diff=lfs merge=lfs -text
|
||||
*.pdf filter=lfs diff=lfs merge=lfs -text
|
||||
*.png filter=lfs diff=lfs merge=lfs -text
|
||||
*.rpm filter=lfs diff=lfs merge=lfs -text
|
||||
*.tbz filter=lfs diff=lfs merge=lfs -text
|
||||
*.tbz2 filter=lfs diff=lfs merge=lfs -text
|
||||
*.tgz filter=lfs diff=lfs merge=lfs -text
|
||||
*.ttf filter=lfs diff=lfs merge=lfs -text
|
||||
*.txz filter=lfs diff=lfs merge=lfs -text
|
||||
*.whl filter=lfs diff=lfs merge=lfs -text
|
||||
*.xz filter=lfs diff=lfs merge=lfs -text
|
||||
*.zip filter=lfs diff=lfs merge=lfs -text
|
||||
*.zst filter=lfs diff=lfs merge=lfs -text
|
1
.gitignore
vendored
Normal file
1
.gitignore
vendored
Normal file
@@ -0,0 +1 @@
|
||||
.osc
|
3
multidict-3.1.1.tar.gz
Normal file
3
multidict-3.1.1.tar.gz
Normal file
@@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:ba763b09dfa81bea4abd6e4498101ba830b699dab9ec85238817d67f534b33aa
|
||||
size 33745
|
53
python-multidict.changes
Normal file
53
python-multidict.changes
Normal file
@@ -0,0 +1,53 @@
|
||||
-------------------------------------------------------------------
|
||||
Thu Jul 13 22:28:39 UTC 2017 - sean.marlow@suse.com
|
||||
|
||||
- Update to version 3.1.1:
|
||||
- Fix #105: Remove memory leak in istr implementation
|
||||
- Update to version 3.1.0:
|
||||
- Fix #99: raise RuntimeError on dict iterations if the dict was changed
|
||||
- Update __init__.pyi signatures
|
||||
- Update to version 3.0.0:
|
||||
- Refactor internal data structures: main dict operations are about 100% faster now.
|
||||
- Preserve order on multidict updates #68 Updates are md[key] =
|
||||
val and md.update(…) calls. Now the last entry is replaced with
|
||||
new key/value pair, all previous occurrences are removed. If
|
||||
key is not present in dictionary the pair is added to the end
|
||||
- Force keys to str instances #88
|
||||
- Implement .popall(key[, default]) #84
|
||||
- .pop() removes only first occurence, .popone() added #92
|
||||
- Implement dict’s version #86
|
||||
- Proxies are not pickable anymore #77
|
||||
- Update to version 2.1.7:
|
||||
- Fix import warning on Python 3.6 #79
|
||||
- Update to version 2.1.6:
|
||||
- Rebuild the library for fixning missing __spec__ attribute #79
|
||||
- Update to version 2.1.5:
|
||||
- Build Python 3.6 binary wheels
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu Jul 13 21:19:20 UTC 2017 - sean.marlow@suse.com
|
||||
|
||||
- Move to single spec python3 only.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Sat Feb 18 15:09:11 UTC 2017 - jengelh@inai.de
|
||||
|
||||
- Description update
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon Jan 9 05:20:13 UTC 2017 - arun@gmx.de
|
||||
|
||||
- specfile:
|
||||
* update copyright year
|
||||
|
||||
- update to version 2.1.4:
|
||||
* Remove LICENSE filename extension @ MANIFEST.in file #31
|
||||
|
||||
- changes from version 2.1.3 :
|
||||
* Add a fastpath for multidict extending by multidict
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Sun Sep 25 16:48:26 UTC 2016 - arun@gmx.de
|
||||
|
||||
- initial version
|
||||
|
64
python-multidict.spec
Normal file
64
python-multidict.spec
Normal file
@@ -0,0 +1,64 @@
|
||||
#
|
||||
# spec file for package python3-multidict
|
||||
#
|
||||
# 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
|
||||
# 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/
|
||||
#
|
||||
|
||||
|
||||
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
|
||||
%define skip_python2 1
|
||||
%bcond_without test
|
||||
Name: python-multidict
|
||||
Version: 3.1.1
|
||||
Release: 0
|
||||
Summary: Multidict implementation
|
||||
License: Apache-2.0
|
||||
Group: Development/Languages/Python
|
||||
Url: https://github.com/aio-libs/multidict
|
||||
Source: https://files.pythonhosted.org/packages/source/m/multidict/multidict-%{version}.tar.gz
|
||||
BuildRequires: python-rpm-macros
|
||||
BuildRequires: %{python_module devel}
|
||||
BuildRequires: %{python_module setuptools}
|
||||
BuildRequires: %{python_module Cython}
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||
|
||||
%python_subpackages
|
||||
|
||||
%description
|
||||
Multidicts are useful for working with HTTP headers, URL query
|
||||
arguments, etc.
|
||||
|
||||
The code was extracted from the aiohttp library.
|
||||
|
||||
%prep
|
||||
%setup -q -n multidict-%{version}
|
||||
|
||||
%build
|
||||
export CFLAGS="%{optflags}"
|
||||
%python_build
|
||||
|
||||
%install
|
||||
%python_install
|
||||
|
||||
%check
|
||||
%if %{with test}
|
||||
# Tests have problems importing the *so file
|
||||
%endif
|
||||
|
||||
%files %{python_files}
|
||||
%defattr(-,root,root,-)
|
||||
%doc CHANGES.rst LICENSE README.rst
|
||||
%{python_sitearch}/*
|
||||
|
||||
%changelog
|
Reference in New Issue
Block a user