Compare commits
7 Commits
| Author | SHA256 | Date | |
|---|---|---|---|
| 35b1b75452 | |||
| 2bb9fdc585 | |||
| 6e94ed4733 | |||
| cd374b9e7a | |||
| 38ef94edcd | |||
| fb799683bf | |||
| 73590984b2 |
@@ -1,3 +1,18 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Mon May 26 12:22:03 UTC 2025 - Markéta Machová <mmachova@suse.com>
|
||||||
|
|
||||||
|
- Convert to pip-based build
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Tue Jan 30 15:11:31 UTC 2024 - Antonio Larrosa <alarrosa@suse.com>
|
||||||
|
|
||||||
|
- Fix (C) line in spec file
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Tue Jun 13 09:01:22 UTC 2023 - ecsos <ecsos@opensuse.org>
|
||||||
|
|
||||||
|
- Add %{?sle15_python_module_pythons}
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Wed Dec 5 01:03:34 UTC 2018 - Jan Engelhardt <jengelh@inai.de>
|
Wed Dec 5 01:03:34 UTC 2018 - Jan Engelhardt <jengelh@inai.de>
|
||||||
|
|
||||||
|
|||||||
@@ -1,7 +1,7 @@
|
|||||||
#
|
#
|
||||||
# spec file for package python-docopt
|
# spec file for package python-docopt
|
||||||
#
|
#
|
||||||
# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany.
|
# 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,7 @@
|
|||||||
#
|
#
|
||||||
|
|
||||||
|
|
||||||
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
|
%{?sle15_python_module_pythons}
|
||||||
Name: python-docopt
|
Name: python-docopt
|
||||||
Version: 0.6.2
|
Version: 0.6.2
|
||||||
Release: 0
|
Release: 0
|
||||||
@@ -25,7 +25,9 @@ License: MIT
|
|||||||
Group: Development/Languages/Python
|
Group: Development/Languages/Python
|
||||||
URL: http://docopt.org
|
URL: http://docopt.org
|
||||||
Source: https://files.pythonhosted.org/packages/source/d/docopt/docopt-%{version}.tar.gz
|
Source: https://files.pythonhosted.org/packages/source/d/docopt/docopt-%{version}.tar.gz
|
||||||
|
BuildRequires: %{python_module pip}
|
||||||
BuildRequires: %{python_module setuptools}
|
BuildRequires: %{python_module setuptools}
|
||||||
|
BuildRequires: %{python_module wheel}
|
||||||
BuildRequires: fdupes
|
BuildRequires: fdupes
|
||||||
BuildRequires: python-rpm-macros
|
BuildRequires: python-rpm-macros
|
||||||
BuildArch: noarch
|
BuildArch: noarch
|
||||||
@@ -44,16 +46,18 @@ and instead can write only the help message.
|
|||||||
sed -i "s|#! %{_bindir}/env python||" examples/git/git.py
|
sed -i "s|#! %{_bindir}/env python||" examples/git/git.py
|
||||||
|
|
||||||
%build
|
%build
|
||||||
%python_build
|
%pyproject_wheel
|
||||||
|
|
||||||
%install
|
%install
|
||||||
%python_install
|
%pyproject_install
|
||||||
%python_expand %fdupes %{buildroot}%{$python_sitelib}
|
%python_expand %fdupes %{buildroot}%{$python_sitelib}
|
||||||
|
|
||||||
%files %{python_files}
|
%files %{python_files}
|
||||||
%license LICENSE-MIT
|
%license LICENSE-MIT
|
||||||
%doc README.rst
|
%doc README.rst
|
||||||
%doc examples/
|
%doc examples/
|
||||||
%{python_sitelib}/*
|
%{python_sitelib}/docopt.py
|
||||||
|
%{python_sitelib}/docopt-%{version}*-info
|
||||||
|
%pycache_only %{python_sitelib}/__pycache__/docopt*
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
|||||||
Reference in New Issue
Block a user