[arch-commits] Commit in tmuxp/repos/community-any (PKGBUILD PKGBUILD)
David Runge
dvzrv at archlinux.org
Thu Feb 4 10:21:23 UTC 2021
Date: Thursday, February 4, 2021 @ 10:21:23
Author: dvzrv
Revision: 844363
archrelease: copy trunk to community-any
Added:
tmuxp/repos/community-any/PKGBUILD
(from rev 844362, tmuxp/trunk/PKGBUILD)
Deleted:
tmuxp/repos/community-any/PKGBUILD
----------+
PKGBUILD | 107 +++++++++++++++++++++++++++----------------------------------
1 file changed, 49 insertions(+), 58 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2021-02-04 10:21:16 UTC (rev 844362)
+++ PKGBUILD 2021-02-04 10:21:23 UTC (rev 844363)
@@ -1,58 +0,0 @@
-# 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:}
Copied: tmuxp/repos/community-any/PKGBUILD (from rev 844362, tmuxp/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2021-02-04 10:21:23 UTC (rev 844363)
@@ -0,0 +1,49 @@
+# Maintainer: David Runge <dvzrv at archlinux.org>
+
+pkgname=tmuxp
+pkgver=1.7.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-setuptools' 'python-libtmux')
+checkdepends=('python-pytest' 'python-pytest-rerunfailures')
+source=("https://files.pythonhosted.org/packages/source/${pkgname::1}/${pkgname}/${pkgname}-${pkgver}.tar.gz")
+sha512sums=('35f71fa9da9b6149f0bef72bbe1ff108422d813236e7a8e599c9fea46fadd437f8947e2206a05041a7bbf41338b4adb0558c1f6a0b5b38a08af76fb48aae5549')
+b2sums=('1c3d4628dfbbbe2c985438c58384bc051b457fd8d7e913ad0727874ee9f24aabdc9034f2f79c65f3f98e3ad7ed615fa5995561d6cb455178345f48361f5955a3')
+
+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:}
More information about the arch-commits
mailing list