[arch-commits] Commit in qtile/trunk (PKGBUILD)

David Runge dvzrv at archlinux.org
Tue Jul 24 22:11:02 UTC 2018


    Date: Tuesday, July 24, 2018 @ 22:11:01
  Author: dvzrv
Revision: 363316

upgpkg: qtile 0.12.0-1

Upgrading to 0.12.0.

Modified:
  qtile/trunk/PKGBUILD

----------+
 PKGBUILD |   45 +++++++++++++++++----------------------------
 1 file changed, 17 insertions(+), 28 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2018-07-24 21:41:11 UTC (rev 363315)
+++ PKGBUILD	2018-07-24 22:11:01 UTC (rev 363316)
@@ -1,8 +1,9 @@
+# $Id$
 # Maintainer: David Runge <dave at sleepmap.de>
 
 pkgname=qtile
-pkgver=0.11.1
-pkgrel=4
+pkgver=0.12.0
+pkgrel=1
 pkgdesc="A full-featured, pure-Python tiling window manager."
 arch=('any')
 url="http://www.qtile.org"
@@ -28,36 +29,24 @@
             'python-mpd2: mpdwidget, mpd2widget widget'
             'python-setproctitle: change process name to qtile'
             'python-xdg: launchbar widget')
-#checkdepends=('python-pytest' 'xorg-server-xvfb' 'xorg-server-xephyr')
+checkdepends=('python-pytest' 'python-xvfbwrapper' 'xorg-server-xephyr')
 source=("${pkgname}-${pkgver}.tar.gz::https://github.com/${pkgname}/${pkgname}/archive/v${pkgver}.tar.gz")
-sha512sums=('9cc2cdf5a01495c680fae62d23348d68cca456ce2c31848bef23825c943a5e8aebcc3ea70879388af06d222ab703dd410db14e6a9bd4180d90f57651b9dbaed5')
+sha512sums=('a94237c40775524e16aebdd8555d0ed0623c248b65aee32851145e8a6cc54ce4d46ee5cf4c4f583e468de4557a565c4281660219e4b2ee1b73fb483567e1a5b2')
 
-prepare() {
-  cd "${pkgname}-${pkgver}"
-  # fix same-name-issue with renameutils:
-  # https://bugs.archlinux.org/task/57710
-  mv -v bin/qcmd bin/qtile-cmd
-  sed -e 's/qcmd \=/qtile-cmd \=/g' -i setup.py
-  sed -e 's/qcmd \-h/qtile-cmd \-h/' \
-      -e 's/to qcmd/to qtile-cmd/' \
-      -e 's,s/qcmd,s/qtile-cmd,' \
-      -e 's/(qcmd/(qtile-cmd/g' \
-      -i bin/dqcmd
-  sed -e 's/qcmd/qtile-cmd/g' -i libqtile/scripts/qcmd.py
-}
-
 build() {
   cd "${pkgname}-${pkgver}"
   python setup.py build
 }
 
-# tests disabled for now, as they don't run headless
-# https://github.com/qtile/qtile/issues/1130
-#check() {
-#  cd "${pkgname}-${pkgver}"
-#  python libqtile/ffi_build.py
-#  py.test
-#}
+# # tests disabled for now, as they don't run headless
+# # https://github.com/qtile/qtile/issues/1130
+# check() {
+#   cd "${pkgname}-${pkgver}"
+#   export PYTTHONPATH="${srcdir}/${pkgname}-${pkgver}/build/lib/:${PYTHONPATH}"
+#   export LC_TYPE=en_US.UTF-8
+#   python libqtile/ffi_build.py
+#   py.test
+# }
 
 package() {
   cd "${pkgname}-${pkgver}"
@@ -67,13 +56,13 @@
     --root="${pkgdir}" \
     --prefix=/usr
   # license
-  install -vDm 644 LICENSE "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
+  install -vDm 644 LICENSE -t "${pkgdir}/usr/share/licenses/${pkgname}/"
   # config
   install -vDm 644 libqtile/resources/default_config.py \
-  "${pkgdir}/usr/share/doc/${pkgname}/default_config.py"
+    -t "${pkgdir}/usr/share/doc/${pkgname}/"
   # desktop file
   install -vDm 644 "resources/${pkgname}.desktop" \
-  "${pkgdir}/usr/share/xsessions/${pkgname}.desktop"
+    -t "${pkgdir}/usr/share/xsessions/"
   # docs
   install -t "${pkgdir}/usr/share/doc/${pkgname}/" \
     -vDm 644 {CHANGELOG,README.rst}



More information about the arch-commits mailing list