aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorlink2xt <link2xt@testrun.org>2021-08-01 17:08:51 +0300
committerdispatch <dispatch@listserv.local>2021-08-01 14:09:09 +0000
commit7c865f2938f29fb81139758d9d3da7ed05985e5d (patch)
treec5bb7182dd8278513b0a3a0f9e12fbf5a2df990f
parent3941c20c206e8dfabcb538023119e0230ed15010 (diff)
downloadaports-7c865f2938f29fb81139758d9d3da7ed05985e5d.tar.gz
aports-7c865f2938f29fb81139758d9d3da7ed05985e5d.tar.bz2
aports-7c865f2938f29fb81139758d9d3da7ed05985e5d.tar.xz
testing/py3-deltachat: new aportpatches/3576
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..c26c255787
--- /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="MPL-2.0"
+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
+"