Compare commits
1 Commits
Author | SHA256 | Date | |
---|---|---|---|
7872a073ef |
@@ -1,26 +1,3 @@
|
|||||||
-------------------------------------------------------------------
|
|
||||||
Tue Mar 26 19:06:01 UTC 2024 - John Paul Adrian Glaubitz <adrian.glaubitz@suse.com>
|
|
||||||
|
|
||||||
- Switch build system from setuptools to pyproject.toml
|
|
||||||
+ Add python-pip and python-wheel to BuildRequires
|
|
||||||
+ Replace %python_build with %pyproject_wheel
|
|
||||||
+ Replace %python_install with %pyproject_install
|
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
|
||||||
Mon Dec 4 10:46:23 UTC 2023 - Dirk Müller <dmueller@suse.com>
|
|
||||||
|
|
||||||
- update to 2.0.1:
|
|
||||||
* Fixes CI build (Github Actions)
|
|
||||||
* Fixes broken tests
|
|
||||||
* Housekeeping: Licensing
|
|
||||||
* Disable nosetests for testing leaving only pytest as
|
|
||||||
supported test-runner for now
|
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
|
||||||
Tue Jun 13 08:40:27 UTC 2023 - ecsos <ecsos@opensuse.org>
|
|
||||||
|
|
||||||
- Add %{?sle15_python_module_pythons}
|
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Wed Jul 13 04:37:13 UTC 2022 - Steve Kowalik <steven.kowalik@suse.com>
|
Wed Jul 13 04:37:13 UTC 2022 - Steve Kowalik <steven.kowalik@suse.com>
|
||||||
|
|
||||||
|
@@ -1,7 +1,7 @@
|
|||||||
#
|
#
|
||||||
# spec file for package python-sure
|
# spec file for package python-sure
|
||||||
#
|
#
|
||||||
# Copyright (c) 2024 SUSE LLC
|
# Copyright (c) 2022 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,9 +16,9 @@
|
|||||||
#
|
#
|
||||||
|
|
||||||
|
|
||||||
%{?sle15_python_module_pythons}
|
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
|
||||||
Name: python-sure
|
Name: python-sure
|
||||||
Version: 2.0.1
|
Version: 2.0.0
|
||||||
Release: 0
|
Release: 0
|
||||||
Summary: Utility belt for automated testing in python for python
|
Summary: Utility belt for automated testing in python for python
|
||||||
License: GPL-3.0-or-later
|
License: GPL-3.0-or-later
|
||||||
@@ -26,11 +26,9 @@ URL: https://github.com/gabrielfalcao/sure
|
|||||||
Source: https://files.pythonhosted.org/packages/source/s/sure/sure-%{version}.tar.gz
|
Source: https://files.pythonhosted.org/packages/source/s/sure/sure-%{version}.tar.gz
|
||||||
# Based on https://github.com/gabrielfalcao/sure/pull/161
|
# Based on https://github.com/gabrielfalcao/sure/pull/161
|
||||||
Patch0: python-sure-no-mock.patch
|
Patch0: python-sure-no-mock.patch
|
||||||
BuildRequires: %{python_module pip}
|
|
||||||
BuildRequires: %{python_module pytest}
|
BuildRequires: %{python_module pytest}
|
||||||
BuildRequires: %{python_module setuptools}
|
BuildRequires: %{python_module setuptools}
|
||||||
BuildRequires: %{python_module six >= 1.10.0}
|
BuildRequires: %{python_module six >= 1.10.0}
|
||||||
BuildRequires: %{python_module wheel}
|
|
||||||
BuildRequires: fdupes
|
BuildRequires: fdupes
|
||||||
BuildRequires: python-rpm-macros
|
BuildRequires: python-rpm-macros
|
||||||
Requires: python-six >= 1.10.0
|
Requires: python-six >= 1.10.0
|
||||||
@@ -49,10 +47,10 @@ sed -i '/^#!/d' sure/*.py
|
|||||||
sed -i 's/--cov=sure//' setup.cfg
|
sed -i 's/--cov=sure//' setup.cfg
|
||||||
|
|
||||||
%build
|
%build
|
||||||
%pyproject_wheel
|
%python_build
|
||||||
|
|
||||||
%install
|
%install
|
||||||
%pyproject_install
|
%python_install
|
||||||
%python_clone -a %{buildroot}%{_bindir}/sure
|
%python_clone -a %{buildroot}%{_bindir}/sure
|
||||||
%python_expand %fdupes %{buildroot}%{$python_sitelib}
|
%python_expand %fdupes %{buildroot}%{$python_sitelib}
|
||||||
|
|
||||||
|
BIN
sure-2.0.0.tar.gz
(Stored with Git LFS)
Normal file
BIN
sure-2.0.0.tar.gz
(Stored with Git LFS)
Normal file
Binary file not shown.
BIN
sure-2.0.1.tar.gz
(Stored with Git LFS)
BIN
sure-2.0.1.tar.gz
(Stored with Git LFS)
Binary file not shown.
Reference in New Issue
Block a user