Skip to content

Commit

Permalink
sabnzbd: disable auto-updates [no ci]
Browse files Browse the repository at this point in the history
  • Loading branch information
tqfx committed May 30, 2024
1 parent 3b6f239 commit 282a748
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 4 deletions.
1 change: 0 additions & 1 deletion packages/python-sabyenc3/build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@ TERMUX_PKG_MAINTAINER="@termux"
TERMUX_PKG_VERSION="8.2.3"
TERMUX_PKG_SRCURL=https://github.com/sabnzbd/sabctools/releases/download/v${TERMUX_PKG_VERSION}/sabctools-${TERMUX_PKG_VERSION}.tar.gz
TERMUX_PKG_SHA256=249f89dfb4d3db8eaaad7578e992c6f6b1582b069faf9526ec8648a7bb893c5e
TERMUX_PKG_AUTO_UPDATE=true
TERMUX_PKG_DEPENDS="libc++, python"
TERMUX_PKG_BUILD_DEPENDS="libcpufeatures"
TERMUX_PKG_BUILD_IN_SRC=true
Expand Down
6 changes: 3 additions & 3 deletions packages/sabnzbd/build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,6 @@ TERMUX_PKG_MAINTAINER="@termux"
TERMUX_PKG_VERSION="4.3.2"
TERMUX_PKG_SRCURL=https://github.com/sabnzbd/sabnzbd/releases/download/${TERMUX_PKG_VERSION}/SABnzbd-${TERMUX_PKG_VERSION}-src.tar.gz
TERMUX_PKG_SHA256=d238ffa957e71ad22c16535922cb32e7e6e84afc79eadd5c8f668ce591e207be
TERMUX_PKG_AUTO_UPDATE=true
TERMUX_PKG_DEPENDS="python, python-cryptography, python-sabyenc3, termux-tools, par2, unrar, p7zip, unzip"
TERMUX_PKG_PLATFORM_INDEPENDENT=true
TERMUX_PKG_BUILD_IN_SRC=true
Expand All @@ -21,8 +20,9 @@ termux_step_post_get_source() {
break
fi
dep="${dep/[# ]*}"
# https://github.com/termux/termux-packages/issues/20229
if [ -z "$dep" ] || [ -z "${dep/sabctools*}" ]; then
dep="${dep/cffi*}" # in python-cryptography
dep="${dep/sabctools*}" # in python-sabyenc3
if [ -z "$dep" ]; then
continue
fi
TERMUX_PKG_PYTHON_TARGET_DEPS+="'$dep', "
Expand Down

0 comments on commit 282a748

Please sign in to comment.