summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 3042934e6fdc57f348893bcce22065a3fecf234b (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
# Maintainer: piernov <piernov@piernov.org>

pkgname=python-icevision
pkgver=0.12.0
pkgrel=1
pkgdesc="An Agnostic Computer Vision Framework"
arch=('any')
url="https://github.com/airctic/icevision"
license=('APACHE')
depends=('python-pytorch'
	'python-torchvision'
	'python-pillow'
	'python-fastcore'
	'python-tqdm'
	'python-opencv'
	'python-albumentations'
	'python-importlib-metadata'
	'python-ipykernel'
	'python-loguru'
	'python-resnest'
	'python-pycocotools'
	'python-effdet'
	'python-sahi'
	'python-yolov5-icevision')
makedepends=('python-build' 'python-installer' 'python-wheel' 'python-setuptools-scm')
source=("git+https://github.com/airctic/icevision.git#tag=$pkgver")
sha256sums=('SKIP')

build() {
	cd "$srcdir"/icevision
	python -m build --wheel --no-isolation
}

package() {
	cd "$srcdir"/icevision
	python -m installer --destdir="$pkgdir" dist/*.whl
}