[arch-commits] Commit in tmuxp/repos/community-any (PKGBUILD PKGBUILD)
David Runge
dvzrv at archlinux.org
Sat Nov 7 09:29:20 UTC 2020
Date: Saturday, November 7, 2020 @ 09:29:19
Author: dvzrv
Revision: 744921
archrelease: copy trunk to community-any
Added:
tmuxp/repos/community-any/PKGBUILD
(from rev 744918, tmuxp/trunk/PKGBUILD)
Deleted:
tmuxp/repos/community-any/PKGBUILD
----------+
PKGBUILD | 96 +++++++++++++++++++++++++++++++------------------------------
1 file changed, 49 insertions(+), 47 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2020-11-07 09:29:19 UTC (rev 744920)
+++ PKGBUILD 2020-11-07 09:29:19 UTC (rev 744921)
@@ -1,47 +0,0 @@
-# Maintainer: David Runge <dvzrv at archlinux.org>
-
-pkgname=tmuxp
-pkgver=1.5.8
-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=('6e026742d8fa8f002de9a2c7144019a2a52965055886993c41fdef23f20b8d596a3ef005125bc9d7b95a68ca10cdc91f644050132beb4ab751d4641c7d4ed104')
-b2sums=('cd4131054174f06485afedfd0b9957f42237df2d9abbe1052c7167b33a5c87aec1c0831032f0e36b9f8fe22dfbcfece9979a440fb57649a7d4962cacba8da1fe')
-
-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 -t "${pkgdir}/usr/share/doc/${pkgname}" \
- -vDm 644 {CHANGES,README.rst}
-}
-
-# vim:set ts=2 sw=2 et:}
Copied: tmuxp/repos/community-any/PKGBUILD (from rev 744918, tmuxp/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2020-11-07 09:29:19 UTC (rev 744921)
@@ -0,0 +1,49 @@
+# Maintainer: David Runge <dvzrv at archlinux.org>
+
+pkgname=tmuxp
+pkgver=1.6.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=('8cb60ecd33b2215fda47d53eb85f0d16adf8ef42bd1f8dd08e6a26c797cc0949eeec33b73067ca63d4de4d377bb493b75278c5c7b7c8524545d02c40242aaca4')
+b2sums=('7cad5955543180ceeed6fbb23bb793a21ddbdbbe3461cd315d91213c36c9da71cf16553acd56029bcb8197ab2746da61cb8dc2e27a18357180fe4d01855c372f')
+
+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