Accepting request 796582 from devel:languages:python
- update to 1.5.0 * Fixed ``weave`` to stop reading attributes that don't match the method selector. Contributed by Jonas Maurus in `#14 <https://github.com/ionelmc/python-aspectlib/pull/14>`_. * Added support for Python 3.7 and 3.8 (``async def`` functions and generators). * Added a convenience ``weave`` fixture for pytest. - Launch tests OBS-URL: https://build.opensuse.org/request/show/796582 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-aspectlib?expand=0&rev=3
This commit is contained in:
commit
f7a8ec09ee
@ -1,3 +0,0 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:09f159766ce8ca7d96b857101729c344d70360141d5b3274ba5554a3d46fd940
|
||||
size 159730
|
3
aspectlib-1.5.0.tar.gz
Normal file
3
aspectlib-1.5.0.tar.gz
Normal file
@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:9b3e9da0d3b9e2952dbfb7e251f596637f03f998cfc168b2726bd2b63ba617f9
|
||||
size 163224
|
@ -1,3 +1,13 @@
|
||||
-------------------------------------------------------------------
|
||||
Fri Apr 17 11:20:50 UTC 2020 - Marketa Calabkova <mcalabkova@suse.com>
|
||||
|
||||
- update to 1.5.0
|
||||
* Fixed ``weave`` to stop reading attributes that don't match the method selector.
|
||||
Contributed by Jonas Maurus in `#14 <https://github.com/ionelmc/python-aspectlib/pull/14>`_.
|
||||
* Added support for Python 3.7 and 3.8 (``async def`` functions and generators).
|
||||
* Added a convenience ``weave`` fixture for pytest.
|
||||
- Launch tests
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon Mar 16 06:39:42 UTC 2020 - Tomáš Chvátal <tchvatal@suse.com>
|
||||
|
||||
|
@ -18,10 +18,8 @@
|
||||
|
||||
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
|
||||
%bcond_without python2
|
||||
# Test requires network connection
|
||||
%bcond_with test
|
||||
Name: python-aspectlib
|
||||
Version: 1.4.2
|
||||
Version: 1.5.0
|
||||
Release: 0
|
||||
Summary: Aspect-oriented programming
|
||||
License: BSD-2-Clause
|
||||
@ -31,18 +29,14 @@ BuildRequires: %{python_module setuptools}
|
||||
BuildRequires: fdupes
|
||||
BuildRequires: python-rpm-macros
|
||||
Requires: python-fields
|
||||
Recommends: python-tornado
|
||||
BuildArch: noarch
|
||||
%if %{with test}
|
||||
BuildRequires: %{python_module fields}
|
||||
BuildRequires: %{python_module process-tests}
|
||||
BuildRequires: %{python_module pytest}
|
||||
BuildRequires: %{python_module tornado}
|
||||
%if %{with python2}
|
||||
BuildRequires: python-mock
|
||||
BuildRequires: python-trollius
|
||||
%endif
|
||||
%endif
|
||||
%ifpython2
|
||||
Requires: python-trollius
|
||||
%endif
|
||||
@ -57,6 +51,9 @@ framework.
|
||||
|
||||
%prep
|
||||
%setup -q -n aspectlib-%{version}
|
||||
# both tests not working (the first skipped by design, the second needed old tornado)
|
||||
# don't pull in tornado when not needed
|
||||
rm tests/test_integrations_py3.py
|
||||
|
||||
%build
|
||||
%python_build
|
||||
@ -65,10 +62,8 @@ framework.
|
||||
%python_install
|
||||
%python_expand %fdupes %{buildroot}%{$python_sitelib}
|
||||
|
||||
%if %{with test}
|
||||
%check
|
||||
%pytest --ignore=src
|
||||
%endif
|
||||
|
||||
%files %{python_files}
|
||||
%license LICENSE
|
||||
|
Loading…
Reference in New Issue
Block a user