pmaports/main/py3-brotlipy/APKBUILD

27 lines
746 B
Text
Raw Normal View History

# Maintainer: Luca Weiss <luca@z3ntu.xyz>
pkgname=py3-brotlipy
_pkgname=brotlipy
pkgver=0.7.0
pkgrel=1
pkgdesc="Python binding to the Brotli library"
url="https://github.com/python-hyper/brotlipy"
arch="x86_64"
license="MIT"
depends="python3 py3-cffi"
makedepends="python3-dev"
source="https://files.pythonhosted.org/packages/source/${_pkgname:0:1}/$_pkgname/$_pkgname-$pkgver.tar.gz"
builddir="$srcdir/$_pkgname-$pkgver"
options="!check"
build() {
cd "$builddir"
python3 setup.py build
}
package() {
cd "$builddir"
python3 setup.py install --prefix=/usr --root="$pkgdir"
}
sha512sums="2a01e5b2d217043f13316afc4f54569c5dff76d31c296d4be563a5851195380ab80a33a3035ca95effdebffb45806fb9a431a181bba6f9af205b7f5576937268 brotlipy-0.7.0.tar.gz"