MCPcopy Index your code
hub / github.com/python/cpython / library_recipes

Function library_recipes

Mac/BuildScript/build-installer.py:240–405  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

238# [The recipes are defined here for convenience but instantiated later after
239# command line options have been processed.]
240def library_recipes():
241 result = []
242
243 # Since Apple removed the header files for the deprecated system
244 # OpenSSL as of the Xcode 7 release (for OS X 10.10+), we do not
245 # have much choice but to build our own copy here, too.
246
247 result.extend([
248 dict(
249 name="OpenSSL 3.5.5",
250 url="https://github.com/openssl/openssl/releases/download/openssl-3.5.5/openssl-3.5.5.tar.gz",
251 checksum="b28c91532a8b65a1f983b4c28b7488174e4a01008e29ce8e69bd789f28bc2a89",
252 buildrecipe=build_universal_openssl,
253 configure=None,
254 install=None,
255 ),
256 ])
257
258 if internalTk():
259 if useOldTk():
260 tcl_tk_ver='8.6.8'
261 tcl_checksum='81656d3367af032e0ae6157eff134f89'
262
263 tk_checksum='5e0faecba458ee1386078fb228d008ba'
264 tk_patches = ['backport_gh71383_fix.patch', 'tk868_on_10_8_10_9.patch', 'backport_gh110950_fix.patch']
265
266 else:
267 tcl_tk_ver='9.0.3'
268 tcl_checksum='2537ba0c86112c8c953f7c09d33f134dd45c0fb3a71f2d7f7691fd301d2c33a6'
269
270 tk_checksum='bf344efadb618babb7933f69275620f72454d1c8220130da93e3f7feb0efbf9b'
271 tk_patches = []
272
273
274 base_url = "https://prdownloads.sourceforge.net/tcl/{what}{version}-src.tar.gz"
275 result.extend([
276 dict(
277 name="Tcl %s"%(tcl_tk_ver,),
278 url=base_url.format(what="tcl", version=tcl_tk_ver),
279 checksum=tcl_checksum,
280 buildDir="unix",
281 configure_pre=[
282 '--enable-shared',
283 '--enable-threads',
284 '--libdir=/Library/Frameworks/Python.framework/Versions/%s/lib'%(getVersion(),),
285 ],
286 useLDFlags=False,
287 buildrecipe=tweak_tcl_build,
288 install='make TCL_LIBRARY=%(TCL_LIBRARY)s && make install TCL_LIBRARY=%(TCL_LIBRARY)s DESTDIR=%(DESTDIR)s'%{
289 "DESTDIR": shellQuote(os.path.join(WORKDIR, 'libraries')),
290 "TCL_LIBRARY": shellQuote('/Library/Frameworks/Python.framework/Versions/%s/lib/tcl8.6'%(getVersion())),
291 },
292 ),
293 dict(
294 name="Tk %s"%(tcl_tk_ver,),
295 url=base_url.format(what="tk", version=tcl_tk_ver),
296 checksum=tk_checksum,
297 patches=tk_patches,

Callers 1

buildLibrariesFunction · 0.85

Calls 7

internalTkFunction · 0.85
useOldTkFunction · 0.85
getVersionFunction · 0.85
shellQuoteFunction · 0.85
extendMethod · 0.45
formatMethod · 0.45
joinMethod · 0.45

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…