blob: a0d913cb35001416d6e7adec59f066422c7ae85b (
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
33
34
|
# Maintainer: Serene-Arc <https://aur.archlinux.org/account/serene-arc>
pkgname=python-complexipy
_name=${pkgname#python-}
pkgver=5.2.0
pkgrel=1
pkgdesc="Blazingly fast cognitive complexity analysis for Python, written in Rust."
arch=('any')
url="https://github.com/rohaquinlop/complexipy"
depends=(
python
python-tomli
python-typer
)
makedepends=(
python-build
python-installer
python-wheel
python-maturin
python-pytest
)
license=('MIT')
source=("$pkgname-$pkgver.tar.gz::https://github.com/rohaquinlop/complexipy/archive/refs/tags/$pkgver.tar.gz")
md5sums=('e124fd712e3f3efeb51830a3531c4972')
build() {
cd $_name-$pkgver
python -m build --wheel --no-isolation
}
package() {
cd $_name-$pkgver
python -m installer --destdir="$pkgdir" dist/*.whl
}
|