aports/testing/py3-tls_parser/APKBUILD
ptrcnull d6e150e932
testing/*: rebuild against python 3.12
this is only a partial rebuild,
including stuff that i built on my personal machine
with python 3.12.2; might fail with 3.12.3
2024-04-15 17:00:47 +02:00

35 lines
949 B
Plaintext

# Contributor: Simon Frankenberger <simon-alpine@fraho.eu>
# Maintainer: Simon Frankenberger <simon-alpine@fraho.eu>
pkgname=py3-tls_parser
_pkgname=tls_parser
pkgver=2.0.1
pkgrel=1
pkgdesc="Python library to parse TLS records."
url="https://pypi.org/project/tls-parser/"
arch="noarch"
license="MIT"
depends="python3"
makedepends="py3-setuptools"
subpackages="$pkgname-pyc"
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 --skip-build --root="$pkgdir"
}
sha512sums="
693d18f0f3baaa8bf122f0166a9041cfe816772930dcfb73cfc1e16b0cedef2cfd19623d91a6d9e745bfcc1d2cbfb001a031d8c0d6fe1dd46319c3469ba60812 tls_parser-2.0.1.tar.gz
"