]> git.ipfire.org Git - people/arne_f/ipfire-2.x.git/commitdiff
python3-inotify: Update to 0.2.10 and convert to python3
authorAdolf Belka <adolf.belka@ipfire.org>
Thu, 13 May 2021 20:44:30 +0000 (22:44 +0200)
committerMichael Tremer <michael.tremer@ipfire.org>
Fri, 14 May 2021 11:42:06 +0000 (11:42 +0000)
- Update from 0.2.7 to 0.2.10
- Convert from python-inotify to python3-inotify
   make.sh, lfs & rootfiles
- Update rootfiles
- Changelog
  0.2.8: - We now just *skip* the event if not known
    - Implement InotifyTree and InotifyTrees as sub-classes of new BaseTree
      class
    - Made InotifyTree and InotifyTrees sub-classes of new base class
      BaseTree
    - Recursively watch a list of paths/trees
  0.2.9: - Added getter for Inotify object from tree objects
    - Added note to docs about race-conditions. Added small change for
      redundant adds.
    - Slightly reorganized documentation. Updated example.
    - Merge pull request #35 from dsoprea/dustin. Added extensive unit-test
      coverage. Closes all bug requests.
    - Added large amount of unit-test coverage.
       - Now handle rename-specific events.
       - Can now also ignore issues with new directories not existing if
         you're created *and* deleted or renamed a folder since the last
         time events were read.
       - Adjusted requirements for simplicity.
       - Added Python 3 compatibility.
       - Fixed Unicode support.
       - Can now provide `filter_predicate` to event_gen() to allow custom
         loop termination based on events.
       - We'll now terminate the loop when certain events are encountered.
         These events are passed into event_gen() as `terminal_events`. By
         default these are the IN_Q_OVERFLOW and IN_UNMOUNT types.
       - Fixes #28
       - Fixes #23
       - Fixes #22
       - Fixes #19
       - Fixes #16
       - Fixes #15
       - Fixes #5
    - Check presence of both glibc errno and musl libc err
    - Support for musl libc (Alpine Linux)
    - Merge pull request #27 from jessesuen/master. Support for musl libc
      (Alpine Linux)
    - Check presence of both glibc errno and musl libc err
    - Merge pull request #26 from hathcock/hathcock/issue-25. resolves #25,
      list of binary paths can't be logged with existing call
       - Support for musl libc (Alpine Linux)
       - Resolves #25, list of binary paths can't be logged with existing
         call
  0.2.10: - Merge pull request #34 from davidparsson/
            feature/support-moved-directories
      - Support MOVED_FROM and MOVED_TO in BaseTree
    - events: Now log event types from epoll vs data stream.
    - This release implicitly fixed the botched binary package released
      in 0.2.9

Signed-off-by: Adolf Belka <adolf.belka@ipfire.org>
Reviewed-by: Peter Müller <peter.mueller@ipfire.org>
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
config/rootfiles/common/python-inotify [deleted file]
config/rootfiles/common/python3-inotify [new file with mode: 0644]
lfs/python3-inotify [moved from lfs/python-inotify with 96% similarity]
make.sh

diff --git a/config/rootfiles/common/python-inotify b/config/rootfiles/common/python-inotify
deleted file mode 100644 (file)
index 5fc062a..0000000
+++ /dev/null
@@ -1,20 +0,0 @@
-#usr/lib/python2.7/site-packages/inotify
-#usr/lib/python2.7/site-packages/inotify-0.2.7-py2.7.egg-info
-#usr/lib/python2.7/site-packages/inotify-0.2.7-py2.7.egg-info/PKG-INFO
-#usr/lib/python2.7/site-packages/inotify-0.2.7-py2.7.egg-info/SOURCES.txt
-#usr/lib/python2.7/site-packages/inotify-0.2.7-py2.7.egg-info/dependency_links.txt
-#usr/lib/python2.7/site-packages/inotify-0.2.7-py2.7.egg-info/not-zip-safe
-#usr/lib/python2.7/site-packages/inotify-0.2.7-py2.7.egg-info/top_level.txt
-usr/lib/python2.7/site-packages/inotify/__init__.py
-usr/lib/python2.7/site-packages/inotify/__init__.pyc
-usr/lib/python2.7/site-packages/inotify/adapters.py
-usr/lib/python2.7/site-packages/inotify/adapters.pyc
-usr/lib/python2.7/site-packages/inotify/calls.py
-usr/lib/python2.7/site-packages/inotify/calls.pyc
-usr/lib/python2.7/site-packages/inotify/constants.py
-usr/lib/python2.7/site-packages/inotify/constants.pyc
-usr/lib/python2.7/site-packages/inotify/library.py
-usr/lib/python2.7/site-packages/inotify/library.pyc
-#usr/lib/python2.7/site-packages/inotify/resources
-#usr/lib/python2.7/site-packages/inotify/resources/README.rst
-#usr/lib/python2.7/site-packages/inotify/resources/requirements.txt
diff --git a/config/rootfiles/common/python3-inotify b/config/rootfiles/common/python3-inotify
new file mode 100644 (file)
index 0000000..b1fae54
--- /dev/null
@@ -0,0 +1,17 @@
+#usr/lib/python3.8/site-packages/inotify
+#usr/lib/python3.8/site-packages/inotify-0.2.10-py3.8.egg-info
+#usr/lib/python3.8/site-packages/inotify-0.2.10-py3.8.egg-info/PKG-INFO
+#usr/lib/python3.8/site-packages/inotify-0.2.10-py3.8.egg-info/SOURCES.txt
+#usr/lib/python3.8/site-packages/inotify-0.2.10-py3.8.egg-info/dependency_links.txt
+#usr/lib/python3.8/site-packages/inotify-0.2.10-py3.8.egg-info/not-zip-safe
+#usr/lib/python3.8/site-packages/inotify-0.2.10-py3.8.egg-info/requires.txt
+#usr/lib/python3.8/site-packages/inotify-0.2.10-py3.8.egg-info/top_level.txt
+usr/lib/python3.8/site-packages/inotify/__init__.py
+usr/lib/python3.8/site-packages/inotify/adapters.py
+usr/lib/python3.8/site-packages/inotify/calls.py
+usr/lib/python3.8/site-packages/inotify/constants.py
+usr/lib/python3.8/site-packages/inotify/library.py
+#usr/lib/python3.8/site-packages/inotify/resources
+#usr/lib/python3.8/site-packages/inotify/resources/README.rst
+#usr/lib/python3.8/site-packages/inotify/resources/requirements.txt
+usr/lib/python3.8/site-packages/inotify/test_support.py
similarity index 96%
rename from lfs/python-inotify
rename to lfs/python3-inotify
index 93775c5951d2fa213eac495b3721296ea9a36dc2..a1f9e45efa49cf977114e736e8ad77be08509a57 100644 (file)
@@ -24,7 +24,7 @@
 
 include Config
 
-VER        = 0.2.7
+VER        = 0.2.10
 
 THISAPP    = inotify-$(VER)
 DL_FILE    = $(THISAPP).tar.gz
@@ -40,7 +40,7 @@ objects = $(DL_FILE)
 
 $(DL_FILE) = $(DL_FROM)/$(DL_FILE)
 
-$(DL_FILE)_MD5 = ced4c0469f9fd64170d9d907e4aec208
+$(DL_FILE)_MD5 = 33c7ee4a7cde60036a2d2a1a55c7c7c8
 
 install : $(TARGET)
 
@@ -70,6 +70,6 @@ $(subst %,%_MD5,$(objects)) :
 $(TARGET) : $(patsubst %,$(DIR_DL)/%,$(objects))
        @$(PREBUILD)
        @rm -rf $(DIR_APP) && cd $(DIR_SRC) && tar zxf $(DIR_DL)/$(DL_FILE)
-       cd $(DIR_APP) && python setup.py install --root=/
+       cd $(DIR_APP) && python3 setup.py install --root=/
        @rm -rf $(DIR_APP)
        @$(POSTBUILD)
diff --git a/make.sh b/make.sh
index 07e84a080623b4a35858b17214b615b3508aed76..d0f7515c7a1e4621ce00241ca8bbcff37480d9bd 100755 (executable)
--- a/make.sh
+++ b/make.sh
@@ -1345,7 +1345,7 @@ buildipfire() {
   lfsmake2 Crypt-PasswdMD5
   lfsmake2 Net-Telnet
   lfsmake2 python-setuptools
-  lfsmake2 python-inotify
+  lfsmake2 python3-inotify
   lfsmake2 python-docutils
   lfsmake2 python-daemon
   lfsmake2 python-ipaddress