Skip to content
Snippets Groups Projects
APKBUILD 945 B
Newer Older
# Contributor: Peter Bui <pnutzh4x0r@gmail.com>
# Maintainer: Fabian Affolter <fabian@affolter-engineering.ch>
Leo's avatar
Leo committed
pkgname=py3-feedparser
_pkgname=feedparser
Leo's avatar
Leo committed
pkgdesc="Python3 feed parser for RSS and Atom"
options="!check" # Tests are py2 only
url="https://github.com/kurtmckee/feedparser"
arch="noarch"
Leo's avatar
Leo committed
license="BSD-2-Clause"
depends="python3 py3-sgmllib3k"
Leo's avatar
Leo committed
makedepends="py3-setuptools"
source="https://files.pythonhosted.org/packages/source/${_pkgname:0:1}/$_pkgname/$_pkgname-$pkgver.tar.gz"
builddir="$srcdir"/$_pkgname-$pkgver
Leo's avatar
Leo committed
replaces="py-feedparser" # Backwards compatibility
provides="py-feedparser=$pkgver-r$pkgrel" # Backwards compatibility

build() {
Leo's avatar
Leo committed
	python3 setup.py build
Leo's avatar
Leo committed
	python3 setup.py install --prefix=/usr --root="$pkgdir"
sha512sums="4b6d6baf6560280e0364ebe00687dd2903dede77319176a4055909390fcd6c748780e805da16e4290916c56209af290f82edd5bdd6459abca85332b4ff348891  feedparser-6.0.2.tar.gz"