From e7a069f4c261c42dc1562cd78042dd266abfc2a5fcb26a3dd91bf586305e4413 Mon Sep 17 00:00:00 2001 From: Todd R Date: Mon, 20 May 2019 00:09:33 +0000 Subject: [PATCH] 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