[arch-commits] Commit in python-reactivex (3 files)
Maxime Gauduin
alucryd at gemini.archlinux.org
Thu Aug 18 12:48:28 UTC 2022
Date: Thursday, August 18, 2022 @ 12:48:28
Author: alucryd
Revision: 1267281
archrelease: copy trunk to community-any
Added:
python-reactivex/repos/
python-reactivex/repos/community-any/
python-reactivex/repos/community-any/PKGBUILD
(from rev 1267280, python-reactivex/trunk/PKGBUILD)
----------+
PKGBUILD | 54 ++++++++++++++++++++++++++++++++++++++++++++++++++++++
1 file changed, 54 insertions(+)
Copied: python-reactivex/repos/community-any/PKGBUILD (from rev 1267280, python-reactivex/trunk/PKGBUILD)
===================================================================
--- repos/community-any/PKGBUILD (rev 0)
+++ repos/community-any/PKGBUILD 2022-08-18 12:48:28 UTC (rev 1267281)
@@ -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-reactivex
+pkgver=4.0.4
+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-poetry
+ python-installer
+)
+checkdepends=(
+ python-coverage
+ python-nose
+ python-pytest
+ python-pytest-asyncio
+)
+_tag=7187453c1a829c3f7ceeadae722f2d1d13f6b51e
+source=(git+https://github.com/ReactiveX/RxPY.git#tag=${_tag})
+sha256sums=(SKIP)
+
+pkgver() {
+ cd RxPY
+ _version=$(git describe --tags | sed 's/^v//')
+ poetry version -q ${_version}
+ echo "__version__ = \"${_version}\"" > reactivex/_version.py
+ echo ${_version}
+}
+
+build() {
+ cd RxPY
+ python -m build --wheel --no-isolation
+}
+
+check() {
+ cd RxPY
+ python -m pytest
+}
+
+package() {
+ python -m installer --destdir="${pkgdir}" RxPY/dist/*.whl
+}
+
+# vim: ts=2 sw=2 et:
More information about the arch-commits
mailing list