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

David Runge dvzrv at gemini.archlinux.org
Wed Sep 22 17:25:22 UTC 2021


    Date: Wednesday, September 22, 2021 @ 17:25:22
  Author: dvzrv
Revision: 1021650

archrelease: copy trunk to community-x86_64

Added:
  python-pywlroots/repos/community-x86_64/PKGBUILD
    (from rev 1021649, 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-09-22 17:25:15 UTC (rev 1021649)
+++ PKGBUILD	2021-09-22 17:25:22 UTC (rev 1021650)
@@ -1,45 +0,0 @@
-# Maintainer: David Runge <dvzrv at archlinux.org>
-
-_name=pywlroots
-pkgname=python-pywlroots
-pkgver=0.14.4
-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=('a18b23f009403dad18a4a31401f3c4b23b8ae770669f212f065e954ed21b89711ab97b06354257ddd5c4260f0e07e75bcdc2d2e0355fd5ce0bc18c8300455db8')
-b2sums=('4eb532611c78b6e42643f2502d414102eef061e6ce68d26d31efd38b276e1aeae98f0f04251323a61dc66c030e7103348367011b8a2c8360cb39cd102784abf9')
-
-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 1021649, python-pywlroots/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2021-09-22 17:25:22 UTC (rev 1021650)
@@ -0,0 +1,45 @@
+# Maintainer: David Runge <dvzrv at archlinux.org>
+
+_name=pywlroots
+pkgname=python-pywlroots
+pkgver=0.14.5
+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=('6441c5fdb06b20e63d5afb34400763a36a6e83bfdc99b36e937b031391b9a8189e2947015e086ca217cc4b24711a753f9fb35446d7234aee570ebda041eec153')
+b2sums=('c7c948f98012f599eb0043220ff0409c8f707b89818a7b01da0c6fb148b9ce00c951d09b169c7980e72078e116ba622fc6e72bf2dcfa19858e9105abebea4dc3')
+
+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