xbps-src: don't use unversioned python executable
This commit is contained in:
parent
ebc72b9655
commit
c50a8c3af6
|
@ -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() {
|
||||
|
|
|
@ -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} \
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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
|
||||
}
|
||||
|
||||
|
|
|
@ -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
|
||||
}
|
||||
|
|
|
@ -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() {
|
||||
|
|
|
@ -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() {
|
||||
|
|
|
@ -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() {
|
||||
|
|
|
@ -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() {
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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"
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue