mirror of
https://github.com/void-linux/void-packages.git
synced 2025-06-07 15:43:49 +02:00
oil: update to 0.8.4
Use system python instead of internal
This commit is contained in:
parent
04970c0df2
commit
dd0fd6735e
1 changed files with 8 additions and 5 deletions
|
@ -1,19 +1,20 @@
|
||||||
# Template file for 'oil'
|
# Template file for 'oil'
|
||||||
pkgname=oil
|
pkgname=oil
|
||||||
version=0.8.3
|
version=0.8.4
|
||||||
revision=1
|
revision=1
|
||||||
build_style=configure
|
build_style=configure
|
||||||
configure_args="--prefix=/usr $(vopt_with readline)"
|
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"
|
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=3f78c606cde84ef0e90d1744d400c8428941eaab6515f382fabc28cf16453ccb
|
checksum=08fd1c6d653ea594a5dcecb7bf40037e683845cf7627129bbeeb4d0b9fe7b879
|
||||||
python_version=2 #unverified
|
python_version=2
|
||||||
register_shell="/usr/bin/osh"
|
register_shell="/usr/bin/osh"
|
||||||
nocross="oil is nocross"
|
nocross="Binaries doesn't build if cross built"
|
||||||
nostrip=yes
|
nostrip=yes
|
||||||
|
|
||||||
build_options="readline"
|
build_options="readline"
|
||||||
|
@ -22,6 +23,8 @@ 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() {
|
||||||
|
|
Loading…
Add table
Reference in a new issue