oil: update to 0.8.4

Use system python instead of internal
This commit is contained in:
Nathan Owens 2020-11-16 09:31:48 -06:00 committed by Michael Aldridge
parent 04970c0df2
commit dd0fd6735e

View file

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