forked from pool/python-cbor2
- On python3 this package is compiled, so mark it such
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-cbor2?expand=0&rev=6
This commit is contained in:
committed by
Git OBS Bridge
parent
90933a6f0e
commit
a1cc94e09e
@@ -1,3 +1,8 @@
|
||||
-------------------------------------------------------------------
|
||||
Mon Mar 9 08:31:26 UTC 2020 - Tomáš Chvátal <tchvatal@suse.com>
|
||||
|
||||
- On python3 this package is compiled, so mark it such
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Fri Jan 24 13:45:03 UTC 2020 - Marketa Calabkova <mcalabkova@suse.com>
|
||||
|
||||
|
||||
@@ -22,15 +22,14 @@ Version: 5.0.1
|
||||
Release: 0
|
||||
Summary: Pure Python CBOR (de)serializer with extensive tag support
|
||||
License: MIT
|
||||
Group: Development/Languages/Python
|
||||
URL: https://github.com/agronholm/cbor2
|
||||
Source: https://files.pythonhosted.org/packages/source/c/cbor2/cbor2-%{version}.tar.gz
|
||||
BuildRequires: %{python_module devel}
|
||||
BuildRequires: %{python_module pytest}
|
||||
BuildRequires: %{python_module setuptools >= 36.2.7}
|
||||
BuildRequires: %{python_module setuptools_scm >= 1.7.0}
|
||||
BuildRequires: fdupes
|
||||
BuildRequires: python-rpm-macros
|
||||
BuildArch: noarch
|
||||
%python_subpackages
|
||||
|
||||
%description
|
||||
@@ -52,11 +51,16 @@ export LANG=en_US.UTF8
|
||||
|
||||
%check
|
||||
export LANG=en_US.UTF8
|
||||
%python_exec -m pytest
|
||||
%pytest
|
||||
|
||||
%files %{python_files}
|
||||
%doc README.rst
|
||||
%license LICENSE.txt
|
||||
%ifpython2
|
||||
%{python_sitelib}/*
|
||||
%endif
|
||||
%ifpython3
|
||||
%{python_sitearch}/*
|
||||
%endif
|
||||
|
||||
%changelog
|
||||
|
||||
Reference in New Issue
Block a user