forked from pool/python-greenlet
Accepting request 1138007 from home:bnavigator:branches:devel:languages:python
- Update to 3.0.3 * Python 3.12: Restore the full ability to walk the stack of a suspended greenlet; previously only the innermost frame was exposed. See issue 388. Fix by Joshua Oreman in PR 393. - Disable building the docs: Now requires the furo theme, which is not available. OBS-URL: https://build.opensuse.org/request/show/1138007 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-greenlet?expand=0&rev=81
This commit is contained in:
parent
66d4b43fa1
commit
f649e6bd60
@ -1,3 +0,0 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:1c1129bc47266d83444c85a8e990ae22688cf05fb20d7951fd2866007c2ba9bc
|
||||
size 175506
|
3
greenlet-3.0.3.tar.gz
Normal file
3
greenlet-3.0.3.tar.gz
Normal file
@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:43374442353259554ce33599da8b692d5aa96f8976d567d4badf263371fbe491
|
||||
size 182013
|
@ -1,3 +1,13 @@
|
||||
-------------------------------------------------------------------
|
||||
Wed Jan 10 22:14:16 UTC 2024 - Ben Greiner <code@bnavigator.de>
|
||||
|
||||
- Update to 3.0.3
|
||||
* Python 3.12: Restore the full ability to walk the stack of a
|
||||
suspended greenlet; previously only the innermost frame was
|
||||
exposed. See issue 388. Fix by Joshua Oreman in PR 393.
|
||||
- Disable building the docs: Now requires the furo theme, which is
|
||||
not available.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Wed Jan 3 10:40:03 UTC 2024 - Dirk Müller <dmueller@suse.com>
|
||||
|
||||
|
@ -17,9 +17,12 @@
|
||||
#
|
||||
|
||||
|
||||
# Requires python-furo
|
||||
%bcond_with docs
|
||||
|
||||
%{?sle15_python_module_pythons}
|
||||
Name: python-greenlet
|
||||
Version: 3.0.2
|
||||
Version: 3.0.3
|
||||
Release: 0
|
||||
Summary: Lightweight in-process concurrent programming
|
||||
License: MIT
|
||||
@ -27,7 +30,7 @@ Group: Development/Libraries/Python
|
||||
URL: https://github.com/python-greenlet/greenlet
|
||||
Source0: https://files.pythonhosted.org/packages/source/g/greenlet/greenlet-%{version}.tar.gz
|
||||
Source9: python-greenlet-rpmlintrc
|
||||
BuildRequires: %{python_module devel}
|
||||
BuildRequires: %{python_module devel >= 3.7}
|
||||
BuildRequires: %{python_module objgraph}
|
||||
BuildRequires: %{python_module pip}
|
||||
BuildRequires: %{python_module psutil}
|
||||
@ -36,7 +39,10 @@ BuildRequires: %{python_module wheel}
|
||||
BuildRequires: c++_compiler
|
||||
BuildRequires: fdupes
|
||||
BuildRequires: python-rpm-macros
|
||||
%if %{with docs}
|
||||
BuildRequires: python3-Sphinx
|
||||
BuildRequires: python3-furo
|
||||
%endif
|
||||
%python_subpackages
|
||||
|
||||
%description
|
||||
@ -56,13 +62,16 @@ This package contains header files required for C modules development.
|
||||
|
||||
%prep
|
||||
%autosetup -p1 -n greenlet-%{version}
|
||||
sed -i '1{/env python/d}' src/greenlet/tests/test_version.py
|
||||
|
||||
%build
|
||||
export CFLAGS="%{optflags} -fno-tree-dominator-opts -fno-strict-aliasing"
|
||||
%pyproject_wheel
|
||||
|
||||
%if %{with docs}
|
||||
export PYTHONPATH=$PWD/src
|
||||
cd docs && make html && rm _build/html/.buildinfo
|
||||
%endif
|
||||
|
||||
%install
|
||||
%pyproject_install
|
||||
@ -76,9 +85,12 @@ export GREENLET_MANYLINUX=1
|
||||
|
||||
%files %{python_files}
|
||||
%doc AUTHORS CHANGES.rst README.rst
|
||||
%if %{with docs}
|
||||
%doc docs/_build/html/
|
||||
%endif
|
||||
%license LICENSE*
|
||||
%{python_sitearch}/greenlet*
|
||||
%{python_sitearch}/greenlet
|
||||
%{python_sitearch}/greenlet-%{version}.dist-info
|
||||
|
||||
%files %{python_files devel}
|
||||
%doc AUTHORS
|
||||
|
Loading…
Reference in New Issue
Block a user