summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: e9ddb68fed4075dfa219f75875106207dc975fbb (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
# Maintainer: iamawacko <iamawacko@protonmail.com>
pkgname=tartufo
pkgver=5.0.1
pkgrel=1
pkgdesc="Searches through git repositories for high entropy strings and secrets, digging deep into commit history"
url="https://tartufo.readthedocs.io/"
arch=('any')
license=('GPL-2.0-only')
_name="tartufo"
depends=(python-pygit2 python-gitpython python-click python-colorama python-tomlkit python-cached-property)
makedepends=(python-build python-installer python-wheel)
source=("https://files.pythonhosted.org/packages/source/${_name::1}/tartufo/tartufo-$pkgver.tar.gz")
sha256sums=('5eda46cd6a68dfe35b61b0f18a63bc0a7fc9bb6c096e4a26c8e1aaec8dea9324')

build() {
    cd $_name-$pkgver
    python -m build --wheel --no-isolation
}

package() {
    cd $_name-$pkgver
    python -m installer --destdir="$pkgdir" dist/*.whl
}