aboutsummaryrefslogtreecommitdiffstats
path: root/community/py3-podcastparser/APKBUILD
blob: 31a8179eb498e8508e8c4c67c774ddbe0fdb6f65 (plain)
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
30
# Maintainer: Oliver Smith <ollieparanoid@postmarketos.org>
# Contributor: Johannes Marbach <n0-0ne+gitlab@mailbox.org>
pkgname=py3-podcastparser
pkgver=0.6.7
pkgrel=0
pkgdesc="Simplified, fast RSS parsing library in Python"
url="https://github.com/gpodder/podcastparser"
arch="noarch"
license="ISC"
depends="python3"
makedepends="py3-setuptools"
checkdepends="py3-pytest py3-pytest-cov"
source="$pkgname-$pkgver.tar.gz::https://github.com/gpodder/podcastparser/archive/$pkgver.tar.gz"
builddir="$srcdir/podcastparser-$pkgver"

build() {
	python3 setup.py build
}

check() {
	make test PYTHON=python3
}

package() {
	python3 setup.py install --prefix=/usr --root="$pkgdir"
}

sha512sums="
38917f9f9f81eea8c11d9861b19ea135728ea21c3fe4a1c121e20e03e4680456c9d4db92904af20196647998faf46c92db35c83f691c6db13903948ca8d03f45  py3-podcastparser-0.6.7.tar.gz
"