From 2e1cf8c34f620dab9699202c3af1c823679a1146c68281b04ea367bed8cdf2ac Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tom=C3=A1=C5=A1=20Chv=C3=A1tal?= Date: Tue, 7 Aug 2018 11:31:35 +0000 Subject: [PATCH 1/3] - Sort out a bit with spec-cleaner OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-voluptuous?expand=0&rev=11 --- python-voluptuous.changes | 5 +++++ python-voluptuous.spec | 21 +++++++-------------- 2 files changed, 12 insertions(+), 14 deletions(-) diff --git a/python-voluptuous.changes b/python-voluptuous.changes index fcd8905..4cbdbdd 100644 --- a/python-voluptuous.changes +++ b/python-voluptuous.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Tue Aug 7 11:31:24 UTC 2018 - tchvatal@suse.com + +- Sort out a bit with spec-cleaner + ------------------------------------------------------------------- Fri Mar 23 15:05:35 UTC 2018 - tbechtold@suse.com diff --git a/python-voluptuous.spec b/python-voluptuous.spec index dbcfa26..45f7ca9 100644 --- a/python-voluptuous.spec +++ b/python-voluptuous.spec @@ -23,15 +23,13 @@ Release: 0 Summary: Voluptuous is a Python data validation library License: BSD-3-Clause Group: Development/Languages/Python -Url: http://github.com/alecthomas/voluptuous -Source: https://pypi.io/packages/source/v/voluptuous/voluptuous-%{version}.tar.gz -BuildRequires: %{python_module devel} +URL: http://github.com/alecthomas/voluptuous +Source: https://files.pythonhosted.org/packages/source/v/voluptuous/voluptuous-%{version}.tar.gz BuildRequires: %{python_module nose} BuildRequires: %{python_module setuptools} +BuildRequires: fdupes BuildRequires: python-rpm-macros -BuildRoot: %{_tmppath}/%{name}-%{version}-build BuildArch: noarch - %python_subpackages %description @@ -39,12 +37,6 @@ Voluptuous, *despite* the name, is a Python data validation library. It is primarily intended for validating data coming into Python as JSON, YAML, etc. -It has three goals: - -1. Simplicity. -2. Support for complex data structures. -3. Provide useful error messages. - %prep %setup -q -n voluptuous-%{version} @@ -53,13 +45,14 @@ It has three goals: %install %python_install +%python_expand %fdupes %{buildroot}%{$python_sitelib} %check -%python_exec %{_bindir}/nosetests +%python_exec %{_bindir}/nosetests -v %files %{python_files} -%defattr(-,root,root,-) -%doc COPYING README.md README.rst +%license COPYING +%doc README.md README.rst %{python_sitelib}/* %changelog From 299b7efc26c43d9df49cb9842d6072afdc628bafd95f1d0de00c3b32c5bd3437 Mon Sep 17 00:00:00 2001 From: Dirk Mueller Date: Tue, 7 Aug 2018 20:09:13 +0000 Subject: [PATCH 2/3] - update to 0.11.5: * Fixed issue with opening README file in setup.py. * Support Python 3.7. * #343: Drop support for Python 3.3. * #342: Add support for sets and frozensets. * #332: Fix Python 3.x compatibility for setup.py when pypandoc is installed. * #348: Include path in AnyInvalid errors. *#351: Fix Date behaviour when a custom format is specified. OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-voluptuous?expand=0&rev=12 --- python-voluptuous.changes | 12 ++++++++++++ python-voluptuous.spec | 4 ++-- voluptuous-0.11.1.tar.gz | 3 --- voluptuous-0.11.5.tar.gz | 3 +++ 4 files changed, 17 insertions(+), 5 deletions(-) delete mode 100644 voluptuous-0.11.1.tar.gz create mode 100644 voluptuous-0.11.5.tar.gz diff --git a/python-voluptuous.changes b/python-voluptuous.changes index 4cbdbdd..7ce4c4c 100644 --- a/python-voluptuous.changes +++ b/python-voluptuous.changes @@ -1,3 +1,15 @@ +------------------------------------------------------------------- +Tue Aug 7 20:08:10 UTC 2018 - dmueller@suse.com + +- update to 0.11.5: + * Fixed issue with opening README file in setup.py. + * Support Python 3.7. + * #343: Drop support for Python 3.3. + * #342: Add support for sets and frozensets. + * #332: Fix Python 3.x compatibility for setup.py when pypandoc is installed. + * #348: Include path in AnyInvalid errors. + *#351: Fix Date behaviour when a custom format is specified. + ------------------------------------------------------------------- Tue Aug 7 11:31:24 UTC 2018 - tchvatal@suse.com diff --git a/python-voluptuous.spec b/python-voluptuous.spec index 45f7ca9..d3b55e6 100644 --- a/python-voluptuous.spec +++ b/python-voluptuous.spec @@ -18,7 +18,7 @@ %{?!python_module:%define python_module() python-%{**} python3-%{**}} Name: python-voluptuous -Version: 0.11.1 +Version: 0.11.5 Release: 0 Summary: Voluptuous is a Python data validation library License: BSD-3-Clause @@ -52,7 +52,7 @@ YAML, etc. %files %{python_files} %license COPYING -%doc README.md README.rst +%doc README.md %{python_sitelib}/* %changelog diff --git a/voluptuous-0.11.1.tar.gz b/voluptuous-0.11.1.tar.gz deleted file mode 100644 index 2ca4e4a..0000000 --- a/voluptuous-0.11.1.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:af7315c9fa99e0bfd195a21106c82c81619b42f0bd9b6e287b797c6b6b6a9918 -size 44346 diff --git a/voluptuous-0.11.5.tar.gz b/voluptuous-0.11.5.tar.gz new file mode 100644 index 0000000..05cc9cb --- /dev/null +++ b/voluptuous-0.11.5.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:567a56286ef82a9d7ae0628c5842f65f516abcb496e74f3f59f1d7b28df314ef +size 44216 From a1bd393cbdd24afce17a638b125d905d818d8505f82ceb30d3f0ae356f1194a3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tom=C3=A1=C5=A1=20Chv=C3=A1tal?= Date: Wed, 8 Aug 2018 12:36:44 +0000 Subject: [PATCH 3/3] Accepting request 628084 from home:jengelh:branches:devel:languages:python - Trim repeated name in summary (rpmlint). Trim filler wording from description. OBS-URL: https://build.opensuse.org/request/show/628084 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-voluptuous?expand=0&rev=13 --- python-voluptuous.changes | 6 ++++++ python-voluptuous.spec | 7 +++---- 2 files changed, 9 insertions(+), 4 deletions(-) diff --git a/python-voluptuous.changes b/python-voluptuous.changes index 7ce4c4c..e0db185 100644 --- a/python-voluptuous.changes +++ b/python-voluptuous.changes @@ -1,3 +1,9 @@ +------------------------------------------------------------------- +Wed Aug 8 12:30:18 UTC 2018 - jengelh@inai.de + +- Trim repeated name in summary (rpmlint). Trim filler wording + from description. + ------------------------------------------------------------------- Tue Aug 7 20:08:10 UTC 2018 - dmueller@suse.com diff --git a/python-voluptuous.spec b/python-voluptuous.spec index d3b55e6..576042c 100644 --- a/python-voluptuous.spec +++ b/python-voluptuous.spec @@ -20,7 +20,7 @@ Name: python-voluptuous Version: 0.11.5 Release: 0 -Summary: Voluptuous is a Python data validation library +Summary: A Python data validation library License: BSD-3-Clause Group: Development/Languages/Python URL: http://github.com/alecthomas/voluptuous @@ -33,9 +33,8 @@ BuildArch: noarch %python_subpackages %description -Voluptuous, *despite* the name, is a Python data validation library. It -is primarily intended for validating data coming into Python as JSON, -YAML, etc. +Voluptuous is a Python data validation library. It validates data +coming into Python as JSON, YAML, etc. %prep %setup -q -n voluptuous-%{version}