UmVirt LFS Package info
DB commit: 34a83c7a68a930f721bd7a7f9cb2c2ac41e76ba8
APP commit: 0bd167a48557b5a14ac68d0229893245aacc7f12
Python2
The Python 2 package contains the Python development environment. Package info
Template:
Codename: Python2
Source file: Python-2.7.18.tar.xz
Source file size: 12854736
Source file MD5-checkum: fd6cc8ec0a78c44036f825e739f36e5a
Source directory: Python-2.7.18
Package URL: https://umvirt.com/linux/downloads/0.3/packages/p/Python-2.7.18.tar.xz
Package md5-checksum URL: https://umvirt.com/linux/downloads/0.3/packages/p/Python-2.7.18.tar.xz.md5sum
Dependances: *** NO DEPENDANCES FOUND ***
Dependance of: gtk-recordmydesktop, python2-pycairo, libglade, !mozjs, pygtk2, python2-pygobject.
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
CFLAGS+=" -std=gnu17"
export CFLAGS
./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