libsearpc: rebuild for Python 3.9, drop noarch

This commit is contained in:
Andrew J. Hesford 2020-10-07 09:49:50 -04:00
parent ecac6083f4
commit 3ed2456dcc

View file

@ -2,7 +2,7 @@
# WARNING: upstream sometimes retag source. Wait for official announcement
pkgname=libsearpc
version=3.2.0
revision=2
revision=3
build_style=gnu-configure
pycompile_module="pysearpc"
configure_args="PYTHON=python3 --disable-static --disable-compile-demo"
@ -13,7 +13,7 @@ maintainer="yopito <pierre.bourgin@free.fr>"
license="LGPL-3.0-or-later, Apache-2.0"
homepage="https://seafile.com"
distfiles="https://github.com/haiwen/libsearpc/archive/v${version}.tar.gz"
checksum=c479d85e405674c3450eac040abe143af5a9fafe7f1b74926e2a05280ab5420e
checksum=cd00197fcc40b45b1d5e892b2d08dfa5947f737e0d80f3ef26419334e75b0bff
python_version=3
pre_configure() {
@ -39,7 +39,6 @@ libsearpc-codegen_package() {
short_desc+=" - code generator"
depends="python3"
python_version=3
archs=noarch
pkg_install() {
vdoc AUTHORS
vdoc README.markdown
@ -51,7 +50,6 @@ libsearpc-python3_package() {
short_desc+=" - Python3 bindings"
pycompile_module="pysearpc"
depends="python3"
archs=noarch
pkg_install() {
vmove usr/lib/python3*
}