[arch-commits] Commit in python-rx/trunk (PKGBUILD)
Maxime Gauduin
alucryd at gemini.archlinux.org
Thu Jun 30 16:08:20 UTC 2022
Date: Thursday, June 30, 2022 @ 16:08:20
Author: alucryd
Revision: 1243069
upgpkg: python-rx 4.0.2-1
Modified:
python-rx/trunk/PKGBUILD
----------+
PKGBUILD | 30 +++++++++++++++---------------
1 file changed, 15 insertions(+), 15 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2022-06-30 16:03:40 UTC (rev 1243068)
+++ PKGBUILD 2022-06-30 16:08:20 UTC (rev 1243069)
@@ -3,16 +3,21 @@
# Contributor: Julien Nicoulaud <julien.nicoulaud at gmail.com>
pkgname=python-rx
-pkgver=3.2.0
-pkgrel=3
+pkgver=4.0.2
+pkgrel=1
pkgdesc='Reactive Extensions for Python'
arch=(any)
url=http://reactivex.io
license=(APACHE)
-depends=(python)
+depends=(
+ python
+ python-typing-extensions
+)
makedepends=(
git
- python-setuptools
+ python-build
+ python-installer
+ python-poetry
)
checkdepends=(
python-coverage
@@ -20,25 +25,20 @@
python-pytest
python-pytest-asyncio
)
-_tag=5054de8874f275ed0de55007b87cff4817b1d9f7
+_tag=430cfabbf11eb8e07bc7a875e3d9a26dc5823311
source=(git+https://github.com/ReactiveX/RxPY.git#tag=${_tag})
sha256sums=(SKIP)
pkgver() {
cd RxPY
- git describe --tags | sed 's/^v//'
+ _pkgver=$(git describe --tags | sed 's/^v//')
+ poetry version -q ${_pkgver}
+ echo ${_pkgver}
}
-prepare() {
- cd RxPY
- # Remove deprecated loop parameter (#575)
- # https://github.com/ReactiveX/RxPY/pull/575
- git format-patch -1 --stdout 246eabfefd17 | patch -Np1
-}
-
build() {
cd RxPY
- python setup.py build
+ python -m build --wheel --skip-dependency-check --no-isolation
}
check() {
@@ -48,7 +48,7 @@
package() {
cd RxPY
- python setup.py install --root="${pkgdir}" --optimize=1 --skip-build
+ python -m installer --destdir="$pkgdir" dist/*.whl
}
# vim: ts=2 sw=2 et:
More information about the arch-commits
mailing list