[packages/python3-inotify-simple] Initial
arekm
arekm at pld-linux.org
Mon Apr 20 18:24:46 CEST 2026
commit dc533e85a296b702fc54b06cb96e2e17c14ba311
Author: Arkadiusz Miśkiewicz <arekm at maven.pl>
Date: Mon Apr 20 18:24:26 2026 +0200
Initial
python3-inotify-simple.spec | 53 +++++++++++++++++++++++++++++++++++++++++++++
1 file changed, 53 insertions(+)
---
diff --git a/python3-inotify-simple.spec b/python3-inotify-simple.spec
new file mode 100644
index 0000000..bc6b6bb
--- /dev/null
+++ b/python3-inotify-simple.spec
@@ -0,0 +1,53 @@
+Summary: Simple Python wrapper around inotify
+Summary(pl.UTF-8): Prosta pythonowa nakładka na inotify
+Name: python3-inotify-simple
+Version: 2.0.1
+Release: 1
+License: BSD
+Group: Libraries/Python
+#Source0Download: https://pypi.org/simple/inotify-simple/
+Source0: https://files.pythonhosted.org/packages/source/i/inotify-simple/inotify_simple-%{version}.tar.gz
+# Source0-md5: 943fcbf1a7c82465ec7eaa77b40eff06
+URL: https://pypi.org/project/inotify-simple/
+BuildRequires: python3-build
+BuildRequires: python3-installer
+BuildRequires: python3-modules >= 1:3.6
+BuildRequires: python3-setuptools
+BuildRequires: rpm-pythonprov
+BuildRequires: rpmbuild(macros) >= 2.044
+Requires: python3-modules >= 1:3.6
+BuildArch: noarch
+BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%description
+A simple Python wrapper around inotify. No fancy bells and whistles,
+just a literal wrapper with ctypes. Under 100 lines of code. inotify's
+features are very nicely exposed by the Linux kernel API, so a literal
+wrapper is very usable as-is.
+
+%description -l pl.UTF-8
+Prosta pythonowa nakładka na inotify. Bez żadnych dodatków, po prostu
+dosłowna nakładka wykorzystująca ctypes. Poniżej 100 linii kodu.
+Funkcjonalność inotify jest bardzo ładnie udostępniona przez API
+jądra Linuksa, więc dosłowna nakładka jest bezpośrednio użyteczna.
+
+%prep
+%setup -q -n inotify_simple-%{version}
+
+%build
+%py3_build_pyproject
+
+%install
+rm -rf $RPM_BUILD_ROOT
+
+%py3_install_pyproject
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%files
+%defattr(644,root,root,755)
+%doc LICENSE README.md
+%{py3_sitescriptdir}/inotify_simple.py
+%{py3_sitescriptdir}/__pycache__/inotify_simple.cpython-*.py[co]
+%{py3_sitescriptdir}/inotify_simple-%{version}.dist-info
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/python3-inotify-simple.git/commitdiff/dc533e85a296b702fc54b06cb96e2e17c14ba311
More information about the pld-cvs-commit
mailing list