summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 4a7a3a82fb79017d2a543704dd2dd4bf1ed1655e (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
# Maintainer: PhiBo <phibo at dinotools dot org>

pkgname=python-ssdeep
pkgver=3.3
pkgrel=2
pkgdesc='Python wrapper for ssdeep fuzzy hashing library'
arch=('i686' 'x86_64')
license=('LGPLv3+')
url='https://pypi.python.org/pypi/ssdeep'
makedepends=('python-setuptools' 'python-six' 'python-cffi' 'ssdeep')
depends=('python' 'python-six' 'python-cffi' 'ssdeep')
checkdepends=('python-pytest')
source=("https://github.com/DinoTools/python-ssdeep/archive/${pkgver}.tar.gz")
sha256sums=('31bd3c20a9c066f5cd89fa90073320ea43c08c09fb995e4284c6bcf055704e89')

build() {
   cd python-ssdeep-${pkgver}
   python3 setup.py build
}

check() {
   cd "${srcdir}"/python-ssdeep-${pkgver}
   python3 setup.py test
}
 
package() {
   cd python-ssdeep-${pkgver}
   python3 setup.py install --root="${pkgdir}" --optimize=1 --skip-build
}