New package: python3-pywlroots, replaces python3-pywlroots-0.16

This commit is contained in:
Kai Stian Olstad 2024-06-07 20:26:20 +02:00 committed by Đoàn Trần Công Danh
parent 4f4c7ce5c8
commit 98c1344bce
3 changed files with 9 additions and 10 deletions

View File

@ -1 +0,0 @@
pattern="[v_-]\K\Q${pkgname##*-}.\E.*(?=\.tar\.gz)"

View File

@ -1,20 +1,19 @@
# Template file for 'python3-pywlroots-0.16'
pkgname=python3-pywlroots-0.16
version=0.16.7
# Template file for 'python3-pywlroots'
pkgname=python3-pywlroots
version=0.17.0
revision=1
build_style=python3-pep517
hostmakedepends="python3-setuptools python3-cffi python3-pywayland python3-xkbcommon
python3-wheel python3-devel wlroots${pkgname##*-}-devel"
makedepends="python3-devel python3-cffi wlroots${pkgname##*-}-devel"
python3-wheel python3-devel wlroots${version%.*}-devel"
makedepends="python3-devel python3-cffi wlroots${version%.*}-devel"
depends="python3-pywayland python3-xkbcommon python3-cffi"
short_desc="Python binding to the wlroots ${pkgname##*-} using cffi"
short_desc="Python binding to the wlroots library using cffi"
maintainer="Orphaned <orphan@voidlinux.org>"
license="MIT"
homepage="https://github.com/flacjacket/pywlroots"
distfiles="${PYPI_SITE}/p/pywlroots/pywlroots-${version}.tar.gz"
checksum=cdf8dc5d0097cac1be24cc34d18112fc6424ff28c71fd90292c6fd4a566df70a
conflicts="python3-pywlroots-0.15>=0"
replaces="python3-pywlroots-0.15>=0"
checksum=72cb2be14048c0cbc89ccf1b57863013a9977fd51248c300ccc72001e7c43dbb
replaces="python3-pywlroots-0.15>=0 python3-pywlroots-0.16>=0"
pre_build() {
[ "$CROSS_BUILD" ] || return 0

View File

@ -0,0 +1 @@
pattern="[v_-]\K\Q${version%.*}.\E.*(?=\.tar\.gz)"