Make sure the build system honors C_INCLUDE_PATH and LIBRARY_PATH when
looking for headers and libraries.
--- Python-2.7.10/setup.py 2015-10-07 18:33:18.125153186 +0200
+++ Python-2.7.10/setup.py 2015-10-07 18:33:47.497347552 +0200
@@ -526,6 +526,14 @@ class PyBuildExt(build_ext):
inc_dirs += ['/system/include', '/atheos/autolnk/include']
inc_dirs += os.getenv('C_INCLUDE_PATH', '').split(os.pathsep)
+ # Always honor these variables.
+ if not cross_compiling:
+ lib_dirs += os.getenv('LIBRARY_PATH', '').split(os.pathsep)
+ inc_dirs += os.getenv('C_INCLUDE_PATH', '').split(os.pathsep)
+ else:
+ lib_dirs = os.getenv('CROSS_LIBRARY_PATH', '').split(os.pathsep)
+ inc_dirs = os.getenv('CROSS_CPATH', '').split(os.pathsep)
+
# OSF/1 and Unixware have some stuff in /usr/ccs/lib (like -ldb)
if host_platform in ['osf1', 'unixware7', 'openunix8']:
lib_dirs += ['/usr/ccs/lib']
d Guix
|
Age | Commit message (Collapse) | Author |
|
* gnu/packages/sphinx.scm (python-sphinx-issues): New variable.
Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
|
|
docutils>=0.19 broke the tests, which upstream fixed in a newer
commit. Cherry-pick it.
* gnu/packages/patches/python-sphinx-prompt-docutils-0.19.patch: New file.
* gnu/local.mk (dist_patch_DATA): Register it.
* gnu/packages/sphinx.scm (python-sphinx-prompt)[origin]: Use it.
Change-Id: I597387a35e6a1da01063b4812e0f919788a13b54
|
|
* gnu/packages/sphinx.scm (python-sphinx-gallery): Update to 0.14.0.
[build-system]: Use pyproject-build-system.
[arguments]: Remove custom phases; add custom build phase
'delete-webp-example; move test flags to #:test-flags.
[propagated-inputs]: Add python-jupyterlite-sphinx.
Change-Id: I58f4b952fe5a2bf942d77813a8a2eeef2e4750b6
|