aboutsummaryrefslogtreecommitdiff
path: root/gnu/packages/patches/python-sip-include-dirs.patch
blob: f2ef8fc1b223a50c9f9cef6af7692525cfa0d55e (about) (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
Add an environment variable to python-sip that extends its search
directories for .sip files.

It seems that we cannot easily change the destination folder of these
files though, so this variable must be set on a per-package basis (and
non through search-path).

--- sip/sipbuild/builder.py	2023-03-22 09:06:37.588792878 +0100
+++ sip/sipbuild/builder.py	2023-03-22 09:10:35.830181134 +0100
@@ -254,6 +254,10 @@
                     os.path.join(project.target_dir,
                             project.get_bindings_dir()))
 
+            # Add extra bindings from environment for GNU Guix.
+            if 'SIP_INCLUDE_DIRS' in os.environ:
+                sip_include_dirs.extend(os.environ['SIP_INCLUDE_DIRS'].split(os.pathsep))
+
             # Generate the sip.h file for the shared sip module.
             copy_sip_h(abi_major_version, project.build_dir,
                     project.sip_module, version_info=project.version_info)
:34 +0100'>2021-02-19gnu: Add libskry....* gnu/packages/astronomy.scm (libskry): New variable. Signed-off-by: Guillaume Le Vaillant <glv@posteo.net> Sharlatan Hellseher 2021-02-19gnu: Add python-astroalign....* gnu/packages/astronomy.scm (python-astroalign): New variable. Signed-off-by: Guillaume Le Vaillant <glv@posteo.net> Sharlatan Hellseher 2021-02-19gnu: Add python-sep....* gnu/packages/astronomy.scm (python-sep): New variable. Signed-off-by: Guillaume Le Vaillant <glv@posteo.net> Sharlatan Hellseher 2021-02-19gnu: Add python-pyerfa....* gnu/packages/astronomy.scm (python-pyerfa): New variable. Signed-off-by: Guillaume Le Vaillant <glv@posteo.net> Sharlatan Hellseher 2021-02-19gnu: Add erfa....* gnu/packages/astronomy.scm (erfa): New variable. Signed-off-by: Guillaume Le Vaillant <glv@posteo.net> Sharlatan Hellseher 2021-02-19gnu: Add qfits....* gnu/packages/astronomy.scm (qfits): New variable. Signed-off-by: Guillaume Le Vaillant <glv@posteo.net> Sharlatan Hellseher 2021-02-19gnu: Add python-skyfield....* gnu/packages/astronomy.scm (python-skyfield): New variable. Signed-off-by: Guillaume Le Vaillant <glv@posteo.net> Sharlatan Hellseher 2021-02-07gnu: Add jplephem...* gnu/packages/astronomy.scm (python-jplephem): New variable Signed-off-by: Nicolas Goaziou <mail@nicolasgoaziou.fr> Sharlatan Hellseher 2021-01-31gnu: Add indi....* gnu/packages/astronomy.scm (indi): New variable. Co-authored-by: Guillaume Le Vaillant <glv@posteo.net> Sharlatan Hellseher 2021-01-29gnu: Add weightwatcher....* gnu/packages/astronomy.scm (weightwatcher): New variable. Signed-off-by: Guillaume Le Vaillant <glv@posteo.net> Sharlatan Hellseher 2021-01-29gnu: Add swarp....* gnu/packages/astronomy.scm (swarp): New variable. Signed-off-by: Guillaume Le Vaillant <glv@posteo.net> Sharlatan Hellseher 2021-01-29gnu: Add stuff....* gnu/packages/astronomy.scm (stuff): New variable. Signed-off-by: Guillaume Le Vaillant <glv@posteo.net> Sharlatan Hellseher 2021-01-28gnu: Add skymaker....* gnu/packages/astronomy.scm (skymaker): New variable. Signed-off-by: Guillaume Le Vaillant <glv@posteo.net> Sharlatan Hellseher 2021-01-27gnu: Add missfits....* gnu/packages/astronomy.scm (missfits): New variable. Signed-off-by: Guillaume Le Vaillant <glv@posteo.net> Sharlatan Hellseher 2021-01-26gnu: Add eye....* gnu/packages/astronomy.scm (eye): New variable. Signed-off-by: Guillaume Le Vaillant <glv@posteo.net> Sharlatan Hellseher 2021-01-25gnu: gnuastro: Update to 0.14....* gnu/packages/astronomy.scm (gnuastro): Update to 0.14. [inputs]: Add curl-minimal, libgit2. Efraim Flashner 2021-01-25gnu: Add sextractor....* gnu/packages/astronomy.scm (sextractor): New variable. Signed-off-by: Guillaume Le Vaillant <glv@posteo.net> Sharlatan Hellseher 2021-01-25gnu: Add libpasastro....* gnu/packages/astronomy.scm (libpasastro): New variable. Signed-off-by: Guillaume Le Vaillant <glv@posteo.net> Sharlatan Hellseher 2021-01-02gnu: stellarium: Update to 0.20.4....* gnu/packages/astronomy.scm (stellarium): Update to 0.20.4. Tobias Geerinckx-Rice 2020-10-01gnu: stellarium: Update to 0.20.3....* gnu/packages/astronomy.scm (stellarium): Update to 0.20.3. Tobias Geerinckx-Rice 2020-09-30gnu: Fix package references....* gnu/packages/algebra.scm (iml)[inputs]: Correctly refer to package inputs. * gnu/packages/astronomy.scm (xplanet), * gnu/packages/audio.scm (redkite, libaudec, lv2lint, lv2toweb), * gnu/packages/bioconductor.scm (r-cummerbund), * gnu/packages/chicken.scm (chicken), * gnu/packages/conky.scm (conky), * gnu/packages/cran.scm (r-latex2exp), * gnu/packages/crates-io.scm (rust-rgb), * gnu/packages/databases.scm (mariadb), * gnu/packages/diffoscope.scm (reprotest), * gnu/packages/file-systems.scm (glusterfs), * gnu/packages/finance.scm (electron-cash), * gnu/packages/games.scm (rinutils, ksudoku, kdiamond, kigo), * gnu/packages/geo.scm (grass), * gnu/packages/gnome.scm (libmediaart, gnome-contacts, geoclue), * gnu/packages/gnucash.scm (aqbanking), * gnu/packages/image.scm (mtpaint), * gnu/packages/kde-internet.scm (kopete, ktorrent), * gnu/packages/kde-utils.scm (kmousetool, kmouth, kronometer), * gnu/packages/linphone.scm (liblinphone), * gnu/packages/maths.scm (ppl), * gnu/packages/mercury.scm (mercury-minimal), * gnu/packages/music.scm (bjumblr, bschaffl, lsp-plugins, spectacle-analyzer, helm, tap-lv2, wolf-shaper, shiru-lv2), * gnu/packages/networking.scm (restinio), * gnu/packages/prolog.scm (swi-prolog), * gnu/packages/python-web.scm (gunicorn), * gnu/packages/python-xyz.scm (python-docusign-esign), * gnu/packages/ruby.scm (ruby-cucumber, ruby_version, ruby-addressable), * gnu/packages/sagemath.scm (python-cypari2), * gnu/packages/skarnet.scm (s6-linux-init), * gnu/packages/vpn.scm (sshuttle), * gnu/packages/web.scm (libcyaml), * gnu/packages/xdisorg.scm (kbdd), * gnu/packages/xorg.scm (xpra): Same. Efraim Flashner 2020-09-07gnu: gnuastro: Update to 0.13....* gnu/packages/astronomy.scm (gnuastro): Update to 0.13. Efraim Flashner 2020-08-18gnu: cfitsio: Update to 3.49....* gnu/packages/astronomy.scm (cfitsio): Update to 3.49. [source]: Hard-code NAME. Tobias Geerinckx-Rice 2020-06-29gnu: stellarium: Update to 0.20.2....* gnu/packages/astronomy.scm (stellarium): Update to 0.20.2. Tobias Geerinckx-Rice