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>
|
Thu Mar 7 08:48:08 UTC 2024 - Matej Cepl <mcepl@cepl.eu>
|
||||||
|
|
||||||
|
@@ -1,7 +1,7 @@
|
|||||||
#
|
#
|
||||||
# spec file for package python-pypuppetdb
|
# 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
|
# 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,7 +16,6 @@
|
|||||||
#
|
#
|
||||||
|
|
||||||
|
|
||||||
%define skip_python2 1
|
|
||||||
Name: python-pypuppetdb
|
Name: python-pypuppetdb
|
||||||
Version: 2.5.1
|
Version: 2.5.1
|
||||||
Release: 0
|
Release: 0
|
||||||
@@ -26,10 +25,12 @@ Group: Development/Languages/Python
|
|||||||
URL: https://github.com/nedap/pypuppetdb
|
URL: https://github.com/nedap/pypuppetdb
|
||||||
Source: https://github.com/voxpupuli/pypuppetdb/archive/v%{version}.tar.gz
|
Source: https://github.com/voxpupuli/pypuppetdb/archive/v%{version}.tar.gz
|
||||||
BuildRequires: %{python_module httpretty >= 0.9.6}
|
BuildRequires: %{python_module httpretty >= 0.9.6}
|
||||||
|
BuildRequires: %{python_module pip}
|
||||||
BuildRequires: %{python_module pytest >= 3.0.1}
|
BuildRequires: %{python_module pytest >= 3.0.1}
|
||||||
BuildRequires: %{python_module pytest-cov >= 2.2.1}
|
BuildRequires: %{python_module pytest-cov >= 2.2.1}
|
||||||
BuildRequires: %{python_module requests >= 2.22.0}
|
BuildRequires: %{python_module requests >= 2.22.0}
|
||||||
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-requests >= 2.22.0
|
Requires: python-requests >= 2.22.0
|
||||||
@@ -44,10 +45,10 @@ More information: https://github.com/nedap/pypuppetdb
|
|||||||
%setup -q -n pypuppetdb-%{version}
|
%setup -q -n pypuppetdb-%{version}
|
||||||
|
|
||||||
%build
|
%build
|
||||||
%python_build
|
%pyproject_wheel
|
||||||
|
|
||||||
%install
|
%install
|
||||||
%python_install
|
%pyproject_install
|
||||||
%python_expand %fdupes %{buildroot}%{$python_sitelib}
|
%python_expand %fdupes %{buildroot}%{$python_sitelib}
|
||||||
|
|
||||||
# requirements-test.txt packages oddly
|
# requirements-test.txt packages oddly
|
||||||
|
Reference in New Issue
Block a user