# Contributor: Fabian Affolter # Maintainer: Fabian Affolter pkgname=py3-feedgenerator _pkgname=feedgenerator pkgver=1.9 pkgrel=3 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 provices="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="77f4df51c6bdf261f0d1665206ab048a21f8660cf8f2c7abf3d71e17c63284240d0eaa690dd6d53b0b7d8ce9c9e0349094d5270c75c2a069608b7717538d7fa1 feedgenerator-1.9.tar.gz"