seafile-client: define supported python version range through "Conflicts" field

We can't use TERMUX_PKG_DEPENDS here.
This commit is contained in:
Leonid Pliushch 2020-11-08 16:47:25 +02:00
parent 30f1bcefd0
commit e996cf3c2d
1 changed files with 3 additions and 2 deletions

View File

@ -2,10 +2,11 @@ TERMUX_PKG_HOMEPAGE=http://seafile.com
TERMUX_PKG_DESCRIPTION="Seafile is a file syncing and sharing software with file encryption and group sharing"
TERMUX_PKG_LICENSE="Apache-2.0"
TERMUX_PKG_VERSION=7.0.9
TERMUX_PKG_REVISION=2
TERMUX_PKG_REVISION=3
TERMUX_PKG_SRCURL=https://github.com/haiwen/seafile/archive/v${TERMUX_PKG_VERSION}.tar.gz
TERMUX_PKG_SHA256=f127b735e5d4cbd7e692d52eda54113f1a4ca31bd8328fbccf01a5462bbba5e8
TERMUX_PKG_DEPENDS="ccnet, libcurl, python (>= 3.9.0 | << 3.9.99)"
TERMUX_PKG_DEPENDS="ccnet, libcurl, python"
TERMUX_PKG_CONFLICTS="python (<= 3.9.0 | >> 3.9.99)"
TERMUX_PKG_BREAKS="seafile-client-dev"
TERMUX_PKG_REPLACES="seafile-client-dev"
TERMUX_PKG_BUILD_IN_SRC=true