utils module

Author:Chris Warrick <chris@chriswarrick.com>
Copyright:© 2011-2017, Chris Warrick.
License:BSD (see /LICENSE or Appendix B.)
Date:2017-01-08
Version:4.2.10

New in version 2.1.0.0.

Changed in version 3.0.0: Class removed, its methods became module-level functions

Common global utilities, used mainly for AUR data access.

Copyright:© 2011-2017, Chris Warrick.
License:BSD (see /LICENSE).
pkgbuilder.utils.info(pkgnames)[source]

Return info about AUR packages.

Changed in version 3.0.0.

pkgbuilder.utils.search(pkgname, search_by='name-desc')[source]

Search for AUR packages.

Changed in version 3.0.0.

pkgbuilder.utils.msearch(maintainer)[source]

Search for AUR packages maintained by a specified user.

New in version 3.0.0.

Output/return a package representation.

Based on pacman -Ss.

Changed in version 4.0.0.

pkgbuilder.utils.print_package_info(pkgs, cachemode=False)[source]

Output/return a package representation.

Based on pacman -Ss.

Changed in version 3.3.0.