New package: python3-etebase-0.31.5

This commit is contained in:
DragonGhost7 2022-10-08 16:31:35 -04:00 committed by classabbyamp
parent 7425e43460
commit 23ececee88
2 changed files with 50 additions and 0 deletions

View File

@ -0,0 +1,21 @@
From 2767461bc4509440be3a9b8f553b9a0bea468e6b Mon Sep 17 00:00:00 2001
From: Tom Hacohen <tom@stosb.com>
Date: Mon, 23 Nov 2020 11:59:53 +0200
Subject: [PATCH] Dynamically link against libssl.
---
Cargo.toml | 1 -
1 file changed, 1 deletion(-)
diff --git a/Cargo.toml b/Cargo.toml
index 5700454..d525653 100644
--- a/Cargo.toml
+++ b/Cargo.toml
@@ -19,5 +19,4 @@ log = "^0.4.6"
[dependencies]
cpython = { version = "0.7", features = ["extension-module"] }
-openssl = { version = "0.10.30", features = ["vendored"] }
etebase = { version = "^0.5.1" }
--
2.28.0

View File

@ -0,0 +1,29 @@
# Template file for 'python3-etebase'
pkgname=python3-etebase
version=0.31.5
revision=1
archs="x86_64"
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"
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
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
}