## START: Set by rpmautospec ## (rpmautospec version 0.7.3) ## RPMAUTOSPEC: autorelease, autochangelog %define autorelease(e:s:pb:n) %{?-p:0.}%{lua: release_number = 1; 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 %global forgeurl https://github.com/stripe/stripe-python Version: 11.4.1 %forgemeta Name: python-stripe Release: %autorelease Summary: Python library for the Stripe API License: MIT URL: %{forgeurl} Source0: %{forgesource} BuildArch: noarch BuildRequires: python3-devel %global _description %{expand: The Stripe Python library provides convenient access to the Stripe API from applications written in the Python language. It includes a pre-defined set of classes for API resources that initialize themselves dynamically from API responses which makes it compatible with a wide range of versions of the Stripe API.} %description %_description %package -n python3-stripe Summary: %{summary} %description -n python3-stripe %_description %prep %forgeautosetup -- -n stripe-python-%{version} %generate_buildrequires %pyproject_buildrequires -r %build %pyproject_wheel %install %pyproject_install %pyproject_save_files stripe %check %pyproject_check_import # Testing suite depends on outdated unpackaged go libraries, hence no test # here. # # To run tests manually, install: # 1. The package # 2. go # 3. python3-aiohttp # 4. python3-anyio # 5. python3-httpx # 6. python3-pytest # 7. python3-pytest-mock # 8. python3-trio # # Then execute: # In first shell: # $ go install github.com/stripe/stripe-mock@master # $ stripe-mock # In second shell (replace `~/stripe-python` with actual path with sources): # $ cd / # So that pytest use installed stripe version, not sources # $ pytest --ignore ~/stripe-python/stripe/ ~/stripe-python/ %files -n python3-stripe -f %{pyproject_files} %doc README.md CHANGELOG.md %changelog ## START: Generated by rpmautospec * Wed Dec 25 2024 Roman Inflianskas - 11.4.1-1 - Update to 11.4.1 (fedora#2312042) * Fri Sep 06 2024 Roman Inflianskas - 10.10.0-1 - Update to 10.8.0 (fedora#2307468) * Tue Aug 20 2024 Roman Inflianskas - 10.8.0-1 - Update to 10.8.0 (fedora#2303893) * Sat Aug 03 2024 Roman Inflianskas - 10.6.0-1 - Update to 10.6.0 (fedora#2295575) * Fri Jul 19 2024 Fedora Release Engineering - 10.0.0-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_41_Mass_Rebuild * Wed Jun 26 2024 Roman Inflianskas - 10.0.0-1 - Update to 10.0.0 (fedora#2280902) * Fri Jun 07 2024 Python Maint - 9.6.0-2 - Rebuilt for Python 3.13 * Fri May 10 2024 Roman Inflianskas - 9.6.0-1 - Update to 9.6.0 (fedora#2277231) * Fri Apr 19 2024 Roman Inflianskas - 9.3.0-1 - Update to 9.3.0 (fedora#2265588) * Tue Mar 19 2024 Roman Inflianskas - 8.3.0-2 - Use forges * Wed Feb 21 2024 Roman Inflianskas - 8.3.0-1 - Update to 8.3.0 (fedora#2256860) * Wed Feb 21 2024 Roman Inflianskas - 7.14.0-1 - Update to 7.14.0 * Wed Feb 21 2024 Roman Inflianskas - 7.10.0-5 - Use %%autorelease macro * Fri Jan 26 2024 Fedora Release Engineering - 7.10.0-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild * Mon Jan 22 2024 Fedora Release Engineering - 7.10.0-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild * Wed Dec 27 2023 Roman Inflianskas - 7.10.0-1 - Update to 7.10.0 (fedora#2239054) * Fri Sep 08 2023 Roman Inflianskas - 6.4.0-1 - Update to 6.4.0 (fedora#2237931) * Mon Sep 04 2023 Roman Inflianskas - 6.2.0-1 - Update to 6.2.0 (fedora#2233942) * Thu Aug 17 2023 Roman Inflianskas - 6.0.0-1 - Update to 6.0.0 (fedora#2186548) * Thu Aug 17 2023 Roman Inflianskas - 5.5.0-1 - Update to 5.5.0 (fedora#2186548) * Fri Jul 21 2023 Fedora Release Engineering - 5.4.0-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild * Tue Jun 13 2023 Python Maint - 5.4.0-2 - Rebuilt for Python 3.12 * Fri Mar 31 2023 Roman Inflianskas - 5.4.0-1 - Update to 5.4.0 (resolve rhbz#2183323) * Mon Mar 27 2023 Roman Inflianskas - 5.3.0-1 - Update to 5.3.0 (resolve rhbz#2173125) * Mon Feb 20 2023 Roman Inflianskas - 5.2.0-1 - Update to 5.2.0 (resolve rhbz#2152039) - Update testing instructions * Fri Jan 20 2023 Fedora Release Engineering - 5.0.0-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild * Mon Nov 21 2022 Roman Inflianskas - 5.0.0-1 - Update to 5.0.0 (resolve rhbz#2133045) * Tue Oct 04 2022 Roman Inflianskas - 4.2.0-1 - Update to 4.2.0 (resolve rhbz#2130038) * Fri Sep 02 2022 Paul Wouters - 4.0.2-1 - Update to 4.0.2 (resolve rhbz#2110016) * Fri Aug 12 2022 Roman Inflianskas - 3.5.0-1 - Update to 3.5.0 - Update testing instructions * Fri Jul 22 2022 Fedora Release Engineering - 3.4.0-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild * Tue Jun 28 2022 Roman Inflianskas - 3.4.0-1 - Resolves rhbz#2081427 python-stripe-3.4.0 is available * Mon Jun 13 2022 Python Maint - 3.3.0-2 - Rebuilt for Python 3.11 * Wed Jun 08 2022 Roman Inflianskas - 3.3.0-1 - Update to 3.3.0 (#2081427) * Tue May 03 2022 Paul Wouters - 2.74.0-1 - Resolves rhbz#2070208 python-stripe-2.74.0 is available * Wed Mar 30 2022 Roman Inflianskas - 2.69.0-1 - Update to 2.69.0 (#2067325), remove unneeded license line * Mon Mar 07 2022 Roman Inflianskas - 2.67.0-1 - Update to 2.67.0 (#2055335) * Fri Jan 21 2022 Roman Inflianskas - 2.65.0-1 - Update to 2.65.0 (#2043177) * Fri Jan 21 2022 Fedora Release Engineering - 2.64.0-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild * Mon Dec 27 2021 Roman Inflianskas - 2.64.0-1 - Initial package ## END: Generated by rpmautospec