From 823b4b5136a8dba6f4507b9d0974dcbd615543b72968b6ef51cfc9a0f9a8341e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tom=C3=A1=C5=A1=20Chv=C3=A1tal?= Date: Wed, 20 Feb 2019 09:59:17 +0000 Subject: [PATCH] Accepting request 677644 from home:jayvdb:django - Update to v2.3.3 * Fix the encoding/decoding of Enum types * Fix typos * Update transport docs to add 'auth', and deprecate 'credentials' - Use GitHub tarball to activate test suite - Remove unnecessary build dependencies and add runtime dependencies OBS-URL: https://build.opensuse.org/request/show/677644 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-coreapi?expand=0&rev=1 --- .gitattributes | 23 +++++++++++++++ .gitignore | 1 + coreapi-2.3.3.tar.gz | 3 ++ python-coreapi.changes | 15 ++++++++++ python-coreapi.spec | 63 ++++++++++++++++++++++++++++++++++++++++++ 5 files changed, 105 insertions(+) create mode 100644 .gitattributes create mode 100644 .gitignore create mode 100644 coreapi-2.3.3.tar.gz create mode 100644 python-coreapi.changes create mode 100644 python-coreapi.spec 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/coreapi-2.3.3.tar.gz b/coreapi-2.3.3.tar.gz new file mode 100644 index 0000000..e0912b5 --- /dev/null +++ b/coreapi-2.3.3.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:e4a29e73793efb4dc34006f00ff966b3fe05ca9fe36868145c8dad7cfe0a816c +size 37470 diff --git a/python-coreapi.changes b/python-coreapi.changes new file mode 100644 index 0000000..8fa3d88 --- /dev/null +++ b/python-coreapi.changes @@ -0,0 +1,15 @@ +------------------------------------------------------------------- +Wed Feb 20 05:57:08 UTC 2019 - John Vandenberg + +- Update to v2.3.3 + * Fix the encoding/decoding of Enum types + * Fix typos + * Update transport docs to add 'auth', and deprecate 'credentials' +- Use GitHub tarball to activate test suite +- Remove unnecessary build dependencies and add runtime dependencies + +------------------------------------------------------------------- +Sat May 20 13:06:08 UTC 2017 - matwey.kornilov@gmail.com + +- Initial version for v2.3.0 + diff --git a/python-coreapi.spec b/python-coreapi.spec new file mode 100644 index 0000000..9c94103 --- /dev/null +++ b/python-coreapi.spec @@ -0,0 +1,63 @@ +# +# spec file for package python-coreapi +# +# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany. +# +# 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-coreapi +Version: 2.3.3 +Release: 0 +Summary: Python client library for Core API +License: BSD-2-Clause +Group: Development/Languages/Python +URL: https://github.com/core-api/python-client +Source: https://github.com/core-api/python-client/archive/2.3.3.tar.gz#/coreapi-%{version}.tar.gz +BuildRequires: %{python_module coreschema} +BuildRequires: %{python_module itypes} +BuildRequires: %{python_module pytest} +BuildRequires: %{python_module requests} +BuildRequires: %{python_module setuptools} +BuildRequires: %{python_module uritemplate} +BuildRequires: fdupes +BuildRequires: python-rpm-macros +Requires: python-itypes +Requires: python-requests +Requires: python-uritemplate +BuildArch: noarch +%python_subpackages + +%description +Python client library for Core API, a format-independent Document Object Model +for representing Web APIs. + +%prep +%setup -q -n python-client-%{version} + +%build +%python_build + +%install +%python_install +%python_expand %fdupes %{buildroot}%{$python_sitelib} + +%check +%python_exec -m pytest + +%files %{python_files} +%{python_sitelib}/coreapi/ +%{python_sitelib}/coreapi-%{version}-py*.egg-info + +%changelog