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:
parent
eb68b0461d
commit
fcbca1392e
3
hupper-1.6.1-py2.py3-none-any.whl
Normal file
3
hupper-1.6.1-py2.py3-none-any.whl
Normal file
@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:cb33b8f1de73a3566f4bd7decc620d0c6de7d7da9cdf176b6ad310fe037d6106
|
||||
size 23475
|
@ -1,3 +0,0 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:fe8febd68cec7fbed174fcbb0b42c427f96c8a7471c1cd4999fc698dd8dc6c34
|
||||
size 39773
|
@ -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
|
||||
|
||||
|
@ -24,19 +24,16 @@ Summary: An in-process file monitor
|
||||
License: MIT
|
||||
Group: Development/Languages/Python
|
||||
URL: https://pylonsproject.org/
|
||||
Source0: https://files.pythonhosted.org/packages/source/h/hupper/hupper-%{version}.tar.gz
|
||||
BuildRequires: %{python_module setuptools}
|
||||
# Wheels lack files with problematic noncommercial license
|
||||
Source: https://files.pythonhosted.org/packages/py2.py3/h/hupper/hupper-%{version}-py2.py3-none-any.whl
|
||||
BuildRequires: %{python_module pip}
|
||||
BuildRequires: fdupes
|
||||
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(post): update-alternatives
|
||||
Requires(postun): update-alternatives
|
||||
BuildArch: noarch
|
||||
|
||||
%python_subpackages
|
||||
|
||||
%description
|
||||
@ -45,15 +42,14 @@ imported Python files in sys.modules as well as custom paths.
|
||||
When files are changed the process is restarted.
|
||||
|
||||
%prep
|
||||
%setup -q -n hupper-%{version}
|
||||
rm -rf src/hupper.egg-info
|
||||
%setup -q -c -T
|
||||
|
||||
%build
|
||||
%python_build
|
||||
# Not Needed
|
||||
|
||||
%install
|
||||
%python_install
|
||||
%python_expand %fdupes -s %{buildroot}/%{$python_sitelib}
|
||||
%python_expand pip%{$python_bin_suffix} install --root=%{buildroot} %{SOURCE0}
|
||||
%python_expand %fdupes %{buildroot}%{$python_sitelib}
|
||||
|
||||
%python_clone -a %{buildroot}%{_bindir}/hupper
|
||||
|
||||
@ -63,13 +59,11 @@ rm -rf src/hupper.egg-info
|
||||
%postun
|
||||
%python_uninstall_alternative hupper
|
||||
|
||||
%check
|
||||
%pytest
|
||||
|
||||
%files %{python_files}
|
||||
%license LICENSE.txt
|
||||
%doc CHANGES.rst CONTRIBUTING.rst README.rst
|
||||
%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
|
||||
|
Loading…
x
Reference in New Issue
Block a user