[arch-commits] Commit in tmuxp/repos (2 files)

Felix Yan felixonmars at gemini.archlinux.org
Thu Dec 2 23:33:17 UTC 2021


    Date: Thursday, December 2, 2021 @ 23:33:16
  Author: felixonmars
Revision: 1063126

archrelease: copy trunk to community-staging-any

Added:
  tmuxp/repos/community-staging-any/
  tmuxp/repos/community-staging-any/PKGBUILD
    (from rev 1063124, tmuxp/trunk/PKGBUILD)

----------+
 PKGBUILD |   41 +++++++++++++++++++++++++++++++++++++++++
 1 file changed, 41 insertions(+)

Copied: tmuxp/repos/community-staging-any/PKGBUILD (from rev 1063124, tmuxp/trunk/PKGBUILD)
===================================================================
--- community-staging-any/PKGBUILD	                        (rev 0)
+++ community-staging-any/PKGBUILD	2021-12-02 23:33:16 UTC (rev 1063126)
@@ -0,0 +1,41 @@
+# Maintainer: David Runge <dvzrv at archlinux.org>
+
+pkgname=tmuxp
+pkgver=1.9.3
+pkgrel=2
+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-setuptools')
+checkdepends=('python-pytest' 'python-pytest-rerunfailures')
+source=("https://files.pythonhosted.org/packages/source/${pkgname::1}/${pkgname}/${pkgname}-${pkgver}.tar.gz")
+sha512sums=('6e256d177add0fa820a3971646b2dfb9aa2390888511c046e2191250c68c310b214a69780211e953458a311b72dad8370f34256bc76169a4fa60cdc591067e9d')
+b2sums=('9a465d188094eddcc8822145a3ccc65a7c6d3506ff8e90d01e7eb5d29bbbdab27d15529553be9eb902d3500cb6dd0e2db00f7e8139ea9102fe140d3600313205')
+
+build() {
+  cd "${pkgname}-${pkgver}"
+  python setup.py build
+}
+
+check() {
+  cd "${pkgname}-${pkgver}"
+  # test_workspacebuilder.py::test_pane_order does not return:
+  # https://github.com/tmux-python/tmuxp/issues/377
+  pytest -v -k "not test_pane_order"
+}
+
+package() {
+  cd "${pkgname}-${pkgver}"
+  python setup.py install --optimize=1 --root="${pkgdir}/"
+  # 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/"
+}
+
+# vim:set ts=2 sw=2 et:}



More information about the arch-commits mailing list