summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 9a263423c33fac1fcc757fc97733efc39f20b955 (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
30
31
32
33
34
35
36
37
38
39
40
41
# Maintainer: Carl Smedstad <carl.smedstad at protonmail dot com>

pkgname=holehe
pkgver=1.61
_commit=f7d151c49cafd958c3adb4d75aacca549315ce23
pkgrel=3
pkgdesc="Check if an email address is used on different sites"
arch=(any)
url="https://github.com/megadose/holehe"
license=(GPL-3.0-only)
depends=(
  python
  python-beautifulsoup4
  python-httpx
  python-termcolor
  python-tqdm
  python-trio
)
makedepends=(
  python-build
  python-installer
  python-setuptools
  python-wheel
)

source=("$pkgname-$pkgver.tar.gz::$url/archive/$_commit.tar.gz")
sha256sums=('b09aa0c94255702cd6ada02a47e48bb900f16fa0e4a025ec06a90e620e49661a')

_archive="$pkgname-$_commit"

build() {
  cd "$_archive"

  python -m build --wheel --no-isolation
}

package() {
  cd "$_archive"

  python -m installer --destdir="$pkgdir" dist/*.whl
}