Date: Wednesday, December 28, 2022 @ 09:56:56
  Author: dvzrv
Revision: 1369858

archrelease: copy trunk to community-any

Added:
  tmuxp/repos/community-any/PKGBUILD
    (from rev 1369857, tmuxp/trunk/PKGBUILD)
Deleted:
  tmuxp/repos/community-any/PKGBUILD

----------+
 PKGBUILD |   94 +++++++++++++++++++++++++++++++------------------------------
 1 file changed, 48 insertions(+), 46 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD    2022-12-28 09:56:41 UTC (rev 1369857)
+++ PKGBUILD    2022-12-28 09:56:56 UTC (rev 1369858)
@@ -1,46 +0,0 @@
-# Maintainer: David Runge <[email protected]>
-
-pkgname=tmuxp
-pkgver=1.19.1
-pkgrel=1
-pkgdesc="Tmux session manager built on libtmux"
-arch=(any)
-url="https://tmuxp.git-pull.com/en/latest/";
-license=(MIT)
-depends=(python-click python-colorama python-kaptan python-libtmux 
python-typing-extensions)
-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=('89bfb35fe2f211271540f01bec7946171eb321d5d815e29d4b61e29c0c67ed7ea694f40bfdecbf7bde4a305cc6b37d241ddf1ceeb55c7fddbbba3f8f7224e398')
-b2sums=('d8d7d33d04ec03bf28ba46551bdfd952939ae1972bd13d681eec82c34bbd0df0776d933302852f638417931903b7178e9ebb931016c86455f05b6cc911083e0a')
-
-build() {
-  cd $pkgname-$pkgver
-  python -m build --wheel --no-isolation
-}
-
-check() {
-  local _deselected=(
-    # https://github.com/tmux-python/tmuxp/issues/788
-    --deselect tests/workspace/test_builder.py::test_automatic_rename_option
-  )
-  local _site_packages=$(python -c "import site; 
print(site.getsitepackages()[0])")
-
-  cd $pkgname-$pkgver
-  python -m installer --destdir=test_dir dist/*.whl
-  export PYTHONPATH="test_dir/$_site_packages:$PYTHONPATH"
-  pytest -vv "${_deselected[@]}" tests
-}
-
-package() {
-  local _site_packages=$(python -c "import site; 
print(site.getsitepackages()[0])")
-
-  cd $pkgname-$pkgver
-  python -m installer --destdir="$pkgdir" dist/*.whl
-
-  install -vDm 644 LICENSE -t "$pkgdir/usr/share/licenses/$pkgname/"
-  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/"
-}
-
-# vim:set ts=2 sw=2 et:

Copied: tmuxp/repos/community-any/PKGBUILD (from rev 1369857, 
tmuxp/trunk/PKGBUILD)
===================================================================
--- PKGBUILD                            (rev 0)
+++ PKGBUILD    2022-12-28 09:56:56 UTC (rev 1369858)
@@ -0,0 +1,48 @@
+# Maintainer: David Runge <[email protected]>
+
+pkgname=tmuxp
+pkgver=1.22.0
+pkgrel=1
+pkgdesc="Tmux session manager built on libtmux"
+arch=(any)
+url="https://tmuxp.git-pull.com/en/latest/";
+license=(MIT)
+depends=(python-click python-colorama python-kaptan python-libtmux 
python-typing-extensions)
+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=('2978be0c6f41ee77498e3141cd7a0c0d14866003b93af164ce0667f35f52eeb48f0e0916acd1ca7e26eda27f8360e20dec981614e0aed313f6b1b524a95c79dd')
+b2sums=('b474ff07bba18c5ade01fc13462b4eb562ea88153921855307a515c96e400bec315da0af9700728ffbd63e090040f8e5cec9b458b99bd40519a762252db51ede')
+
+build() {
+  cd $pkgname-$pkgver
+  python -m build --wheel --no-isolation
+}
+
+check() {
+  local _deselected=(
+    # https://github.com/tmux-python/tmuxp/issues/788
+    --deselect tests/workspace/test_builder.py::test_automatic_rename_option
+    # https://github.com/tmux-python/tmuxp/issues/855
+    --deselect tests/workspace/test_builder.py::test_window_shell
+  )
+  local _site_packages=$(python -c "import site; 
print(site.getsitepackages()[0])")
+
+  cd $pkgname-$pkgver
+  python -m installer --destdir=test_dir dist/*.whl
+  export PYTHONPATH="test_dir/$_site_packages:$PYTHONPATH"
+  pytest -vv "${_deselected[@]}" tests
+}
+
+package() {
+  local _site_packages=$(python -c "import site; 
print(site.getsitepackages()[0])")
+
+  cd $pkgname-$pkgver
+  python -m installer --destdir="$pkgdir" dist/*.whl
+
+  install -vDm 644 LICENSE -t "$pkgdir/usr/share/licenses/$pkgname/"
+  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/"
+}
+
+# vim:set ts=2 sw=2 et:

Reply via email to