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

David Runge dvzrv at gemini.archlinux.org
Sat Jul 2 15:56:48 UTC 2022


    Date: Saturday, July 2, 2022 @ 15:56:48
  Author: dvzrv
Revision: 1243636

archrelease: copy trunk to community-x86_64

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

----------+
 PKGBUILD |   80 ++++++++++++++++++++++++++++++-------------------------------
 1 file changed, 40 insertions(+), 40 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2022-07-02 15:56:36 UTC (rev 1243635)
+++ PKGBUILD	2022-07-02 15:56:48 UTC (rev 1243636)
@@ -1,40 +0,0 @@
-# Maintainer: David Runge <dvzrv at archlinux.org>
-
-_name=pywayland
-pkgname=python-pywayland
-pkgver=0.4.12
-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-build python-installer python-setuptools wayland-protocols python-wheel)
-checkdepends=(python-pytest)
-options=(debug)
-source=(https://files.pythonhosted.org/packages/source/${_name::1}/$_name/$_name-$pkgver.tar.gz)
-sha512sums=('f27f4c375db26dcff5b42d377430810abf72fd98d8b24b4cd0671c97e5f8f0863fc71dcc9d7f2dcb60fdcd406218d6c70d5bc778e1cb9d08753d49972eec3e04')
-b2sums=('a2e0486a865a058fdc7cf3365a15c726b053e71179e9baec74695e5f195e65648cb93a30962be609970badad1f693a88c90ca763f7c9ca981526123f8136be39')
-
-build() {
-  cd $_name-$pkgver
-  python pywayland/ffi_build.py
-  python -m pywayland.scanner
-  python -m build --wheel --no-isolation
-}
-
-check() {
-  local _py_ver="$(python -c 'import sys; print(".".join(map(str, sys.version_info[:2])))')"
-
-  cd $_name-$pkgver
-  mkdir -vp temp
-  export PYTHONPATH="build/lib.linux-$CARCH-$_py_ver:$PYTHONPATH"
-  export XDG_RUNTIME_DIR="$PWD/temp"
-  pytest -vv
-}
-
-package() {
-  cd $_name-$pkgver
-  python -m installer --destdir="$pkgdir" dist/*.whl
-  install -vDm 644 README.rst -t "$pkgdir/usr/share/doc/$pkgname"
-}

Copied: python-pywayland/repos/community-x86_64/PKGBUILD (from rev 1243635, python-pywayland/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2022-07-02 15:56:48 UTC (rev 1243636)
@@ -0,0 +1,40 @@
+# Maintainer: David Runge <dvzrv at archlinux.org>
+
+_name=pywayland
+pkgname=python-pywayland
+pkgver=0.4.13
+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-build python-installer python-setuptools wayland-protocols python-wheel)
+checkdepends=(python-pytest)
+options=(debug)
+source=(https://files.pythonhosted.org/packages/source/${_name::1}/$_name/$_name-$pkgver.tar.gz)
+sha512sums=('7e4de2bcbbf996e9f43d5f551af2cbfa02b848f02e96020b5fe8e4c85e4566e6990653dc1344eea4c1473b3f3e1481cad4a9ea62e98508efb1b7c1589c2cee1a')
+b2sums=('49456e892fef0f9324e55a3deeb91eaf3fcfeba41aded994a2ebac1e800caeccabf01be683f0b2ee8ea07759fb1296d864dc404ac640ddff02bed229b20b7ddf')
+
+build() {
+  cd $_name-$pkgver
+  python pywayland/ffi_build.py
+  python -m pywayland.scanner
+  python -m build --wheel --no-isolation
+}
+
+check() {
+  local _py_ver="$(python -c 'import sys; print(".".join(map(str, sys.version_info[:2])))')"
+
+  cd $_name-$pkgver
+  mkdir -vp temp
+  export PYTHONPATH="build/lib.linux-$CARCH-$_py_ver:$PYTHONPATH"
+  export XDG_RUNTIME_DIR="$PWD/temp"
+  pytest -vv
+}
+
+package() {
+  cd $_name-$pkgver
+  python -m installer --destdir="$pkgdir" dist/*.whl
+  install -vDm 644 README.rst -t "$pkgdir/usr/share/doc/$pkgname"
+}



More information about the arch-commits mailing list