From 6ec07d631eb3f47da3558956e37faf3e87e72732 Mon Sep 17 00:00:00 2001 From: Peter Bui Date: Thu, 26 Oct 2017 15:33:00 -0400 Subject: [PATCH] ponysay: make sure we use python3 It requires python3, but uses `/usr/bin/env python` in the she-bang, which is ambiguous. Setting the environment to `python3` fixes the current run-time error. --- srcpkgs/ponysay/template | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/srcpkgs/ponysay/template b/srcpkgs/ponysay/template index 93fd3bd052c..c16ba19970f 100644 --- a/srcpkgs/ponysay/template +++ b/srcpkgs/ponysay/template @@ -1,7 +1,7 @@ # Template file for 'ponysay' pkgname=ponysay version=3.0.3 -revision=1 +revision=2 noarch=yes hostmakedepends="python3" depends="python3" @@ -16,5 +16,6 @@ do_install() { python3 setup.py --prefix=/usr --dest-dir=$DESTDIR \ --freedom=partial --everything \ --with-pdf=/usr/share/doc/ponysay --without-pdf-compression \ + --with-custom-env-python=python3 \ install }