forked from pool/python-lazy-object-proxy
Accepting request 711136 from home:mcalabkova:branches:devel:languages:python
- update to 1.4.1 * Fixed __mod__ for the slots backend. * Dropped support for Python 2.6 and 3.3. * Fixed wheels being built with -coverage cflags. No more issues about bogus cext.gcda files. * Removed useless C file from wheels. * Changed setup.py to use setuptools-scm. - launch tests using multibuild OBS-URL: https://build.opensuse.org/request/show/711136 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-lazy-object-proxy?expand=0&rev=7
This commit is contained in:
3
_multibuild
Normal file
3
_multibuild
Normal file
@@ -0,0 +1,3 @@
|
||||
<multibuild>
|
||||
<package>test</package>
|
||||
</multibuild>
|
@@ -1,3 +0,0 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:eb91be369f945f10d3a49f5f9be8b3d0b93a4c2be8f8a5b83b0571b8123e0a7a
|
||||
size 32237
|
3
lazy-object-proxy-1.4.1.tar.gz
Normal file
3
lazy-object-proxy-1.4.1.tar.gz
Normal file
@@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:4ba73f6089cd9b9478bc0a4fa807b47dbdb8fad1d8f31a0f0a5dbf26a4527a71
|
||||
size 34785
|
@@ -1,3 +1,15 @@
|
||||
-------------------------------------------------------------------
|
||||
Thu Jun 20 12:53:22 UTC 2019 - Marketa Calabkova <mcalabkova@suse.com>
|
||||
|
||||
- update to 1.4.1
|
||||
* Fixed __mod__ for the slots backend.
|
||||
* Dropped support for Python 2.6 and 3.3.
|
||||
* Fixed wheels being built with -coverage cflags. No more issues
|
||||
about bogus cext.gcda files.
|
||||
* Removed useless C file from wheels.
|
||||
* Changed setup.py to use setuptools-scm.
|
||||
- launch tests using multibuild
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon Jul 30 15:55:47 UTC 2018 - sean.marlow@suse.com
|
||||
|
||||
|
@@ -1,7 +1,7 @@
|
||||
#
|
||||
# spec file for package python-lazy-object-proxy
|
||||
#
|
||||
# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany.
|
||||
# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany.
|
||||
#
|
||||
# All modifications and additions to the file contributed by third parties
|
||||
# remain the property of their copyright owners, unless otherwise agreed
|
||||
@@ -12,25 +12,38 @@
|
||||
# license that conforms to the Open Source Definition (Version 1.9)
|
||||
# published by the Open Source Initiative.
|
||||
|
||||
# Please submit bugfixes or comments via http://bugs.opensuse.org/
|
||||
# Please submit bugfixes or comments via https://bugs.opensuse.org/
|
||||
#
|
||||
|
||||
|
||||
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
|
||||
%define oldpython python
|
||||
Name: python-lazy-object-proxy
|
||||
Version: 1.3.1
|
||||
%global flavor @BUILD_FLAVOR@%{nil}
|
||||
%if "%{flavor}" == "test"
|
||||
%define psuffix -test
|
||||
%bcond_without test
|
||||
%else
|
||||
%define psuffix %{nil}
|
||||
%bcond_with test
|
||||
%endif
|
||||
Name: python-lazy-object-proxy%{psuffix}
|
||||
Version: 1.4.1
|
||||
Release: 0
|
||||
Summary: Rebuild a new abstract syntax tree from Python's ast
|
||||
License: BSD-2-Clause
|
||||
Group: Development/Libraries/Python
|
||||
Url: https://github.com/ionelmc/python-lazy-object-proxy
|
||||
URL: https://github.com/ionelmc/python-lazy-object-proxy
|
||||
Source: https://files.pythonhosted.org/packages/source/l/lazy-object-proxy/lazy-object-proxy-%{version}.tar.gz
|
||||
BuildRequires: %{python_module setuptools}
|
||||
BuildRequires: %{python_module six}
|
||||
BuildRequires: %{python_module devel}
|
||||
BuildRequires: %{python_module setuptools_scm >= 3.3.1}
|
||||
BuildRequires: python-rpm-macros
|
||||
Requires: python-six
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||
%if %{with test}
|
||||
BuildRequires: %{python_module lazy-object-proxy = %{version}}
|
||||
BuildRequires: %{python_module pytest-benchmark}
|
||||
BuildRequires: %{python_module pytest-cov}
|
||||
BuildRequires: %{python_module pytest-travis-fold}
|
||||
BuildRequires: %{python_module pytest}
|
||||
%endif
|
||||
%ifpython2
|
||||
Obsoletes: %{oldpython}-lazy_object_proxy < %{version}
|
||||
Provides: %{oldpython}-lazy_object_proxy = %{version}
|
||||
@@ -39,7 +52,6 @@ Provides: %{oldpython}-lazy_object_proxy = %{version}
|
||||
Obsoletes: python3-lazy_object_proxy < %{version}-%{release}
|
||||
Provides: python3-lazy_object_proxy = %{version}-%{release}
|
||||
%endif
|
||||
|
||||
%python_subpackages
|
||||
|
||||
%description
|
||||
@@ -50,16 +62,26 @@ from Python's ast
|
||||
%setup -q -n lazy-object-proxy-%{version}
|
||||
|
||||
%build
|
||||
%if !%{with test}
|
||||
export CFLAGS="%{optflags} -fno-strict-aliasing"
|
||||
%python_build
|
||||
%endif
|
||||
|
||||
%install
|
||||
%if !%{with test}
|
||||
%python_install
|
||||
%endif
|
||||
|
||||
%if %{with test}
|
||||
%check
|
||||
%pytest tests
|
||||
%endif
|
||||
|
||||
%if !%{with test}
|
||||
%files %{python_files}
|
||||
%defattr(-,root,root,-)
|
||||
%doc AUTHORS.rst CHANGELOG.rst CONTRIBUTING.rst README.rst docs
|
||||
%license LICENSE
|
||||
%{python_sitearch}/*
|
||||
%endif
|
||||
|
||||
%changelog
|
||||
|
Reference in New Issue
Block a user