oil: update to 0.8.7, don't pretend we are using system python.

Closes: #28293 [via git-merge-pr]
This commit is contained in:
UsernameRandomlyGenerated 2021-01-28 20:43:25 +01:00 committed by Érico Rolim
parent 02d7e7675f
commit b479adebed

View file

@ -1,20 +1,19 @@
# Template file for 'oil' # Template file for 'oil'
pkgname=oil pkgname=oil
version=0.8.6 version=0.8.7
revision=1 revision=1
build_style=configure build_style=configure
configure_args="--prefix=/usr $(vopt_with readline)" configure_args="--prefix=/usr $(vopt_with readline)"
hostmakedepends="$(vopt_if readline readline-devel) python" hostmakedepends="$(vopt_if readline readline-devel)"
makedepends="$hostmakedepends" makedepends="$hostmakedepends"
short_desc="Oil, a new unix shell" short_desc="Oil, a new unix shell"
maintainer="Orphaned <orphan@voidlinux.org>" maintainer="Orphaned <orphan@voidlinux.org>"
license="Apache-2.0" license="Apache-2.0"
homepage="https://www.oilshell.org" homepage="https://www.oilshell.org"
distfiles="${homepage}/download/${pkgname}-${version}.tar.xz" distfiles="${homepage}/download/${pkgname}-${version}.tar.xz"
checksum=7d7d66888f325f39ff4fd71b6d9ffb13afed2ecdd15ec5f73e07c2eec0712235 checksum=29c5eed6efccbef6c22dbe5aec3d3d36f7c93da7a8d1cf19fc2cee93b5d1db73
python_version=2
register_shell="/usr/bin/osh" register_shell="/usr/bin/osh"
nocross="Binaries doesn't build if cross built" nocross="Build systems gets confused with host and cross toolchains/headers"
nostrip=yes nostrip=yes
build_options="readline" build_options="readline"
@ -23,8 +22,6 @@ build_options_default="readline"
pre_build() { pre_build() {
# Remove the strip wrapper # Remove the strip wrapper
rm -f "${XBPS_WRAPPERDIR}"/strip rm -f "${XBPS_WRAPPERDIR}"/strip
# Use system python
vsed -i 's|$PREPARE_DIR/python|python|g' build/actions.sh
} }
do_install() { do_install() {