diff options
author | Jordan Petridis <jpetridis@gnome.org> | 2018-08-22 11:58:31 +0300 |
---|---|---|
committer | Bartłomiej Piotrowski <b@bpiotrowski.pl> | 2018-08-23 11:04:57 +0300 |
commit | 88bc0f633f45520998d50c38dc31295b46434b63 (patch) | |
tree | 81253952ade4edca71268f5d9c32d8d45f6e3d51 /python2.7 | |
parent | 496c53a761d8f107c4ee6baafab34d4a197f8b97 (diff) |
Add python2 shared module
Python 2 was dropped from the org.reedesktop.Platform runtime.
It will be EOL in ~2years but things still depends on it.
Diffstat (limited to 'python2.7')
-rw-r--r-- | python2.7/python-2.7.15.json | 42 |
1 files changed, 42 insertions, 0 deletions
diff --git a/python2.7/python-2.7.15.json b/python2.7/python-2.7.15.json new file mode 100644 index 0000000..0c7ba03 --- /dev/null +++ b/python2.7/python-2.7.15.json @@ -0,0 +1,42 @@ +{ + "name": "python-2.7", + "sources": [ + { + "type": "archive", + "url": "https://www.python.org/ftp/python/2.7.15/Python-2.7.15.tgz", + "sha256": "18617d1f15a380a919d517630a9cd85ce17ea602f9bbdc58ddc672df4b0239db" + } + ], + "config-opts": [ + "--enable-shared", + "--with-ensurepip=yes", + "--with-system-expat", + "--with-system-ffi", + "--enable-loadable-sqlite-extensions", + "--with-dbmliborder=gdbm", + "--enable-unicode=ucs4" + ], + "cleanup": [ + "/bin/2to3*", + "/bin/easy_install*", + "/bin/idle*", + "/bin/pyvenv*", + "/bin/pydoc*", + "/include", + "/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*" + ] +} |