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

David Runge dvzrv at gemini.archlinux.org
Mon Jan 10 20:53:37 UTC 2022


    Date: Monday, January 10, 2022 @ 20:53:37
  Author: dvzrv
Revision: 1100004

archrelease: copy trunk to community-x86_64

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

----------+
 PKGBUILD |   86 +++++++++++++++++++++++++++++--------------------------------
 1 file changed, 41 insertions(+), 45 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2022-01-10 20:53:30 UTC (rev 1100003)
+++ PKGBUILD	2022-01-10 20:53:37 UTC (rev 1100004)
@@ -1,45 +0,0 @@
-# Maintainer: David Runge <dvzrv at archlinux.org>
-
-_name=pywlroots
-pkgname=python-pywlroots
-pkgver=0.14.11
-pkgrel=3
-pkgdesc="Python binding to the wlroots library using cffi"
-arch=(x86_64)
-url="https://github.com/flacjacket/pywlroots"
-license=(custom:UIUC)
-depends=(glibc python-cffi python-pywayland python-xkbcommon wlroots
-libwlroots.so)
-makedepends=(python-setuptools)
-checkdepends=(python-pytest)
-provides=(pywlroots)
-conflicts=(pywlroots)
-replaces=(pywlroots)
-source=("https://files.pythonhosted.org/packages/source/${_name::1}/${_name}/${_name}-${pkgver}.tar.gz")
-sha512sums=('075890c5666a3a7c2685648ab605148e94b69b3450364dd3d0feabf87194b62e79ca60b59e7fda6e574f415961b30b3e49ab85ab48d3483c1029ba7bf17e3dec')
-b2sums=('4f40be41d574c655ee3389d762143357eb14036217dba27b008570944b15e8302d51a082eac9bc1b6c940c460ecb18e2c6af0faac1df0fd2a19b011d7336e26d')
-
-prepare() {
-  mv -v "${_name}-$pkgver" "$pkgname-$pkgver"
-}
-
-build() {
-  cd "$pkgname-$pkgver"
-  python wlroots/ffi_build.py
-  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}"
-  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}"
-  install -vDm 644 LICENSE -t "${pkgdir}/usr/share/licenses/${pkgname}"
-}

Copied: python-pywlroots/repos/community-x86_64/PKGBUILD (from rev 1100003, python-pywlroots/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2022-01-10 20:53:37 UTC (rev 1100004)
@@ -0,0 +1,41 @@
+# Maintainer: David Runge <dvzrv at archlinux.org>
+
+_name=pywlroots
+pkgname=python-pywlroots
+pkgver=0.14.12
+pkgrel=1
+pkgdesc="Python binding to the wlroots library using cffi"
+arch=(x86_64)
+url="https://github.com/flacjacket/pywlroots"
+license=(custom:UIUC)
+depends=(glibc python-cffi python-pywayland python-xkbcommon wlroots
+libwlroots.so)
+makedepends=(python-setuptools)
+checkdepends=(python-pytest)
+provides=(pywlroots)
+conflicts=(pywlroots)
+replaces=(pywlroots)
+source=("https://files.pythonhosted.org/packages/source/${_name::1}/${_name}/${_name}-${pkgver}.tar.gz")
+sha512sums=('06a08c0ad60a6ecdebefe3d014045854a9cb8c1b81ca2400357019f0ba6b3043528fc0ae6ac770f231e5a6eac982fa298613ef744ccc459d42499c6299d63b39')
+b2sums=('05ba1e4883687dcd6294d5077315fcedb77842281052bb861d1bd04197d2388ec77a60d828fda1324b31458ee073d2fbfcaaabc91773ca82f2ebacc1d21c5865')
+
+build() {
+  cd "${_name}-$pkgver"
+  python wlroots/ffi_build.py
+  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}"
+  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}"
+}



More information about the arch-commits mailing list