From 162826b0a5dabdc715d29429a82f714194fd20a4af8012cafcdfeca5fbbeb3eb 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:42:02 +0000 Subject: [PATCH] Accepting request 677640 from home:jayvdb:django - Activate test suite - Use fdupes - Update URL to https://github.com/core-api/python-coreschema - Expand summary and description OBS-URL: https://build.opensuse.org/request/show/677640 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-coreschema?expand=0&rev=1 --- .gitattributes | 23 ++++++++++++++++ .gitignore | 1 + coreschema-0.0.4.tar.gz | 3 ++ python-coreschema.changes | 13 +++++++++ python-coreschema.spec | 58 +++++++++++++++++++++++++++++++++++++++ 5 files changed, 98 insertions(+) create mode 100644 .gitattributes create mode 100644 .gitignore create mode 100644 coreschema-0.0.4.tar.gz create mode 100644 python-coreschema.changes create mode 100644 python-coreschema.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/coreschema-0.0.4.tar.gz b/coreschema-0.0.4.tar.gz new file mode 100644 index 0000000..29ca9f3 --- /dev/null +++ b/coreschema-0.0.4.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:87ecf0528caff2dff0b21be97447ef2c4f3aebe32b1315ef97daccba6c68cf20 +size 21905 diff --git a/python-coreschema.changes b/python-coreschema.changes new file mode 100644 index 0000000..454fa34 --- /dev/null +++ b/python-coreschema.changes @@ -0,0 +1,13 @@ +------------------------------------------------------------------- +Wed Feb 20 05:38:22 UTC 2019 - John Vandenberg + +- Activate test suite +- Use fdupes +- Update URL to https://github.com/core-api/python-coreschema +- Expand summary and description + +------------------------------------------------------------------- +Sat May 20 13:54:14 UTC 2017 - matwey.kornilov@gmail.com + +- Initial commit + diff --git a/python-coreschema.spec b/python-coreschema.spec new file mode 100644 index 0000000..2c35e56 --- /dev/null +++ b/python-coreschema.spec @@ -0,0 +1,58 @@ +# +# spec file for package python-coreschema +# +# Copyright (c) 2017 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 http://bugs.opensuse.org/ +# + + +%{?!python_module:%define python_module() python-%{**} python3-%{**}} +Name: python-coreschema +Version: 0.0.4 +Release: 0 +Summary: Core Schema for Core API +License: BSD-2-Clause +Group: Development/Languages/Python +Url: https://github.com/core-api/python-coreschema +Source: https://github.com/core-api/python-coreschema/archive/0.0.4.tar.gz#/coreschema-%{version}.tar.gz +BuildRequires: %{python_module Jinja2} +BuildRequires: %{python_module pytest} +BuildRequires: %{python_module setuptools} +BuildRequires: fdupes +BuildRequires: python-rpm-macros +Requires: python-Jinja2 +BuildArch: noarch +%python_subpackages + +%description +Core Schema for Core API, a format-independent Document Object Model for +representing Web APIs. + +%prep +%setup -q -n python-coreschema-%{version} + +%build +%python_build + +%install +%python_install +%python_expand %fdupes %{buildroot}%{$python_sitelib} + +%check +%python_exec -m pytest + +%files %{python_files} +%{python_sitelib}/coreschema/ +%{python_sitelib}/coreschema-%{version}-py*.egg-info + +%changelog