# Buildsheet autogenerated by ravenadm tool -- Do not edit. NAMEBASE= python-pkgconfig VERSION= 1.5.5 KEYWORDS= python VARIANTS= v11 v12 SDESC[v11]= Interface Python with pkg-config (3.11) SDESC[v12]= Interface Python with pkg-config (3.12) HOMEPAGE= https://github.com/matze/pkgconfig CONTACT= Python_Automaton[python@ironwolf.systems] DOWNLOAD_GROUPS= main SITES[main]= PYPIWHL/32/af/89487c7bbf433f4079044f3dc32f9a9f887597fe04614a37a292e373e16b DISTFILE[1]= pkgconfig-1.5.5-py3-none-any.whl:main DF_INDEX= 1 SPKGS[v11]= single SPKGS[v12]= single OPTIONS_AVAILABLE= PY311 PY312 OPTIONS_STANDARD= none VOPTS[v11]= PY311=ON PY312=OFF VOPTS[v12]= PY311=OFF PY312=ON USES= pkgconfig:buildrun DISTNAME= pkgconfig-1.5.5.dist-info GENERATED= yes [PY311].USES_ON= python:v11,wheel [PY312].USES_ON= python:v12,wheel [FILE:2210:descriptions/desc.single] pkgconfig ========= pkgconfig is a Python module to interface with the ``pkg-config`` command line tool for Python 3.3+. It can be used to - find all pkg-config packages :: >>> packages = pkgconfig.list_all() - check if a package exists :: >>> pkgconfig.exists('glib-2.0') True - check if a package meets certain version requirements :: >>> pkgconfig.installed('glib-2.0', '< 2.26') False - return the version :: >>> pkgconfig.modversion('glib-2.0') '2.56.3' - query CFLAGS and LDFLAGS :: >>> pkgconfig.cflags('glib-2.0') '-I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include' >>> pkgconfig.libs('glib-2.0') '-lglib-2.0' - get all variables defined for a package:: >>> pkgconfig.variables('glib-2.0') {u'exec_prefix': u'/usr'} - parse the output to build extensions with setup.py :: >>> d = pkgconfig.parse('glib-2.0 gtk+-2.0') >>> d['libraries'] [u'gtk+-2.0', u'glib-2.0'] or :: >>> ext = Extension('foo', ['foo.c']) >>> # sets extension attributes as needed >>> pkgconfig.configure_extension(ext, 'glib-2.0 gtk+-2.0') The ``pkgconfig.parse`` function returns a dictonary of lists. The lists returned are accurate representations of the equivalent ``pkg-config`` call's result, both in content and order. If ``pkg-config`` is not on the path, raises EnvironmentError. The pkgconfig module is licensed under the MIT license. Changelog --------- Version 1.5.4 ~~~~~~~~~~~~~ - Adjust pyproject.toml and drop Python 2 support Version 1.5.3 ~~~~~~~~~~~~~ - Add configure_extension API Version 1.5.2 ~~~~~~~~~~~~~ - Update poetry dep - Improve CI Version 1.5.0 ~~~~~~~~~~~~~ - Use poetry instead of setuptools directly - Fix #42: raise exception if package is missing - Fix version parsing for openssl-like version numbers, fixes #32 - Fix #31: expose --modversion - Fix #30: strip whitespace from variable names Version 1.4.0 ~~~~~~~~~~~~~ - Add boolean static keyword to output private libraries as well - Raise original OSError as well Version 1.3.1 ~~~~~~~~~~~~~ - Fix compatibility problems with Python 2.6 Version 1.3.0 [FILE:111:distinfo] d20023bbeb42ee6d428a0fac6e0904631f545985a10cdd71a20aa58bc47a4209 6732 pkgconfig-1.5.5-py3-none-any.whl