summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorLev Velykoivanenko2018-07-11 17:36:47 +0200
committerLev Velykoivanenko2018-07-11 17:36:47 +0200
commitc017b2a4aa741401de16e1bdcd9fc823ce2132dc (patch)
treee1ad52666e9abe4aa09e91b284cf9ee9cb85c25c
parent83b261c9571fac53888ef45507b4fec62996fc1e (diff)
downloadaur-c017b2a4aa741401de16e1bdcd9fc823ce2132dc.tar.gz
Update package to v19.14
Add provides and conflicts for each sub-package (python-dlib and python2-dlib).
-rwxr-xr-x.SRCINFO10
-rwxr-xr-xPKGBUILD8
2 files changed, 13 insertions, 5 deletions
diff --git a/.SRCINFO b/.SRCINFO
index a07850eea56..3a00521d274 100755
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,6 +1,6 @@
pkgbase = python-dlib-cuda
pkgdesc = Dlib is a general purpose cross-platform C++ library designed using contract programming and modern C++ techniques.
- pkgver = 19.13
+ pkgver = 19.14
pkgrel = 1
url = http://www.dlib.net/
arch = x86_64
@@ -22,18 +22,22 @@ pkgbase = python-dlib-cuda
optdepends = libpng: for PNG support
optdepends = neon: for neon support
optdepends = sqlite: for sqlite support
- source = http://dlib.net/files/dlib-19.13.tar.bz2
- md5sums = 69d806dea72789f1c0f43843f4007776
+ source = http://dlib.net/files/dlib-19.14.tar.bz2
+ md5sums = 2c2ff1a0dd116a6267f4a76aaa5bd36b
pkgname = python-dlib-cuda
depends = python
depends = cuda
depends = cudnn
depends = libx11
+ provides = python-dlib
+ conflicts = python-dlib
pkgname = python2-dlib-cuda
depends = python2
depends = cuda
depends = cudnn
depends = libx11
+ provides = python2-dlib
+ conflicts = python2-dlib
diff --git a/PKGBUILD b/PKGBUILD
index 61e61b735d7..0bbb06a70dc 100755
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -8,7 +8,7 @@
pkgname=('python-dlib-cuda' 'python2-dlib-cuda')
_pkgname='dlib'
-pkgver=19.13
+pkgver=19.14
pkgrel=1
pkgdesc="Dlib is a general purpose cross-platform C++ library designed using contract programming and modern C++ techniques."
arch=('x86_64')
@@ -24,7 +24,7 @@ optdepends=('cblas: for BLAS support'
'neon: for neon support'
'sqlite: for sqlite support')
source=("http://dlib.net/files/${_pkgname}-${pkgver}.tar.bz2")
-md5sums=('69d806dea72789f1c0f43843f4007776')
+md5sums=('2c2ff1a0dd116a6267f4a76aaa5bd36b')
# Detecting whether certain cpu optimisations can be made
_avx_available=()
@@ -59,6 +59,8 @@ build() {
package_python-dlib-cuda() {
depends=('python' 'cuda' 'cudnn' 'libx11')
+ provides=('python-dlib')
+ conflicts=('python-dlib')
cd "${srcdir}/${_pkgname}-${pkgver}"
python setup.py install --skip-build --prefix=/usr --root="${pkgdir}" --optimize=1
@@ -66,6 +68,8 @@ package_python-dlib-cuda() {
package_python2-dlib-cuda() {
depends=('python2' 'cuda' 'cudnn' 'libx11')
+ provides=('python2-dlib')
+ conflicts=('python2-dlib')
cd "${srcdir}/${_pkgname}-${pkgver}"
python2 setup.py install --skip-build --prefix=/usr --root="${pkgdir}" --optimize=1