UmVirt LFS Package info

DB commit: 57bed5a54ba91b88b24a1c8eb97bd083dbf72f0d
APP commit: 634ff2193dea70dde75eb1916d758638b7417453

Python2

The Python 2 package contains the Python development environment.

Package info

Codename: Python2
Source file: Python-2.7.18.tar.xz
Source directory: Python-2.7.18
Package URL: https://umvirt.com/linux/downloads/0.2/packages/p/Python-2.7.18.tar.xz
Package md5-checksum URL: https://umvirt.com/linux/downloads/0.2/packages/p/Python-2.7.18.tar.xz.md5sum
Dependances: sqlite.
Dependance of: python2-pycairo, python2-pygobject, libglade, mozjs, pygtk2.
Patches: Python-2.7.18-security_fixes-1.patch.
Addons: python-2.7.18-docs-html.tar.bz2.
Nestings *** NO NESTINGS FOUND ***
Configuration script:
sed -i '/2to3/d' ./setup.py

./configure --prefix=/usr                              \
            --enable-shared                            \
            --with-system-expat                        \
            --with-system-ffi                          \
            --enable-unicode=ucs4 

Build script:
make

Install script:
make altinstall                                &&
ln -s python2.7        /usr/bin/python2        &&
ln -s python2.7-config /usr/bin/python2-config &&
chmod -v 755 /usr/lib/libpython2.7.so.1.0

if [[ "\$ULFS_PKG_DOCUMENTATION" == "YES" ]]
then

install -v -dm755 /usr/share/doc/python-2.7.18 &&

tar --strip-components=1                     \
    --no-same-owner                          \
    --directory /usr/share/doc/python-2.7.18 \
    -xvf ../python-2.7.18-docs-html.tar.bz2 &&

find /usr/share/doc/python-2.7.18 -type d -exec chmod 0755 {} \; &&
find /usr/share/doc/python-2.7.18 -type f -exec chmod 0644 {} \;

fi