aboutsummaryrefslogtreecommitdiffstats
path: root/testing/py3-tls_parser/APKBUILD
blob: f1a29fe597b1107f2278a71f044904b5c512b0a7 (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.2
pkgrel=0
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="234a5c4a3037374d3b90741b835786e2bb6b57818f24802462fd1d338a37090ab4a18585f32293c45d85cd95b69cd9d27f17126c4c29eea61b525f8b83fba42c  tls_parser-1.2.2.tar.gz"