Name: python-stripe Version: 6.4.0 Release: 1%{?dist} Summary: Python library for the Stripe API License: MIT URL: https://github.com/stripe/stripe-python Source0: %{url}/archive/v%{version}/stripe-python-%{version}.tar.gz 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 %autosetup -p1 -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-pytest # 4. python3-pytest-mock # # Then execute: # In first shell: # $ go install github.com/stripe/stripe-mock@latest # $ 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 * 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