forked from pool/python-construct
Accepting request 872034 from home:bnavigator:branches:devel:languages:python
- Update to 2.10.60 * no changelog - Skip NumPy tests on pyhton36 flavor. Due to NEP29, python36-numpy is being dropped in TW, but it is just optional for construct. OBS-URL: https://build.opensuse.org/request/show/872034 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-construct?expand=0&rev=37
This commit is contained in:
3
construct-2.10.60.tar.gz
Normal file
3
construct-2.10.60.tar.gz
Normal file
@@ -0,0 +1,3 @@
|
|||||||
|
version https://git-lfs.github.com/spec/v1
|
||||||
|
oid sha256:2c6c080a422e9ff384aac8259b1d1a0212921cfcd50dc9a5dbdf869cbd176655
|
||||||
|
size 1185983
|
@@ -1,3 +1,11 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Sat Feb 13 22:25:12 UTC 2021 - Ben Greiner <code@bnavigator.de>
|
||||||
|
|
||||||
|
- Update to 2.10.60
|
||||||
|
* no changelog
|
||||||
|
- Skip NumPy tests on pyhton36 flavor. Due to NEP29, python36-numpy
|
||||||
|
is being dropped in TW, but it is just optional for construct.
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Tue Jun 23 14:27:05 UTC 2020 - Benjamin Greiner <code@bnavigator.de>
|
Tue Jun 23 14:27:05 UTC 2020 - Benjamin Greiner <code@bnavigator.de>
|
||||||
|
|
||||||
|
@@ -1,7 +1,7 @@
|
|||||||
#
|
#
|
||||||
# spec file for package python
|
# spec file for package python
|
||||||
#
|
#
|
||||||
# Copyright (c) 2020 SUSE LLC
|
# Copyright (c) 2021 SUSE LLC
|
||||||
#
|
#
|
||||||
# All modifications and additions to the file contributed by third parties
|
# All modifications and additions to the file contributed by third parties
|
||||||
# remain the property of their copyright owners, unless otherwise agreed
|
# remain the property of their copyright owners, unless otherwise agreed
|
||||||
@@ -26,26 +26,30 @@
|
|||||||
%endif
|
%endif
|
||||||
%define skip_python2 1
|
%define skip_python2 1
|
||||||
Name: python-construct%{?psuffix}
|
Name: python-construct%{?psuffix}
|
||||||
Version: 2.10.56
|
Version: 2.10.60
|
||||||
Release: 0
|
Release: 0
|
||||||
Summary: A declarative parser/builder for binary data
|
Summary: A declarative parser/builder for binary data
|
||||||
License: MIT
|
License: MIT
|
||||||
URL: https://github.com/construct/construct
|
URL: https://github.com/construct/construct
|
||||||
Source: https://github.com/construct/construct/archive/v%{version}.tar.gz
|
Source: https://github.com/construct/construct/archive/v%{version}.tar.gz#/construct-%{version}.tar.gz
|
||||||
Patch0: split_debug.patch
|
Patch0: split_debug.patch
|
||||||
BuildRequires: %{python_module setuptools}
|
BuildRequires: %{python_module setuptools}
|
||||||
BuildRequires: fdupes
|
BuildRequires: fdupes
|
||||||
BuildRequires: python-rpm-macros
|
BuildRequires: python-rpm-macros
|
||||||
Requires: python-arrow
|
Requires: python-arrow
|
||||||
|
Recommends: python-cloudpickle
|
||||||
|
Recommends: python-lz4
|
||||||
Recommends: python-numpy
|
Recommends: python-numpy
|
||||||
Recommends: python-ruamel.yaml
|
Recommends: python-ruamel.yaml
|
||||||
BuildArch: noarch
|
BuildArch: noarch
|
||||||
%if %{with test}
|
%if %{with test}
|
||||||
BuildRequires: %{python_module arrow}
|
BuildRequires: %{python_module arrow}
|
||||||
BuildRequires: %{python_module numpy}
|
BuildRequires: %{python_module cloudpickle}
|
||||||
|
BuildRequires: %{python_module lz4}
|
||||||
BuildRequires: %{python_module pytest-benchmark}
|
BuildRequires: %{python_module pytest-benchmark}
|
||||||
BuildRequires: %{python_module pytest}
|
BuildRequires: %{python_module pytest}
|
||||||
BuildRequires: %{python_module ruamel.yaml}
|
BuildRequires: %{python_module ruamel.yaml}
|
||||||
|
BuildRequires: %{python_module numpy if (%python-base without python36-base)}
|
||||||
%endif
|
%endif
|
||||||
%python_subpackages
|
%python_subpackages
|
||||||
|
|
||||||
@@ -80,7 +84,9 @@ rm -rf tests/deprecated_gallery
|
|||||||
%if %{with test}
|
%if %{with test}
|
||||||
# local source dir is needed for tests
|
# local source dir is needed for tests
|
||||||
export PYTHONPATH=$(pwd)
|
export PYTHONPATH=$(pwd)
|
||||||
%pytest --benchmark-disable
|
# Don't test with NumPy in the python36 flavor, because python36-numpy is not in TW anymore
|
||||||
|
python36_donttest="numpy or test_overall_parse or test_overall_build"
|
||||||
|
%pytest --benchmark-disable ${$python_donttest:+ -k "not (${$python_donttest})"}
|
||||||
%endif
|
%endif
|
||||||
|
|
||||||
%if %{without test}
|
%if %{without test}
|
||||||
|
@@ -1,3 +0,0 @@
|
|||||||
version https://git-lfs.github.com/spec/v1
|
|
||||||
oid sha256:7fa228d6547e3a2cbf1af7afbce5a11ae0b2b83d5f4a941ad0cf8c0eefc7665d
|
|
||||||
size 1184110
|
|
Reference in New Issue
Block a user