From e5e9e9e6ba4df2712296eed7ff3b3f202d9ab530c58786b08b0390fc235b8cc9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tom=C3=A1=C5=A1=20Chv=C3=A1tal?= Date: Wed, 24 Apr 2019 12:06:30 +0000 Subject: [PATCH 1/2] Accepting request 697471 from home:pgajdos - version update to 1.0 * improve the exception message for ``InvalidURI`` to show the ``config_uri``. See https://github.com/Pylons/plaster/pull/17 OBS-URL: https://build.opensuse.org/request/show/697471 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-plaster?expand=0&rev=5 --- plaster-0.5.tar.gz | 3 --- plaster-1.0.tar.gz | 3 +++ python-plaster.changes | 7 +++++++ python-plaster.spec | 12 +++++++++--- 4 files changed, 19 insertions(+), 6 deletions(-) delete mode 100644 plaster-0.5.tar.gz create mode 100644 plaster-1.0.tar.gz diff --git a/plaster-0.5.tar.gz b/plaster-0.5.tar.gz deleted file mode 100644 index a14beed..0000000 --- a/plaster-0.5.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:2a028938dcbf41033c5d377363781b2528151b0159201587c41e7a4c74bc887c -size 29600 diff --git a/plaster-1.0.tar.gz b/plaster-1.0.tar.gz new file mode 100644 index 0000000..6681184 --- /dev/null +++ b/plaster-1.0.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:8351c7c7efdf33084c1de88dd0f422cbe7342534537b553c49b857b12d98c8c3 +size 29592 diff --git a/python-plaster.changes b/python-plaster.changes index 5c92a71..bd35426 100644 --- a/python-plaster.changes +++ b/python-plaster.changes @@ -1,3 +1,10 @@ +------------------------------------------------------------------- +Wed Apr 24 11:59:27 UTC 2019 - pgajdos@suse.com + +- version update to 1.0 + * improve the exception message for ``InvalidURI`` to show the ``config_uri``. + See https://github.com/Pylons/plaster/pull/17 + ------------------------------------------------------------------- Fri Jul 14 18:11:11 UTC 2017 - aloisio@gmx.com diff --git a/python-plaster.spec b/python-plaster.spec index 504e6e3..8f4d2d5 100644 --- a/python-plaster.spec +++ b/python-plaster.spec @@ -1,7 +1,7 @@ # # spec file for package python-plaster # -# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany. +# 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 @@ -12,13 +12,13 @@ # 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/ +# Please submit bugfixes or comments via https://bugs.opensuse.org/ # %{?!python_module:%define python_module() python-%{**} python3-%{**}} Name: python-plaster -Version: 0.5 +Version: 1.0 Release: 0 Summary: A loader interface around multiple config file formats License: MIT @@ -28,6 +28,9 @@ Source0: https://files.pythonhosted.org/packages/source/p/plaster/plaster BuildRequires: %{python_module setuptools} BuildRequires: fdupes BuildRequires: python-rpm-macros +# SECTION test requirements +BuildRequires: %{python_module pytest} +# /SECTION BuildRoot: %{_tmppath}/%{name}-%{version}-build BuildArch: noarch %python_subpackages @@ -52,6 +55,9 @@ rm -rf src/plaster.egg-info %python_install %python_expand %fdupes -s %{buildroot}%{$python_sitelib} +%check +%pytest + %files %{python_files} %defattr(-,root,root,-) %doc From e7a069f4c261c42dc1562cd78042dd266abfc2a5fcb26a3dd91bf586305e4413 Mon Sep 17 00:00:00 2001 From: Todd R Date: Mon, 20 May 2019 00:09:33 +0000 Subject: [PATCH 2/2] Accepting request 704092 from home:TheBlackCat:branches:devel:languages:python - Switch to wheel, which doesn't have the problematic CC-noncomercial licensed documentation. OBS-URL: https://build.opensuse.org/request/show/704092 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-plaster?expand=0&rev=6 --- plaster-1.0-py2.py3-none-any.whl | 3 +++ plaster-1.0.tar.gz | 3 --- python-plaster.changes | 6 ++++++ python-plaster.spec | 27 ++++++++++----------------- 4 files changed, 19 insertions(+), 20 deletions(-) create mode 100644 plaster-1.0-py2.py3-none-any.whl delete mode 100644 plaster-1.0.tar.gz diff --git a/plaster-1.0-py2.py3-none-any.whl b/plaster-1.0-py2.py3-none-any.whl new file mode 100644 index 0000000..c49a8ea --- /dev/null +++ b/plaster-1.0-py2.py3-none-any.whl @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:215c921a438b5349931fd7df9a5a11a3572947f20f4bc6dd622ac08f1c3ba249 +size 14064 diff --git a/plaster-1.0.tar.gz b/plaster-1.0.tar.gz deleted file mode 100644 index 6681184..0000000 --- a/plaster-1.0.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:8351c7c7efdf33084c1de88dd0f422cbe7342534537b553c49b857b12d98c8c3 -size 29592 diff --git a/python-plaster.changes b/python-plaster.changes index bd35426..c15be1f 100644 --- a/python-plaster.changes +++ b/python-plaster.changes @@ -1,3 +1,9 @@ +------------------------------------------------------------------- +Sun May 19 23:39:33 UTC 2019 - Todd R + +- Switch to wheel, which doesn't have the problematic + CC-noncomercial licensed documentation. + ------------------------------------------------------------------- Wed Apr 24 11:59:27 UTC 2019 - pgajdos@suse.com diff --git a/python-plaster.spec b/python-plaster.spec index 8f4d2d5..7be513d 100644 --- a/python-plaster.spec +++ b/python-plaster.spec @@ -24,14 +24,11 @@ Summary: A loader interface around multiple config file formats License: MIT Group: Development/Languages/Python Url: http://docs.pylonsproject.org/projects/plaster/en/latest -Source0: https://files.pythonhosted.org/packages/source/p/plaster/plaster-%{version}.tar.gz -BuildRequires: %{python_module setuptools} +# Wheels lack files with problematic noncommercial license +Source: https://files.pythonhosted.org/packages/py2.py3/p/plaster/plaster-%{version}-py2.py3-none-any.whl +BuildRequires: %{python_module pip} BuildRequires: fdupes BuildRequires: python-rpm-macros -# SECTION test requirements -BuildRequires: %{python_module pytest} -# /SECTION -BuildRoot: %{_tmppath}/%{name}-%{version}-build BuildArch: noarch %python_subpackages @@ -45,22 +42,18 @@ implemented in a pluggable loader which can be registered via an entrypoint. %prep -%setup -q -n plaster-%{version} -rm -rf src/plaster.egg-info +%setup -q -c -T %build -%python_build +# Not Needed %install -%python_install -%python_expand %fdupes -s %{buildroot}%{$python_sitelib} - -%check -%pytest +%python_expand pip%{$python_bin_suffix} install --root=%{buildroot} %{SOURCE0} +%python_expand %fdupes %{buildroot}%{$python_sitelib} %files %{python_files} -%defattr(-,root,root,-) -%doc -%{python_sitelib}/* +%license %{python_sitelib}/plaster-%{version}.dist-info/LICENSE.txt +%{python_sitelib}/plaster-%{version}.dist-info/ +%{python_sitelib}/plaster/ %changelog