diff options
Diffstat (limited to 'subprojects/shared-modules/python2.7/python-2.7.json')
m--------- | subprojects/shared-modules | 0 | ||||
-rw-r--r-- | subprojects/shared-modules/python2.7/python-2.7.json | 52 |
2 files changed, 52 insertions, 0 deletions
diff --git a/subprojects/shared-modules b/subprojects/shared-modules deleted file mode 160000 -Subproject 722c257817b83e4cce12bc7b8361ced75e09c90 diff --git a/subprojects/shared-modules/python2.7/python-2.7.json b/subprojects/shared-modules/python2.7/python-2.7.json new file mode 100644 index 00000000..14253764 --- /dev/null +++ b/subprojects/shared-modules/python2.7/python-2.7.json @@ -0,0 +1,52 @@ +{ + "name": "python-2.7", + "sources": [ + { + "type": "archive", + "url": "https://www.python.org/ftp/python/2.7.17/Python-2.7.17.tar.xz", + "sha256": "4d43f033cdbd0aa7b7023c81b0e986fd11e653b5248dac9144d508f11812ba41" + } + ], + "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" + ] +} |