[arch-commits] Commit in tmuxp/trunk (PKGBUILD)

David Runge dvzrv at gemini.archlinux.org
Mon Aug 1 23:34:34 UTC 2022


    Date: Monday, August 1, 2022 @ 23:34:33
  Author: dvzrv
Revision: 1259737

upgpkg: tmuxp 1.12.0-1: Upgrade to 1.12.0.

Switch to python-poetry-core from python-poetry as make dependency.
Report and deselect broken test.

Modified:
  tmuxp/trunk/PKGBUILD

----------+
 PKGBUILD |   21 +++++++++++----------
 1 file changed, 11 insertions(+), 10 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2022-08-01 23:33:37 UTC (rev 1259736)
+++ PKGBUILD	2022-08-01 23:34:33 UTC (rev 1259737)
@@ -1,7 +1,7 @@
 # Maintainer: David Runge <dvzrv at archlinux.org>
 
 pkgname=tmuxp
-pkgver=1.11.1
+pkgver=1.12.0
 pkgrel=1
 pkgdesc="Tmux session manager built on libtmux"
 arch=(any)
@@ -8,11 +8,11 @@
 url="https://tmuxp.git-pull.com/en/latest/"
 license=(MIT)
 depends=(python-click python-colorama python-kaptan python-libtmux)
-makedepends=(python-build python-installer python-poetry python-wheel)
-checkdepends=(python-pytest python-pytest-rerunfailures)
+makedepends=(python-build python-installer python-poetry-core python-wheel)
+checkdepends=(python-pytest python-pytest-mock python-pytest-rerunfailures)
 source=(https://files.pythonhosted.org/packages/source/${pkgname::1}/$pkgname/$pkgname-$pkgver.tar.gz)
-sha512sums=('9cd397e1cc85ef96c2829c689f023105424b07c938c31dd9ab7b8e097d16a7921256b7070675ac50be883436e0ce965c0ed1ef95414bc2e70fd5a09c99d9dc2d')
-b2sums=('7d9d07ef0266cd2380fc2bafdfc0b9020c0a27013311d8583aa171ab5c2ca2924df099bd6e3d7eed95f344b24b04bd83ad5253179f02a3453df11edea157017f')
+sha512sums=('bc1f777c6f5c897c6d1c322704b30db75f38e1af92f5ce075966e813ef8e5759ae5365464cf4afea4a1c867be3ea431239f658d840c472a105379533fb1e8824')
+b2sums=('ee8bb336494703678570262e44ff6482692f9d69f93d890128ca693bd25005263ef83efd23382bc202728e6de40082b0ae7c6346de369b5e119f52fc697d190e')
 
 build() {
   cd $pkgname-$pkgver
@@ -20,18 +20,19 @@
 }
 
 check() {
+  local _deselected=(
+    # https://github.com/tmux-python/tmuxp/issues/788
+    --deselect tests/test_workspacebuilder.py::test_automatic_rename_option
+  )
   cd $pkgname-$pkgver
-  # test_workspacebuilder.py::test_pane_order does not return:
-  # https://github.com/tmux-python/tmuxp/issues/377
-  pytest -vv -k "not test_pane_order"
+  pytest -vv "${_deselected[@]}"
 }
 
 package() {
   cd $pkgname-$pkgver
   python -m installer --destdir="$pkgdir" dist/*.whl
-  # license
+
   install -vDm 644 LICENSE -t "$pkgdir/usr/share/licenses/$pkgname/"
-  # docs
   install -vDm 644 {CHANGES,README.md} -t "$pkgdir/usr/share/doc/$pkgname/"
   install -vDm 644 examples/*.{json,yaml} -t "$pkgdir/usr/share/doc/$pkgname/examples/"
 }



More information about the arch-commits mailing list