diff options
author | Carlos Aznarán Laos | 2022-08-16 20:25:45 -0500 |
---|---|---|
committer | Carlos Aznarán Laos | 2022-08-16 20:25:45 -0500 |
commit | 699714bbc76506d6d77f1469e3cc42e22505b6f9 (patch) | |
tree | 0b9865790b54fc9c6a63b34b2b4f23775ad23965 | |
parent | 0a0ddfb6f79c1dcc757674dd4157cd4a65059b4f (diff) | |
download | aur-699714bbc76506d6d77f1469e3cc42e22505b6f9.tar.gz |
Add dependency for range-detector
-rw-r--r-- | .SRCINFO | 10 | ||||
-rw-r--r-- | PKGBUILD | 32 |
2 files changed, 20 insertions, 22 deletions
@@ -1,15 +1,13 @@ pkgbase = python-imutils pkgdesc = A series of convenience functions to make basic image processing asier with OpenCV pkgver = 0.5.4 - pkgrel = 1 + pkgrel = 2 url = https://github.com/jrosebr1/imutils arch = any license = MIT - depends = python - depends = opencv + depends = python-opencv depends = hdf5 - depends = python-numpy - source = https://files.pythonhosted.org/packages/3f/d3/ecb4d108f6c1041d24842a345ee0123cd7f366ba75cf122601e856d42ba2/imutils-0.5.4.tar.gz - md5sums = 6769dc601bfea571d950b5f55ccb74f1 + source = https://pypi.org/packages/source/i/imutils/imutils-0.5.4.tar.gz + sha512sums = 50f9b43842cac55055a94d277fea958b8593bbc9b249878cc7e545368220667cb853d059c9ea412d034220c240343fe5e009e407554a10da958822d6e7e30728 pkgname = python-imutils @@ -1,25 +1,25 @@ # Maintainer: Jose Riha <jose1711 gmail com> -# Contributor: tatsumoto -# Based on the output of pip2arch +# Maintainer: Carlos Aznarán <caznaranl@uni.pe> +# Contributor: Ren Tatsumoto <tatsu at autistici dot org> -pkgname=python-imutils -_pkgname=imutils -pkgver=0.5.4 -pkgrel=1 +_base=imutils +pkgname=python-${_base} pkgdesc="A series of convenience functions to make basic image processing asier with OpenCV" -url="https://github.com/jrosebr1/imutils" -depends=('python' 'opencv' 'hdf5' 'python-numpy') -license=('MIT') -arch=('any') -source=("https://files.pythonhosted.org/packages/3f/d3/ecb4d108f6c1041d24842a345ee0123cd7f366ba75cf122601e856d42ba2/imutils-${pkgver}.tar.gz") -md5sums=('6769dc601bfea571d950b5f55ccb74f1') +pkgver=0.5.4 +pkgrel=2 +arch=(any) +url="https://github.com/jrosebr1/${_base}" +license=(MIT) +depends=(python-opencv hdf5) +source=(https://pypi.org/packages/source/${_base::1}/${_base}/${_base}-${pkgver}.tar.gz) +sha512sums=('50f9b43842cac55055a94d277fea958b8593bbc9b249878cc7e545368220667cb853d059c9ea412d034220c240343fe5e009e407554a10da958822d6e7e30728') build() { - cd $srcdir/${_pkgname}-${pkgver} - python setup.py build + cd ${_base}-${pkgver} + python setup.py build } package() { - cd $srcdir/${_pkgname}-${pkgver} - python setup.py install --root="$pkgdir" --optimize=1 + cd ${_base}-${pkgver} + python setup.py install --prefix=/usr --root="${pkgdir}" --optimize=1 --skip-build } |