diff options
| author | root <root@alpha.trunkmasters.com> | 2026-06-12 11:50:53 -0500 |
|---|---|---|
| committer | root <root@alpha.trunkmasters.com> | 2026-06-12 11:50:53 -0500 |
| commit | 290aebdea65a02557706eaeda477fef0437b6a48 (patch) | |
| tree | f87a939169a508a2e943570501b64cc16b411cda /dev-python/pyinotify | |
| parent | 6783ddcd4b73d9ce586a71770caed352bec93b16 (diff) | |
| download | baldeagleos-repo-290aebdea65a02557706eaeda477fef0437b6a48.tar.gz baldeagleos-repo-290aebdea65a02557706eaeda477fef0437b6a48.tar.xz baldeagleos-repo-290aebdea65a02557706eaeda477fef0437b6a48.zip | |
Adding metadata
Diffstat (limited to 'dev-python/pyinotify')
| -rw-r--r-- | dev-python/pyinotify/Manifest | 1 | ||||
| -rw-r--r-- | dev-python/pyinotify/files/pyinotify-0.9.6-py312.patch | 84 | ||||
| -rw-r--r-- | dev-python/pyinotify/metadata.xml | 9 | ||||
| -rw-r--r-- | dev-python/pyinotify/pyinotify-0.9.6-r2.ebuild | 37 |
4 files changed, 0 insertions, 131 deletions
diff --git a/dev-python/pyinotify/Manifest b/dev-python/pyinotify/Manifest deleted file mode 100644 index 080a2077f0e8..000000000000 --- a/dev-python/pyinotify/Manifest +++ /dev/null @@ -1 +0,0 @@ -DIST pyinotify-0.9.6.tar.gz 60998 BLAKE2B 7fb55cfe5b2c02682b5842d95859a58f218ab591a4eee689b707e804c6fe8cde4cc1fb3dfbf54a044ff743deefa0ee5551bc6e27ca4dda1c608218a6c24597b2 SHA512 b52de43293b06b32236e90b7c33fac061f3095cd7d4aecec89a099d56020db1a85440ab9dcc8b521238c001fc49a1f37d1b16d621bc1acab4d7273aebcaadbc5 diff --git a/dev-python/pyinotify/files/pyinotify-0.9.6-py312.patch b/dev-python/pyinotify/files/pyinotify-0.9.6-py312.patch deleted file mode 100644 index 6f8f65545b8c..000000000000 --- a/dev-python/pyinotify/files/pyinotify-0.9.6-py312.patch +++ /dev/null @@ -1,84 +0,0 @@ -From 478d595a7d086423733e9f5da5edfe9f1df48682 Mon Sep 17 00:00:00 2001 -From: Troy Curtis Jr <troy@troycurtisjr.com> -Date: Thu, 10 Aug 2023 21:51:15 -0400 -Subject: [PATCH] Make asyncore support optional for Python 3. - -Fixes #204. ---- - python3/pyinotify.py | 50 +++++++++++++++++++++++++------------------- - 1 file changed, 28 insertions(+), 22 deletions(-) - -diff --git a/python3/pyinotify.py b/python3/pyinotify.py -index bc24313..f4a5a90 100755 ---- a/python3/pyinotify.py -+++ b/python3/pyinotify.py -@@ -68,7 +68,6 @@ def __init__(self, version): - from datetime import datetime, timedelta - import time - import re --import asyncore - import glob - import locale - import subprocess -@@ -1494,33 +1493,40 @@ def run(self): - self.loop() - - --class AsyncNotifier(asyncore.file_dispatcher, Notifier): -- """ -- This notifier inherits from asyncore.file_dispatcher in order to be able to -- use pyinotify along with the asyncore framework. -+try: -+ import asyncore - -- """ -- def __init__(self, watch_manager, default_proc_fun=None, read_freq=0, -- threshold=0, timeout=None, channel_map=None): -+ class AsyncNotifier(asyncore.file_dispatcher, Notifier): - """ -- Initializes the async notifier. The only additional parameter is -- 'channel_map' which is the optional asyncore private map. See -- Notifier class for the meaning of the others parameters. -+ This notifier inherits from asyncore.file_dispatcher in order to be able to -+ use pyinotify along with the asyncore framework. - - """ -- Notifier.__init__(self, watch_manager, default_proc_fun, read_freq, -- threshold, timeout) -- asyncore.file_dispatcher.__init__(self, self._fd, channel_map) -+ def __init__(self, watch_manager, default_proc_fun=None, read_freq=0, -+ threshold=0, timeout=None, channel_map=None): -+ """ -+ Initializes the async notifier. The only additional parameter is -+ 'channel_map' which is the optional asyncore private map. See -+ Notifier class for the meaning of the others parameters. - -- def handle_read(self): -- """ -- When asyncore tells us we can read from the fd, we proceed processing -- events. This method can be overridden for handling a notification -- differently. -+ """ -+ Notifier.__init__(self, watch_manager, default_proc_fun, read_freq, -+ threshold, timeout) -+ asyncore.file_dispatcher.__init__(self, self._fd, channel_map) - -- """ -- self.read_events() -- self.process_events() -+ def handle_read(self): -+ """ -+ When asyncore tells us we can read from the fd, we proceed processing -+ events. This method can be overridden for handling a notification -+ differently. -+ -+ """ -+ self.read_events() -+ self.process_events() -+except ImportError: -+ # asyncore was removed in Python 3.12, but try the import instead of a -+ # version check in case the compatibility package is installed. -+ pass - - - class TornadoAsyncNotifier(Notifier): diff --git a/dev-python/pyinotify/metadata.xml b/dev-python/pyinotify/metadata.xml deleted file mode 100644 index a91a1b954a63..000000000000 --- a/dev-python/pyinotify/metadata.xml +++ /dev/null @@ -1,9 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<!DOCTYPE pkgmetadata SYSTEM "https://docs.baldeagleos.com/dtd/metadata.dtd"> -<pkgmetadata> - <maintainer type="project"> - <email>core@baldeagleos.com</email> - <name>Development</name> - </maintainer> - <origin>baldeagleos-repo</origin> -</pkgmetadata> diff --git a/dev-python/pyinotify/pyinotify-0.9.6-r2.ebuild b/dev-python/pyinotify/pyinotify-0.9.6-r2.ebuild deleted file mode 100644 index 583c44408ed1..000000000000 --- a/dev-python/pyinotify/pyinotify-0.9.6-r2.ebuild +++ /dev/null @@ -1,37 +0,0 @@ -# Copyright 1999-2026 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -DISTUTILS_USE_PEP517=setuptools -PYTHON_COMPAT=( python3_{13..14} ) -PYTHON_REQ_USE="threads(+)" - -inherit distutils-r1 - -DESCRIPTION="Python module used for monitoring filesystems events" -HOMEPAGE=" - https://pypi.org/project/pyinotify/ - https://github.com/seb-m/pyinotify/ -" -SRC_URI=" - https://seb.dbzteam.org/pub/pyinotify/releases/${P}.tar.gz -" - -LICENSE="MIT" -SLOT="0" -KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~loong ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86" -IUSE="examples" - -PATCHES=( - "${FILESDIR}/${P}-py312.patch" -) - -python_install_all() { - if use examples; then - dodoc -r python3/examples - docompress -x /usr/share/doc/${PF}/examples - fi - - distutils-r1_python_install_all -} |
