aboutsummaryrefslogtreecommitdiffstats
path: root/testing/py3-readme_renderer/APKBUILD
diff options
context:
space:
mode:
authorLeo <thinkabit.ukim@gmail.com>2019-10-11 17:21:37 -0300
committerLeo <thinkabit.ukim@gmail.com>2019-10-11 17:54:04 -0300
commitddda16d258f730591ed59e0fbeddfb98548c9b73 (patch)
tree9025c40082417d232153fe30402bcd2ea81e4193 /testing/py3-readme_renderer/APKBUILD
parente7a5409bc93218e3114ba15053ce034293488f95 (diff)
downloadaports-ddda16d258f730591ed59e0fbeddfb98548c9b73.tar.gz
aports-ddda16d258f730591ed59e0fbeddfb98548c9b73.tar.bz2
aports-ddda16d258f730591ed59e0fbeddfb98548c9b73.tar.xz
testing/py3-readme_renderer: new aport
https://github.com/pypa/readme_renderer readme_renderer is a library for rendering README descriptions for Warehouse
Diffstat (limited to 'testing/py3-readme_renderer/APKBUILD')
-rw-r--r--testing/py3-readme_renderer/APKBUILD35
1 files changed, 35 insertions, 0 deletions
diff --git a/testing/py3-readme_renderer/APKBUILD b/testing/py3-readme_renderer/APKBUILD
new file mode 100644
index 0000000000..098f73699e
--- /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"