File tree Expand file tree Collapse file tree 3 files changed +4
-5
lines changed
Expand file tree Collapse file tree 3 files changed +4
-5
lines changed Original file line number Diff line number Diff line change 3636
3737pushd Tcl/unix
3838./configure \
39+ ZIPFS_BUILD=0 \
3940 CFLAGS=-mmacosx-version-min=10.13 \
4041 --prefix ${INSTALL_PREFIX} \
4142 --disable-zipfs
4445
4546pushd Tk/unix
4647./configure \
48+ ZIPFS_BUILD=0 \
4749 CFLAGS=-mmacosx-version-min=10.13 \
4850 MACHER_PROG=/usr/bin/true \
4951 --enable-aqua \
Original file line number Diff line number Diff line change 44import re
55LOCAL_LIB = '/private/var/tmp/sage-X.X-current/local/lib'
66get_info = re .compile (b'Filetype: (?P<filetype>.*)| *LC_LOAD_DYLIB: (?P<dylib>.*)| *LC_RPATH: (?P<rpath>.*)' )
7- get_version = re .compile (r'SageMath version ([0-9]*\.[0-9]*)' )
87
98# Bigendian encoding of the magic numbers for mach-O binaries
109feedface_big = b'\xfe \xed \xfa \xce '
@@ -204,8 +203,6 @@ def fix_files(directory):
204203 except IndexError :
205204 print ('Usage python3 fixpaths.py repo <directory>' )
206205 with open (os .path .join (repo , 'sage' , 'VERSION.txt' )) as input_file :
207- m = get_version .match (input_file .readline ())
208- sage_version = m .groups ()[0 ]
206+ sage_version = input_file .read ().strip ()
209207 LOCAL_LIB = LOCAL_LIB .replace ('X.X' , sage_version )
210- repo = os .path .abspath (repo )
211208 fix_files (directory )
Original file line number Diff line number Diff line change 11{
2- "argv": ["/var/tmp/sage-{{ sage_version }}-current/local /bin/python3 ",
2+ "argv": ["/var/tmp/sage-{{ sage_version }}-current/venv /bin/sage", "--python ",
33 "-m",
44 "sage.repl.ipython_kernel",
55 "-f",
You can’t perform that action at this time.
0 commit comments