summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 1f58da6cf69b7e72c4e7f1e1c7b6fa7445935d0e (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: Evan Edwards <evan@ejedev.com>

pkgname=python-radixtarget
pkgver=3.0.15
pkgrel=1
pkgdesc="RadixTarget is a performant radix implementation designed for quick lookups of IP addresses/networks and DNS hostnames."
url="https://github.com/blacklanternsecurity/radixtarget"
license=('GPL-3.0')
arch=('any')
depends=('python')
makedepends=('python-poetry' 'python-installer')
source=("https://files.pythonhosted.org/packages/26/89/1c19b98c48f703fe654f3e7d8986556573fe412945f13842240b7cf87e9a/radixtarget-3.0.15.tar.gz")
sha256sums=('dedfad3aea1e973f261b7bc0d8936423f59ae4d082648fd496c6cdfdfa069fea')

build() {
  cd radixtarget-$pkgver
  python -m poetry build
}

package() {
  cd radixtarget-$pkgver
  python -m installer --destdir="$pkgdir" dist/radixtarget-$pkgver-py3-none-any.whl
}