[arch-commits] Commit in qtile/repos (2 files)
Felix Yan
felixonmars at archlinux.org
Mon Nov 4 00:44:24 UTC 2019
Date: Monday, November 4, 2019 @ 00:44:23
Author: felixonmars
Revision: 522845
archrelease: copy trunk to community-staging-any
Added:
qtile/repos/community-staging-any/
qtile/repos/community-staging-any/PKGBUILD
(from rev 522844, qtile/trunk/PKGBUILD)
----------+
PKGBUILD | 72 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
1 file changed, 72 insertions(+)
Copied: qtile/repos/community-staging-any/PKGBUILD (from rev 522844, qtile/trunk/PKGBUILD)
===================================================================
--- community-staging-any/PKGBUILD (rev 0)
+++ community-staging-any/PKGBUILD 2019-11-04 00:44:23 UTC (rev 522845)
@@ -0,0 +1,72 @@
+# Maintainer: David Runge <dave at sleepmap.de>
+pkgname=qtile
+pkgver=0.14.2
+pkgrel=3
+pkgdesc="A full-featured, pure-Python tiling window manager"
+arch=('any')
+url="http://www.qtile.org"
+license=('MIT')
+depends=('gdk-pixbuf2' 'pango' 'python-xcffib' 'python-cairocffi' 'python-dbus'
+'python-gobject' 'python-setuptools' 'python-six')
+makedepends=('jupyter_console' 'python-ipykernel' 'python-iwlib'
+'python-keyring' 'python-mpd2' 'python-psutil' 'python-pytest' 'python-setuptools'
+'python-xdg')
+optdepends=('alsa-utils: volume widget'
+ 'canto-daemon: canto widget'
+ 'cmus: cmus widget'
+ 'khal: khal_calendar widget'
+ 'lm_sensors: sensors widget'
+ 'moc: moc widget'
+ 'python-iwlib: wlan widget'
+ 'python-keyring: imapwidget widget'
+ 'python-mpd2: mpdwidget, mpd2widget widget'
+ 'python-psutil: graph, net and memory widget'
+ 'python-setproctitle: change process name to qtile'
+ 'python-xdg: launchbar widget')
+checkdepends=('imagemagick' 'python-pytest' 'python-xvfbwrapper' 'xorg-xcalc'
+'xorg-xclock' 'xorg-xeyes' 'xorg-server-xephyr' 'xorg-xrandr' 'xterm')
+source=("${pkgname}-${pkgver}.tar.gz::https://github.com/${pkgname}/${pkgname}/archive/v${pkgver}.tar.gz")
+sha512sums=('c6653e8dca24cef4b1cf48c26b2a0feb4bc125a1c966e0a3ea078fd1d1bba9c7306facf620438795aa2d2daecbd6e58bcda954753ab6b27f6c0cbead3766d8c0')
+
+build() {
+ cd "${pkgname}-${pkgver}"
+ python setup.py build
+}
+
+# # tests disabled for now, as the test suite won't return:
+# # https://github.com/qtile/qtile/issues/1130
+# # some tests are failing:
+# # https://github.com/qtile/qtile/issues/1352
+# check() {
+# cd "${pkgname}-${pkgver}"
+# export PYTTHONPATH="build/lib/:${PYTHONPATH}"
+# export LC_TYPE=en_US.UTF-8
+# ./scripts/ffibuild
+# py.test -vv -k 'not test_images_good \
+# and not test_svg_scaling \
+# and not test_pattern_rotate \
+# and not test_pattern \
+# and not test_from_path \
+# and not test_init \
+# and not test_get_cairo_surface'
+# }
+
+package() {
+ cd "${pkgname}-${pkgver}"
+ # install
+ python setup.py install --skip-build \
+ --optimize=1 \
+ --root="${pkgdir}" \
+ --prefix=/usr
+ # license
+ install -vDm 644 LICENSE -t "${pkgdir}/usr/share/licenses/${pkgname}/"
+ # config
+ install -vDm 644 libqtile/resources/default_config.py \
+ -t "${pkgdir}/usr/share/doc/${pkgname}/"
+ # desktop file
+ install -vDm 644 "resources/${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