File: fix_setup.py

package info (click to toggle)
gau2grid 2.0.7-3
  • links: PTS, VCS
  • area: main
  • in suites: sid, trixie
  • size: 696 kB
  • sloc: python: 5,326; makefile: 30; sh: 24
file content (18 lines) | stat: -rw-r--r-- 567 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
Author: Santiago Vila <sanvila@debian.org>
Date: Thu, 2 May 2019 22:51:02 UTC
Bug-Debian: https://bugs.debian.org/928363
Description: Fix FTBFS if build directory contains "-D"

Index: gau2grid/setup.py
===================================================================
--- gau2grid.orig/setup.py
+++ gau2grid/setup.py
@@ -84,7 +84,7 @@ if __name__ == "__main__":
     # Parse out CMake args
     setup_args = []
     for arg in sys.argv:
-        if "-D" not in arg:
+        if not arg.startswith("-D"):
             setup_args.append(arg)
             continue