15
0

- Convert to pip-based build

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-evilunit?expand=0&rev=3
This commit is contained in:
2025-05-27 10:18:52 +00:00
committed by Git OBS Bridge
parent 5a929d3b41
commit 281589b842
2 changed files with 12 additions and 5 deletions

View File

@@ -1,3 +1,8 @@
-------------------------------------------------------------------
Tue May 27 10:18:35 UTC 2025 - Markéta Machová <mmachova@suse.com>
- Convert to pip-based build
-------------------------------------------------------------------
Wed Aug 12 04:13:37 UTC 2020 - John Vandenberg <jayvdb@gmail.com>

View File

@@ -1,7 +1,7 @@
#
# spec file for package python-evilunit
#
# Copyright (c) 2020 SUSE LLC
# Copyright (c) 2025 SUSE LLC
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@@ -16,7 +16,6 @@
#
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
%define skip_python2 1
Name: python-evilunit
Version: 0.2.1
@@ -26,8 +25,10 @@ License: MIT
Group: Development/Languages/Python
URL: https://github.com/podhmo/evilunit
Source: https://github.com/podhmo/evilunit/archive/%{version}.tar.gz#/evilunit-%{version}.tar.gz
BuildRequires: %{python_module pip}
BuildRequires: %{python_module pytest}
BuildRequires: %{python_module setuptools}
BuildRequires: %{python_module wheel}
BuildRequires: fdupes
BuildRequires: python-rpm-macros
Requires: python-setuptools
@@ -43,10 +44,10 @@ and nested test classes.
%setup -q -n evilunit-%{version}
%build
%python_build
%pyproject_wheel
%install
%python_install
%pyproject_install
%python_expand %fdupes %{buildroot}%{$python_sitelib}
%check
@@ -55,6 +56,7 @@ and nested test classes.
%files %{python_files}
%doc README.rst
%license LICENSE
%{python_sitelib}/*
%{python_sitelib}/evilunit
%{python_sitelib}/evilunit-%{version}*-info
%changelog