[arch-commits] Commit in qtile/repos/community-x86_64 (PKGBUILD PKGBUILD)

David Runge dvzrv at archlinux.org
Wed Aug 12 20:06:09 UTC 2020


    Date: Wednesday, August 12, 2020 @ 20:06:09
  Author: dvzrv
Revision: 676683

archrelease: copy trunk to community-x86_64

Added:
  qtile/repos/community-x86_64/PKGBUILD
    (from rev 676682, qtile/trunk/PKGBUILD)
Deleted:
  qtile/repos/community-x86_64/PKGBUILD

----------+
 PKGBUILD |  151 +++++++++++++++++++++++++++++++------------------------------
 1 file changed, 78 insertions(+), 73 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2020-08-12 20:06:01 UTC (rev 676682)
+++ PKGBUILD	2020-08-12 20:06:09 UTC (rev 676683)
@@ -1,73 +0,0 @@
-# Maintainer: David Runge <dvzrv at archlinux.org>
-
-pkgname=qtile
-pkgver=0.15.1
-pkgrel=1
-pkgdesc="A full-featured, pure-Python tiling window manager"
-arch=('x86_64')
-url="http://www.qtile.org"
-license=('MIT')
-depends=('gdk-pixbuf2' 'pango' 'python-cffi' 'python-xcffib' 'python-cairocffi'
-'python-dbus' 'python-gobject' 'python-setuptools' 'python-six')
-makedepends=('jupyter_console' 'libpulse' 'python-ipykernel' 'python-iwlib'
-'python-keyring' 'python-psutil' 'python-pytest' 'python-xdg')
-optdepends=('alsa-utils: volume widget'
-            'canto-daemon: canto widget'
-            'cmus: cmus widget'
-            'khal: khal_calendar widget'
-            'libpulse: for pulse_volume and pulseaudio_ffi widget'
-            'lm_sensors: sensors widget'
-            'moc: moc widget'
-            'python-iwlib: wlan widget'
-            'python-keyring: imapwidget widget'
-            'python-mpd2: 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=('57dfeeea212346c14b922303b5d2fd950292383a1da3be6bf5ca0880bedaa3adb7ffc121df617cf763fcd1208c44e34a7ba128a1f2a6e8d3042dd6906ece7e20')
-
-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
-#   pytest -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}
-}

Copied: qtile/repos/community-x86_64/PKGBUILD (from rev 676682, qtile/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2020-08-12 20:06:09 UTC (rev 676683)
@@ -0,0 +1,78 @@
+# Maintainer: David Runge <dvzrv at archlinux.org>
+
+pkgname=qtile
+pkgver=0.16.1
+pkgrel=1
+pkgdesc="A full-featured, pure-Python tiling window manager"
+arch=('x86_64')
+url="http://www.qtile.org"
+license=('MIT')
+depends=('gdk-pixbuf2' 'pango' 'python-cffi' 'python-xcffib' 'python-cairocffi'
+'python-dbus' 'python-gobject' 'python-setuptools')
+makedepends=('jupyter_console' 'libpulse' 'python-ipykernel' 'python-iwlib'
+'python-keyring' 'python-psutil' 'python-pytest' 'python-setuptools-scm' 'python-xdg')
+optdepends=('alsa-utils: volume widget'
+            'canto-daemon: canto widget'
+            'cmus: cmus widget'
+            'khal: khal_calendar widget'
+            'libpulse: for pulse_volume and pulseaudio_ffi widget'
+            'lm_sensors: sensors widget'
+            'moc: moc widget'
+            'python-iwlib: wlan widget'
+            'python-keyring: imapwidget widget'
+            'python-mpd2: 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=("https://files.pythonhosted.org/packages/source/${pkgname::1}/${pkgname}/${pkgname}-${pkgver}.tar.gz")
+sha512sums=('aea42f7f6799a88b586167a57f5b5ab6f1c5bb663dec352d15eb47ce0d37fb23c31d1631cab8178c71be5ae714ec12c35a350377383dba1749a98cd45c22515b')
+b2sums=('1f75f5dbcab6180dcf778e28108e70b6dd01105fa275aadf4a53d96ab84f3b759cb8553bcf3de2011b0990d61adc9269663afa32b83d1aa9c052b00ef9e89358')
+
+build() {
+  cd "${pkgname}-${pkgver}"
+  python setup.py build
+}
+
+check() {
+  cd "${pkgname}-${pkgver}"
+  export PYTTHONPATH="build/lib/:${PYTHONPATH}"
+  export LC_TYPE=en_US.UTF-8
+  echo "building pango"
+  python3 ./libqtile/pango_ffi_build.py
+  echo "building xcursors"
+  python3 ./libqtile/backend/x11/xcursors_ffi_build.py
+  echo "building pulseaudio volume control"
+  python3 ./libqtile/widget/pulseaudio_ffi.py
+  # some tests are failing:
+  # https://github.com/qtile/qtile/issues/1352
+  pytest -v -k "not test_images_good \
+                and not test_qtile_cmd \
+                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