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

David Runge dvzrv at archlinux.org
Thu Jun 6 21:38:25 UTC 2019


    Date: Thursday, June 6, 2019 @ 21:38:25
  Author: dvzrv
Revision: 477780

archrelease: copy trunk to community-any

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

----------+
 PKGBUILD |   95 +++++++++++++++++++++++++++++--------------------------------
 1 file changed, 46 insertions(+), 49 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2019-06-06 21:38:20 UTC (rev 477779)
+++ PKGBUILD	2019-06-06 21:38:25 UTC (rev 477780)
@@ -1,49 +0,0 @@
-# Maintainer: David Runge <dave at sleepmap.de>
-pkgname=tmuxp
-pkgver=1.5.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')
-# pypi sources don't include tests: https://github.com/tmux-python/tmuxp/issues/431
-# pypi sources don't include tests/scripts: https://github.com/tmux-python/tmuxp/issues/474
-# source=("https://files.pythonhosted.org/packages/source/${pkgname::1}/${pkgname}/${pkgname}-${pkgver}.tar.gz")
-source=("$pkgname-$pkgver.tar.gz::https://github.com/tmux-python/${pkgname}/archive/v${pkgver}.tar.gz")
-sha512sums=('fac531d47c1cedd1836184d2c898801a60172d4975f2fca1538eb04a875e653c254212afa07da54da8482df4adbc48b608a77c1da31509bc3dc141956366b42c')
-
-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 does not return:
-# https://github.com/tmux-python/tmuxp/issues/377
-  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:}

Copied: tmuxp/repos/community-any/PKGBUILD (from rev 477779, tmuxp/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2019-06-06 21:38:25 UTC (rev 477780)
@@ -0,0 +1,46 @@
+# Maintainer: David Runge <dave at sleepmap.de>
+pkgname=tmuxp
+pkgver=1.5.3
+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=('9d803e715b1b75aec8940996db579ef545f5d291e64c7d4551930ec5ad683d8a5f737cc22328f0d528e709da6f613c8b3451637ec3e93ac7e9d34aea64faa0e0')
+
+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 does not return:
+# https://github.com/tmux-python/tmuxp/issues/377
+  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