1
0
Fork 0
mirror of https://git.suyu.dev/suyu/flatpak.git synced 2025-01-06 14:26:07 +00:00
yuzu-suyu-flatpak/shared-modules/python2.7/python-2.7.json
2024-03-07 20:28:57 -03:00

52 lines
1.5 KiB
JSON

{
"name": "python-2.7",
"sources": [
{
"type": "archive",
"url": "https://www.python.org/ftp/python/2.7.18/Python-2.7.18.tar.xz",
"sha256": "b62c0e7937551d0cc02b8fd5cb0f544f9405bafc9a54d3808ed4594812edef43"
}
],
"config-opts": [
"--enable-shared",
"--with-ensurepip=yes",
"--with-system-expat",
"--with-system-ffi",
"--enable-loadable-sqlite-extensions",
"--with-dbmliborder=gdbm",
"--enable-unicode=ucs4"
],
"post-install": [
/* Theres seem to be a permissions missmatch that causes the debug stripping to fail */
"chmod 644 $FLATPAK_DEST/lib/libpython2.7.so.1.0"
],
"cleanup": [
"/bin/2to3*",
"/bin/easy_install*",
"/bin/idle*",
"/bin/pydoc*",
"/bin/python*-config",
"/bin/pyvenv*",
"/include",
"/lib/pkgconfig",
"/lib/python*/config",
"/share",
/* Test scripts */
"/lib/python*/test",
"/lib/python*/*/test",
"/lib/python*/*/tests",
"/lib/python*/lib-tk/test",
"/lib/python*/lib-dynload/_*_test.*.so",
"/lib/python*/lib-dynload/_test*.*.so",
/* Unused modules */
"/lib/python*/idlelib",
"/lib/python*/tkinter*",
"/lib/python*/turtle*",
"/lib/python*/lib2to3*",
/* Static library */
"/lib/python2.7/config/libpython2.7.a"
]
}