Date: Saturday, August 6, 2022 @ 15:17:23 Author: dvzrv Revision: 1260427
archrelease: copy trunk to community-any Added: tmuxp/repos/community-any/PKGBUILD (from rev 1260426, tmuxp/trunk/PKGBUILD) Deleted: tmuxp/repos/community-any/PKGBUILD ----------+ PKGBUILD | 82 +++++++++++++++++++++++++++++++------------------------------ 1 file changed, 42 insertions(+), 40 deletions(-) Deleted: PKGBUILD =================================================================== --- PKGBUILD 2022-08-06 15:17:11 UTC (rev 1260426) +++ PKGBUILD 2022-08-06 15:17:23 UTC (rev 1260427) @@ -1,40 +0,0 @@ -# Maintainer: David Runge <dv...@archlinux.org> - -pkgname=tmuxp -pkgver=1.12.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) -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=('bc1f777c6f5c897c6d1c322704b30db75f38e1af92f5ce075966e813ef8e5759ae5365464cf4afea4a1c867be3ea431239f658d840c472a105379533fb1e8824') -b2sums=('ee8bb336494703678570262e44ff6482692f9d69f93d890128ca693bd25005263ef83efd23382bc202728e6de40082b0ae7c6346de369b5e119f52fc697d190e') - -build() { - cd $pkgname-$pkgver - python -m build --wheel --no-isolation -} - -check() { - local _deselected=( - # https://github.com/tmux-python/tmuxp/issues/788 - --deselect tests/test_workspacebuilder.py::test_automatic_rename_option - ) - cd $pkgname-$pkgver - pytest -vv "${_deselected[@]}" -} - -package() { - 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 1260426, tmuxp/trunk/PKGBUILD) =================================================================== --- PKGBUILD (rev 0) +++ PKGBUILD 2022-08-06 15:17:23 UTC (rev 1260427) @@ -0,0 +1,42 @@ +# Maintainer: David Runge <dv...@archlinux.org> + +pkgname=tmuxp +pkgver=1.12.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) +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=('0bcaf98cb7d6b22b8abf5a449b37b409b81f64c990052abb2afcda8ba9dbfa1bb277b8d19f5078c0d99c1ef10a36af03e4d33264b99af4e5297595483addfebb') +b2sums=('fb72918baea9a39e5cc8702a4f5c8219b9165a23f2b73f5b1006c876c4708253612542da56276bd5009f20ffce83e450b7e1bc78dd87c0dc6e0bb111bcafc1e0') + +build() { + cd $pkgname-$pkgver + python -m build --wheel --no-isolation +} + +check() { + local _deselected=( + # https://github.com/tmux-python/tmuxp/issues/788 + --deselect tests/test_workspacebuilder.py::test_automatic_rename_option + # https://github.com/tmux-python/tmuxp/issues/792 + --deselect tests/test_workspacebuilder.py::test_environment_variables + ) + cd $pkgname-$pkgver + pytest -vv "${_deselected[@]}" +} + +package() { + 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:}