blob: 3276c32db6291df6546bd03d5a38aaef8ac784f4 (
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
|
# Maintainer: George Rawlinson <grawlinson@archlinux.org>
pkgname=python-atheris
pkgver=2.2.2
pkgrel=1
pkgdesc='A coverage-guided fuzzer for Python and Python extensions'
arch=('x86_64')
url='https://github.com/google/atheris'
license=('Apache')
depends=('python')
makedepends=(
'git'
'clang'
'python-build'
'python-installer'
'python-wheel'
'python-setuptools'
'pybind11'
)
_commit='f0a4ae0ff06aeacb836684f3f5e03394eaefab53'
source=("$pkgname::git+$url#commit=$_commit")
b2sums=('SKIP')
pkgver() {
cd "$pkgname"
git describe --tags | sed 's/^v//'
}
build() {
cd "$pkgname"
python -m build --wheel --no-isolation
}
package() {
cd "$pkgname"
python -m installer --destdir="$pkgdir" dist/*.whl
}
|