mirror of
https://github.com/spalencsar/bearhub.git
synced 2026-07-06 22:54:16 +02:00
AUR bearhub: fix stale source cache collision (pkgrel=10)
Use tag-specific tarball name bearhub-0.10.7-bearhub.6.tar.gz so makepkg and AUR helpers do not reuse an outdated bearhub-0.10.7.tar.gz from cache. Ignore makepkg artifacts under packaging/aur/.
This commit is contained in:
@@ -1,22 +0,0 @@
|
||||
import os
|
||||
from pathlib import Path
|
||||
|
||||
from bauh.api import user
|
||||
from bauh.api.paths import CONFIG_DIR
|
||||
from bauh.commons import resource
|
||||
from bauh.commons.version_util import map_str_version
|
||||
|
||||
ROOT_DIR = os.path.dirname(os.path.abspath(__file__))
|
||||
CONFIG_FILE = f'{CONFIG_DIR}/flatpak.yml'
|
||||
FLATPAK_CONFIG_DIR = f'{CONFIG_DIR}/flatpak'
|
||||
UPDATES_IGNORED_FILE = f'{FLATPAK_CONFIG_DIR}/updates_ignored.txt'
|
||||
EXPORTS_PATH = '/usr/share/flatpak/exports/share' if user.is_root() else f'{Path.home()}/.local/share/flatpak/exports/share'
|
||||
VERSION_1_2 = map_str_version("1.2")
|
||||
VERSION_1_3 = map_str_version("1.3")
|
||||
VERSION_1_4 = map_str_version("1.4")
|
||||
VERSION_1_5 = map_str_version("1.5")
|
||||
VERSION_1_12 = map_str_version("1.12")
|
||||
|
||||
|
||||
def get_icon_path() -> str:
|
||||
return resource.get_path('img/flatpak.svg', ROOT_DIR)
|
||||
Reference in New Issue
Block a user