# Contributor: Fabian Affolter # Maintainer: Fabian Affolter setvar pkgname = 'py-feedformatter' setvar _pkgname = 'feedformatter' setvar pkgver = '0.4' setvar pkgrel = '0' setvar pkgdesc = ""A Python library for generating news feeds in RSS and Atom formats"" setvar url = ""http://code.google.com/p/feedformatter/"" setvar arch = ""noarch"" setvar license = ""BSD"" setvar depends = ""python2"" setvar depends_dev = """" setvar makedepends = ""python2-dev py-setuptools"" setvar install = """" setvar subpackages = """" setvar source = ""https://files.pythonhosted.org/packages/source/${_pkgname:0:1}/$_pkgname/$_pkgname-$pkgver.tar.gz"" setvar _builddir = ""$srcdir"/$_pkgname-$pkgver" proc prepare { local i cd $_builddir for i in $source { case (i) { *.patch { msg $i; patch -p1 -i "$srcdir"/$i || return 1} } } } proc build { cd $_builddir python2 setup.py build || return 1 } proc package { cd $_builddir python2 setup.py install --prefix=/usr --root="$pkgdir" || return 1 } setvar md5sums = ""a85baeb694ad0a7e5b52048ea6c15307 feedformatter-0.4.tar.gz"" setvar sha256sums = ""af41acb493092b8bb272e38de2e57e5ce4ad3b0a7d8b3fced49042aea9959f9d feedformatter-0.4.tar.gz"" setvar sha512sums = ""4e80cc2cc084dd05ab710e5323f29041df7b35d83266ff65c0cbb103e7831205715a6ba1a049874356c90bb899443ff6c396e785801bbebb793cc71f260ada37 feedformatter-0.4.tar.gz""