# Contributor: Haelwenn (lanodan) Monnier # Maintainer: Haelwenn (lanodan) Monnier pkgname=py3-http-ece #_pkgreal is used by apkbuild-pypi to find modules at PyPI _pkgreal=http_ece pkgver=1.1.0 pkgrel=3 pkgdesc="Encrypted Content Encoding for HTTP" url="https://pypi.org/project/http-ece" arch="noarch" license="MIT" depends="python3 py3-cryptography" checkdepends="python3-dev py3-nose py3-coverage py3-mock py3-flake8" makedepends="py3-setuptools" subpackages="$pkgname-pyc" source="https://files.pythonhosted.org/packages/source/${_pkgreal:0:1}/$_pkgreal/$_pkgreal-$pkgver.tar.gz" builddir="$srcdir/$_pkgreal-$pkgver" build() { python3 setup.py build } check() { python3 setup.py test } package() { python3 setup.py install \ --prefix=/usr \ --root="$pkgdir" \ --single-version-externally-managed } sha512sums=" ff99cc3aedea325b7aae9c4a800bb58d8f56f86a6d72450d9212113c9d0fdff30c227b7816ec2a38cc9615344c4181ec8f420b4bb521e574b63ce0257a523edf http_ece-1.1.0.tar.gz "