aboutsummaryrefslogtreecommitdiffstats
path: root/community/py3-feedparser/APKBUILD
blob: 388949a092311a5eb7ab2d0e88ac870219aa7359 (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
28
29
# Contributor: Peter Bui <pnutzh4x0r@gmail.com>
# Maintainer: Fabian Affolter <fabian@affolter-engineering.ch>
pkgname=py3-feedparser
_pkgname=feedparser
pkgver=6.0.8
pkgrel=0
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 py3-sgmllib3k"
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="
1fa91f35412a86cac569eade729f922c4b742df7b7acd3822f4e41c5cbefab948af422f44da5e830c0c4555048f15a341116cab0d5d7be14e4e8b3b97fa63d1a  feedparser-6.0.8.tar.gz
"