# Contributor: Duncan Bellamy # Maintainer: Duncan Bellamy pkgname=py3-jaraco.text pkgver=3.11.1 pkgrel=2 pkgdesc="Module for text manipulation" url="https://github.com/jaraco/jaraco.text" arch="noarch" license="MIT" depends=" py3-autocommand py3-inflect py3-jaraco.context py3-jaraco.functools py3-more-itertools " makedepends=" py3-gpep517 py3-setuptools py3-setuptools_scm py3-wheel " checkdepends="py3-autocommand py3-inflect py3-pytest" subpackages="$pkgname-pyc" source="https://files.pythonhosted.org/packages/source/j/jaraco.text/jaraco.text-$pkgver.tar.gz" builddir="$srcdir/jaraco.text-$pkgver" build() { gpep517 build-wheel \ --wheel-dir .dist \ --output-fd 3 3>&1 >&2 } check() { python3 -m venv --clear --without-pip --system-site-packages .testenv .testenv/bin/python3 -m installer .dist/*.whl .testenv/bin/python3 -m pytest --ignore testenv } package() { python3 -m installer -d "$pkgdir" .dist/*.whl } sha512sums=" b4066589e9d4c9a2a82ae2b0825d34b22b93ee179d29c3666e9b978390121520afcb8fc5ffa6457022d2e8477f4cf2b76485d9896438ee46275326577609f201 jaraco.text-3.11.1.tar.gz "