# Contributor: Iztok Fister, Jr. # Maintainer: Iztok Fister, Jr. pkgname=py3-striprtf _pkgorig=striprtf pkgver=0.0.26 pkgrel=0 pkgdesc="Stripping rtf to plain old text" url="https://github.com/joshy/striprtf" arch="noarch" license="BSD-3" depends="python3" checkdepends="python3-dev py3-pytest" makedepends="py3-setuptools" subpackages="$pkgname-pyc" source="$pkgname-$pkgver.tar.gz::https://github.com/joshy/$_pkgorig/archive/v$pkgver/$_pkgorig-$pkgver.tar.gz" builddir="$srcdir/$_pkgorig-$pkgver" build() { python3 setup.py build } check() { python3 -m pytest } package() { python3 setup.py install --skip-build --root="$pkgdir" } sha512sums=" dc5334b0ad0392e646d0dff6d5c7d63fd86643a250cfebdabafaa4e94cb44db1c0c0acf3f68f8f025a798736e235f48aa5227c50b7ad81a7444c3ab8d931868e py3-striprtf-0.0.26.tar.gz "