Date: Sunday, November 6, 2022 @ 15:02:27
Author: dvzrv
Revision: 1342963
archrelease: copy trunk to community-any
Added:
tmuxp/repos/community-any/PKGBUILD
(from rev 1342962, tmuxp/trunk/PKGBUILD)
Deleted:
tmuxp/repos/community-any/PKGBUILD
----------+
PKGBUILD | 92 ++++++++++++++++++++++++++++++-------------------------------
1 file changed, 46 insertions(+), 46 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2022-11-06 15:02:13 UTC (rev 1342962)
+++ PKGBUILD 2022-11-06 15:02:27 UTC (rev 1342963)
@@ -1,46 +0,0 @@
-# Maintainer: David Runge <[email protected]>
-
-pkgname=tmuxp
-pkgver=1.18.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=('ab2a365129105090874f5073a8c729c6b3544a6dd5f1adb094984a35c2c34851987d3c880847abe32a4d08f0b949f05778163e518cff3c2b4ec60430db07044b')
-b2sums=('52da8b1a261437458372f0e6e08e138e10186419c41329b4c16fe102e4fccbb1bbfd83e0a213cd9d74ac27801e0e7b2ec52e8f06be156a269506726c30e0a085')
-
-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 1342962,
tmuxp/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2022-11-06 15:02:27 UTC (rev 1342963)
@@ -0,0 +1,46 @@
+# Maintainer: David Runge <[email protected]>
+
+pkgname=tmuxp
+pkgver=1.18.2
+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=('4e085f4ab8c2f7fa00c38fee812a5fc7bd36da1a820a838f9c5f54ce4301b6718eda24633c750a836791f187b55a67a2d6771b3880ee1d1855e23c7588a4c34a')
+b2sums=('b0ceb165382e2147fb502ca7d0bfb9255f69dc4b3d9fdec7a8a782efcc25e8887b4d17e95577567e79b2a198ace897f4edcc5102565f1b85d7e4112485868607')
+
+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:}