Frederik Schwan pushed to branch main at Arch Linux / Packaging / Packages /
python-pywlroots
Commits:
b9acdc79 by Frederik Schwan at 2024-07-13T14:43:21+02:00
upgpkg: 0.17.0-2: move to wlroots0.17
- - - - -
2 changed files:
- .SRCINFO
- PKGBUILD
Changes:
=====================================
.SRCINFO
=====================================
@@ -1,7 +1,7 @@
pkgbase = python-pywlroots
pkgdesc = Python binding to the wlroots library using cffi
pkgver = 0.17.0
- pkgrel = 1
+ pkgrel = 2
url = https://github.com/flacjacket/pywlroots
arch = x86_64
license = NCSA
@@ -15,7 +15,7 @@ pkgbase = python-pywlroots
depends = python-cffi
depends = python-pywayland
depends = python-xkbcommon
- depends = wlroots
+ depends = wlroots0.17
provides = pywlroots
conflicts = pywlroots
replaces = pywlroots
@@ -24,3 +24,10 @@ pkgbase = python-pywlroots
b2sums =
8e73b3e15f93b85e32e298664dae90870c095a674ef5db2730cbf1c0cd18e27911ac96a3988ef7b7fcc77758d23f7370f2e07469b096de372475654a91c9cd17
pkgname = python-pywlroots
+ depends = glibc
+ depends = python
+ depends = python-cffi
+ depends = python-pywayland
+ depends = python-xkbcommon
+ depends = wlroots0.17
+ depends = libwlroots.so=12
=====================================
PKGBUILD
=====================================
@@ -3,7 +3,7 @@
_name=pywlroots
pkgname=python-pywlroots
pkgver=0.17.0
-pkgrel=1
+pkgrel=2
pkgdesc="Python binding to the wlroots library using cffi"
arch=(x86_64)
url="https://github.com/flacjacket/pywlroots"
@@ -14,7 +14,7 @@ depends=(
python-cffi
python-pywayland
python-xkbcommon
- wlroots
+ wlroots0.17
)
makedepends=(
python-build
@@ -31,6 +31,8 @@
sha512sums=('7084d68092c01b44676304b602b47eee237d835d2bee7a71f1e9faeedbdb407ae5c
b2sums=('8e73b3e15f93b85e32e298664dae90870c095a674ef5db2730cbf1c0cd18e27911ac96a3988ef7b7fcc77758d23f7370f2e07469b096de372475654a91c9cd17')
build() {
+ export CFLAGS="$CFLAGS -I/usr/include/wlroots0.17"
+ export LDFLAGS="$LDFLAGS -L/usr/lib/wlroots0.17"
cd $_name-$pkgver
python wlroots/ffi_build.py
python -m build --wheel --no-isolation
@@ -46,6 +48,7 @@ check() {
}
package() {
+ depends+=(libwlroots.so=12)
cd $_name-$pkgver
python -m installer --destdir="$pkgdir" dist/*.whl
install -vDm 644 README.rst -t "$pkgdir/usr/share/doc/$pkgname"
View it on GitLab:
https://gitlab.archlinux.org/archlinux/packaging/packages/python-pywlroots/-/commit/b9acdc79898369d2478bbf887e1728c5036843eb
--
View it on GitLab:
https://gitlab.archlinux.org/archlinux/packaging/packages/python-pywlroots/-/commit/b9acdc79898369d2478bbf887e1728c5036843eb
You're receiving this email because of your account on gitlab.archlinux.org.