aboutsummaryrefslogtreecommitdiffstats
path: root/testing/py3-tls_parser/APKBUILD
blob: fd4c3889492eac61e9ea3f7512c26864c861daa7 (plain) (blame)
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
# Contributor: Simon Frankenberger <simon-alpine@fraho.eu>
# Maintainer: Simon Frankenberger <simon-alpine@fraho.eu>
pkgname=py3-tls_parser
_pkgname=tls_parser
pkgver=1.2.1
pkgrel=2
pkgdesc="Python library to parse TLS records."
url="https://pypi.org/project/tls-parser/"
arch="noarch"
license="MIT"
depends="python3"
makedepends="py3-setuptools"
source="https://files.pythonhosted.org/packages/source/${_pkgname:0:1}/$_pkgname/$_pkgname-$pkgver.tar.gz"
builddir="$srcdir/$_pkgname-$pkgver"

replaces=py-tls_parser # Backwards compatibility
provides=py-tls_parser=$pkgver-r$pkgrel # Backwards compatibility

build() {
	python3 setup.py build
}

check() {
	python3 setup.py check
}

package() {
	python3 setup.py install --prefix=/usr --root="$pkgdir"
}

sha512sums="0524c328852ca20d8c6d8c419ab8aa019afd80b41bb862cc639bb63f1f7b8ed0869a47f5791aaaa1aba54171d19ed0785c0e98d7433e93d902f48bc0d8069415  tls_parser-1.2.1.tar.gz"