forked from pool/python-pyte
- Convert to pip-based build
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pyte?expand=0&rev=20
This commit is contained in:
@@ -1,3 +1,8 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Tue Jun 10 12:37:59 UTC 2025 - Markéta Machová <mmachova@suse.com>
|
||||||
|
|
||||||
|
- Convert to pip-based build
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Thu Dec 14 21:29:20 UTC 2023 - Dirk Müller <dmueller@suse.com>
|
Thu Dec 14 21:29:20 UTC 2023 - Dirk Müller <dmueller@suse.com>
|
||||||
|
|
||||||
|
@@ -1,7 +1,7 @@
|
|||||||
#
|
#
|
||||||
# spec file for package python-pyte
|
# spec file for package python-pyte
|
||||||
#
|
#
|
||||||
# Copyright (c) 2023 SUSE LLC
|
# Copyright (c) 2025 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,9 +26,11 @@ Group: Development/Languages/Python
|
|||||||
URL: https://github.com/selectel/pyte
|
URL: https://github.com/selectel/pyte
|
||||||
Source: https://files.pythonhosted.org/packages/source/p/pyte/pyte-%{version}.tar.gz
|
Source: https://files.pythonhosted.org/packages/source/p/pyte/pyte-%{version}.tar.gz
|
||||||
BuildRequires: %{python_module base >= 3.7}
|
BuildRequires: %{python_module base >= 3.7}
|
||||||
|
BuildRequires: %{python_module pip}
|
||||||
BuildRequires: %{python_module pytest}
|
BuildRequires: %{python_module pytest}
|
||||||
BuildRequires: %{python_module setuptools}
|
BuildRequires: %{python_module setuptools}
|
||||||
BuildRequires: %{python_module wcwidth}
|
BuildRequires: %{python_module wcwidth}
|
||||||
|
BuildRequires: %{python_module wheel}
|
||||||
BuildRequires: python-rpm-macros
|
BuildRequires: python-rpm-macros
|
||||||
Requires: python-wcwidth
|
Requires: python-wcwidth
|
||||||
BuildArch: noarch
|
BuildArch: noarch
|
||||||
@@ -49,10 +51,10 @@ rm tests/test_input_output.py
|
|||||||
sed -i '/pytest-runner/d' setup.py
|
sed -i '/pytest-runner/d' setup.py
|
||||||
|
|
||||||
%build
|
%build
|
||||||
%python_build
|
%pyproject_wheel
|
||||||
|
|
||||||
%install
|
%install
|
||||||
%python_install
|
%pyproject_install
|
||||||
|
|
||||||
%check
|
%check
|
||||||
%pytest
|
%pytest
|
||||||
@@ -62,6 +64,6 @@ sed -i '/pytest-runner/d' setup.py
|
|||||||
%doc README AUTHORS CHANGES docs/*rst
|
%doc README AUTHORS CHANGES docs/*rst
|
||||||
%dir %{python_sitelib}/pyte
|
%dir %{python_sitelib}/pyte
|
||||||
%{python_sitelib}/pyte/*
|
%{python_sitelib}/pyte/*
|
||||||
%{python_sitelib}/pyte-%{version}-py*.egg-info
|
%{python_sitelib}/pyte-%{version}*-info
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
Reference in New Issue
Block a user