forked from pool/python-pypuppetdb
Compare commits
2 Commits
Author | SHA256 | Date | |
---|---|---|---|
0bcb94749d | |||
9ec3d38730 |
@@ -1,3 +1,8 @@
|
||||
-------------------------------------------------------------------
|
||||
Tue Jun 10 12:28:41 UTC 2025 - Markéta Machová <mmachova@suse.com>
|
||||
|
||||
- Convert to pip-based build
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu Mar 7 08:48:08 UTC 2024 - Matej Cepl <mcepl@cepl.eu>
|
||||
|
||||
|
@@ -1,7 +1,7 @@
|
||||
#
|
||||
# spec file for package python-pypuppetdb
|
||||
#
|
||||
# Copyright (c) 2024 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 @@
|
||||
#
|
||||
|
||||
|
||||
%define skip_python2 1
|
||||
Name: python-pypuppetdb
|
||||
Version: 2.5.1
|
||||
Release: 0
|
||||
@@ -26,10 +25,12 @@ Group: Development/Languages/Python
|
||||
URL: https://github.com/nedap/pypuppetdb
|
||||
Source: https://github.com/voxpupuli/pypuppetdb/archive/v%{version}.tar.gz
|
||||
BuildRequires: %{python_module httpretty >= 0.9.6}
|
||||
BuildRequires: %{python_module pip}
|
||||
BuildRequires: %{python_module pytest >= 3.0.1}
|
||||
BuildRequires: %{python_module pytest-cov >= 2.2.1}
|
||||
BuildRequires: %{python_module requests >= 2.22.0}
|
||||
BuildRequires: %{python_module setuptools}
|
||||
BuildRequires: %{python_module wheel}
|
||||
BuildRequires: fdupes
|
||||
BuildRequires: python-rpm-macros
|
||||
Requires: python-requests >= 2.22.0
|
||||
@@ -44,10 +45,10 @@ More information: https://github.com/nedap/pypuppetdb
|
||||
%setup -q -n pypuppetdb-%{version}
|
||||
|
||||
%build
|
||||
%python_build
|
||||
%pyproject_wheel
|
||||
|
||||
%install
|
||||
%python_install
|
||||
%pyproject_install
|
||||
%python_expand %fdupes %{buildroot}%{$python_sitelib}
|
||||
|
||||
# requirements-test.txt packages oddly
|
||||
|
Reference in New Issue
Block a user