15
0

Accepting request 1280511 from devel:languages:python

- Convert to pip-based build

OBS-URL: https://build.opensuse.org/request/show/1280511
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-evilunit?expand=0&rev=2
This commit is contained in:
2025-05-27 16:43:16 +00:00
committed by Git OBS Bridge
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