diff --git a/srcpkgs/boswars/template b/srcpkgs/boswars/template index 18ccb13cfed..cd0b573e360 100644 --- a/srcpkgs/boswars/template +++ b/srcpkgs/boswars/template @@ -32,7 +32,7 @@ do_build() { -e "/^gccflags.*/a gldflags = '${LDFLAGS}'.split()" \ -e "s;self.ldflags = list(ldflags);self.ldflags = gldflags + list(ldflags);" \ -e "s/cc='g++'/cc='$CXX'/" - python make.py + python2 make.py } do_install() { diff --git a/srcpkgs/botan/template b/srcpkgs/botan/template index c12f7782adf..c729637c64e 100644 --- a/srcpkgs/botan/template +++ b/srcpkgs/botan/template @@ -62,7 +62,7 @@ do_configure() { ;; esac - python configure.py \ + python2 configure.py \ --distribution-info="Void Linux botan-${version}_${revision}" \ --cc-abi-flags="-arch ${_arch} -stdlib=libc++" \ --cpu=${_cpu} \ diff --git a/srcpkgs/jack/template b/srcpkgs/jack/template index 925d8b7311f..f96aae4f784 100644 --- a/srcpkgs/jack/template +++ b/srcpkgs/jack/template @@ -19,14 +19,14 @@ if [ -z "CROSS_BUILD" ]; then fi do_configure() { - python waf configure --prefix=/usr --alsa --classic --dbus + python2 waf configure --prefix=/usr --alsa --classic --dbus } do_build() { - python waf build ${makejobs} + python2 waf build ${makejobs} } do_install() { - python waf install --destdir=${DESTDIR} + python2 waf install --destdir=${DESTDIR} # pam_limits(8) support vinstall ${FILESDIR}/jack-limitsd.conf 644 etc/security/limits.d jack.conf diff --git a/srcpkgs/ladish/template b/srcpkgs/ladish/template index b4965070fa6..ecc2021c411 100644 --- a/srcpkgs/ladish/template +++ b/srcpkgs/ladish/template @@ -21,9 +21,9 @@ CXXFLAGS=-std=c++11 do_configure() { if [ "$CROSS_BUILD" ];then - python waf configure --prefix=/usr --enable-liblash + python2 waf configure --prefix=/usr --enable-liblash else - python waf configure --prefix=/usr --enable-liblash --enable-pylash + python2 waf configure --prefix=/usr --enable-liblash --enable-pylash fi } diff --git a/srcpkgs/mozc/template b/srcpkgs/mozc/template index 193081bf629..2dd26be1e37 100644 --- a/srcpkgs/mozc/template +++ b/srcpkgs/mozc/template @@ -67,8 +67,8 @@ do_build() { document_dir=/usr/share/licenses/${pkgname} use_libprotobuf=1 use_libzinnia=1 - " python build_mozc.py gyp --target_platform=Linux - python build_mozc.py build -c Release $targets + " python2 build_mozc.py gyp --target_platform=Linux + python2 build_mozc.py build -c Release $targets sed -i 's|/usr/libexec/|/usr/lib/ibus-mozc/|g' out_linux/Release/gen/unix/ibus/mozc.xml } diff --git a/srcpkgs/notmuch/template b/srcpkgs/notmuch/template index 06164d07457..928bfccd6f8 100644 --- a/srcpkgs/notmuch/template +++ b/srcpkgs/notmuch/template @@ -36,7 +36,7 @@ do_build() { make -C contrib/notmuch-mutt make -C bindings cd bindings/python - python setup.py build --build-base=build-2 + python2 setup.py build --build-base=build-2 } do_install() { diff --git a/srcpkgs/opencl-clhpp/template b/srcpkgs/opencl-clhpp/template index 1cc8fcfa0ab..f111105b618 100644 --- a/srcpkgs/opencl-clhpp/template +++ b/srcpkgs/opencl-clhpp/template @@ -13,7 +13,7 @@ distfiles="https://github.com/KhronosGroup/OpenCL-CLHPP/archive/v2.0.10.tar.gz" checksum=fa27456295c3fa534ce824eb0314190a8b3ebd3ba4d93a0b1270fc65bf378f2b do_build() { - python gen_cl_hpp.py -i input_cl.hpp -o cl.hpp + python2 gen_cl_hpp.py -i input_cl.hpp -o cl.hpp } do_install() { diff --git a/srcpkgs/python-appdirs/template b/srcpkgs/python-appdirs/template index ac4fce9dea0..ad67f92db4c 100644 --- a/srcpkgs/python-appdirs/template +++ b/srcpkgs/python-appdirs/template @@ -16,7 +16,7 @@ distfiles="${PYPI_SITE}/a/appdirs/appdirs-${version}.tar.gz" checksum=9e5896d1372858f8dd3344faf4e5014d21849c756c8d5701f78f8a103b372d92 do_check() { - python setup.py test + python2 setup.py test } post_install() { diff --git a/srcpkgs/python-gitlab/template b/srcpkgs/python-gitlab/template index 7818ffc8ece..33227b02d2f 100644 --- a/srcpkgs/python-gitlab/template +++ b/srcpkgs/python-gitlab/template @@ -18,7 +18,7 @@ checksum=20ceb9232f9a412ce6554056a6b5039013d0755261d57b5c8ada7035773de795 alternatives="python-gitlab:gitlab:/usr/bin/gitlab2" do_check() { - python setup.py test + python2 setup.py test } python3-gitlab_package() { diff --git a/srcpkgs/sickbeard/files/sickbeard/run b/srcpkgs/sickbeard/files/sickbeard/run index 685ea4024ca..41bd4981872 100755 --- a/srcpkgs/sickbeard/files/sickbeard/run +++ b/srcpkgs/sickbeard/files/sickbeard/run @@ -5,4 +5,4 @@ then chown sickbeard:sickbeard /var/lib/sickbeard fi -exec chpst -usickbeard:sickbeard /usr/bin/python /usr/share/sickbeard/SickBeard.py --datadir=/var/lib/sickbeard --quiet --nolaunch +exec chpst -usickbeard:sickbeard python2 /usr/share/sickbeard/SickBeard.py --datadir=/var/lib/sickbeard --quiet --nolaunch diff --git a/srcpkgs/sickbeard/template b/srcpkgs/sickbeard/template index 16373b81ce0..bc6e4830db7 100644 --- a/srcpkgs/sickbeard/template +++ b/srcpkgs/sickbeard/template @@ -1,7 +1,7 @@ # Template build file for 'sickbeard'. pkgname=sickbeard version=507 -revision=1 +revision=2 depends="python-cheetah" noarch=yes short_desc="Usenet personal video recorder" diff --git a/srcpkgs/wicd/template b/srcpkgs/wicd/template index bc7d8f138c2..a1d5f452c81 100644 --- a/srcpkgs/wicd/template +++ b/srcpkgs/wicd/template @@ -19,7 +19,7 @@ distfiles="http://launchpad.net/wicd/1.7/${version}/+download/wicd-${version}.ta checksum=67989614004773db349791c37675efb914d084bdb221356a05e4369c35e7eb62 do_build() { - python setup.py configure --verbose --no-install-init \ + python2 setup.py configure --verbose --no-install-init \ --resume=/usr/share/wicd/scripts \ --suspend=/usr/share/wicd/scripts \ --python=/usr/bin/python2 --lib=/usr/lib \ @@ -27,7 +27,7 @@ do_build() { --no-install-gnome-shell-extensions } do_install() { - python setup.py install --root=${DESTDIR} + python2 setup.py install --root=${DESTDIR} vinstall ${FILESDIR}/wicd.desktop 644 usr/share/applications vmkdir usr/lib/wicd