blob: 05d7941796d7a063c79a22fa66412effdb9e2a5d (
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
35
36
37
38
39
40
41
42
43
|
# Maintainer: xiretza <xiretza+aur@xiretza.xyz>
_pkgname='pyTooling'
pkgname=python-${_pkgname,,}
pkgver=6.1.0
pkgrel=1
pkgdesc="A powerful collection of arbitrary useful classes, decorators, meta-classes and exceptions"
arch=(any)
url="https://github.com/pyTooling/$_pkgname"
license=('Apache-2.0')
depends=('python' 'python-ruamel-yaml' 'python-colorama' 'python-setuptools')
makedepends=('python-build' 'python-installer' 'python-wheel')
checkdepends=(
'python-pytest'
'python-pytest-cov'
'python-pytest-benchmark'
'python-anytree'
'python-itertree'
'python-treelib'
'python-networkx'
'python-igraph'
'mypy'
'python-lxml'
)
replaces=('python-pytooling-packaging' 'python-pymetaclasses' 'python-pyexceptions' 'python-pytooling-terminalui')
source=("$pkgname-$pkgver.tar.gz::$url/archive/v$pkgver.tar.gz")
sha256sums=('6dc6bf7e6bc66b405d3ad0b29d1a65293736ca7759bb2133dfce7a22879faea4')
build() {
cd "$_pkgname-$pkgver"
python -m build --wheel --no-isolation
}
check(){
cd "$_pkgname-$pkgver"
# testsuite runs performance tests for 5 minutes
#pytest tests/
}
package() {
cd "$_pkgname-$pkgver"
python -m installer --destdir="$pkgdir" dist/*.whl
}
|