Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 277417 Details for
Bug 344231
dev-python/gnome-python-extras-base: Checking for Python Library Path is horribly inefficient. (uses find /usr/ name libpython)
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
pkg-config wrapper
pkg-config (text/plain), 1008 bytes, created by
Alexandre Rostovtsev (RETIRED)
on 2011-06-17 21:53:27 UTC
(
hide
)
Description:
pkg-config wrapper
Filename:
MIME Type:
Creator:
Alexandre Rostovtsev (RETIRED)
Created:
2011-06-17 21:53:27 UTC
Size:
1008 bytes
patch
obsolete
>#!/bin/bash > >pcwrapdir="${WORKDIR}/tmp" >pcname="${EPYTHON/python/python-}" > >for arg in "$@" ; do > if [[ ${arg} = "python" ]] ; then > args=( ${args[@]-} "${pcname}" ) > else > args=( ${args[@]-} "${arg}" ) > fi >done > ># remove wrapper dir from PATH to prevent wrapper from recursively calling itself >export PATH=${PATH//${pcwrapdir}/} >export PKG_CONFIG_PATH="${PKG_CONFIG_PATH}:${pcwrapdir}" > >if ! pkg-config --exists ${pcname} &> /dev/null ; then > ${EPYTHON} - > "${pcwrapdir}/${pcname}.pc" << EOF >from distutils.sysconfig import * > >print "prefix=%s" % PREFIX >print "exec_prefix=%s" % EXEC_PREFIX >print "libdir=%s" % get_config_var('LIBDIR') >print "includedir=%s" % get_config_var('INCLUDEDIR') >print "Name: Python" >print "Description: Python library" >print "Requires: " >print "Version: %s" % get_config_var('VERSION') >print "Libs.private: %s" % get_config_var('LIBS') >print "Libs: -L\${libdir} -lpython%s" % get_config_var('VERSION') >print "Cflags: -I%s" % get_python_inc() >EOF >fi > >exec pkg-config ${args[@]}
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Raw
Actions:
View
Attachments on
bug 344231
:
277417
|
277419
|
277639
|
277725
|
279157
|
279159