aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorlink2xt <link2xt@testrun.org>2021-08-01 15:36:17 +0300
committerdispatch <dispatch@listserv.local>2021-08-01 12:42:54 +0000
commita146b822eebfbf58be0362b4e78abbc327377211 (patch)
tree777b15fa1b70f2b869f8276718fc4af88597c9e4
parentc01931d8e7d3d1d74bfe943a11631d4bf1561263 (diff)
downloadaports-patches/3575.tar.gz
aports-patches/3575.tar.bz2
aports-patches/3575.tar.xz
testing/py3-deltachat: new aportpatches/3575
https://py.delta.chat/ Python bindings for Delta Chat core library
-rw-r--r--testing/py3-deltachat/APKBUILD27
1 files changed, 27 insertions, 0 deletions
diff --git a/testing/py3-deltachat/APKBUILD b/testing/py3-deltachat/APKBUILD
new file mode 100644
index 0000000000..23a9e98036
--- /dev/null
+++ b/testing/py3-deltachat/APKBUILD
@@ -0,0 +1,27 @@
+# Contributor: link2xt <link2xt@testrun.org>
+# Maintainer: link2xt <link2xt@testrun.org>
+pkgname=py3-deltachat
+_pkgname=deltachat-core-rust
+pkgver=1.56.0
+pkgrel=0
+pkgdesc="Python bindings for Delta Chat core library"
+options="!check" # most tests are online and require IMAPClient library not packaged in Alpine yet
+url="https://py.delta.chat/"
+arch="all"
+license="MPLv2"
+depends="deltachat py3-cffi py3-pluggy py3-setuptools python3"
+makedepends="deltachat-dev py3-setuptools_scm python3-dev"
+source="$pkgname-$pkgver.tar.gz::https://github.com/deltachat/deltachat-core-rust/archive/$pkgver.tar.gz"
+builddir="$srcdir/$_pkgname-$pkgver/python"
+
+build() {
+ SETUPTOOLS_SCM_PRETEND_VERSION="$pkgver" python3 setup.py build
+}
+
+package() {
+ SETUPTOOLS_SCM_PRETEND_VERSION="$pkgver" python3 setup.py install --prefix=/usr --root="$pkgdir"
+}
+
+sha512sums="
+b1b095074b34dde5bcdf870f9b4fe401ff329b08af4af5cf196346af1a09acd918d6902e5dae22edee9eb69cd4ff35a0c0b03be4aa10e883f241ace49d21168e py3-deltachat-1.56.0.tar.gz
+"