commit e71ecbbfb2bdcadd07fb4f7e145783725413c62db934df20c106ef9b9f96e542 Author: Matej Cepl Date: Wed Nov 25 16:40:30 2020 +0000 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 diff --git a/.gitattributes b/.gitattributes new file mode 100644 index 0000000..9b03811 --- /dev/null +++ b/.gitattributes @@ -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 diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..57affb6 --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +.osc diff --git a/python-stripe.changes b/python-stripe.changes new file mode 100644 index 0000000..34a31f6 --- /dev/null +++ b/python-stripe.changes @@ -0,0 +1,31 @@ +------------------------------------------------------------------- +Mon Nov 23 13:45:46 UTC 2020 - John Vandenberg + +- Activate tests on all platforms +- Update to v2.55 + +------------------------------------------------------------------- +Thu Aug 6 05:25:55 UTC 2020 - John Vandenberg + +- Activate tests on x86_64 +- Update to v2.50 + +------------------------------------------------------------------- +Sat Jul 25 08:17:10 UTC 2020 - John Vandenberg + +- Update to v2.49 + +------------------------------------------------------------------- +Sun May 17 08:32:11 UTC 2020 - John Vandenberg + +- Update to v2.48 + +------------------------------------------------------------------- +Tue Apr 7 11:13:06 UTC 2020 - John Vandenberg + +- Update to v2.45 + +------------------------------------------------------------------- +Tue Apr 7 11:13:06 UTC 2020 - John Vandenberg + +- Initial spec for v2.23 diff --git a/python-stripe.spec b/python-stripe.spec new file mode 100644 index 0000000..5d6d7be --- /dev/null +++ b/python-stripe.spec @@ -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 diff --git a/stripe-2.55.0.tar.gz b/stripe-2.55.0.tar.gz new file mode 100644 index 0000000..b9fabe9 --- /dev/null +++ b/stripe-2.55.0.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:2eebf023595e8aa9d65d8b46ccc3c716185bb9625d0e39d3956282fd7525848d +size 219589