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

David Runge dvzrv at gemini.archlinux.org
Wed Oct 20 11:14:53 UTC 2021


    Date: Wednesday, October 20, 2021 @ 11:14:53
  Author: dvzrv
Revision: 1031394

archrelease: copy trunk to community-x86_64

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

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

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2021-10-20 11:14:44 UTC (rev 1031393)
+++ PKGBUILD	2021-10-20 11:14:53 UTC (rev 1031394)
@@ -1,45 +0,0 @@
-# Maintainer: David Runge <dvzrv at archlinux.org>
-
-_name=pywlroots
-pkgname=python-pywlroots
-pkgver=0.14.8
-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=('ae22a6cd7db8ce9706aed21167d53c449e3f61b09656ff9cc54307b0548d9c9ccf0bd591b77662a7b0abcf8db2428f370197e562d8fffb77fc371c8c274dde99')
-b2sums=('84cddb9d71ed98cd0f17b47c856477a2543043283f33e24d5b6e27795689337f3703fbed3f53e6a6ef74c36b05948aa0a3f758f02fde136f1a1e6dc328a560d0')
-
-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 1031393, python-pywlroots/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2021-10-20 11:14:53 UTC (rev 1031394)
@@ -0,0 +1,45 @@
+# Maintainer: David Runge <dvzrv at archlinux.org>
+
+_name=pywlroots
+pkgname=python-pywlroots
+pkgver=0.14.9
+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=('3c3e2d2bb32ff7876af592b33eef5403308b8776919d1eafdbe20f3c094138728ff461c21502dc1705c7183abb87cbdcf98eab2e3c77e623cb71ee53104641e6')
+b2sums=('95c6bad600e8e4bd90723fc0184e744d690daf785e41ac444708fa0a1fe4003c593206b29a34abb858d0d1e034f702f89db343e4f95da6ffd8eebc012b9f8b85')
+
+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}"
+}



More information about the arch-commits mailing list