forked from pool/python-plaster
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
This commit is contained in:
3
plaster-1.0-py2.py3-none-any.whl
Normal file
3
plaster-1.0-py2.py3-none-any.whl
Normal file
@@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:215c921a438b5349931fd7df9a5a11a3572947f20f4bc6dd622ac08f1c3ba249
|
||||
size 14064
|
||||
@@ -1,3 +0,0 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:8351c7c7efdf33084c1de88dd0f422cbe7342534537b553c49b857b12d98c8c3
|
||||
size 29592
|
||||
@@ -1,3 +1,9 @@
|
||||
-------------------------------------------------------------------
|
||||
Sun May 19 23:39:33 UTC 2019 - Todd R <toddrme2178@gmail.com>
|
||||
|
||||
- Switch to wheel, which doesn't have the problematic
|
||||
CC-noncomercial licensed documentation.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Wed Apr 24 11:59:27 UTC 2019 - pgajdos@suse.com
|
||||
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user