forked from pool/python-stone
needed by python-dropbox
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-stone?expand=0&rev=2
This commit is contained in:
@@ -23,25 +23,24 @@ Summary: Stone is an interface description language (IDL) for APIs
|
||||
License: MIT
|
||||
URL: https://github.com/dropbox/stone
|
||||
Source: https://github.com/dropbox/stone/archive/refs/tags/v%{version}.tar.gz#/stone-%{version}.tar.gz
|
||||
# PATCH-FIX-UPSTREAM https://github.com/dropbox/stone/pull/318 remove dependency on six
|
||||
Patch: remove-six.patch
|
||||
BuildRequires: python-rpm-macros
|
||||
BuildRequires: %{python_module pip}
|
||||
BuildRequires: %{python_module setuptools}
|
||||
BuildRequires: %{python_module wheel}
|
||||
BuildRequires: python-rpm-macros
|
||||
# SECTION test requirements
|
||||
BuildRequires: %{python_module Jinja2 >= 3.0.3}
|
||||
BuildRequires: %{python_module packaging >= 21.0}
|
||||
BuildRequires: %{python_module ply >= 3.4}
|
||||
BuildRequires: %{python_module pytest}
|
||||
BuildRequires: %{python_module six >= 1.12.0}
|
||||
BuildRequires: %{python_module testsuite}
|
||||
# /SECTION
|
||||
BuildRequires: fdupes
|
||||
Requires: python-Jinja2 >= 3.0.3
|
||||
Requires: python-packaging >= 21.0
|
||||
Requires: python-ply >= 3.4
|
||||
Requires: python-six >= 1.12.0
|
||||
Requires(post): update-alternatives
|
||||
Requires(postun): update-alternatives
|
||||
Requires(postun):update-alternatives
|
||||
BuildArch: noarch
|
||||
%python_subpackages
|
||||
|
||||
@@ -60,6 +59,7 @@ Stone is an interface description language (IDL) for APIs.
|
||||
%python_expand %fdupes %{buildroot}%{$python_sitelib}
|
||||
|
||||
%check
|
||||
export PYTHONPATH=.
|
||||
%pytest
|
||||
|
||||
%post
|
||||
|
Reference in New Issue
Block a user