pbget

2024-05-17 22:37 UTC
  • Xyne

Metadata

Description: Retrieve PKGBUILDs and local source files from Git, ABS and the AUR for makepkg.
Latest Version: 2021.12
Source Code: src/
Architecture:
  • any
Dependencies:
Build Dependencies:
  • python-setuptools
Arch Repositories:
  • [xyne-any]
  • [xyne-i686]
  • [xyne-x86_64]
AUR Page: pbget
Arch Forum Thread: 65276
Tags:

Help Message

$ pbget --help

usage: pbget [-h] [--arch <architecture>] [--aur] [--aur-only] [--clear]
             [--config <path>] [--debug] [--dir <path>]
             [--maintainer <maintainer>] [--no-pull] [--trunk]
             [--resolve-pkgbases] [--testing] [--ttl TTL] [--upgradable]
             [<pkgname> ...]

Retrieve PKGBUILDs and local source files from ABS and the AUR for makepkg.

positional arguments:
  <pkgname>             The source packages to retrieve.

options:
  -h, --help            show this help message and exit
  --arch <architecture>
                        Set the desired package architecture.
  --aur                 Search the AUR. (requires python3-aur)
  --aur-only            Only search the AUR. (requires python3-aur)
  --clear               Clear the ABS Git cache.
  --config <path>       Pacman configuration file. Default: /etc/pacman.conf
  --debug               Display debugging messages.
  --dir <path>          Set the output directory. Default: .
  --maintainer <maintainer>
                        Retrieve all AUR packages from the given maintainer.
                        (implies --aur, requires python3-aur, may be extended
                        to support official packages later)
  --no-pull             Fetch Git sources instead of pulling them.
  --trunk               Retrieve PKGBUILDs from the ABS trunk, which may
                        included PKGBUILDs in testing or staging.
  --resolve-pkgbases    Attempt to resolve package bases. This requires
                        additional remote queries to the archlinux.org server
                        and should only be used when necessary.
  --testing             Search the testing branches of the ABS tree.
  --ttl TTL             The cache time-to-live, in minutes. Default: 5
  --upgradable          Search for all upgradable packages. (requires pyalpm
                        and python3-aur)

CHANGELOG

2021-12-24

  • Change option --pull to --no-pull and pull by default.

2017-05-30

  • Use Git to clone files from the svn2git interface (via changes in python3-xcpf).
  • Added –clear option to remove cached (per-package) ABS Git archives.

2016-04-04

  • Use Git to clone repos from AUR.

2016-01-22

  • Catch OSErrors

2015-12-19

  • Added option to resolve package names to package bases.

2013-12-10

  • Added --maintainer option.

2012-10-26

  • Added Maintainer, NumVotes and LastModified to AUR output.

2012-03-08

  • Rewrote pbget in Python 3 to use the AUR module and pyalpm.
  • The previous Bash version is still included in the source archive as pbget.sh, but it is not installed with the package and it is no longer maintained.
Contact
echo xyne.archlinux.org | sed 's/\./@/'
Validation
XHTML 1.0 Strict CSS level 3 Atom 1.0