Sync from SUSE:ALP:Source:Standard:1.0 saltbundlepy-pyinotify revision 7f6f37eaf1d3e8d152865031821d3b22

This commit is contained in:
Adrian Schröter 2024-07-15 12:57:13 +02:00
commit b1c95275a3
4 changed files with 179 additions and 0 deletions

23
.gitattributes vendored Normal file
View File

@ -0,0 +1,23 @@
## Default LFS
*.7z filter=lfs diff=lfs merge=lfs -text
*.bsp filter=lfs diff=lfs merge=lfs -text
*.bz2 filter=lfs diff=lfs merge=lfs -text
*.gem filter=lfs diff=lfs merge=lfs -text
*.gz filter=lfs diff=lfs merge=lfs -text
*.jar filter=lfs diff=lfs merge=lfs -text
*.lz filter=lfs diff=lfs merge=lfs -text
*.lzma filter=lfs diff=lfs merge=lfs -text
*.obscpio filter=lfs diff=lfs merge=lfs -text
*.oxt filter=lfs diff=lfs merge=lfs -text
*.pdf filter=lfs diff=lfs merge=lfs -text
*.png filter=lfs diff=lfs merge=lfs -text
*.rpm filter=lfs diff=lfs merge=lfs -text
*.tbz filter=lfs diff=lfs merge=lfs -text
*.tbz2 filter=lfs diff=lfs merge=lfs -text
*.tgz filter=lfs diff=lfs merge=lfs -text
*.ttf filter=lfs diff=lfs merge=lfs -text
*.txz filter=lfs diff=lfs merge=lfs -text
*.whl filter=lfs diff=lfs merge=lfs -text
*.xz filter=lfs diff=lfs merge=lfs -text
*.zip filter=lfs diff=lfs merge=lfs -text
*.zst filter=lfs diff=lfs merge=lfs -text

BIN
pyinotify-0.9.6.tar.gz (Stored with Git LFS) Normal file

Binary file not shown.

View File

@ -0,0 +1,78 @@
-------------------------------------------------------------------
Mon Apr 4 12:55:22 UTC 2022 - Victor Zhestkov <victor.zhestkov@suse.com>
- Strictly require Python 3.10 with saltbundlepy requrement
-------------------------------------------------------------------
Thu Oct 11 13:04:04 UTC 2018 - jgonzalez@suse.com
- salt beacon needs python-pyinotify at SLE15 (bsc#1111493)
-------------------------------------------------------------------
Thu Aug 24 13:50:56 UTC 2017 - jmatejek@suse.com
- singlespec auto-conversion
-------------------------------------------------------------------
Mon Jan 4 14:35:03 UTC 2016 - dmueller@suse.com
- update to 0.9.6:
* fixes for sysctl compatibility issues
-------------------------------------------------------------------
Mon May 11 16:07:10 UTC 2015 - benoit.monin@gmx.fr
- update to version 0.9.5:
* no changelog available
- point the source URL to pypi
- remove unwanted shebang in pyinotify.py
-------------------------------------------------------------------
Fri Jan 18 14:22:13 UTC 2013 - saschpe@suse.de
- Avoid using github source link to please factory-auto
-------------------------------------------------------------------
Sun Jan 13 17:11:31 UTC 2013 - p.drouand@gmail.com
- Initial python3 support
-------------------------------------------------------------------
Sun Jan 13 17:10:46 UTC 2013 - p.drouand@gmail.com
- Update to 0.9.4 version
- Cleanup spec file
-------------------------------------------------------------------
Tue Feb 21 23:56:30 UTC 2012 - poeml@cmdline.net
- spec file boiler plate update (by the system, or someone)
-------------------------------------------------------------------
Tue Nov 2 13:27:57 UTC 2010 - prusnak@opensuse.org
- add pyinotify wrapper
- fix license in spec file
-------------------------------------------------------------------
Thu Oct 28 18:33:27 UTC 2010 - prusnak@opensuse.org
- updated to 0.9.1
- cleanup spec file
-------------------------------------------------------------------
Mon Oct 11 22:29:37 UTC 2010 - pascal.bleser@opensuse.org
- update to 0.9.0
-------------------------------------------------------------------
Tue Jun 17 21:15:13 CEST 2008 - poeml@suse.de
- update to 0.7.1
-------------------------------------------------------------------
Fri Sep 15 11:42:54 CEST 2006 - poeml@suse.de
- create package (version 0.6.2)

View File

@ -0,0 +1,75 @@
#
# spec file for package saltbundlepy-pyinotify
#
# Copyright (c) 2021 SUSE LLC
#
# 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/
#
%{?!saltbundlepy_module:%define saltbundlepy_module() saltbundlepy-%{**}}
%define pythons saltbundlepy
# Disable python bytecompile for all distros
# It's called explicitly in the spec
%global __brp_python_bytecompile %{nil}
Name: saltbundlepy-pyinotify
Version: 0.9.6
Release: 0
Summary: Python module for watching filesystems changes
License: MIT
Group: Development/Libraries/Python
URL: http://github.com/seb-m/pyinotify
Source: https://files.pythonhosted.org/packages/source/p/pyinotify/pyinotify-%{version}.tar.gz
BuildRequires: %{saltbundlepy_module devel >= 3.10}
BuildRequires: %{saltbundlepy_module setuptools}
BuildRequires: saltbundlepy-rpm-macros
BuildArch: noarch
Requires: saltbundlepy-base
Requires(post): update-alternatives
Requires(postun): update-alternatives
%python_subpackages
%description
pyinotify is a Python module for watching filesystems changes. By its design
pyinotify can be used for any kind of fs monitoring.
pyinotify relies on a recent Linux Kernel feature (merged in kernel 2.6.13)
called inotify. inotify is an event-driven notifier, its notifications are
exported from kernel space to user space. The raw interface of inotify is
compounded of three system calls. pyinotify binds these system calls and
provides an implementation on top of them offering a generic and abstract way
to use inotify with Python. Pyinotify doesn't requires much detailed knowledge
of inotify. Moreover, it only needs few statements for initializing, watching,
handling (eventually trough a new separate thread), and processing events
notifications through subclassing. The only things to know is the path of items
to watch, the kind of events to monitor and the actions to execute on these
notifications.
%prep
%setup -q -n pyinotify-%{version}
sed -i '/^#!/ d' python3/pyinotify.py
%build
%python_build
%install
%python_install
%files %{python_files}
%defattr(-,root,root)
%doc ACKS COPYING README.md
%doc old/ChangeLog old/NEWS
%{python_sitelib}/*
%changelog