|
 |
78ff4d0 |
Name: python-stripe
|
|
 |
93ec691 |
Version: 5.4.0
|
|
 |
f4ceceb |
Release: 1%{?dist}
|
|
 |
78ff4d0 |
Summary: Python library for the Stripe API
|
|
 |
78ff4d0 |
|
|
 |
78ff4d0 |
License: MIT
|
|
 |
78ff4d0 |
URL: https://github.com/stripe/stripe-python
|
|
 |
78ff4d0 |
Source0: %{url}/archive/v%{version}/stripe-python-%{version}.tar.gz
|
|
 |
78ff4d0 |
|
|
 |
78ff4d0 |
BuildArch: noarch
|
|
 |
78ff4d0 |
BuildRequires: python3-devel
|
|
 |
78ff4d0 |
|
|
 |
78ff4d0 |
%global _description %{expand:
|
|
 |
78ff4d0 |
The Stripe Python library provides convenient access to the Stripe API from
|
|
 |
78ff4d0 |
applications written in the Python language. It includes a pre-defined set of
|
|
 |
78ff4d0 |
classes for API resources that initialize themselves dynamically from API
|
|
 |
78ff4d0 |
responses which makes it compatible with a wide range of versions of the
|
|
 |
78ff4d0 |
Stripe API.}
|
|
 |
78ff4d0 |
|
|
 |
78ff4d0 |
%description %_description
|
|
 |
78ff4d0 |
|
|
 |
78ff4d0 |
%package -n python3-stripe
|
|
 |
78ff4d0 |
Summary: %{summary}
|
|
 |
78ff4d0 |
|
|
 |
78ff4d0 |
%description -n python3-stripe %_description
|
|
 |
78ff4d0 |
|
|
 |
78ff4d0 |
|
|
 |
78ff4d0 |
%prep
|
|
 |
78ff4d0 |
%autosetup -p1 -n stripe-python-%{version}
|
|
 |
78ff4d0 |
|
|
 |
78ff4d0 |
|
|
 |
78ff4d0 |
%generate_buildrequires
|
|
 |
78ff4d0 |
%pyproject_buildrequires -r
|
|
 |
78ff4d0 |
|
|
 |
78ff4d0 |
|
|
 |
78ff4d0 |
%build
|
|
 |
78ff4d0 |
%pyproject_wheel
|
|
 |
78ff4d0 |
|
|
 |
78ff4d0 |
|
|
 |
78ff4d0 |
%install
|
|
 |
78ff4d0 |
%pyproject_install
|
|
 |
78ff4d0 |
%pyproject_save_files stripe
|
|
 |
78ff4d0 |
|
|
 |
78ff4d0 |
|
|
 |
78ff4d0 |
%check
|
|
 |
93ec691 |
%pyproject_check_import
|
|
 |
93ec691 |
|
|
 |
78ff4d0 |
# Testing suite depends on outdated unpackaged go libraries, hence no test
|
|
 |
78ff4d0 |
# here.
|
|
 |
6080002 |
#
|
|
 |
6080002 |
# To run tests manually, install:
|
|
 |
6080002 |
# 1. The package
|
|
 |
f4ceceb |
# 2. go
|
|
 |
f4ceceb |
# 3. python3-pytest
|
|
 |
f4ceceb |
# 4. python3-pytest-mock
|
|
 |
6080002 |
#
|
|
 |
6080002 |
# Then execute:
|
|
 |
78ff4d0 |
# In first shell:
|
|
 |
6080002 |
# $ go install github.com/stripe/stripe-mock@latest
|
|
 |
78ff4d0 |
# $ stripe-mock
|
|
 |
f4ceceb |
# In second shell (replace `~/stripe-python` with actual path with sources):
|
|
 |
f4ceceb |
# $ cd / # So that pytest use installed stripe version, not sources
|
|
 |
f4ceceb |
# $ pytest --ignore ~/stripe-python/stripe/ ~/stripe-python/
|
|
 |
78ff4d0 |
|
|
 |
78ff4d0 |
|
|
 |
78ff4d0 |
%files -n python3-stripe -f %{pyproject_files}
|
|
 |
78ff4d0 |
%doc README.md CHANGELOG.md
|
|
 |
78ff4d0 |
|
|
 |
78ff4d0 |
|
|
 |
78ff4d0 |
%changelog
|
|
 |
93ec691 |
* Fri Mar 31 2023 Roman Inflianskas <rominf@aiven.io> - 5.4.0-1
|
|
 |
93ec691 |
- Update to 5.4.0 (resolve rhbz#2183323)
|
|
 |
93ec691 |
|
|
 |
e31c106 |
* Mon Mar 27 2023 Roman Inflianskas <rominf@aiven.io> - 5.3.0-1
|
|
 |
e31c106 |
- Update to 5.3.0 (resolve rhbz#2173125)
|
|
 |
e31c106 |
|
|
 |
f4ceceb |
* Mon Feb 20 2023 Roman Inflianskas <rominf@aiven.io> - 5.2.0-1
|
|
 |
f4ceceb |
- Update to 5.2.0 (resolve rhbz#2152039)
|
|
 |
f4ceceb |
- Update testing instructions
|
|
 |
f4ceceb |
|
|
 |
a04150a |
* Fri Jan 20 2023 Fedora Release Engineering <releng@fedoraproject.org> - 5.0.0-2
|
|
 |
a04150a |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild
|
|
 |
a04150a |
|
|
 |
e99264e |
* Mon Nov 21 2022 Roman Inflianskas <rominf@aiven.io> - 5.0.0-1
|
|
 |
e99264e |
- Update to 5.0.0 (resolve rhbz#2133045)
|
|
 |
e99264e |
|
|
 |
b36004e |
* Tue Oct 04 2022 Roman Inflianskas <rominf@aiven.io> - 4.2.0-1
|
|
 |
b36004e |
- Update to 4.2.0 (resolve rhbz#2130038)
|
|
 |
b36004e |
|
|
 |
2281597 |
* Fri Sep 02 2022 Paul Wouters
|
|
 |
2281597 |
- Resolves rhbz#2120817 python-stripe-4.1.0 is available
|
|
 |
2281597 |
|
|
 |
d22a7e0 |
* Fri Aug 12 2022 Roman Inflianskas <rominf@aiven.io> - 4.0.2-1
|
|
 |
d22a7e0 |
- Update to 4.0.2 (resolve rhbz#2110016)
|
|
 |
d22a7e0 |
|
|
 |
6080002 |
* Fri Aug 12 2022 Roman Inflianskas <rominf@aiven.io> - 3.5.0-1
|
|
 |
6080002 |
- Update to 3.5.0
|
|
 |
6080002 |
- Update testing instructions
|
|
 |
6080002 |
|
|
 |
ed1a86f |
* Fri Jul 22 2022 Fedora Release Engineering <releng@fedoraproject.org> - 3.4.0-2
|
|
 |
ed1a86f |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild
|
|
 |
ed1a86f |
|
|
 |
d112926 |
* Tue Jun 28 2022 Roman Inflianskas <rominf@aiven.io> - 3.4.0-1
|
|
 |
d112926 |
- Resolves rhbz#2081427 python-stripe-3.4.0 is available
|
|
 |
d112926 |
|
|
 |
4770727 |
* Mon Jun 13 2022 Python Maint <python-maint@redhat.com> - 3.3.0-2
|
|
 |
4770727 |
- Rebuilt for Python 3.11
|
|
 |
4770727 |
|
|
 |
e837dc0 |
* Wed Jun 08 2022 Roman Inflianskas <rominf@aiven.io> - 3.3.0-1
|
|
 |
e837dc0 |
- Update to 3.3.0 (#2081427)
|
|
 |
e837dc0 |
|
|
 |
43ab00a |
* Tue May 03 2022 Paul Wouters <paul.wouters@aiven.io> - 2.74.0-1
|
|
 |
43ab00a |
- Resolves rhbz#2070208 python-stripe-2.74.0 is available
|
|
 |
43ab00a |
|
|
 |
e99e0bb |
* Wed Mar 30 2022 Roman Inflianskas <rominf@aiven.io> - 2.69.0-1
|
|
 |
e99e0bb |
- Update to 2.69.0 (#2067325), remove unneeded license line
|
|
 |
e99e0bb |
|
|
 |
0becdb5 |
* Mon Mar 07 2022 Roman Inflianskas <rominf@aiven.io> - 2.67.0-1
|
|
 |
0becdb5 |
- Update to 2.67.0 (#2055335)
|
|
 |
0becdb5 |
|
|
 |
ada25ad |
* Fri Jan 21 2022 Roman Inflianskas <rominf@aiven.io> - 2.65.0-1
|
|
 |
ada25ad |
- Update to 2.65.0 (#2043177)
|
|
 |
ada25ad |
|
|
 |
c834cc7 |
* Fri Jan 21 2022 Fedora Release Engineering <releng@fedoraproject.org> - 2.64.0-2
|
|
 |
c834cc7 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild
|
|
 |
c834cc7 |
|
|
 |
78ff4d0 |
* Mon Dec 27 2021 Roman Inflianskas <rominf@aiven.io> - 2.64.0-1
|
|
 |
78ff4d0 |
- Initial package
|