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

David Runge dvzrv at gemini.archlinux.org
Sun Feb 20 10:50:35 UTC 2022


    Date: Sunday, February 20, 2022 @ 10:50:34
  Author: dvzrv
Revision: 1135251

upgpkg: python-pywlroots 0.15.9-1: Upgrade to 0.15.9.

Remove unneeded quotes and curly braces.

Modified:
  python-pywlroots/trunk/PKGBUILD

----------+
 PKGBUILD |   22 +++++++++++-----------
 1 file changed, 11 insertions(+), 11 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2022-02-20 10:24:03 UTC (rev 1135250)
+++ PKGBUILD	2022-02-20 10:50:34 UTC (rev 1135251)
@@ -2,7 +2,7 @@
 
 _name=pywlroots
 pkgname=python-pywlroots
-pkgver=0.15.8
+pkgver=0.15.9
 pkgrel=1
 pkgdesc="Python binding to the wlroots library using cffi"
 arch=(x86_64)
@@ -16,12 +16,12 @@
 conflicts=(pywlroots)
 replaces=(pywlroots)
 options=(debug)
-source=("https://files.pythonhosted.org/packages/source/${_name::1}/${_name}/${_name}-${pkgver}.tar.gz")
-sha512sums=('7212632572b2e4287f0775f49a4814631c89f5f91fa0b433bcdd30b41db7dd6e4c600ef462955db2df0bdb34926725f524cb1ddfe1fa7ade9b48a06eb7084e20')
-b2sums=('001bcbaec61644ac67745fdbcf34cf518d5f80b73de53ee68eacb2a138289b7468f65710c5b1a8540f4c8b2fb0c0df5fe027541c195f93aebc81a5731b8b9c05')
+source=("https://files.pythonhosted.org/packages/source/${_name::1}/$_name/$_name-$pkgver.tar.gz")
+sha512sums=('bf3ff401b23802bcfd7767e9469c1a3f666a32b1dfe80b0ec0e35675873d8ad6e9978a8cca611de6a1f8bd8fe6604a5ccab7853c7030728757516f87841588be')
+b2sums=('91a27c4cc89fe24c88a0760d7bb6d97d02b79844d25ae5b925b385af47ed850ec6824056deb58b4abd1446f544efb44eda5c469de22307ad12346a0effd33350')
 
 build() {
-  cd "${_name}-$pkgver"
+  cd $_name-$pkgver
   python wlroots/ffi_build.py
   python setup.py build
 }
@@ -29,14 +29,14 @@
 check() {
   local _py_ver=$(python -c 'import sys; print(".".join(map(str, sys.version_info[:2])))')
 
-  cd "${_name}-$pkgver"
-  export PYTHONPATH="build/lib.linux-${CARCH}-${_py_ver}:${PYTHONPATH}"
+  cd $_name-$pkgver
+  export PYTHONPATH="build/lib.linux-$CARCH-$_py_ver:$PYTHONPATH"
   pytest -v
 }
 
 package() {
-  cd "${_name}-$pkgver"
-  python setup.py install --optimize=1 --root="${pkgdir}"
-  install -vDm 644 README.rst -t "${pkgdir}/usr/share/doc/${pkgname}"
-  install -vDm 644 LICENSE -t "${pkgdir}/usr/share/licenses/${pkgname}"
+  cd $_name-$pkgver
+  python setup.py install --optimize=1 --root="$pkgdir"
+  install -vDm 644 README.rst -t "$pkgdir/usr/share/doc/$pkgname"
+  install -vDm 644 LICENSE -t "$pkgdir/usr/share/licenses/$pkgname"
 }



More information about the arch-commits mailing list