Accepting request 704090 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/704090
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-hupper?expand=0&rev=10
This commit is contained in:
Todd R 2019-05-19 23:51:29 +00:00 committed by Git OBS Bridge
parent eb68b0461d
commit fcbca1392e
4 changed files with 21 additions and 21 deletions

View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:cb33b8f1de73a3566f4bd7decc620d0c6de7d7da9cdf176b6ad310fe037d6106
size 23475

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:fe8febd68cec7fbed174fcbb0b42c427f96c8a7471c1cd4999fc698dd8dc6c34
size 39773

View File

@ -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.
------------------------------------------------------------------- -------------------------------------------------------------------
Tue May 7 12:14:04 UTC 2019 - pgajdos@suse.com Tue May 7 12:14:04 UTC 2019 - pgajdos@suse.com

View File

@ -24,19 +24,16 @@ Summary: An in-process file monitor
License: MIT License: MIT
Group: Development/Languages/Python Group: Development/Languages/Python
URL: https://pylonsproject.org/ URL: https://pylonsproject.org/
Source0: https://files.pythonhosted.org/packages/source/h/hupper/hupper-%{version}.tar.gz # Wheels lack files with problematic noncommercial license
BuildRequires: %{python_module setuptools} Source: https://files.pythonhosted.org/packages/py2.py3/h/hupper/hupper-%{version}-py2.py3-none-any.whl
BuildRequires: %{python_module pip}
BuildRequires: fdupes BuildRequires: fdupes
BuildRequires: python-rpm-macros BuildRequires: python-rpm-macros
# SECTION test requirements
BuildRequires: %{python_module pytest-cov}
BuildRequires: %{python_module pytest}
BuildRequires: %{python_module watchdog}
# /SECTION
Requires: python-watchdog Requires: python-watchdog
Requires(post): update-alternatives Requires(post): update-alternatives
Requires(postun): update-alternatives Requires(postun): update-alternatives
BuildArch: noarch BuildArch: noarch
%python_subpackages %python_subpackages
%description %description
@ -45,15 +42,14 @@ imported Python files in sys.modules as well as custom paths.
When files are changed the process is restarted. When files are changed the process is restarted.
%prep %prep
%setup -q -n hupper-%{version} %setup -q -c -T
rm -rf src/hupper.egg-info
%build %build
%python_build # Not Needed
%install %install
%python_install %python_expand pip%{$python_bin_suffix} install --root=%{buildroot} %{SOURCE0}
%python_expand %fdupes -s %{buildroot}/%{$python_sitelib} %python_expand %fdupes %{buildroot}%{$python_sitelib}
%python_clone -a %{buildroot}%{_bindir}/hupper %python_clone -a %{buildroot}%{_bindir}/hupper
@ -63,13 +59,11 @@ rm -rf src/hupper.egg-info
%postun %postun
%python_uninstall_alternative hupper %python_uninstall_alternative hupper
%check
%pytest
%files %{python_files} %files %{python_files}
%license LICENSE.txt
%doc CHANGES.rst CONTRIBUTING.rst README.rst
%python_alternative %{_bindir}/hupper %python_alternative %{_bindir}/hupper
%{python_sitelib}/* %license %{python_sitelib}/hupper-%{version}.dist-info/LICENSE.txt
%{python_sitelib}/hupper-%{version}.dist-info/
%{python_sitelib}/hupper/
%changelog %changelog