[arch-commits] Commit in python-rx/repos (2 files)
Felix Yan
felixonmars at archlinux.org
Mon Nov 9 15:34:08 UTC 2020
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 <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.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:
More information about the arch-commits
mailing list