1
0

Accepting request 369927 from home:kfreitag:branches:devel:languages:python

- Update to version 0.8.3
  * Event emitters are no longer started on schedule if Observer is 
    not already running.
  Changes from 0.8.0:
  * DirectorySnapshot: methods returning internal stat info replaced 
    by mtime, inode and path methods.
  * DirectorySnapshot: walker_callback parameter deprecated.
  no more changelog available upstream
- Fix py compile mtime issue
- use record filelist feature of setup.py to gather proper filelist

OBS-URL: https://build.opensuse.org/request/show/369927
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-watchdog?expand=0&rev=3
This commit is contained in:
2016-03-14 15:26:02 +00:00
committed by Git OBS Bridge
parent 7931ec63f1
commit 5bc133800a
4 changed files with 32 additions and 16 deletions

View File

@@ -1,3 +1,17 @@
-------------------------------------------------------------------
Fri Mar 11 09:29:58 UTC 2016 - freitag@opensuse.org
- Update to version 0.8.3
* Event emitters are no longer started on schedule if Observer is
not already running.
Changes from 0.8.0:
* DirectorySnapshot: methods returning internal stat info replaced
by mtime, inode and path methods.
* DirectorySnapshot: walker_callback parameter deprecated.
no more changelog available upstream
- Fix py compile mtime issue
- use record filelist feature of setup.py to gather proper filelist
-------------------------------------------------------------------
Mon Jan 14 15:48:45 UTC 2013 - p.drouand@gmail.com

View File

@@ -1,7 +1,7 @@
#
# spec file for package python-watchdog
#
# Copyright (c) 2013 SUSE LINUX Products GmbH, Nuernberg, Germany.
# Copyright (c) 2016 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
@@ -11,12 +11,13 @@
# 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 http://bugs.opensuse.org/
#
Name: python-watchdog
Version: 0.6.0
Version: 0.8.3
Release: 0
Url: http://github.com/gorakhargosh/watchdog
Summary: Filesystem events monitoring
@@ -24,12 +25,12 @@ License: MIT
Group: Development/Languages/Python
Source: http://pypi.python.org/packages/source/w/watchdog/watchdog-%{version}.tar.gz
BuildRoot: %{_tmppath}/%{name}-%{version}-build
BuildRequires: python-devel
BuildRequires: python-Sphinx
Requires: python-argh
Requires: python-pathtools
BuildRequires: python-devel
Requires: python-Brownie
Requires: python-PyYAML
Requires: python-argh
Requires: python-pathtools
%if 0%{?suse_version} && 0%{?suse_version} <= 1110
%{!?python_sitelib: %global python_sitelib %(python -c "from distutils.sysconfig import get_python_lib; print get_python_lib()")}
%else
@@ -41,23 +42,24 @@ Python API and shell utilities to monitor file system events.
%prep
%setup -q -n watchdog-%{version}
# Fix spurious executable permissions
chmod -x README
chmod -x README.rst
%build
python setup.py build
cd docs && make html && rm -r build/html/.buildinfo # Build HTML docs
%install
python setup.py install --prefix=%{_prefix} --root=%{buildroot}
python setup.py install --prefix=%{_prefix} --root=%{buildroot} --record-rpm=INSTALLED_FILES
# remove shebangs from all scripts
find %{buildroot}%{python_sitelib} -name '*.py' \
-exec sed -i -e '1{/^#!/d}' {} \;
# Fix python-bytecode-inconsistent-mtime
pushd %{buildroot}%{python_sitelib}
%py_compile .
popd
%files
%files -f INSTALLED_FILES
%defattr(-,root,root,-)
%doc AUTHORS LICENSE README docs/build/html
%{_bindir}/watchmedo
%{python_sitelib}/*
%doc AUTHORS changelog.rst COPYING LICENSE MANIFEST.in README.rst docs/build/html
%changelog

View File

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

3
watchdog-0.8.3.tar.gz Normal file
View File

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