7 Commits

Author SHA256 Message Date
35b1b75452 Accepting request 1280241 from devel:languages:python
- Convert to pip-based build

OBS-URL: https://build.opensuse.org/request/show/1280241
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-docopt?expand=0&rev=10
2025-05-27 16:50:34 +00:00
2bb9fdc585 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-docopt?expand=0&rev=23 2025-05-26 12:27:18 +00:00
6e94ed4733 - Convert to pip-based build
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-docopt?expand=0&rev=22
2025-05-26 12:22:14 +00:00
cd374b9e7a Accepting request 1142818 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/1142818
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-docopt?expand=0&rev=9
2024-01-31 22:53:22 +00:00
38ef94edcd Accepting request 1142815 from home:alarrosa:branches:devel:languages:python
- Fix (C) line in spec file

OBS-URL: https://build.opensuse.org/request/show/1142815
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-docopt?expand=0&rev=20
2024-01-30 15:12:30 +00:00
fb799683bf Accepting request 1093046 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/1093046
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-docopt?expand=0&rev=8
2023-06-16 14:51:49 +00:00
73590984b2 Accepting request 1092799 from home:ecsos:python
- Add %{?sle15_python_module_pythons}

OBS-URL: https://build.opensuse.org/request/show/1092799
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-docopt?expand=0&rev=18
2023-06-14 06:36:37 +00:00
2 changed files with 24 additions and 5 deletions

View File

@@ -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>

View File

@@ -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