python-matplotlib: set default backend back to agg
This commit is contained in:
parent
4910ee6ef9
commit
7ecaaaeabe
1 changed files with 3 additions and 3 deletions
|
@ -1,7 +1,7 @@
|
|||
# Template file for 'python-matplotlib'
|
||||
pkgname=python-matplotlib
|
||||
version=1.5.1
|
||||
revision=1
|
||||
revision=2
|
||||
wrksrc="matplotlib-${version}"
|
||||
build_style=python-module
|
||||
python_versions="2.7 3.4"
|
||||
|
@ -28,12 +28,12 @@ checksum=3ab8d968eac602145642d0db63dd8d67c85e9a5444ce0e2ecb2a8fedc7224d40
|
|||
export XDG_RUNTIME_DIR=/tmp
|
||||
|
||||
pre_build() {
|
||||
# set TkAgg as default backend
|
||||
# set Agg as default backend
|
||||
cat > setup.cfg <<-EOF
|
||||
[packages]
|
||||
tests = False
|
||||
[rc_options]
|
||||
backend = TkAgg
|
||||
backend = Agg
|
||||
EOF
|
||||
# remove shebangs
|
||||
find . -type f -name '*.py' -exec sed -i "s,^#!.*python$,," {} +
|
||||
|
|
Loading…
Reference in a new issue