File: 02-dont_compile_datums.patch

package info (click to toggle)
python-pyproj 1.8.9-1
  • links: PTS, VCS
  • area: main
  • in suites: wheezy
  • size: 9,192 kB
  • sloc: ansic: 10,983; python: 510; makefile: 6
file content (21 lines) | stat: -rw-r--r-- 598 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
From: David Paleino <dapal@debian.org>
Subject: don't compile datum files, as we're using the ones provided by
 proj-data
Origin: vendor
Forwarded: not-needed

---
 setup.py |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

--- python-pyproj.orig/setup.py
+++ python-pyproj/setup.py
@@ -8,7 +8,7 @@ extensions.append(Extension("pyproj._geo
 
 # create binary datum shift grid files.
 pathout = os.path.join('lib',os.path.join('pyproj','data'))
-if sys.argv[1] != 'sdist':
+if False:
     cc = ccompiler.new_compiler()
     sysconfig.customize_compiler(cc)
     cc.set_include_dirs(['src'])