aboutsummaryrefslogtreecommitdiffstats
path: root/community/py3-feedparser/APKBUILD
blob: bc42ea65cf42f7f4b1cf4c741243e7cbb7d49e4b (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
# Contributor: Peter Bui <pnutzh4x0r@gmail.com>
# Maintainer: Fabian Affolter <fabian@affolter-engineering.ch>
pkgname=py3-feedparser
_pkgname=feedparser
pkgver=6.0.2
pkgrel=1
pkgdesc="Python3 feed parser for RSS and Atom"
options="!check" # Tests are py2 only
url="https://github.com/kurtmckee/feedparser"
arch="noarch"
license="BSD-2-Clause"
depends="python3"
makedepends="py3-setuptools"
source="https://files.pythonhosted.org/packages/source/${_pkgname:0:1}/$_pkgname/$_pkgname-$pkgver.tar.gz"
builddir="$srcdir"/$_pkgname-$pkgver

replaces="py-feedparser" # Backwards compatibility
provides="py-feedparser=$pkgver-r$pkgrel" # Backwards compatibility

build() {
	python3 setup.py build
}

package() {
	python3 setup.py install --prefix=/usr --root="$pkgdir"
}
sha512sums="4b6d6baf6560280e0364ebe00687dd2903dede77319176a4055909390fcd6c748780e805da16e4290916c56209af290f82edd5bdd6459abca85332b4ff348891  feedparser-6.0.2.tar.gz"