forked from pool/python-stone
- BuildRequire testsuite, drop pwd PYTHONPATH.
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-stone?expand=0&rev=3
This commit is contained in:
@@ -1,3 +1,8 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Tue May 13 03:29:18 UTC 2025 - Steve Kowalik <steven.kowalik@suse.com>
|
||||||
|
|
||||||
|
- BuildRequire testsuite, drop pwd PYTHONPATH.
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Tue May 6 13:58:31 UTC 2025 - Markéta Machová <mmachova@suse.com>
|
Tue May 6 13:58:31 UTC 2025 - Markéta Machová <mmachova@suse.com>
|
||||||
|
|
||||||
|
@@ -25,15 +25,16 @@ URL: https://github.com/dropbox/stone
|
|||||||
Source: https://github.com/dropbox/stone/archive/refs/tags/v%{version}.tar.gz#/stone-%{version}.tar.gz
|
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-FIX-UPSTREAM https://github.com/dropbox/stone/pull/318 remove dependency on six
|
||||||
Patch: remove-six.patch
|
Patch: remove-six.patch
|
||||||
BuildRequires: python-rpm-macros
|
|
||||||
BuildRequires: %{python_module pip}
|
BuildRequires: %{python_module pip}
|
||||||
BuildRequires: %{python_module setuptools}
|
BuildRequires: %{python_module setuptools}
|
||||||
BuildRequires: %{python_module wheel}
|
BuildRequires: %{python_module wheel}
|
||||||
|
BuildRequires: python-rpm-macros
|
||||||
# SECTION test requirements
|
# SECTION test requirements
|
||||||
BuildRequires: %{python_module Jinja2 >= 3.0.3}
|
BuildRequires: %{python_module Jinja2 >= 3.0.3}
|
||||||
BuildRequires: %{python_module packaging >= 21.0}
|
BuildRequires: %{python_module packaging >= 21.0}
|
||||||
BuildRequires: %{python_module ply >= 3.4}
|
BuildRequires: %{python_module ply >= 3.4}
|
||||||
BuildRequires: %{python_module pytest}
|
BuildRequires: %{python_module pytest}
|
||||||
|
BuildRequires: %{python_module testsuite}
|
||||||
# /SECTION
|
# /SECTION
|
||||||
BuildRequires: fdupes
|
BuildRequires: fdupes
|
||||||
Requires: python-Jinja2 >= 3.0.3
|
Requires: python-Jinja2 >= 3.0.3
|
||||||
@@ -59,7 +60,6 @@ Stone is an interface description language (IDL) for APIs.
|
|||||||
%python_expand %fdupes %{buildroot}%{$python_sitelib}
|
%python_expand %fdupes %{buildroot}%{$python_sitelib}
|
||||||
|
|
||||||
%check
|
%check
|
||||||
export PYTHONPATH=.
|
|
||||||
%pytest
|
%pytest
|
||||||
|
|
||||||
%post
|
%post
|
||||||
|
Reference in New Issue
Block a user