aboutsummaryrefslogtreecommitdiffstats
path: root/community
diff options
context:
space:
mode:
Diffstat (limited to 'community')
-rw-r--r--community/py3-rx/APKBUILD28
1 files changed, 28 insertions, 0 deletions
diff --git a/community/py3-rx/APKBUILD b/community/py3-rx/APKBUILD
new file mode 100644
index 0000000000..9fc3dc1b2c
--- /dev/null
+++ b/community/py3-rx/APKBUILD
@@ -0,0 +1,28 @@
+# Contributor: Rasmus Thomsen <oss@cogitri.dev>
+# Maintainer: Rasmus Thomsen <oss@cogitri.dev>
+pkgname=py3-rx
+pkgver=3.1.0
+pkgrel=0
+pkgdesc="Reactive Extensions (Rx) for Python"
+url="http://reactivex.io/"
+arch="noarch"
+license="MIT"
+depends="python3"
+makedepends="py3-setuptools"
+checkdepends="py3-pytest py3-coverage py3-pytest-asyncio"
+source="https://github.com/ReactiveX/RxPY/archive/v$pkgver/py3-rx-$pkgver.tar.gz"
+builddir="$srcdir/RxPY-$pkgver"
+
+build() {
+ python3 setup.py build
+}
+
+check() {
+ python3 setup.py test
+}
+
+package() {
+ python3 setup.py install --prefix=/usr --root="$pkgdir"
+}
+
+sha512sums="1d9f6639ef08dc991326b95fcbf0978adea55b35acab653fc16bd94ccf2ad3a1515e8cb4e8d2ff38d7a506306e310394339a8651a2a02fa22bfb7f17d86297f1 py3-rx-3.1.0.tar.gz"