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

David Runge dvzrv at gemini.archlinux.org
Wed Feb 9 20:43:12 UTC 2022


    Date: Wednesday, February 9, 2022 @ 20:43:12
  Author: dvzrv
Revision: 1130413

archrelease: copy trunk to community-x86_64

Added:
  python-pywayland/repos/community-x86_64/PKGBUILD
    (from rev 1130412, python-pywayland/trunk/PKGBUILD)
Deleted:
  python-pywayland/repos/community-x86_64/PKGBUILD

----------+
 PKGBUILD |   87 ++++++++++++++++++++++++++++++-------------------------------
 1 file changed, 43 insertions(+), 44 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2022-02-09 20:43:05 UTC (rev 1130412)
+++ PKGBUILD	2022-02-09 20:43:12 UTC (rev 1130413)
@@ -1,44 +0,0 @@
-# Maintainer: David Runge <dvzrv at archlinux.org>
-
-_name=pywayland
-pkgname=python-pywayland
-pkgver=0.4.9
-pkgrel=1
-pkgdesc="Python bindings for the libwayland library"
-arch=(x86_64)
-url="https://github.com/flacjacket/pywayland"
-license=(Apache)
-depends=(python-cffi wayland)
-makedepends=(python-setuptools wayland-protocols)
-checkdepends=(python-pytest)
-source=("https://files.pythonhosted.org/packages/source/${_name::1}/${_name}/${_name}-${pkgver}.tar.gz")
-sha512sums=('3d41e54e5bdf50df39253e90a65e5ba0a27dd8797a6015e8b68a8dab918ba76a04f4917e90b99e0ac96cc317e91fa3ce84c7de04f784c0442190c70e4a3c2ca3')
-b2sums=('492ace001c4183e070671e996c5f3454b0e7e29d985f88d4b501342c26d444007cae83b209abec7d3daf72a8286663288679c70a7fd391aec5fd009d43d238ed')
-
-prepare() {
-  mv -v "${_name}-$pkgver" "$pkgname-$pkgver"
-  cd "$pkgname-$pkgver"
-  mkdir -vp temp
-}
-
-build() {
-  cd "$pkgname-$pkgver"
-  python pywayland/ffi_build.py
-  python -m pywayland.scanner
-  python setup.py build
-}
-
-check() {
-  local _py_ver=$(python -c 'import sys; print(".".join(map(str, sys.version_info[:2])))')
-
-  cd "$pkgname-$pkgver"
-  export PYTHONPATH="build/lib.linux-${CARCH}-${_py_ver}:${PYTHONPATH}"
-  export XDG_RUNTIME_DIR="${PWD}/temp"
-  pytest -v
-}
-
-package() {
-  cd "$pkgname-$pkgver"
-  python setup.py install --optimize=1 --root="${pkgdir}"
-  install -vDm 644 README.rst -t "${pkgdir}/usr/share/doc/${pkgname}"
-}

Copied: python-pywayland/repos/community-x86_64/PKGBUILD (from rev 1130412, python-pywayland/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2022-02-09 20:43:12 UTC (rev 1130413)
@@ -0,0 +1,43 @@
+# Maintainer: David Runge <dvzrv at archlinux.org>
+
+_name=pywayland
+pkgname=python-pywayland
+pkgver=0.4.10
+pkgrel=1
+pkgdesc="Python bindings for the libwayland library"
+arch=(x86_64)
+url="https://github.com/flacjacket/pywayland"
+license=(Apache)
+depends=(python-cffi wayland)
+makedepends=(python-setuptools wayland-protocols)
+checkdepends=(python-pytest)
+source=("https://files.pythonhosted.org/packages/source/${_name::1}/${_name}/${_name}-${pkgver}.tar.gz")
+sha512sums=('7abf6ad1aaba50142e5d38d4f9c16390ed10a8bd8157909f34bdd45731c5a0c4463c7d3c5727c9c00949cc19f13e1e09236af585f647c3a7a42eca62ad6139dd')
+b2sums=('c94994b4f27636087c89a02d87996df717037706d3f85005cd012459ad61c2e8df384770077cbead09a7f72a53b329980f001d02083de2d2354eed0f1b9d4acc')
+
+prepare() {
+  cd "${_name}-$pkgver"
+  mkdir -vp temp
+}
+
+build() {
+  cd "${_name}-$pkgver"
+  python pywayland/ffi_build.py
+  python -m pywayland.scanner
+  python setup.py build
+}
+
+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}"
+  export XDG_RUNTIME_DIR="${PWD}/temp"
+  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}"
+}



More information about the arch-commits mailing list