diff options
author | piernov | 2022-06-13 15:57:46 +0200 |
---|---|---|
committer | piernov | 2022-06-13 15:57:46 +0200 |
commit | 46db07863ef3f5bb3090c0b54eaac8c6f34bc352 (patch) | |
tree | da8e7412db5bba05a7efcfb411ee00a1a26ff55c /PKGBUILD | |
download | aur-46db07863ef3f5bb3090c0b54eaac8c6f34bc352.tar.gz |
python-yolov5-icevision 6.0-1
Diffstat (limited to 'PKGBUILD')
-rw-r--r-- | PKGBUILD | 37 |
1 files changed, 37 insertions, 0 deletions
diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 000000000000..f45c3d1c9c7b --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,37 @@ +# Maintainer: piernov <piernov@piernov.org> + +pkgname=python-yolov5-icevision +pkgver=6.0 +pkgrel=1 +_commit=e7ca90c5c9bc4921941fe5e32e1b88c0cf2946b6 +pkgdesc="Family of object detection architectures and models pretrained on the COCO dataset" +arch=('any') +url="https://github.com/airctic/yolov5-icevision" +license=('GPL3') +depends=('python-matplotlib' + 'python-numpy' + 'python-opencv' + 'python-pillow' + 'python-pyyaml' + 'python-requests' + 'python-scipy' + 'python-pytorch' + 'python-torchvision' + 'python-tqdm' + 'tensorboard' + 'python-pandas' + 'python-seaborn' + 'python-pytorch-thop-git') +makedepends=('python-setuptools') +source=("$pkgname-$pkgver.tar.gz::https://github.com/airctic/yolov5-icevision/archive/$_commit.zip") +md5sums=('a4b9f2d8d6207bcdc0bc433e8ce6b38b') + +build() { + cd "$srcdir"/yolov5-icevision-$_commit + python setup.py build +} + +package() { + cd "$srcdir"/yolov5-icevision-$_commit + python setup.py install --root="$pkgdir"/ --optimize=1 +} |