From fe6191d403699ddcf1c3e5070690d70daa92c88d Mon Sep 17 00:00:00 2001 From: "A. Wilcox" Date: Wed, 17 Jul 2019 15:12:01 +0000 Subject: user/py3-sphinxcontrib-asyncio: new package --- user/py3-sphinxcontrib-asyncio/APKBUILD | 32 ++++++++++++++++++++++++++++++++ 1 file changed, 32 insertions(+) create mode 100644 user/py3-sphinxcontrib-asyncio/APKBUILD diff --git a/user/py3-sphinxcontrib-asyncio/APKBUILD b/user/py3-sphinxcontrib-asyncio/APKBUILD new file mode 100644 index 000000000..73056c35a --- /dev/null +++ b/user/py3-sphinxcontrib-asyncio/APKBUILD @@ -0,0 +1,32 @@ +# Contributor: A. Wilcox +# Maintainer: A. Wilcox +pkgname=py3-sphinxcontrib-asyncio +_pkgname=${pkgname#py3-} +pkgver=0.2.0 +pkgrel=0 +pkgdesc="Sphinx extension for using asyncio coroutines in markup" +url="https://pypi.org/project/sphinxcontrib-asyncio/" +arch="noarch" +options="!check" # Tests not included in tarball. +license="Apache-2.0" +depends="python3" +checkdepends="py3-pytest" +makedepends="python3-dev" +subpackages="" +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() { + python3 setup.py test +} + +package() { + mkdir -p "$pkgdir" + python3 setup.py install --prefix=/usr --root="$pkgdir" +} + +sha512sums="2ca25717c03385ae9bf879b8efeab8d508292d07f96d941032720d755d3db2e7bbc3c9a33c6103af9d83849ed8878bea1048d349bd0873288ee2addfee9756b7 sphinxcontrib-asyncio-0.2.0.tar.gz" -- cgit v1.2.3-70-g09d2