diff --git a/testing/py3-readme_renderer/APKBUILD b/testing/py3-readme_renderer/APKBUILD new file mode 100644 index 0000000000000000000000000000000000000000..098f73699e6f9e0b9e3dfa3fe462a14f5827c571 --- /dev/null +++ b/testing/py3-readme_renderer/APKBUILD @@ -0,0 +1,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"