aports/community/py3-typogrify/APKBUILD

30 lines
922 B
Text

# Contributor: Patrycja Rosa <alpine@ptrcnull.me>
# Maintainer: Patrycja Rosa <alpine@ptrcnull.me>
pkgname=py3-typogrify
pkgver=2.1.0
pkgrel=0
pkgdesc="Filters to enhance web typography, including support for Django & Jinja templates"
url="https://github.com/justinmayer/typogrify"
arch="noarch"
license="BSD-3-Clause"
depends="smartypants"
makedepends="py3-gpep517 py3-hatchling py3-wheel"
subpackages="$pkgname-pyc"
source="https://github.com/justinmayer/typogrify/archive/$pkgver/py3-typogrify-$pkgver.tar.gz"
builddir="$srcdir/typogrify-$pkgver"
options="!check" # no test suite provided
build() {
gpep517 build-wheel \
--wheel-dir .dist \
--output-fd 3 3>&1 >&2
}
package() {
gpep517 install-wheel --destdir "$pkgdir" \
.dist/*.whl
}
sha512sums="
f497cd80352cf1ae5a5e7d1ba41f12abb06c22b9fae7e26fd9fe5a9acbb238bd303a5c90a2d77c83bd0d1fa25aec2aa7dfec2856543f54456650cddf4fa090e0 py3-typogrify-2.1.0.tar.gz
"