From cf229ea68c61a724e0d35bc0fa2a30acb5e3c3ec Mon Sep 17 00:00:00 2001 From: Nathan Owens Date: Mon, 16 Nov 2020 09:31:48 -0600 Subject: [PATCH] oil: update to 0.8.4 Use system python instead of internal --- srcpkgs/oil/template | 13 ++++++++----- 1 file changed, 8 insertions(+), 5 deletions(-) diff --git a/srcpkgs/oil/template b/srcpkgs/oil/template index 0e13b5d103f..b68eca52034 100644 --- a/srcpkgs/oil/template +++ b/srcpkgs/oil/template @@ -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 " 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() {