14
0
forked from pool/python-stripe

Accepting request 850230 from home:jayvdb:py-submit

The official API and only one which is usable beyond trivial use of stripe.
~1k github stars
dep of dj-stripe (and lots of other django stripe apps), django-payment, django-payments, cartridge-stripe, tendenci, bluebottle, Cubane, and similar apps for most frameworks like Flask-Stripe, tornado-stripe, etc, etc

OBS-URL: https://build.opensuse.org/request/show/850230
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-stripe?expand=0&rev=1
This commit is contained in:
2020-11-25 16:40:30 +00:00
committed by Git OBS Bridge
commit e71ecbbfb2
5 changed files with 126 additions and 0 deletions

23
.gitattributes vendored Normal file
View File

@@ -0,0 +1,23 @@
## Default LFS
*.7z filter=lfs diff=lfs merge=lfs -text
*.bsp filter=lfs diff=lfs merge=lfs -text
*.bz2 filter=lfs diff=lfs merge=lfs -text
*.gem filter=lfs diff=lfs merge=lfs -text
*.gz filter=lfs diff=lfs merge=lfs -text
*.jar filter=lfs diff=lfs merge=lfs -text
*.lz filter=lfs diff=lfs merge=lfs -text
*.lzma filter=lfs diff=lfs merge=lfs -text
*.obscpio filter=lfs diff=lfs merge=lfs -text
*.oxt filter=lfs diff=lfs merge=lfs -text
*.pdf filter=lfs diff=lfs merge=lfs -text
*.png filter=lfs diff=lfs merge=lfs -text
*.rpm filter=lfs diff=lfs merge=lfs -text
*.tbz filter=lfs diff=lfs merge=lfs -text
*.tbz2 filter=lfs diff=lfs merge=lfs -text
*.tgz filter=lfs diff=lfs merge=lfs -text
*.ttf filter=lfs diff=lfs merge=lfs -text
*.txz filter=lfs diff=lfs merge=lfs -text
*.whl filter=lfs diff=lfs merge=lfs -text
*.xz filter=lfs diff=lfs merge=lfs -text
*.zip filter=lfs diff=lfs merge=lfs -text
*.zst filter=lfs diff=lfs merge=lfs -text

1
.gitignore vendored Normal file
View File

@@ -0,0 +1 @@
.osc

31
python-stripe.changes Normal file
View File

@@ -0,0 +1,31 @@
-------------------------------------------------------------------
Mon Nov 23 13:45:46 UTC 2020 - John Vandenberg <jayvdb@gmail.com>
- Activate tests on all platforms
- Update to v2.55
-------------------------------------------------------------------
Thu Aug 6 05:25:55 UTC 2020 - John Vandenberg <jayvdb@gmail.com>
- Activate tests on x86_64
- Update to v2.50
-------------------------------------------------------------------
Sat Jul 25 08:17:10 UTC 2020 - John Vandenberg <jayvdb@gmail.com>
- Update to v2.49
-------------------------------------------------------------------
Sun May 17 08:32:11 UTC 2020 - John Vandenberg <jayvdb@gmail.com>
- Update to v2.48
-------------------------------------------------------------------
Tue Apr 7 11:13:06 UTC 2020 - John Vandenberg <jayvdb@gmail.com>
- Update to v2.45
-------------------------------------------------------------------
Tue Apr 7 11:13:06 UTC 2020 - John Vandenberg <jayvdb@gmail.com>
- Initial spec for v2.23

68
python-stripe.spec Normal file
View File

@@ -0,0 +1,68 @@
#
# spec file for package python-stripe
#
# Copyright (c) 2020 SUSE LLC
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
# upon. The license for this file, and modifications and additions to the
# file, is the same license as for the pristine package itself (unless the
# license for the pristine package is not an Open Source License, in which
# case the license is the MIT License). An "Open Source License" is a
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.
# Please submit bugfixes or comments via https://bugs.opensuse.org/
#
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
Name: python-stripe
Version: 2.55.0
Release: 0
Summary: Python bindings for the Stripe API
License: MIT
Group: Development/Languages/Python
URL: https://github.com/stripe/stripe-python
Source: https://files.pythonhosted.org/packages/source/s/stripe/stripe-%{version}.tar.gz
BuildRequires: %{python_module setuptools}
BuildRequires: fdupes
BuildRequires: python-rpm-macros
Requires: python-PySocks >= 1.5.6
Requires: python-cryptography >= 1.3.4
Requires: python-pyOpenSSL >= 0.14
Requires: python-requests >= 2.20
Conflicts: python-stripe-api
BuildArch: noarch
# SECTION test requirements
BuildRequires: %{python_module PySocks >= 1.5.6}
BuildRequires: %{python_module cryptography >= 1.3.4}
BuildRequires: %{python_module pyOpenSSL >= 0.14}
BuildRequires: %{python_module pytest >= 4.6}
BuildRequires: %{python_module pytest-mock >= 2.0}
BuildRequires: %{python_module requests >= 2.20}
# /SECTION
%python_subpackages
%description
Python bindings for the Stripe API.
%prep
%setup -q -n stripe-%{version}
%build
%python_build
%install
%python_install
%python_expand %fdupes %{buildroot}%{$python_sitelib}
%check
%pytest -rs --nomock
%files %{python_files}
%doc CHANGELOG.md README.md
%license LICENSE
%{python_sitelib}/*
%changelog

3
stripe-2.55.0.tar.gz Normal file
View File

@@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:2eebf023595e8aa9d65d8b46ccc3c716185bb9625d0e39d3956282fd7525848d
size 219589