Leonidas Spyropoulos pushed to branch main at Arch Linux / Packaging / Packages 
/ python-pytest-textual-snapshot


Commits:
cd797383 by Leonidas Spyropoulos at 2025-12-24T19:02:12+00:00
upgpkg: 1.1.0-3: Include resources package when building wheels

https://github.com/Textualize/pytest-textual-snapshot/pull/26

- - - - -


2 changed files:

- .SRCINFO
- PKGBUILD


Changes:

=====================================
.SRCINFO
=====================================
@@ -1,7 +1,7 @@
 pkgbase = python-pytest-textual-snapshot
        pkgdesc = A pytest plugin for snapshot testing Textual applications
        pkgver = 1.1.0
-       pkgrel = 2
+       pkgrel = 3
        url = https://github.com/Textualize/pytest-textual-snapshot
        arch = any
        license = MIT


=====================================
PKGBUILD
=====================================
@@ -3,7 +3,7 @@
 _base=pytest-textual-snapshot
 pkgname=python-${_base}
 pkgver=1.1.0
-pkgrel=2
+pkgrel=3
 pkgdesc="A pytest plugin for snapshot testing Textual applications"
 arch=(any)
 url="https://github.com/Textualize/${_base}";
@@ -25,6 +25,13 @@ makedepends=(
 source=("git+$url.git#tag=v${pkgver}")
 
sha512sums=('0612f85fb5b729581e7ffd388285b5e1bb895a0a7af4548bccf69e662f381e2815fd2ad9ae1e9500fb5308b02f14c01dfb34d7b108cca79515cca43c5e2492a1')
 
+prepare() {
+  cd ${_base}
+  sed -i \
+    's#"resources\/\*\*\/\*"#{ path = "resources\/\*\*\/\*", format = 
["sdist", "wheel"] }#' \
+    pyproject.toml
+}
+
 build() {
   cd ${_base}
   python -m build --wheel --no-isolation



View it on GitLab: 
https://gitlab.archlinux.org/archlinux/packaging/packages/python-pytest-textual-snapshot/-/commit/cd7973835a54679e60cb78f3b85f0ebf5f818942

-- 
View it on GitLab: 
https://gitlab.archlinux.org/archlinux/packaging/packages/python-pytest-textual-snapshot/-/commit/cd7973835a54679e60cb78f3b85f0ebf5f818942
You're receiving this email because of your account on gitlab.archlinux.org.


Reply via email to