From 5a972cd0d0e0474dff5736814d5080041cecf901 Mon Sep 17 00:00:00 2001 From: lilydjwg Date: Thu, 29 Jun 2023 14:02:20 +0800 Subject: [PATCH] alpm: community repo is gone --- docs/usage.rst | 2 +- nvchecker/__init__.py | 2 +- nvchecker_source/alpm.py | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/docs/usage.rst b/docs/usage.rst index b4ceae0..3690e8c 100644 --- a/docs/usage.rst +++ b/docs/usage.rst @@ -868,7 +868,7 @@ repo Name of the package repository in which the package resides. If not provided, nvchecker will use ``repos`` value, see below. repos - An array of possible repositories in which the package may reside in, nvchecker will use the first repository which contains the package. If not provided, ``core``, ``extra``, ``community`` and ``multilib`` will be used, in that order. + An array of possible repositories in which the package may reside in, nvchecker will use the first repository which contains the package. If not provided, ``core``, ``extra`` and ``multilib`` will be used, in that order. dbpath Path to the ALPM database directory. Default: ``/var/lib/pacman``. You need to update the database yourself. diff --git a/nvchecker/__init__.py b/nvchecker/__init__.py index 00399b3..5b777b8 100644 --- a/nvchecker/__init__.py +++ b/nvchecker/__init__.py @@ -1,4 +1,4 @@ # MIT licensed # Copyright (c) 2013-2023 lilydjwg , et al. -__version__ = '2.12' +__version__ = '2.13dev' diff --git a/nvchecker_source/alpm.py b/nvchecker_source/alpm.py index c31d243..725033d 100644 --- a/nvchecker_source/alpm.py +++ b/nvchecker_source/alpm.py @@ -20,7 +20,7 @@ async def get_version(name, conf, *, cache, **kwargs): repo = conf.get('repo') if repo is None: - repos = conf.get('repos') or ['core', 'extra', 'community', 'multilib'] + repos = conf.get('repos') or ['core', 'extra', 'multilib'] else: repos = [repo]