# Contributor: Fabian Affolter # Maintainer: Fabian Affolter pkgname=py3-feedgenerator _pkgname=feedgenerator pkgver=1.9.1 pkgrel=0 pkgdesc="A Python feed generator" url="https://github.com/getpelican/feedgenerator" arch="noarch" license="BSD-3-Clause" depends="py3-six py3-tz" makedepends="py3-setuptools" source="https://files.pythonhosted.org/packages/source/${_pkgname:0:1}/$_pkgname/$_pkgname-$pkgver.tar.gz" builddir="$srcdir"/$_pkgname-$pkgver replaces="py-feedgenerator" # Backwards compatibility provides="py-feedgenerator=$pkgver-r$pkgrel" # Backwards compatibility build() { python3 setup.py build } check() { python3 setup.py test } package() { python3 setup.py install --prefix=/usr --root="$pkgdir" } sha512sums="db3642acb8f0c9fd692f37a79cf5862e60687a1745afbc6593d37a0372adb994de603238a17a8eae95ffcc993195f63037f16122a3cf8771e6922dea492fb5d5 feedgenerator-1.9.1.tar.gz"