39d0088af8
* Such package names requires at least OpenBSD 6.0. * Rework get_package_state() to use 'pkg_info -Iq inst:' instead of 'pkg_info -e' because it understands the branch syntax. It also means we can get rid of some additional special handling. This was suggested by Marc Espie: http://marc.info/?l=openbsd-tech&m=146659756711614&w=2 * Drop get_current_name() because the use of 'pkg_info -Iq inst:' in get_package_state() means we already have that information available without needing to do custom parsing. This was also necessary because a name such as "postfix%stable" does not in itself contain the version information necessary for the custom parsing. pkg_info -Iq translates such a name to the actual package name seamlessly. * Add support for finding more than one package for the supplied package name which may happen if we only supply a stem. |
||
---|---|---|
.. | ||
__init__.py | ||
apk.py | ||
dnf.py | ||
homebrew.py | ||
homebrew_cask.py | ||
homebrew_tap.py | ||
layman.py | ||
macports.py | ||
openbsd_pkg.py | ||
opkg.py | ||
pacman.py | ||
pkg5.py | ||
pkg5_publisher.py | ||
pkgin.py | ||
pkgng.py | ||
pkgutil.py | ||
portage.py | ||
portinstall.py | ||
slackpkg.py | ||
svr4pkg.py | ||
swdepot.py | ||
urpmi.py | ||
yum_repository.py | ||
zypper.py | ||
zypper_repository.py |