blob: df6807140d35f23a1fda68a82f90d8ede4706c83 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
|
# Maintainer: Evan Edwards <evan@ejedev.com>
# Co-maintainer: stickynotememo <samk26633@gmail.com>
pkgname=python-boltons
pkgver=25.0.0
_commit=c23dbdadb6fecdf505eb4231559561913b84c13f
pkgrel=4
pkgdesc="Functionality that should be in the standard library. Like builtins, but Boltons."
url="https://github.com/mahmoud/boltons"
license=('BSD-3-Clause')
arch=('any')
depends=('python')
makedepends=('uv' 'git' 'python-installer')
checkdepends=('python-pytest')
source=("git+https://github.com/mahmoud/boltons.git#commit=$_commit")
sha512sums=('SKIP')
build() {
cd boltons
uv build
}
check() {
cd boltons
python -m pytest -W ignore::pytest.PytestRemovedIn9Warning
}
package() {
cd boltons
python -m installer --destdir="$pkgdir" dist/*.whl
install -Dm644 LICENSE -t "$pkgdir"/usr/share/licenses/$pkgname/
}
|