pbget

2016-04-05 00:03 UTC
  • Xyne

Metadata

Description:

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

Latest Version:

2016.4.4.1

Architecture:

  • any

Dependencies:

Arch Repositories:

  • [xyne-any]
  • [xyne-i686]
  • [xyne-x86_64]

AUR Page:

pbget

Arch Forum Thread:

65276

Tags:

Help Message

$ pbget --help

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

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

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

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

optional dependencies:
rsync                 Required for retrieving ABS files.

CHANGELOG

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.ca | sed 's/\./@/'
Feeds
Blog News
Validation
XHTML 1.0 Strict CSS level 3 Atom 1.0