# Contributor: Leonardo Arena # Maintainer: Bart Ribbers pkgname=py3-inflection pkgver=0.5.1 pkgrel=5 pkgdesc="Port of Ruby on Rails' inflector to Python" url="https://github.com/jpvanhal/inflection" arch="noarch" license="MIT" depends="python3" makedepends="py3-setuptools" checkdepends="py3-pytest" subpackages="$pkgname-pyc" source="https://pypi.python.org/packages/source/i/inflection/inflection-$pkgver.tar.gz" builddir="$srcdir/inflection-$pkgver" replaces="py-inflection" # Backkwards compatibility provides="py-inflection=$pkgver-r$pkgrel" # Backkwards compatibility build() { python3 setup.py build } check() { pytest } package() { python3 setup.py install --skip-build --root="$pkgdir" } sha512sums="82f70e2b81fb166260191a464383f6674e3b21504a35ee605ac6ce4bb163c8f3bbe6d06379575178d7196701459506dd541f32e48f24b32f42d5cfb717158d50 inflection-0.5.1.tar.gz"