15
0
forked from pool/python-hupper

Accepting request 704091 from devel:languages:python

OBS-URL: https://build.opensuse.org/request/show/704091
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-hupper?expand=0&rev=3
This commit is contained in:
2019-05-20 11:18:17 +00:00
committed by Git OBS Bridge
7 changed files with 30 additions and 90 deletions

View File

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

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 @@
#!/bin/sh
cp python-hupper.changes python-hupper-doc.changes

View File

@@ -1,9 +0,0 @@
-------------------------------------------------------------------
Tue Dec 4 13:07:06 UTC 2018 - Matej Cepl <mcepl@suse.com>
- Remove superfluous devel dependency for noarch package
-------------------------------------------------------------------
Fri Jul 14 17:41:31 UTC 2017 - aloisio@gmx.com
- Initial package (1.0)

View File

@@ -1,63 +0,0 @@
#
# spec file for package python-hupper-doc
#
# Copyright (c) 2018 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
# upon. The license for this file, and modifications and additions to the
# file, is the same license as for the pristine package itself (unless the
# license for the pristine package is not an Open Source License, in which
# case the license is the MIT License). An "Open Source License" is a
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.
# Please submit bugfixes or comments via https://bugs.opensuse.org/
#
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
Name: python-hupper-doc
Version: 1.0
Release: 0
Summary: Documentation for python-hupper
License: MIT
Group: Documentation/HTML
Url: https://pylonsproject.org/
Source0: https://files.pythonhosted.org/packages/source/h/hupper/hupper-%{version}.tar.gz
BuildRequires: %{python_module hupper = %{version}}
BuildRequires: %{python_module setuptools}
# SECTION documentation requirements
BuildRequires: python3-Sphinx
BuildRequires: python3-pylons-sphinx-themes
# /SECTION
# SECTION test requirements
BuildRequires: %{python_module pytest-cov}
BuildRequires: %{python_module pytest}
BuildRequires: %{python_module watchdog}
# /SECTION
BuildRequires: python-rpm-macros
Provides: %{python_module hupper-doc = %{version}}
BuildArch: noarch
%description
This package contains documentation files for python-hupper.
%prep
%setup -q -n hupper-%{version}
%build
%{_python_use_flavor python3}
%__python3 setup.py build_sphinx && rm build/sphinx/html/.buildinfo
%install
# nothing to do
%check
%python_exec %{_bindir}/py.test
%files
%defattr(-,root,root,-)
%doc build/sphinx/html
%changelog

View File

@@ -1,3 +1,16 @@
-------------------------------------------------------------------
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
- version update to 1.6.1
* lot of changes, see CHANGES.rst
- remove -doc
-------------------------------------------------------------------
Tue Dec 4 13:07:06 UTC 2018 - Matej Cepl <mcepl@suse.com>

View File

@@ -1,7 +1,7 @@
#
# spec file for package python-hupper
#
# Copyright (c) 2018 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
@@ -18,20 +18,22 @@
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
Name: python-hupper
Version: 1.0
Version: 1.6.1
Release: 0
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
Requires: python-watchdog
Requires(post): update-alternatives
Requires(postun): update-alternatives
BuildArch: noarch
%python_subpackages
%description
@@ -40,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
@@ -59,9 +60,10 @@ rm -rf src/hupper.egg-info
%python_uninstall_alternative hupper
%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