diff options
author | lilac | 2024-03-20 04:19:36 +0800 |
---|---|---|
committer | lilac | 2024-03-20 04:19:36 +0800 |
commit | 4cb7c97cf6febdd2f9a19d20e0e3b86432354284 (patch) | |
tree | 14ab782b9d0aaa6d7e63a4a6dcbe1d36c3a9ef38 | |
parent | 10beff39186d8b4ba80c93bce78921e05e9fea76 (diff) | |
download | aur-4cb7c97cf6febdd2f9a19d20e0e3b86432354284.tar.gz |
[lilac] updated to 0.5.3.r24.7d7f07d-2
-rw-r--r-- | .SRCINFO | 11 | ||||
-rw-r--r-- | PKGBUILD | 15 |
2 files changed, 16 insertions, 10 deletions
@@ -1,16 +1,19 @@ pkgbase = python-lvis-git pkgdesc = Python API for LVIS Dataset - pkgver = 0.5.3.r21.da5f65d - pkgrel = 1 + pkgver = 0.5.3.r24.7d7f07d + pkgrel = 2 url = https://github.com/lvis-dataset/lvis-api arch = any - license = BSD + license = BSD-3-Clause checkdepends = hdf5 checkdepends = qt5-base - makedepends = git makedepends = cython + makedepends = git + makedepends = python-build + makedepends = python-installer makedepends = python-pip makedepends = python-setuptools + makedepends = python-wheel depends = python-opencv depends = python-cycler depends = python-dateutil @@ -3,12 +3,12 @@ pkgname=python-lvis-git _pkgname=lvis _pkgver=0.5.3 -pkgver=0.5.3.r21.da5f65d -pkgrel=1 +pkgver=0.5.3.r24.7d7f07d +pkgrel=2 pkgdesc='Python API for LVIS Dataset' arch=('any') url='https://github.com/lvis-dataset/lvis-api' -license=('BSD') +license=('BSD-3-Clause') depends=( python-opencv python-cycler @@ -21,10 +21,13 @@ depends=( python-six ) makedepends=( - git cython + git + python-build + python-installer python-pip python-setuptools + python-wheel ) checkdepends=( hdf5 @@ -48,7 +51,7 @@ pkgver() { build() { cd "${_pkgname}" - python setup.py build + python -m build --wheel --no-isolation } check() { @@ -58,7 +61,7 @@ check() { package() { cd "${_pkgname}" - python setup.py install --root="${pkgdir}" --optimize=1 --skip-build + python -m installer --destdir="${pkgdir}" dist/*.whl install -Dm644 "LICENSE" -t "${pkgdir}/usr/share/licenses/${pkgname}" } # vim:set ts=2 sw=2 et: |