[arch-commits] Commit in python-rx/repos (2 files)

Felix Yan felixonmars at gemini.archlinux.org
Tue Nov 30 20:18:13 UTC 2021


    Date: Tuesday, November 30, 2021 @ 20:18:13
  Author: felixonmars
Revision: 1057954

archrelease: copy trunk to community-staging-any

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

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

Copied: python-rx/repos/community-staging-any/PKGBUILD (from rev 1057952, python-rx/trunk/PKGBUILD)
===================================================================
--- community-staging-any/PKGBUILD	                        (rev 0)
+++ community-staging-any/PKGBUILD	2021-11-30 20:18:13 UTC (rev 1057954)
@@ -0,0 +1,47 @@
+# 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=3.2.0
+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=5054de8874f275ed0de55007b87cff4817b1d9f7
+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 -m pytest
+}
+
+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