## START: Set by rpmautospec ## (rpmautospec version 0.7.3) ## RPMAUTOSPEC: autorelease, autochangelog %define autorelease(e:s:pb:n) %{?-p:0.}%{lua: release_number = 3; base_release_number = tonumber(rpm.expand("%{?-b*}%{!?-b:1}")); print(release_number + base_release_number - 1); }%{?-e:.%{-e*}}%{?-s:.%{-s*}}%{!?-n:%{?dist}} ## END: Set by rpmautospec Name: python-docopt Epoch: 1 Version: 0.6.2 Release: %autorelease Summary: Pythonic argument parser, that will make you smile License: MIT URL: https://github.com/docopt/docopt # PyPI tarball doesn't have tests Source: %{url}/archive/%{version}/docopt-%{version}.tar.gz BuildArch: noarch # pytest 6.2+ support Patch: %{url}/pull/493.patch %global _description %{expand: Isn't it awesome how optparse and argparse generate help messages based on your code?! Hell no! You know what's awesome? It's when the option parser is generated based on the beautiful help message that you write yourself! This way you don't need to write this stupid repeatable parser-code, and instead can write only the help message--the way you want it.} %description %{_description} %package -n python3-docopt Summary: %{summary} BuildRequires: python3-devel BuildRequires: python3-pytest %description -n python3-docopt %{_description} %prep %autosetup -n docopt-%{version} %generate_buildrequires %pyproject_buildrequires %build %pyproject_wheel %install %pyproject_install %pyproject_save_files docopt %check %pytest %files -n python3-docopt -f %{pyproject_files} %license LICENSE-MIT %doc README.rst %changelog ## START: Generated by rpmautospec * Fri Jul 19 2024 Fedora Release Engineering - 1:0.6.2-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_41_Mass_Rebuild * Fri Jun 07 2024 Python Maint - 1:0.6.2-2 - Rebuilt for Python 3.13 * Wed Mar 06 2024 Carl George - 1:0.6.2-1 - Switch back to the old docopt upstream - Related: rhbz#2267060 * Sat Mar 02 2024 Carl George - 0.9.0-1 - Switch to docopt-ng upstream rhbz#2267060 - Convert to pyproject macros - Confirmed SPDX license identifier * Fri Jan 26 2024 Fedora Release Engineering - 0.6.2-29 - Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild * Mon Jan 22 2024 Fedora Release Engineering - 0.6.2-28 - Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild * Fri Jul 21 2023 Fedora Release Engineering - 0.6.2-27 - Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild * Tue Jun 13 2023 Python Maint - 0.6.2-26 - Rebuilt for Python 3.12 * Fri Jan 20 2023 Fedora Release Engineering - 0.6.2-25 - Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild * Fri Jul 22 2022 Fedora Release Engineering - 0.6.2-24 - Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild * Mon Jun 13 2022 Python Maint - 0.6.2-23 - Rebuilt for Python 3.11 * Fri Jan 21 2022 Fedora Release Engineering - 0.6.2-22 - Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild * Tue Jul 27 2021 Fedora Release Engineering - 0.6.2-21 - Second attempt - Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild * Fri Jun 04 2021 Python Maint - 0.6.2-20 - Rebuilt for Python 3.10 * Wed Jan 27 2021 Fedora Release Engineering - 0.6.2-19 - Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild * Wed Jul 29 2020 Fedora Release Engineering - 0.6.2-18 - Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild * Tue May 26 2020 Miro Hrončok - 0.6.2-17 - Rebuilt for Python 3.9 * Thu Jan 30 2020 Fedora Release Engineering - 0.6.2-16 - Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild * Tue Oct 01 2019 Miro Hrončok - 0.6.2-15 - Subpackage python2-docopt has been removed See https://fedoraproject.org/wiki/Changes/Mass_Python_2_Package_Removal * Wed Sep 04 2019 Marek Goldmann - 0.6.2-14 - Specify better BR for Python 2 packages * Mon Aug 19 2019 Miro Hrončok - 0.6.2-13 - Rebuilt for Python 3.8 * Fri Jul 26 2019 Fedora Release Engineering - 0.6.2-12 - Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild * Sat Feb 02 2019 Fedora Release Engineering - 0.6.2-11 - Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild * Sat Jul 14 2018 Fedora Release Engineering - 0.6.2-10 - Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild * Tue Jun 19 2018 Miro Hrončok - 0.6.2-9 - Rebuilt for Python 3.7 * Fri Feb 09 2018 Fedora Release Engineering - 0.6.2-8 - Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild * Wed Jan 03 2018 Carl George - 0.6.2-7 - EPEL compatibility, including Python 3 build * Thu Jul 27 2017 Fedora Release Engineering - 0.6.2-6 - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild * Sat Feb 11 2017 Fedora Release Engineering - 0.6.2-5 - Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild * Mon Dec 19 2016 Miro Hrončok - 0.6.2-4 - Rebuild for Python 3.6 * Fri Dec 16 2016 Igor Gnatenko - 0.6.2-3 - Don't own __pycache__ directory in python3 subpackage - Really run tests (setup.py test doesn't do anything) - Drop copy-pasted Requires (RHBZ #1405639) - Trivial cleanups * Tue Jul 19 2016 Fedora Release Engineering - 0.6.2-2 - https://fedoraproject.org/wiki/Changes/Automatic_Provides_for_Python_RPM_Packages * Fri Feb 05 2016 Germano Massullo - 0.6.2-1 - Heavy edits to make spec file compliant to https://fedoraproject.org/wiki/Packaging:Python (package python-docopt did not provide a python2-docopt package in Fedora repositories) - Removed egg files stuff since they are no longer present in upstream source file. - 0.6.2 minor update * Thu Feb 04 2016 Fedora Release Engineering - 0.6.1-8 - Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild * Tue Nov 10 2015 Fedora Release Engineering - 0.6.1-7 - Rebuilt for https://fedoraproject.org/wiki/Changes/python3.5 * Thu Jun 18 2015 Fedora Release Engineering - 0.6.1-6 - Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild * Sat Jun 07 2014 Fedora Release Engineering - 0.6.1-5 - Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild * Wed May 28 2014 Kalev Lember - 0.6.1-4 - Rebuilt for https://fedoraproject.org/wiki/Changes/Python_3.4 * Mon Feb 03 2014 Martin Sivak - 0.6.1-3 - Fix a mistake in spec file that prevented the subpackage from being created for Python 3 * Fri Nov 15 2013 Martin Sivak - 0.6.1-2 - Enable python3 package * Mon Aug 19 2013 Martin Sivak - 0.6.1-1 - Upstream version sync * Sun Aug 04 2013 Fedora Release Engineering - 0.5.0-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild * Thu Feb 14 2013 Fedora Release Engineering - 0.5.0-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild * Mon Jan 14 2013 Martin Sivak - 0.5.0-1 - Initial release ## END: Generated by rpmautospec