Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 279157 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]
[patch]
planner-python-patch.patch
planner-0.14.6-find-python.patch (text/plain), 1.03 KB, created by
Pacho Ramos
on 2011-07-05 12:42:28 UTC
(
hide
)
Description:
planner-python-patch.patch
Filename:
MIME Type:
Creator:
Pacho Ramos
Created:
2011-07-05 12:42:28 UTC
Size:
1.03 KB
patch
obsolete
>--- acinclude.m4.old 2011-07-05 14:33:18.000000000 +0200 >+++ acinclude.m4 2011-07-05 14:34:23.000000000 +0200 >@@ -85,14 +85,8 @@ > > # Check for Python library path > AC_MSG_CHECKING([for Python library path]) >- python_path=`echo $PYTHON | sed "s,/bin.*$,,"` >- for i in "$python_path/lib/python$PYTHON_VERSION/config/" "$python_path/lib/python$PYTHON_VERSION/" "$python_path/lib/python/config/" "$python_path/lib/python/" "$python_path/" ; do >- python_path=`find $i -type f -name libpython$PYTHON_VERSION.* -print | sed "1q"` >- if test -n "$python_path" ; then >- break >- fi >- done >- python_path=`echo $python_path | sed "s,/libpython.*$,,"` >+ python_path=`$PYTHON -c 'import distutils.sysconfig; \python_path=`$PYTHON -c 'import distutils.sysconfig; \ >+ print(distutils.sysconfig.get_python_inc())'` > AC_MSG_RESULT([$python_path]) > if test -z "$python_path" ; then > AC_MSG_ERROR([cannot find Python library path])
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 Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 344231
:
277417
|
277419
|
277639
|
277725
| 279157 |
279159