aboutsummaryrefslogtreecommitdiffstats
path: root/testing
diff options
context:
space:
mode:
authorRasmus Thomsen <oss@cogitri.dev>2020-02-13 20:29:16 +0100
committerRasmus Thomsen <oss@cogitri.dev>2020-02-13 20:31:26 +0100
commit9b4248b17fc610cb6a36dfbbda0c6db017e3f73c (patch)
tree7979d37a23d7d1a29fe7edb48141cdc1fa0d8947 /testing
parent47ab913c0fb235c52781709a2a10d4696cbffdd2 (diff)
downloadaports-9b4248b17fc610cb6a36dfbbda0c6db017e3f73c.tar.bz2
aports-9b4248b17fc610cb6a36dfbbda0c6db017e3f73c.tar.xz
testing/py3-rx: new aport
http://reactivex.io/ Reactive Extensions (Rx) for Python
Diffstat (limited to 'testing')
-rw-r--r--testing/py3-rx/APKBUILD28
1 files changed, 28 insertions, 0 deletions
diff --git a/testing/py3-rx/APKBUILD b/testing/py3-rx/APKBUILD
new file mode 100644
index 0000000000..027f918478
--- /dev/null
+++ b/testing/py3-rx/APKBUILD
@@ -0,0 +1,28 @@
+# Contributor: Rasmus Thomsen <oss@cogitri.dev>
+# Maintainer: Rasmus Thomsen <oss@cogitri.dev>
+pkgname=py3-rx
+pkgver=3.0.1
+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="feef78481c8cbd263ad5392157d6ee2efac322b7760c55a793c38e4d16b1c7210e0e80dae4206f58195ce03f5bc81106afe28045585afaa6a30d903253e55ce8 py3-rx-3.0.1.tar.gz"