aboutsummaryrefslogtreecommitdiffstats
path: root/community/py3-podcastparser/APKBUILD
blob: 7106f34b291379cf1996ad20e9d67f6327e655bf (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
30
# Maintainer: Oliver Smith <ollieparanoid@postmarketos.org>
# Contributor: Johannes Marbach <n0-0ne+gitlab@mailbox.org>
pkgname=py3-podcastparser
pkgver=0.6.8
pkgrel=2
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="
66a32a72087aaafb2cec6da12f7643787297dc0d6ab4375620c5055dc250899851d6d6781930410bcb6a99cae7a01068cb255e81ed206b965a03a19bd9650d4b  py3-podcastparser-0.6.8.tar.gz
"