commit 996be1231d8b0e8517687dc73d8b4742e00c216463e1400c51883f3d7b8ed979 Author: Tomáš Chvátal Date: Fri Sep 20 09:56:46 2019 +0000 Accepting request 732025 from home:mnhauke Initial package fro python-pydantic OBS-URL: https://build.opensuse.org/request/show/732025 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pydantic?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-pydantic.changes b/python-pydantic.changes new file mode 100644 index 0000000..d0cd42a --- /dev/null +++ b/python-pydantic.changes @@ -0,0 +1,4 @@ +------------------------------------------------------------------- +Thu Sep 19 20:25:27 UTC 2019 - Martin Hauke + +- Initial package, version 0.32.2 diff --git a/python-pydantic.spec b/python-pydantic.spec new file mode 100644 index 0000000..cf7f16c --- /dev/null +++ b/python-pydantic.spec @@ -0,0 +1,59 @@ +# +# spec file for package python-pydantic +# +# Copyright (c) 2019, Martin Hauke +# +# 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-%{**}} +%define skip_python2 1 +Name: python-pydantic +Version: 0.32.2 +Release: 0 +License: MIT +Summary: Data validation and settings management using python type hinting +Url: https://github.com/samuelcolvin/pydantic +Group: Development/Languages/Python +Source: https://github.com/samuelcolvin/pydantic/archive/v%{version}.tar.gz +BuildRequires: python-rpm-macros +BuildRequires: %{python_module setuptools} +BuildRequires: %{python_module pytest} +BuildRequires: fdupes +Suggests: python-email-validator >= 1.0.3 +Suggests: python-typing-extensions >= 3.7.2 +Suggests: python-ujson >= 1.35 +BuildArch: noarch +%python_subpackages + +%description +Data validation and settings management using Python type hinting. + +%prep +%setup -q -n pydantic-%{version} + +%build +%python_build + +%install +%python_install +%python_expand %fdupes %{buildroot}%{$python_sitelib} + +%check +%pytest + +%files %{python_files} +%license LICENSE +%doc README.rst HISTORY.rst +%{python_sitelib}/* + +%changelog diff --git a/v0.32.2.tar.gz b/v0.32.2.tar.gz new file mode 100644 index 0000000..e234a05 --- /dev/null +++ b/v0.32.2.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:734d84a2c141d454e6d350ede78b8da9cc4cdc84bf5f7a8dd066ebb899cd0480 +size 144564