forked from pool/python-re-assert
Accepting request 1285507 from devel:languages:python
- Convert to pip-based build OBS-URL: https://build.opensuse.org/request/show/1285507 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-re-assert?expand=0&rev=4
This commit is contained in:
@@ -1,3 +1,8 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Wed Jun 11 11:27:01 UTC 2025 - Markéta Machová <mmachova@suse.com>
|
||||||
|
|
||||||
|
- Convert to pip-based build
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Fri Apr 21 12:32:42 UTC 2023 - Dirk Müller <dmueller@suse.com>
|
Fri Apr 21 12:32:42 UTC 2023 - Dirk Müller <dmueller@suse.com>
|
||||||
|
|
||||||
|
@@ -1,7 +1,7 @@
|
|||||||
#
|
#
|
||||||
# spec file for package python-re-assert
|
# spec file for package python-re-assert
|
||||||
#
|
#
|
||||||
# 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
|
||||||
@@ -16,8 +16,6 @@
|
|||||||
#
|
#
|
||||||
|
|
||||||
|
|
||||||
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
|
|
||||||
%define skip_python2 1
|
|
||||||
%{?sle15_python_module_pythons}
|
%{?sle15_python_module_pythons}
|
||||||
Name: python-re-assert
|
Name: python-re-assert
|
||||||
Version: 1.1.0
|
Version: 1.1.0
|
||||||
@@ -28,7 +26,9 @@ Group: Development/Languages/Python
|
|||||||
URL: https://github.com/asottile/re-assert
|
URL: https://github.com/asottile/re-assert
|
||||||
Source: https://files.pythonhosted.org/packages/source/r/re_assert/re_assert-%{version}.tar.gz
|
Source: https://files.pythonhosted.org/packages/source/r/re_assert/re_assert-%{version}.tar.gz
|
||||||
Source1: https://raw.githubusercontent.com/asottile/re-assert/master/tests/re_assert_test.py
|
Source1: https://raw.githubusercontent.com/asottile/re-assert/master/tests/re_assert_test.py
|
||||||
|
BuildRequires: %{python_module pip}
|
||||||
BuildRequires: %{python_module setuptools}
|
BuildRequires: %{python_module setuptools}
|
||||||
|
BuildRequires: %{python_module wheel}
|
||||||
BuildRequires: fdupes
|
BuildRequires: fdupes
|
||||||
BuildRequires: python-rpm-macros
|
BuildRequires: python-rpm-macros
|
||||||
Requires: python-regex
|
Requires: python-regex
|
||||||
@@ -47,10 +47,10 @@ Show where your regex match assertion failed.
|
|||||||
cp %{SOURCE1} .
|
cp %{SOURCE1} .
|
||||||
|
|
||||||
%build
|
%build
|
||||||
%python_build
|
%pyproject_wheel
|
||||||
|
|
||||||
%install
|
%install
|
||||||
%python_install
|
%pyproject_install
|
||||||
%python_expand %fdupes %{buildroot}%{$python_sitelib}
|
%python_expand %fdupes %{buildroot}%{$python_sitelib}
|
||||||
|
|
||||||
%check
|
%check
|
||||||
@@ -59,6 +59,8 @@ cp %{SOURCE1} .
|
|||||||
%files %{python_files}
|
%files %{python_files}
|
||||||
%doc README.md
|
%doc README.md
|
||||||
%license LICENSE
|
%license LICENSE
|
||||||
%{python_sitelib}/*
|
%{python_sitelib}/re_assert.py
|
||||||
|
%{python_sitelib}/re[-_]assert-%{version}*-info
|
||||||
|
%pycache_only %{python_sitelib}/__pycache__/re_assert*
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
Reference in New Issue
Block a user