Accepting request 998793 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/998793 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-immutables?expand=0&rev=10
This commit is contained in:
commit
cc1764a544
@ -1,3 +1,12 @@
|
||||
-------------------------------------------------------------------
|
||||
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>
|
||||
|
||||
|
@ -25,12 +25,15 @@ 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}
|
||||
BuildRequires: %{python_module mypy >= 0.942}
|
||||
BuildRequires: %{python_module devel >= 3.6}
|
||||
BuildRequires: %{python_module pytest}
|
||||
BuildRequires: %{python_module setuptools}
|
||||
BuildRequires: %{python_module typing-extensions >= 3.7.4.3 if %python-base < 3.8}
|
||||
BuildRequires: fdupes
|
||||
BuildRequires: python-rpm-macros
|
||||
%if %python_version_nodots < 38
|
||||
Requires: python-typing-extensions >= 3.7.4.3
|
||||
%endif
|
||||
%python_subpackages
|
||||
|
||||
%description
|
||||
@ -39,8 +42,6 @@ Immutable collections for Python.
|
||||
%prep
|
||||
%autosetup -p1 -n immutables-%{version}
|
||||
|
||||
sed -i 's/\.system//' setup.py
|
||||
|
||||
%build
|
||||
export CFLAGS="%{optflags}"
|
||||
%python_build
|
||||
@ -52,11 +53,13 @@ export CFLAGS="%{optflags}"
|
||||
}
|
||||
|
||||
%check
|
||||
export IMMU_SKIP_MYPY_TESTS=1
|
||||
%pyunittest discover -v
|
||||
|
||||
%files %{python_files}
|
||||
%doc README.rst
|
||||
%license LICENSE
|
||||
%{python_sitearch}/*
|
||||
%{python_sitearch}/immutables
|
||||
%{python_sitearch}/immutables-%{version}*-info
|
||||
|
||||
%changelog
|
||||
|
Loading…
Reference in New Issue
Block a user