[arch-commits] Commit in python-pywlroots/repos/community-x86_64 (PKGBUILD PKGBUILD)
David Runge
dvzrv at gemini.archlinux.org
Thu Feb 24 11:24:43 UTC 2022
Date: Thursday, February 24, 2022 @ 11:24:43
Author: dvzrv
Revision: 1136394
archrelease: copy trunk to community-x86_64
Added:
python-pywlroots/repos/community-x86_64/PKGBUILD
(from rev 1136393, python-pywlroots/trunk/PKGBUILD)
Deleted:
python-pywlroots/repos/community-x86_64/PKGBUILD
----------+
PKGBUILD | 84 ++++++++++++++++++++++++++++++-------------------------------
1 file changed, 42 insertions(+), 42 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2022-02-24 11:24:33 UTC (rev 1136393)
+++ PKGBUILD 2022-02-24 11:24:43 UTC (rev 1136394)
@@ -1,42 +0,0 @@
-# Maintainer: David Runge <dvzrv at archlinux.org>
-
-_name=pywlroots
-pkgname=python-pywlroots
-pkgver=0.15.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)
-options=(debug)
-source=("https://files.pythonhosted.org/packages/source/${_name::1}/$_name/$_name-$pkgver.tar.gz")
-sha512sums=('bf3ff401b23802bcfd7767e9469c1a3f666a32b1dfe80b0ec0e35675873d8ad6e9978a8cca611de6a1f8bd8fe6604a5ccab7853c7030728757516f87841588be')
-b2sums=('91a27c4cc89fe24c88a0760d7bb6d97d02b79844d25ae5b925b385af47ed850ec6824056deb58b4abd1446f544efb44eda5c469de22307ad12346a0effd33350')
-
-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"
-}
Copied: python-pywlroots/repos/community-x86_64/PKGBUILD (from rev 1136393, python-pywlroots/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2022-02-24 11:24:43 UTC (rev 1136394)
@@ -0,0 +1,42 @@
+# Maintainer: David Runge <dvzrv at archlinux.org>
+
+_name=pywlroots
+pkgname=python-pywlroots
+pkgver=0.15.10
+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)
+options=(debug)
+source=(https://files.pythonhosted.org/packages/source/${_name::1}/$_name/$_name-$pkgver.tar.gz)
+sha512sums=('4b1bc251980095c6a4db0b0a78314c9603200712dca7c08b45b3e2bb4439bd60d9f5d3e14b813de1188f6f36a2756edffe73be0dbe0fcb0bf9a2128298e3ed70')
+b2sums=('7e741ac2a37bcf292bef56d29c9e1a5ab157ea25f148cb19563900b7b9af94596749c92a7adb2d384b9f47994452f6b1cd541c05a22a4f025c19efdf7d663372')
+
+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