Antonio Rojas pushed to branch main at Arch Linux / Packaging / Packages / 
python-pycrdt-store


Commits:
57af56bb by Antonio Rojas at 2025-06-11T22:51:57+02:00
Hack to make testing work

- - - - -


2 changed files:

- .SRCINFO
- PKGBUILD


Changes:

=====================================
.SRCINFO
=====================================
@@ -10,6 +10,7 @@ pkgbase = python-pycrdt-store
        makedepends = python-build
        makedepends = python-hatchling
        makedepends = python-installer
+       makedepends = python-trio
        depends = python
        depends = python-anyio
        depends = python-pycrdt


=====================================
PKGBUILD
=====================================
@@ -15,7 +15,8 @@ depends=(python
 makedepends=(git
              python-build
              python-hatchling
-             python-installer)
+             python-installer
+             python-trio)
 checkdepends=(python-pytest)
 source=(git+https://github.com/y-crdt/pycrdt-store#tag=$pkgver)
 sha256sums=('055d394509e2e61b60c0b96e6c8a8931cb7b691ce28858604ca9a753e452fde6')
@@ -28,6 +29,8 @@ build() {
 check() {
   cd $_pyname
   python -m venv --system-site-packages test-env
+# hack to allow importing pycrdt/store from the venv
+  cp -r /usr/lib/python*/site-packages/pycrdt/ 
test-env/lib/python*/site-packages
   test-env/bin/python -m installer dist/*.whl
   test-env/bin/python -m pytest -v
 }



View it on GitLab: 
https://gitlab.archlinux.org/archlinux/packaging/packages/python-pycrdt-store/-/commit/57af56bb7179c133cd525136d436d5952166b8ff

-- 
View it on GitLab: 
https://gitlab.archlinux.org/archlinux/packaging/packages/python-pycrdt-store/-/commit/57af56bb7179c133cd525136d436d5952166b8ff
You're receiving this email because of your account on gitlab.archlinux.org.


Reply via email to