[arch-commits] Commit in tmuxp/repos/community-any (PKGBUILD PKGBUILD)

David Runge dvzrv at archlinux.org
Sun Jan 10 13:36:19 UTC 2021


    Date: Sunday, January 10, 2021 @ 13:36:18
  Author: dvzrv
Revision: 817061

archrelease: copy trunk to community-any

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

----------+
 PKGBUILD |  107 +++++++++++++++++++++++++++++++++----------------------------
 1 file changed, 58 insertions(+), 49 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2021-01-10 13:36:09 UTC (rev 817060)
+++ PKGBUILD	2021-01-10 13:36:18 UTC (rev 817061)
@@ -1,49 +0,0 @@
-# Maintainer: David Runge <dvzrv at archlinux.org>
-
-pkgname=tmuxp
-pkgver=1.6.4
-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-setuptools' 'python-libtmux')
-checkdepends=('python-pytest' 'python-pytest-rerunfailures')
-source=("https://files.pythonhosted.org/packages/source/${pkgname::1}/${pkgname}/${pkgname}-${pkgver}.tar.gz")
-sha512sums=('a10456c97dedb6f57ef9e7cce2b123340fc3ebb75130b034a52e35b2c5148b108582dd24001a458bce05e187d34838d70b9173628505332221d35966ee405434')
-b2sums=('46560de840673c10d4edab9cd295744f45331cd2d827d1c0385df47b66d110ec234f8f6b9dec024e3203be547a969b97b3a44226629f624034adee51bd805857')
-
-prepare() {
-  cd "${pkgname}-${pkgver}"
-  # remove all hard version pinning:
-  # https://github.com/tmux-python/tmuxp/issues/432
-  sed -e 's/==/>=/g' -i requirements/*.txt
-}
-
-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 --skip-build \
-                          --optimize=1 \
-                          --root="${pkgdir}/"
-  # license
-  install -vDm 644 LICENSE -t "${pkgdir}/usr/share/licenses/${pkgname}/"
-  # docs
-  install -vDm 644 {CHANGES,README.rst} \
-    -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 817060, tmuxp/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2021-01-10 13:36:18 UTC (rev 817061)
@@ -0,0 +1,58 @@
+# Maintainer: David Runge <dvzrv at archlinux.org>
+
+pkgname=tmuxp
+pkgver=1.7.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-setuptools' 'python-libtmux')
+checkdepends=('python-pytest' 'python-pytest-rerunfailures')
+source=("https://files.pythonhosted.org/packages/source/${pkgname::1}/${pkgname}/${pkgname}-${pkgver}.tar.gz")
+sha512sums=('51bbd83a5a68bf9dcf565758a72660b8231b7aacdbba87c0882df9e54886493a8058b2ceca7ff908bce0fe9aabbb885bb2098a14b20c3e306536701326c4d3a5')
+b2sums=('44b6c5bea51b4ac6beca519eebe1e92cc6f8846d5ab26424fb01feb96a4b4e761486cb28400eee34d98ce495943a080cac90a3e0b30f6158f85ed5fb40ce810e')
+
+prepare() {
+  cd "${pkgname}-${pkgver}"
+  # remove all hard version pinning:
+  # https://github.com/tmux-python/tmuxp/issues/432
+  sed -e 's/==/>=/g' -i requirements/*.txt
+}
+
+build() {
+  cd "${pkgname}-${pkgver}"
+  python setup.py build
+}
+
+check() {
+  cd "${pkgname}-${pkgver}"
+  # fixtures are not imported correctly without poetry
+  # https://github.com/tmux-python/tmuxp/issues/658
+  PYTHONPATH="build:tests/fixtures/pluginsystem/plugins/tmuxp_test_plugin_awf" \
+  PYTHONPATH+=':tests/fixtures/pluginsystem/plugins/tmuxp_test_plugin_bs' \
+  PYTHONPATH+=':tests/fixtures/pluginsystem/plugins/tmuxp_test_plugin_bwb' \
+  PYTHONPATH+=':tests/fixtures/pluginsystem/plugins/tmuxp_test_plugin_fail' \
+  PYTHONPATH+=':tests/fixtures/pluginsystem/plugins/tmuxp_test_plugin_owc' \
+  PYTHONPATH+=":tests/fixtures/pluginsystem/plugins/tmuxp_test_plugin_r:$PYTHONPATH"
+  export PYTHONPATH
+  # 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 --skip-build \
+                          --optimize=1 \
+                          --root="${pkgdir}/"
+  # license
+  install -vDm 644 LICENSE -t "${pkgdir}/usr/share/licenses/${pkgname}/"
+  # docs
+  install -vDm 644 {CHANGES,README.rst} \
+    -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