[arch-commits] Commit in (6 files)
Maxime Gauduin
alucryd at archlinux.org
Thu May 30 19:42:08 UTC 2019
Date: Thursday, May 30, 2019 @ 19:42:07
Author: alucryd
Revision: 475144
add rx and promise for graphql
Added:
python-promise/
python-promise/trunk/
python-promise/trunk/PKGBUILD
python-rx/
python-rx/trunk/
python-rx/trunk/PKGBUILD
-------------------------------+
python-promise/trunk/PKGBUILD | 33 +++++++++++++++++++++++++
python-rx/trunk/PKGBUILD | 52 ++++++++++++++++++++++++++++++++++++++++
2 files changed, 85 insertions(+)
Added: python-promise/trunk/PKGBUILD
===================================================================
--- python-promise/trunk/PKGBUILD (rev 0)
+++ python-promise/trunk/PKGBUILD 2019-05-30 19:42:07 UTC (rev 475144)
@@ -0,0 +1,33 @@
+# Maintainer: Maxime Gauduin <alucryd at archlinux.org>
+
+pkgname=python-promise
+pkgver=2.2.0
+pkgrel=1
+pkgdesc='Ultra-performant Promise implementation in Python'
+url=https://github.com/syrusakbary/promise
+arch=(any)
+license=(MIT)
+depends=(
+ python-six
+)
+makedepends=(
+ git
+ python-setuptools
+)
+source=(git+https://github.com/syrusakbary/promise.git#tag=v${pkgver})
+sha256sums=(SKIP)
+
+build() {
+ cd promise
+
+ python setup.py build
+}
+
+package() {
+ cd promise
+
+ python setup.py install --prefix=/usr --root="${pkgdir}" --optimize=1
+ install -Dm 644 LICENSE -t "${pkgdir}"/usr/share/licenses/python-promise/
+}
+
+# vim: ts=2 sw=2 et:
Added: python-rx/trunk/PKGBUILD
===================================================================
--- python-rx/trunk/PKGBUILD (rev 0)
+++ python-rx/trunk/PKGBUILD 2019-05-30 19:42:07 UTC (rev 475144)
@@ -0,0 +1,52 @@
+# Maintainer: Maxime Gauduin <alucryd at archlinux.org>
+# Contributor: Ilya Elenskiy <elenskiy.ilya at gmail.com>
+# Contributor: Julien Nicoulaud <julien.nicoulaud at gmail.com>
+
+pkgname=python-rx
+pkgver=1.6.1
+pkgrel=3
+pkgdesc='Reactive Extensions for Python'
+arch=(any)
+url=http://reactivex.io
+license=(APACHE)
+depends=(python)
+makedepends=(
+ git
+ python-setuptools
+)
+checkdepends=(
+ python-coverage
+ python-nose
+ python-pytest
+ python-pytest-asyncio
+)
+source=(git+https://github.com/ReactiveX/RxPY.git#tag=${pkgver})
+sha256sums=(SKIP)
+
+prepare() {
+ cd RxPY
+
+ # some tests fail with Python 3.7
+ rm tests/test_observable/test_dowhile.py
+ rm tests/test_observable/test_while.py
+}
+
+build() {
+ cd RxPY
+
+ python setup.py build
+}
+
+check() {
+ cd RxPY
+
+ python setup.py test
+}
+
+package() {
+ cd RxPY
+
+ python setup.py install --root="${pkgdir}" --optimize=1 --skip-build
+}
+
+# vim: ts=2 sw=2 et:
More information about the arch-commits
mailing list