Antonio Rojas pushed to branch main at Arch Linux / Packaging / Packages / ufmt
Commits:
4b97ec1d by Antonio Rojas at 2025-12-24T15:01:42+01:00
upgpkg: 2.8.0-3: Python 3.14 rebuild
- - - - -
2 changed files:
- .SRCINFO
- PKGBUILD
Changes:
=====================================
.SRCINFO
=====================================
@@ -1,12 +1,13 @@
pkgbase = ufmt
pkgdesc = Safe, atomic formatting with black and µsort
pkgver = 2.8.0
- pkgrel = 2
+ pkgrel = 3
url = https://github.com/omnilib/ufmt
arch = any
license = MIT
checkdepends = python-pygls
checkdepends = python-ruff-api
+ checkdepends = python-pytest
makedepends = python-build
makedepends = python-installer
makedepends = python-flit-core
=====================================
PKGBUILD
=====================================
@@ -2,7 +2,7 @@
pkgname=ufmt
pkgver=2.8.0
-pkgrel=2
+pkgrel=3
pkgdesc='Safe, atomic formatting with black and µsort'
arch=('any')
url='https://github.com/omnilib/ufmt'
@@ -10,7 +10,7 @@ license=('MIT')
depends=('python-black' 'python-click' 'python-libcst' 'python-moreorless'
'python-tomlkit' 'python-trailrunner' 'python-typing_extensions'
'usort')
makedepends=('python-build' 'python-installer' 'python-flit-core'
'python-wheel')
-checkdepends=('python-pygls' 'python-ruff-api')
+checkdepends=('python-pygls' 'python-ruff-api' 'python-pytest')
optdepends=('python-pygls: for the LSP formatting server'
'python-ruff-api: for Ruff formatter support')
source=("$pkgname-$pkgver.tar.gz::$url/archive/v$pkgver.tar.gz"
@@ -33,7 +33,7 @@ build() {
check() {
cd $pkgname-$pkgver
- python -m ufmt.tests
+ pytest -v ufmt/tests/__init__.py
}
package() {
View it on GitLab:
https://gitlab.archlinux.org/archlinux/packaging/packages/ufmt/-/commit/4b97ec1d9e0c32fb1a88041a16ea01003e63f884
--
View it on GitLab:
https://gitlab.archlinux.org/archlinux/packaging/packages/ufmt/-/commit/4b97ec1d9e0c32fb1a88041a16ea01003e63f884
You're receiving this email because of your account on gitlab.archlinux.org.