aboutsummaryrefslogtreecommitdiffstats
path: root/testing/py3-readme_renderer/APKBUILD
blob: 098f73699e6f9e0b9e3dfa3fe462a14f5827c571 (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
31
32
33
34
35
# Contributor: Leo <thinkabit.ukim@gmail.com>
# Maintainer: Leo <thinkabit.ukim@gmail.com>
pkgname=py3-readme_renderer
_pkgname=readme_renderer
pkgver=24.0
pkgrel=0
pkgdesc="readme_renderer is a library for rendering README descriptions for Warehouse"
url="https://github.com/pypa/readme_renderer"
arch="noarch"
license="Apache-2.0"
depends="
	python3
	py3-setuptools
	py3-bleach
	py3-docutils
	py3-pygments
	py3-six
	"
checkdepends="py3-pytest py3-mock"
source="https://files.pythonhosted.org/packages/source/${_pkgname:0:1}/$_pkgname/$_pkgname-$pkgver.tar.gz"
builddir="$srcdir/$_pkgname-$pkgver"

build() {
	python3 setup.py build
}

check() {
	py.test-3
}

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

sha512sums="202a7142ccca3f5bc4e6d92330f25284fcc4f3984ccdd886e4be2789518242ed659660db5a7c7224f838dc8f5ea9dd6e14c65746cf08a102431ddd77d62a434a  readme_renderer-24.0.tar.gz"