[arch-commits] Commit in python-rx/repos (2 files)
Maxime Gauduin
alucryd at gemini.archlinux.org
Thu Jun 30 16:08:26 UTC 2022
Date: Thursday, June 30, 2022 @ 16:08:26
Author: alucryd
Revision: 1243070
archrelease: copy trunk to community-testing-any
Added:
python-rx/repos/community-testing-any/
python-rx/repos/community-testing-any/PKGBUILD
(from rev 1243069, python-rx/trunk/PKGBUILD)
----------+
PKGBUILD | 54 ++++++++++++++++++++++++++++++++++++++++++++++++++++++
1 file changed, 54 insertions(+)
Copied: python-rx/repos/community-testing-any/PKGBUILD (from rev 1243069, python-rx/trunk/PKGBUILD)
===================================================================
--- community-testing-any/PKGBUILD (rev 0)
+++ community-testing-any/PKGBUILD 2022-06-30 16:08:26 UTC (rev 1243070)
@@ -0,0 +1,54 @@
+# 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=4.0.2
+pkgrel=1
+pkgdesc='Reactive Extensions for Python'
+arch=(any)
+url=http://reactivex.io
+license=(APACHE)
+depends=(
+ python
+ python-typing-extensions
+)
+makedepends=(
+ git
+ python-build
+ python-installer
+ python-poetry
+)
+checkdepends=(
+ python-coverage
+ python-nose
+ python-pytest
+ python-pytest-asyncio
+)
+_tag=430cfabbf11eb8e07bc7a875e3d9a26dc5823311
+source=(git+https://github.com/ReactiveX/RxPY.git#tag=${_tag})
+sha256sums=(SKIP)
+
+pkgver() {
+ cd RxPY
+ _pkgver=$(git describe --tags | sed 's/^v//')
+ poetry version -q ${_pkgver}
+ echo ${_pkgver}
+}
+
+build() {
+ cd RxPY
+ python -m build --wheel --skip-dependency-check --no-isolation
+}
+
+check() {
+ cd RxPY
+ python -m pytest
+}
+
+package() {
+ cd RxPY
+ python -m installer --destdir="$pkgdir" dist/*.whl
+}
+
+# vim: ts=2 sw=2 et:
More information about the arch-commits
mailing list