void-packages/srcpkgs/python3-etebase/template

30 lines
1.1 KiB
Bash
Raw Normal View History

2022-10-08 22:31:35 +02:00
# Template file for 'python3-etebase'
pkgname=python3-etebase
version=0.31.5
revision=1
wrksrc="etebase-py-${version}"
build_style=python3-module
build_helper="rust"
hostmakedepends="python3-setuptools python3-wheel python3-setuptools-rust cargo"
makedepends="libsodium libsodium-devel openssl-devel pkg-config rust-std"
2022-10-08 22:31:35 +02:00
depends="python3-msgpack openssl"
checkdepends="python3-pytest python3-pytest ${depends}"
short_desc="Python library for Etebase"
maintainer="DragonGhost7 <darkiridiumghost@gmail.com>"
license="BSD-3-Clause"
homepage="https://github.com/etesync/etebase-py/"
changelog="https://raw.githubusercontent.com/etesync/etebase-py/master/ChangeLog.md"
distfiles="https://github.com/etesync/etebase-py/archive/refs/tags/v${version}.tar.gz"
checksum=3f372b18cc518e04788ca553fb05989f77f393d041688a44f69b7b5b56d71048
make_check=no #checking requires starting the server on localhost
2022-10-16 15:51:51 +02:00
nocross=yes
2022-10-08 22:31:35 +02:00
pre_build() {
vsed -i -e 's|.rustfmt_bindings(true);|.rustfmt_bindings(false);|' build.rs
#rustfmt binary is not present in the default cargo installation.
}
post_install() {
vlicense LICENSE
}