forked from pool/python-immutables
- update to 0.21:
* Drop typing_extensions dependency * Replace `_PyLong_Format` with `PyNumber_ToBase` OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-immutables?expand=0&rev=32
This commit is contained in:
commit
7ee7d9c7c5
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
immutables-0.20.tar.gz
Normal file
3
immutables-0.20.tar.gz
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
version https://git-lfs.github.com/spec/v1
|
||||||
|
oid sha256:1d2f83e6a6a8455466cd97b9a90e2b4f7864648616dfa6b19d18f49badac3876
|
||||||
|
size 88933
|
BIN
immutables-0.21.tar.gz
(Stored with Git LFS)
Normal file
BIN
immutables-0.21.tar.gz
(Stored with Git LFS)
Normal file
Binary file not shown.
132
python-immutables.changes
Normal file
132
python-immutables.changes
Normal file
@ -0,0 +1,132 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Wed Oct 23 20:25:25 UTC 2024 - Dirk Müller <dmueller@suse.com>
|
||||||
|
|
||||||
|
- update to 0.21:
|
||||||
|
* Drop typing_extensions dependency
|
||||||
|
* Replace `_PyLong_Format` with `PyNumber_ToBase`
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Fri Dec 1 16:59:24 UTC 2023 - Dirk Müller <dmueller@suse.com>
|
||||||
|
|
||||||
|
- update to 0.20:
|
||||||
|
* Enable support for pattern matching (#96)
|
||||||
|
* add support for aix/sunos (#98)
|
||||||
|
* Python 3.12 compatibility (#105)
|
||||||
|
* Add __contains__ to MapKeys (#99)
|
||||||
|
* Add PEP 585 GenericAlias support (#101)
|
||||||
|
* Move metadata to `pyproject.toml`, fix test fixture inclusion
|
||||||
|
in sdist (#111)
|
||||||
|
- drop python312.patch (upstream)
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Mon Aug 14 20:48:16 UTC 2023 - Dirk Müller <dmueller@suse.com>
|
||||||
|
|
||||||
|
- add python312.patch to fix build with python 3.12
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Thu Jun 22 15:25:56 UTC 2023 - Dirk Müller <dmueller@suse.com>
|
||||||
|
|
||||||
|
- limit to newer python versions, older are no longer needed
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Fri Apr 21 12:26:44 UTC 2023 - Dirk Müller <dmueller@suse.com>
|
||||||
|
|
||||||
|
- add sle15_python_module_pythons (jsc#PED-68)
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Thu Apr 13 22:42:01 UTC 2023 - Matej Cepl <mcepl@suse.com>
|
||||||
|
|
||||||
|
- Make calling of %{sle15modernpython} optional.
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Wed Oct 12 03:36:57 UTC 2022 - Yogalakshmi Arunachalam <yarunachalam@suse.com>
|
||||||
|
|
||||||
|
- Update to version 0.19
|
||||||
|
* Support for Python 3.11
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Mon Aug 22 22:16:34 UTC 2022 - Ben Greiner <code@bnavigator.de>
|
||||||
|
|
||||||
|
- Don't do mypy static type checking of the sources in order to
|
||||||
|
avoid mypy in Ring1. The functionality of the binary rpm package
|
||||||
|
is not affected by properly typed python sources.
|
||||||
|
- Remove obsolete setup.py sed fix
|
||||||
|
- Don't catchall sitearch files in %files section
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Tue Jul 19 12:26:30 UTC 2022 - Dirk Müller <dmueller@suse.com>
|
||||||
|
|
||||||
|
- update to 0.18:
|
||||||
|
* Fix iteration when tree is 7 levels deep and has collissions
|
||||||
|
* Test on python 3.10
|
||||||
|
* consolidate mypy and pytest config into pyproject.toml
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Mon Apr 25 12:49:18 UTC 2022 - Pablo Suárez Hernández <pablo.suarezhernandez@suse.com>
|
||||||
|
|
||||||
|
- Add the package to SUSE Linux Enterprise 15 (jsc#SLE-24404)
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Tue Feb 22 09:01:33 UTC 2022 - Dirk Müller <dmueller@suse.com>
|
||||||
|
|
||||||
|
- update to 0.16:
|
||||||
|
* Refactor typings
|
||||||
|
* Update Python 3.10 support, drop Python 3.5
|
||||||
|
* Fix test_none_collisions on 32-bit systems
|
||||||
|
* Clarify the license of the included pythoncapi_compat.h header
|
||||||
|
* Use cibuildwheel to build wheels
|
||||||
|
- drop skip_32bit_tests.patch, test_none_collisions-32-bit.patch (upstream)
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Thu Aug 5 06:23:30 UTC 2021 - Matej Cepl <mcepl@suse.com>
|
||||||
|
|
||||||
|
- Upstream fixed problems with 32bit systems
|
||||||
|
(gh#MagicStack/immutables#69) so we have removed
|
||||||
|
skip_32bit_tests.patch and added new solution which actually fixes the
|
||||||
|
issue: test_none_collisions-32-bit.patch.
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Thu Apr 22 20:28:33 UTC 2021 - Dirk Müller <dmueller@suse.com>
|
||||||
|
|
||||||
|
- update to 0.15
|
||||||
|
* python 3.9 support
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Mon Dec 7 15:34:37 UTC 2020 - Matej Cepl <mcepl@suse.com>
|
||||||
|
|
||||||
|
- Add skip_32bit_tests.patch (gh#MagicStack/immutables#53) to skip tests
|
||||||
|
which fail on 32bit architectures.
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Tue Oct 13 07:42:13 UTC 2020 - Dirk Mueller <dmueller@suse.com>
|
||||||
|
|
||||||
|
- skip tests that fail on 32bit
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Wed Sep 16 11:27:37 UTC 2020 - Dirk Mueller <dmueller@suse.com>
|
||||||
|
|
||||||
|
- update to 0.14:
|
||||||
|
* python 3.8 support
|
||||||
|
* Various improvements w.r.t. type annotations & typing
|
||||||
|
* Fix pure-Python implementation to accept keyword argument
|
||||||
|
* Fix the mutation API to maintain elements count correctly
|
||||||
|
* Allow None to be used as key in pure-Python implementation.
|
||||||
|
- remove py38.patch (upstream)
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Mon Mar 9 08:33:40 UTC 2020 - Tomáš Chvátal <tchvatal@suse.com>
|
||||||
|
|
||||||
|
- Update to 0.11:
|
||||||
|
* Python 3.8 fixes
|
||||||
|
- Add one more py38 patch:
|
||||||
|
* py38.patch
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Tue Sep 10 13:49:53 UTC 2019 - Tomáš Chvátal <tchvatal@suse.com>
|
||||||
|
|
||||||
|
- Format with spec-cleaner
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Sun Apr 14 10:46:18 UTC 2019 - John Vandenberg <jayvdb@gmail.com>
|
||||||
|
|
||||||
|
- Initial spec for v0.9
|
57
python-immutables.spec
Normal file
57
python-immutables.spec
Normal file
@ -0,0 +1,57 @@
|
|||||||
|
#
|
||||||
|
# spec file for package python-immutables
|
||||||
|
#
|
||||||
|
# Copyright (c) 2024 SUSE LLC
|
||||||
|
#
|
||||||
|
# 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 https://bugs.opensuse.org/
|
||||||
|
#
|
||||||
|
|
||||||
|
|
||||||
|
%{?sle15_python_module_pythons}
|
||||||
|
Name: python-immutables
|
||||||
|
Version: 0.21
|
||||||
|
Release: 0
|
||||||
|
Summary: Immutable collections for Python
|
||||||
|
License: Apache-2.0
|
||||||
|
URL: https://github.com/MagicStack/immutables
|
||||||
|
Source: https://files.pythonhosted.org/packages/source/i/immutables/immutables-%{version}.tar.gz
|
||||||
|
BuildRequires: %{python_module devel >= 3.8}
|
||||||
|
BuildRequires: %{python_module pytest}
|
||||||
|
BuildRequires: %{python_module setuptools}
|
||||||
|
BuildRequires: fdupes
|
||||||
|
BuildRequires: python-rpm-macros
|
||||||
|
%python_subpackages
|
||||||
|
|
||||||
|
%description
|
||||||
|
Immutable collections for Python.
|
||||||
|
|
||||||
|
%prep
|
||||||
|
%autosetup -p1 -n immutables-%{version}
|
||||||
|
|
||||||
|
%build
|
||||||
|
export CFLAGS="%{optflags}"
|
||||||
|
%python_build
|
||||||
|
|
||||||
|
%install
|
||||||
|
%python_install
|
||||||
|
|
||||||
|
%check
|
||||||
|
export IMMU_SKIP_MYPY_TESTS=1
|
||||||
|
%pyunittest discover -v
|
||||||
|
|
||||||
|
%files %{python_files}
|
||||||
|
%doc README.rst
|
||||||
|
%license LICENSE
|
||||||
|
%{python_sitearch}/immutables
|
||||||
|
%{python_sitearch}/immutables-%{version}*-info
|
||||||
|
|
||||||
|
%changelog
|
Loading…
Reference in New Issue
Block a user