mirror of
https://git.suyu.dev/suyu/flatpak.git
synced 2025-12-25 00:34:44 +01:00
Init
This commit is contained in:
commit
e571c4fbe8
139 changed files with 8839 additions and 0 deletions
52
shared-modules/python2.7/python-2.7.json
Normal file
52
shared-modules/python2.7/python-2.7.json
Normal file
|
|
@ -0,0 +1,52 @@
|
|||
{
|
||||
"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"
|
||||
]
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue