blob: 3f8fb02808e3f651b1834b90af2c013a89ed21b7 (
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
44
45
46
47
48
49
50
51
52
|
# Maintainer: Alex Grabowski <hurufu+arch@gmail.com>
pkgname=python-asn1tools
pkgver=0.167.0
pkgrel=1
pkgdesc='A Python package for ASN.1 parsing, encoding and decoding'
arch=(any)
url='https://github.com/eerimoq/asn1tools.git'
license=(MIT)
depends=(
python
licenses
python-pyparsing
python-bitstruct
)
makedepends=(
python-setuptools
python-build
python-installer
python-prompt_toolkit
python-diskcache
)
checkdepends=(
python-pytest
python-trio
)
source=(
git+https://github.com/eerimoq/asn1tools.git#commit=7b72219c5bc529068d1b9abe84a46773f38c465f
)
b2sums=(
SKIP
)
pkgver() {
cd asn1tools
./setup.py --version
}
build() {
cd asn1tools
python -m build --wheel --no-isolation
}
package() {
cd asn1tools
python -m installer --destdir="$pkgdir" --compile-bytecode=2 dist/*.whl
}
check() {
cd asn1tools
pytest
}
|