forked from pool/python-crochet
Accepting request 892214 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/892214 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-crochet?expand=0&rev=2
This commit is contained in:
@@ -1,3 +0,0 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:8fcbc64768813f50ee76b17a1e8d32a9f39206f8ab6766d50c885e07e7fb6fb1
|
||||
size 58670
|
||||
3
crochet-2.0.0.tar.gz
Normal file
3
crochet-2.0.0.tar.gz
Normal file
@@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:5f7f6c0d41ec418da16080f0202faac6b30f84a6fca9d8911e9db541f8e4e521
|
||||
size 64729
|
||||
@@ -1,3 +1,17 @@
|
||||
-------------------------------------------------------------------
|
||||
Mon May 10 22:30:36 UTC 2021 - John Vandenberg <jayvdb@gmail.com>
|
||||
|
||||
- Add docs/*.rst to %doc
|
||||
- Update to v2.0.0
|
||||
* It's possible to decorate async/await Twisted functions with
|
||||
@wait_for and @run_in_reactor
|
||||
* Added type hints
|
||||
* Added formal support for Python 3.9
|
||||
* Dropped the deprecated APIs @wait_for_reactor, @in_reactor,
|
||||
DeferredResult, the wrapped_function attribute, and
|
||||
unlimited timeouts on EventualResult.wait()
|
||||
* Dropped support for Python 2.7 and 3.5
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu Nov 26 00:54:28 UTC 2020 - John Vandenberg <jayvdb@gmail.com>
|
||||
|
||||
|
||||
@@ -17,8 +17,9 @@
|
||||
|
||||
|
||||
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
|
||||
%define skip_python2 1
|
||||
Name: python-crochet
|
||||
Version: 1.12.0
|
||||
Version: 2.0.0
|
||||
Release: 0
|
||||
Summary: Use Twisted from any applications
|
||||
License: MIT
|
||||
@@ -44,9 +45,6 @@ framework.
|
||||
|
||||
%prep
|
||||
%setup -q -n crochet-%{version}
|
||||
# Two tests fail on i586 only https://github.com/itamarst/crochet/issues/125
|
||||
# Disable only these two globally
|
||||
sed -Ei 's/(test_control_c_is_possible|test_reactor_stop_unblocks)/_\1/' crochet/tests/test_api.py
|
||||
|
||||
%build
|
||||
%python_build
|
||||
@@ -59,7 +57,7 @@ sed -Ei 's/(test_control_c_is_possible|test_reactor_stop_unblocks)/_\1/' crochet
|
||||
%pyunittest
|
||||
|
||||
%files %{python_files}
|
||||
%doc README.rst
|
||||
%doc README.rst docs/*.rst
|
||||
%license LICENSE
|
||||
%{python_sitelib}/*
|
||||
|
||||
|
||||
Reference in New Issue
Block a user