mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2025-07-23 03:05:48 +03:00
33 lines
1.1 KiB
Text
33 lines
1.1 KiB
Text
# Contributor: Kevin Daudt <kdaudt@alpinelinux.org>
|
|
# Maintainer: Kevin Daudt <kdaudt@alpinelinux.org>
|
|
pkgname=py3-ssdeep
|
|
pkgver=3.4
|
|
pkgrel=1
|
|
pkgdesc="Python wrapper for ssdeep fuzzy hashing library"
|
|
url="https://github.com/DinoTools/python-ssdeep"
|
|
arch="all"
|
|
license="LGPL-3.0-or-later"
|
|
depends="python3 py3-cffi py3-six"
|
|
makedepends="python3-dev py3-setuptools libfuzzy2-dev py3-wheel"
|
|
checkdepends="py3-pytest py3-pytest-runner"
|
|
subpackages="$pkgname-dev"
|
|
source="$pkgname-$pkgver.tar.gz::https://github.com/DinoTools/python-ssdeep/archive/$pkgver.tar.gz
|
|
pytest-runner.patch"
|
|
builddir="$srcdir/python-ssdeep-$pkgver"
|
|
|
|
build() {
|
|
python3 setup.py build
|
|
}
|
|
|
|
check() {
|
|
python3 setup.py test
|
|
}
|
|
|
|
package() {
|
|
python3 setup.py install --prefix=/usr --root="$pkgdir"
|
|
}
|
|
|
|
sha512sums="
|
|
481e2212c7260f1c15cb74b91672f8ebfe220ab2ed4a68ddc9437351984c635efb146b427bc809e27d6932bd2d1104496d0144f8d7e7a92ac08e100b90fb2a31 py3-ssdeep-3.4.tar.gz
|
|
aacd3eaa40b070523f67360df576afa336d4012262ee5bb687be6a3eac7a85050e37d37a1afa88b1889c653ab2e22ee682553aeabf5be3d56120d9b27ab71591 pytest-runner.patch
|
|
"
|