forked from pool/python-dennis
Compare commits
2 Commits
| Author | SHA256 | Date | |
|---|---|---|---|
| 7995f32388 | |||
| a9d7fcd6c1 |
@@ -1,3 +1,8 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Mon May 26 11:46:33 UTC 2025 - Markéta Machová <mmachova@suse.com>
|
||||||
|
|
||||||
|
- Convert to pip-based build
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Wed Oct 12 03:04:03 UTC 2022 - Yogalakshmi Arunachalam <yarunachalam@suse.com>
|
Wed Oct 12 03:04:03 UTC 2022 - Yogalakshmi Arunachalam <yarunachalam@suse.com>
|
||||||
|
|
||||||
|
|||||||
@@ -1,7 +1,7 @@
|
|||||||
#
|
#
|
||||||
# spec file for package python-dennis
|
# spec file for package python-dennis
|
||||||
#
|
#
|
||||||
# Copyright (c) 2022 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 @@
|
|||||||
#
|
#
|
||||||
|
|
||||||
|
|
||||||
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
|
|
||||||
Name: python-dennis
|
Name: python-dennis
|
||||||
Version: 1.1.0
|
Version: 1.1.0
|
||||||
Release: 0
|
Release: 0
|
||||||
@@ -27,16 +26,18 @@ URL: https://github.com/willkg/dennis
|
|||||||
Source: https://files.pythonhosted.org/packages/source/d/dennis/dennis-%{version}.tar.gz
|
Source: https://files.pythonhosted.org/packages/source/d/dennis/dennis-%{version}.tar.gz
|
||||||
# Module dependencies
|
# Module dependencies
|
||||||
BuildRequires: %{python_module click >= 6}
|
BuildRequires: %{python_module click >= 6}
|
||||||
|
BuildRequires: %{python_module pip}
|
||||||
BuildRequires: %{python_module polib >= 1.0.8}
|
BuildRequires: %{python_module polib >= 1.0.8}
|
||||||
# Test runner
|
# Test runner
|
||||||
BuildRequires: %{python_module pytest}
|
BuildRequires: %{python_module pytest}
|
||||||
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-click >= 6
|
Requires: python-click >= 6
|
||||||
Requires: python-polib >= 1.0.8
|
Requires: python-polib >= 1.0.8
|
||||||
Requires(post): update-alternatives
|
Requires(post): alts
|
||||||
Requires(postun):update-alternatives
|
Requires(postun): alts
|
||||||
BuildArch: noarch
|
BuildArch: noarch
|
||||||
%python_subpackages
|
%python_subpackages
|
||||||
|
|
||||||
@@ -50,10 +51,10 @@ mismatched HTML, missing variables, etc.
|
|||||||
%setup -q -n dennis-%{version}
|
%setup -q -n dennis-%{version}
|
||||||
|
|
||||||
%build
|
%build
|
||||||
%python_build
|
%pyproject_wheel
|
||||||
|
|
||||||
%install
|
%install
|
||||||
%python_install
|
%pyproject_install
|
||||||
%python_clone -a %{buildroot}%{_bindir}/dennis-cmd
|
%python_clone -a %{buildroot}%{_bindir}/dennis-cmd
|
||||||
%python_expand rm -r %{buildroot}%{$python_sitelib}/tests/
|
%python_expand rm -r %{buildroot}%{$python_sitelib}/tests/
|
||||||
%python_expand %fdupes %{buildroot}%{$python_sitelib}
|
%python_expand %fdupes %{buildroot}%{$python_sitelib}
|
||||||
@@ -72,6 +73,7 @@ export LANG="en_US.UTF-8"
|
|||||||
%license LICENSE
|
%license LICENSE
|
||||||
%doc CHANGELOG README.rst
|
%doc CHANGELOG README.rst
|
||||||
%python_alternative %{_bindir}/dennis-cmd
|
%python_alternative %{_bindir}/dennis-cmd
|
||||||
%{python_sitelib}/*
|
%{python_sitelib}/dennis
|
||||||
|
%{python_sitelib}/dennis-%{version}*-info
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
|||||||
Reference in New Issue
Block a user