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

David Runge dvzrv at archlinux.org
Mon Jun 3 21:28:13 UTC 2019


    Date: Monday, June 3, 2019 @ 21:28:12
  Author: dvzrv
Revision: 476819

archrelease: copy trunk to community-any

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

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

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2019-06-03 21:28:07 UTC (rev 476818)
+++ PKGBUILD	2019-06-03 21:28:12 UTC (rev 476819)
@@ -1,49 +0,0 @@
-# Maintainer: David Runge <dave at sleepmap.de>
-pkgname=tmuxp
-pkgver=1.5.1
-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=('ab1a256aa175c7c933c31810a5713807180aa8ac898135e56771d3e9aafefc67bfe7299ce29c97939b6d79c825b60603d85bbe4710e75db61894d7c102087293')
-
-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 476818, tmuxp/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2019-06-03 21:28:12 UTC (rev 476819)
@@ -0,0 +1,49 @@
+# 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:}


More information about the arch-commits mailing list