remhind: rebuild with python3-xdg-base-dirs, without python3-inotify
This commit is contained in:
parent
dfa03ae75f
commit
166ca8ec30
|
@ -0,0 +1,12 @@
|
|||
Despite listing pyinotify as a dependency, it isn't actually referenced anywhere.
|
||||
|
||||
--- ./setup.cfg.orig 2023-10-10 22:07:11.502935586 -0400
|
||||
+++ ./setup.cfg 2023-10-10 22:08:15.522236184 -0400
|
||||
@@ -23,7 +23,6 @@
|
||||
aionotify
|
||||
icalendar
|
||||
python-dateutil
|
||||
- pyinotify
|
||||
PyGObject
|
||||
toml
|
||||
tzlocal
|
|
@ -0,0 +1,36 @@
|
|||
diff -ur remhind-0.1.1.orig/remhind/__main__.py remhind-0.1.1/remhind/__main__.py
|
||||
--- remhind-0.1.1.orig/remhind/__main__.py 2023-10-10 21:58:25.792467164 -0400
|
||||
+++ remhind-0.1.1/remhind/__main__.py 2023-10-10 22:00:58.599184654 -0400
|
||||
@@ -5,7 +5,7 @@
|
||||
|
||||
import gi
|
||||
import toml
|
||||
-from xdg import XDG_CONFIG_HOME, XDG_CACHE_HOME
|
||||
+from xdg_base_dirs import xdg_config_home, xdg_cache_home
|
||||
|
||||
from .monitor import monitor_calendars
|
||||
from .events import check_events, CalendarStore
|
||||
@@ -33,9 +33,9 @@
|
||||
def main():
|
||||
parser = argparse.ArgumentParser(description="remind event from vdirs")
|
||||
parser.add_argument('-c', '--config', type=pathlib.Path,
|
||||
- default=XDG_CONFIG_HOME / 'remhind' / 'config')
|
||||
+ default=xdg_config_home() / 'remhind' / 'config')
|
||||
parser.add_argument('-d', '--database', type=pathlib.Path,
|
||||
- default=XDG_CACHE_HOME / 'remhind.db')
|
||||
+ default=xdg_cache_home() / 'remhind.db')
|
||||
parser.add_argument('-v', '--verbose', action='count', default=0)
|
||||
|
||||
asyncio.run(monitor_file_events(parser.parse_args()))
|
||||
diff -ur remhind-0.1.1.orig/setup.cfg remhind-0.1.1/setup.cfg
|
||||
--- remhind-0.1.1.orig/setup.cfg 2023-10-10 21:58:25.793467169 -0400
|
||||
+++ remhind-0.1.1/setup.cfg 2023-10-10 22:01:05.341216310 -0400
|
||||
@@ -27,7 +27,7 @@
|
||||
PyGObject
|
||||
toml
|
||||
tzlocal
|
||||
- xdg
|
||||
+ xdg-base-dirs
|
||||
|
||||
[options.entry_points]
|
||||
console-scripts =
|
|
@ -1,11 +1,11 @@
|
|||
# Template file for 'remhind'
|
||||
pkgname=remhind
|
||||
version=0.1.1
|
||||
revision=6
|
||||
revision=7
|
||||
build_style=python3-module
|
||||
hostmakedepends="python3-setuptools python3-gobject-devel python3-cairo-devel"
|
||||
depends="python3-icalendar python3-dateutil python3-gobject python3-toml
|
||||
python3-tzlocal python3-xdg-variables python3-inotify python3-aionotify libnotify"
|
||||
python3-tzlocal python3-xdg-base-dirs python3-aionotify libnotify"
|
||||
checkdepends="${depends} python3-freezegun python3-pytest-xdist"
|
||||
short_desc="Notification daemon of events stored in directories"
|
||||
maintainer="Stacy Harper <contact@stacyharper.net>"
|
||||
|
|
Loading…
Reference in New Issue