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

David Runge dvzrv at archlinux.org
Wed Oct 3 20:44:17 UTC 2018


    Date: Wednesday, October 3, 2018 @ 20:44:16
  Author: dvzrv
Revision: 389299

archrelease: copy trunk to community-any

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

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

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2018-10-03 20:44:10 UTC (rev 389298)
+++ PKGBUILD	2018-10-03 20:44:16 UTC (rev 389299)
@@ -1,39 +0,0 @@
-# Maintainer: David Runge <dave at sleepmap.de>
-pkgname=tmuxp
-pkgver=1.4.0
-pkgrel=4
-pkgdesc="tmux session manager. built on libtmux"
-arch=('any')
-url="https://tmuxp.git-pull.com/en/latest/"
-license=('BSD')
-depends=('python-click' 'python-colorama' 'python-kaptan' 'python-setuptools' 'python-libtmux>=0.8.0' 'tmux')
-checkdepends=('python-pytest' 'python-pytest-rerunfailures')
-source=("$pkgname-$pkgver.tar.gz::https://github.com/tony/${pkgname}/archive/v${pkgver}.tar.gz")
-sha512sums=('07086126ebdae6f6bfeac9e9e28f6a93d815273180a15016e6134d817cbff4da5ee3487410f27c89c33bdfa731f7ed4fda26cee7e78d0212a1eab0f660223f0b')
-
-build() {
-  cd "${pkgname}-${pkgver}"
-  python setup.py build
-}
-
-## test_workspacebuilder.py does not return:
-## https://github.com/tmux-python/tmuxp/issues/377
-#check() {
-#  cd "${pkgname}-${pkgver}"
-#  python setup.py test
-#}
-
-package() {
-  cd "${pkgname}-${pkgver}"
-  python setup.py install --skip-build \
-    --optimize=1 \
-    --prefix=/usr \
-    --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 389298, tmuxp/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2018-10-03 20:44:16 UTC (rev 389299)
@@ -0,0 +1,41 @@
+# Maintainer: David Runge <dave at sleepmap.de>
+pkgname=tmuxp
+pkgver=1.5.0a
+pkgrel=1
+pkgdesc="tmux session manager. built on libtmux"
+arch=('any')
+url="https://tmuxp.git-pull.com/en/latest/"
+license=('BSD')
+depends=('python-click' 'python-colorama' 'python-kaptan' 'python-setuptools' 'python-libtmux>=0.8.0' 'tmux')
+checkdepends=('python-pytest' 'python-pytest-rerunfailures')
+# pypi sources don't include tests: https://github.com/tmux-python/tmuxp/issues/431
+#source=("https://files.pythonhosted.org/packages/source/${pkgname::1}/${pkgname}/${pkgname}-${pkgver}.tar.gz")
+source=("$pkgname-$pkgver.tar.gz::https://github.com/tony/${pkgname}/archive/v${pkgver}.tar.gz")
+sha512sums=('e98847eb8613f44f114ecb896bc39ec213a4c7a0c29eb45ea243735aa835582db28d69baeb374c09779687ef0be692c7191fe31226f1b89cc6e4c73d226b0aa8')
+
+build() {
+  cd "${pkgname}-${pkgver}"
+  python setup.py build
+}
+
+# test_workspacebuilder.py does not return:
+# https://github.com/tmux-python/tmuxp/issues/377
+check() {
+  cd "${pkgname}-${pkgver}"
+  py.test -k "not test_workspacebuilder"
+}
+
+package() {
+  cd "${pkgname}-${pkgver}"
+  python setup.py install --skip-build \
+    --optimize=1 \
+    --prefix=/usr \
+    --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:}



More information about the arch-commits mailing list