Date: Monday, November 9, 2020 @ 15:34:08
  Author: felixonmars
Revision: 746980

archrelease: copy trunk to community-staging-any

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

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

Copied: python-rx/repos/community-staging-any/PKGBUILD (from rev 746977, 
python-rx/trunk/PKGBUILD)
===================================================================
--- community-staging-any/PKGBUILD                              (rev 0)
+++ community-staging-any/PKGBUILD      2020-11-09 15:34:08 UTC (rev 746980)
@@ -0,0 +1,51 @@
+# Maintainer: Maxime Gauduin <[email protected]>
+# Contributor: Ilya Elenskiy <[email protected]>
+# Contributor: Julien Nicoulaud <[email protected]>
+
+pkgname=python-rx
+pkgver=3.1.1
+pkgrel=2
+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
+)
+_tag=f2642a87e6b4d5b3dc9a482323716cf15a6ef570
+source=(git+https://github.com/ReactiveX/RxPY.git#tag=${_tag})
+sha256sums=(SKIP)
+
+pkgver() {
+  cd RxPY
+
+  git describe --tags | sed 's/^v//'
+}
+
+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:

Reply via email to