[arch-commits] Commit in python-rx (3 files)

Maxime Gauduin alucryd at archlinux.org
Thu May 30 19:42:41 UTC 2019


    Date: Thursday, May 30, 2019 @ 19:42:40
  Author: alucryd
Revision: 475147

archrelease: copy trunk to community-any

Added:
  python-rx/repos/
  python-rx/repos/community-any/
  python-rx/repos/community-any/PKGBUILD
    (from rev 475145, python-rx/trunk/PKGBUILD)

----------+
 PKGBUILD |   52 ++++++++++++++++++++++++++++++++++++++++++++++++++++
 1 file changed, 52 insertions(+)

Copied: python-rx/repos/community-any/PKGBUILD (from rev 475145, python-rx/trunk/PKGBUILD)
===================================================================
--- repos/community-any/PKGBUILD	                        (rev 0)
+++ repos/community-any/PKGBUILD	2019-05-30 19:42:40 UTC (rev 475147)
@@ -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