# Contributor: Patrycja Rosa <alpine@ptrcnull.me>
# Maintainer: Patrycja Rosa <alpine@ptrcnull.me>
pkgname=py3-typogrify
pkgver=2.0.7
pkgrel=4
pkgdesc="Filters to enhance web typography, including support for Django & Jinja templates"
url="https://github.com/mintchaos/typogrify"
arch="noarch"
license="BSD"
depends="smartypants"
makedepends="py3-setuptools py3-gpep517 py3-wheel"
subpackages="$pkgname-pyc"
source="https://github.com/mintchaos/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="
72abbf4d374ec7ac4765ad12e8592b8d3208e2c951bc102ccdeaf016d624a063824d951489a30eed136ce0c8071b9b23cc5484b61a9ab6e6fd3126b2601fca29  py3-typogrify-2.0.7.tar.gz
"
