Subject: [PATCH] community/electrum: new aport

From: David Florness <[email-masked]>
Date: Sat, 28 Mar 2020 00:14:49 -0600

---
 community/electrum/APKBUILD          | 33 ++++++++++++++++++++++++++++
 community/py3-aiohttp-socks/APKBUILD | 24 ++++++++++++++++++++
 community/py3-aiorpcx/APKBUILD       | 23 +++++++++++++++++++
 3 files changed, 80 insertions(+)
 create mode 100644 community/electrum/APKBUILD
 create mode 100644 community/py3-aiohttp-socks/APKBUILD
 create mode 100644 community/py3-aiorpcx/APKBUILD

diff --git a/community/electrum/APKBUILD b/community/electrum/APKBUILD
new file mode 100644
index 0000000000..a5d11f5714
--- /dev/null
+++ b/community/electrum/APKBUILD
@@ -0,0 +1,33 @@
+# Contributor: David Florness <[email-masked]>
+# Maintainer: David Florness <[email-masked]>
+pkgname="electrum"
+pkgver="3.3.8"
+pkgrel=0
+pkgdesc="Lightweight Bitcoin wallet"
+url="https://electrum.org"
+arch="all"
+license="MIT"
+depends="py3-pyaes py3-ecdsa py3-pbkdf2 py3-requests py3-qrcode
+	py3-protobuf py3-dnspython py3-jsonrpclib py3-pysocks py3-qt5
+	py3-pycryptodome py3-websocket-client py3-certifi
+	py3-aiorpcx py3-aiohttp py3-aiohttp-socks"
+makedepends="py3-setuptools"
+source="https://download.electrum.org/$pkgver/Electrum-$pkgver.tar.gz
+	https://download.electrum.org/$pkgver/Electrum-$pkgver.tar.gz.asc"
+builddir="$srcdir/Electrum-$pkgver"
+
+build() {
+	python3 setup.py build
+}
+
+# check() {
+# 	gpg --recv-keys 6694D8DE7BE8EE5631BED9502BD5824B7F9470E6
+# 	gpg --verify Electrum-3.3.8.tar.gz.asc
+# }
+
+package() {
+	python3 setup.py install --root="$pkgdir" --optimize=1 --skip-build
+}
+
+sha512sums="5f756da4d2df59c69997925c69f651011def07bfbdbc582f492ecc19386eee7d79b9951732a792e6041da902d776052d6590cbd2d7004bc93c8406bcf9093fe6  Electrum-3.3.8.tar.gz
+ab2141a65e128e65c0ddd8771c647cc12ade1baf57bf90e19b3f670e57330901774daa79f7347e86c01ffef1619528a62449c7a7ac21e694a7ec3f14f4dc0b0a  Electrum-3.3.8.tar.gz.asc"
diff --git a/community/py3-aiohttp-socks/APKBUILD b/community/py3-aiohttp-socks/APKBUILD
new file mode 100644
index 0000000000..ae74bf9dd4
--- /dev/null
+++ b/community/py3-aiohttp-socks/APKBUILD
@@ -0,0 +1,24 @@
+# Contributor: David Florness <[email-masked]>
+# Maintainer: David Florness <[email-masked]>
+pkgname="py3-aiohttp-socks"
+_pkgname="aiohttp-socks"
+pkgver="0.3.6"
+pkgrel=0
+pkgdesc="SOCKS proxy connector for aiohttp. SOCKS4(a) and SOCKS5 are supported."
+url="https://github.com/romis2012/aiohttp-socks"
+arch="all"
+license="Apache-2.0"
+depends="py3-aiohttp"
+makedepends="py3-setuptools"
+source="$pkgname-$pkgver.tar.gz::https://github.com/romis2012/aiohttp-socks/archive/$pkgver.tar.gz"
+builddir="$srcdir/$_pkgname-$pkgver"
+
+build() {
+	python3 setup.py build
+}
+
+package() {
+	python3 setup.py install --prefix=/usr --root="$pkgdir" --optimize=1 --skip-build
+}
+
+sha512sums="ada2d17e71c8f2cd9263a1e07fd08b687b958b8d03d1ddb512d99c723882f59f4b30a612de661c33c753f6ffa7f3a065f90e461f21493b3be7f1229b21ade6ee  py3-aiohttp-socks-0.3.6.tar.gz"
diff --git a/community/py3-aiorpcx/APKBUILD b/community/py3-aiorpcx/APKBUILD
new file mode 100644
index 0000000000..e8af7d2210
--- /dev/null
+++ b/community/py3-aiorpcx/APKBUILD
@@ -0,0 +1,23 @@
+# Contributor: David Florness <[email-masked]>
+# Maintainer: David Florness <[email-masked]>
+pkgname="py3-aiorpcx"
+pkgver="0.18.4"
+pkgrel=0
+pkgdesc="A generic asyncio library implementation of RPC suitable for an application that is a client, server or both."
+url="https://github.com/kyuupichan/aiorpcX/"
+arch="all"
+license="MIT"
+depends="python3 py3-attrs"
+makedepends="py3-setuptools py3-websockets"
+source="$pkgname-$pkgver.tar.gz::https://github.com/kyuupichan/aiorpcX/archive/${pkgver}.tar.gz"
+builddir="$srcdir/aiorpcX-$pkgver"
+
+build() {
+	python3 setup.py build
+}
+
+package() {
+	python3 setup.py install --root="$pkgdir/" --optimize=1 --skip-build
+}
+
+sha512sums="d4df1343f575af72dff31f1794485c0cbb5b6c31d6d933b07cc8375a1418ad4fb81b2649b3c60adaaeab75b7a5d959838accc38269373310eb07895acf4c9496  py3-aiorpcx-0.18.4.tar.gz"
-- 
2.26.0