seafile-libclient: rebuild for Python 3.9, drop noarch

This commit is contained in:
Andrew J. Hesford 2020-10-07 09:50:44 -04:00
parent 38a7130c3d
commit 66d4ff7c6e

View file

@ -2,7 +2,7 @@
# WARNING: upstream sometimes retag source. Wait for official announcement # WARNING: upstream sometimes retag source. Wait for official announcement
pkgname=seafile-libclient pkgname=seafile-libclient
version=7.0.9 version=7.0.9
revision=1 revision=2
_distname="${pkgname/-libclient/}" _distname="${pkgname/-libclient/}"
wrksrc="${_distname}-${version}" wrksrc="${_distname}-${version}"
build_style=gnu-configure build_style=gnu-configure
@ -39,7 +39,6 @@ seafile-libclient-devel_package() {
seafile-libclient-python3_package() { seafile-libclient-python3_package() {
short_desc="Cloud storage system - Python3 bindings" short_desc="Cloud storage system - Python3 bindings"
depends="libsearpc-python3" depends="libsearpc-python3"
archs=noarch
pkg_install() { pkg_install() {
vmove usr/lib/python3* vmove usr/lib/python3*
} }
@ -49,7 +48,6 @@ seafile-cli_package() {
short_desc="Cloud storage system - client CLI" short_desc="Cloud storage system - client CLI"
depends="seafile-libclient-python3 ${sourcepkg}>=${version}_${revision}" depends="seafile-libclient-python3 ${sourcepkg}>=${version}_${revision}"
python_version=3 python_version=3
archs=noarch
pkg_install() { pkg_install() {
vmove usr/bin/seaf-cli vmove usr/bin/seaf-cli
vmove usr/share/man/man1/seaf-cli.1 vmove usr/share/man/man1/seaf-cli.1