[arch-commits] Commit in python-pywayland/repos/community-x86_64 (PKGBUILD PKGBUILD)
David Runge
dvzrv at gemini.archlinux.org
Mon Feb 21 20:39:12 UTC 2022
Date: Monday, February 21, 2022 @ 20:39:11
Author: dvzrv
Revision: 1135631
archrelease: copy trunk to community-x86_64
Added:
python-pywayland/repos/community-x86_64/PKGBUILD
(from rev 1135630, python-pywayland/trunk/PKGBUILD)
Deleted:
python-pywayland/repos/community-x86_64/PKGBUILD
----------+
PKGBUILD | 82 +++++++++++++++++++++++++++++--------------------------------
1 file changed, 39 insertions(+), 43 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2022-02-21 20:39:04 UTC (rev 1135630)
+++ PKGBUILD 2022-02-21 20:39:11 UTC (rev 1135631)
@@ -1,43 +0,0 @@
-# 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}"
-}
Copied: python-pywayland/repos/community-x86_64/PKGBUILD (from rev 1135630, python-pywayland/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2022-02-21 20:39:11 UTC (rev 1135631)
@@ -0,0 +1,39 @@
+# Maintainer: David Runge <dvzrv at archlinux.org>
+
+_name=pywayland
+pkgname=python-pywayland
+pkgver=0.4.11
+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=('136d42129559d569f372acb65df354c7dab6cb39b5c5039f40132c4ee62fcd89518843af1333a4a6d669855d3cf5c3064602dc12cc9b7ec8ced84d8e4f48bca0')
+b2sums=('f483b255d074cff977cfa1e235d6ed9492dd077eccc1aba9ebfe629977eb1be2b74f88650ce2e5f990a219ecabb37d1e3d81bd5626fa8a0b532a5d2c970a292b')
+
+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
+ mkdir -vp temp
+ 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