aboutsummaryrefslogtreecommitdiffstats
path: root/community/py3-readme_renderer/APKBUILD
blob: f8f9fa633cbadbf72de143e35b807a81360f1abc (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
36
37
# Contributor: Leo <thinkabit.ukim@gmail.com>
# Maintainer: Bart Ribbers <bribbers@disroot.org>
pkgname=py3-readme_renderer
pkgver=29.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="
	py3-bleach
	py3-docutils
	py3-pygments
	py3-six
	python3
	"
makedepends="py3-setuptools"
checkdepends="
	py3-mock
	py3-pytest
	"
source="https://files.pythonhosted.org/packages/source/r/readme_renderer/readme_renderer-$pkgver.tar.gz"
builddir="$srcdir/readme_renderer-$pkgver"

build() {
	python3 setup.py build
}

check() {
	pytest
}

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

sha512sums="b5f462c3ee077f5711c18a4c0243b084730a705bf5476355265d18ce4bfd696edd30a28aaa8f3aaf96b531a2cbf32bd9ed143431bfbbf08cd7ac7234a2d57a7c  readme_renderer-29.0.tar.gz"