mesa: Use own python-mako. python-mako: drop

This commit is contained in:
Dylan Araps 2020-02-25 22:02:34 +02:00
parent a402a14800
commit a6308e65e6
No known key found for this signature in database
GPG Key ID: 46D62DD9F1DE636E
9 changed files with 26 additions and 11 deletions

View File

@ -1,5 +1,29 @@
#!/bin/sh -e
# Install python-mako which is solely needed for mesa
# and thus contained in this build.
{
cd mako
python3 setup.py build
python3 setup.py install \
--prefix=/usr \
--root="$PWD/dist"
# Use a glob to avoid having to figure out the Python
# version for the path below.
cd dist/usr/lib/python*/site-packages
# Set the PYTHONPATH so python knows where to find mako.
# The one liner simply appends the existing path and
# handles the case where an unset PYTHONPATH breaks
# python as it will only contain our new addition.
PYTHONPATH=$PWD:$(python -c "import sys; print(':'.join(sys.path))")
cd -; cd ..
}
export PYTHONPATH
export DESTDIR="$1"
export CFLAGS="-DGLX_X86_READONLY_TEXT $CFLAGS -fcommon"

View File

@ -1 +1,2 @@
1da467e6ae2799a517e242462331eafd29ae77d9872f3a845df81f7c308e8fe4 mesa-19.3.4.tar.xz
2984a6733e1d472796ceef37ad48c26f4a984bb18119bb2dbc37a44d8f6e75a4 Mako-1.1.1.tar.gz

View File

@ -14,6 +14,5 @@ libxshmfence
llvm
meson make
python make
python-mako make
xorgproto
zlib

View File

@ -1 +1,2 @@
https://mesa.freedesktop.org/archive/mesa-19.3.4.tar.xz
https://files.pythonhosted.org/packages/source/M/Mako/Mako-1.1.1.tar.gz mako

View File

@ -1,6 +0,0 @@
#!/bin/sh -e
python3 setup.py build
python3 setup.py install \
--prefix=/usr \
--root="$1"

View File

@ -1 +0,0 @@
2984a6733e1d472796ceef37ad48c26f4a984bb18119bb2dbc37a44d8f6e75a4 Mako-1.1.1.tar.gz

View File

@ -1 +0,0 @@
python

View File

@ -1 +0,0 @@
https://files.pythonhosted.org/packages/source/M/Mako/Mako-1.1.1.tar.gz

View File

@ -1 +0,0 @@
1.1.1 1