diff options
Diffstat (limited to 'user')
-rw-r--r-- | user/py3-sphinxcontrib-asyncio/APKBUILD | 32 |
1 files changed, 32 insertions, 0 deletions
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 <awilfox@adelielinux.org> +# Maintainer: A. Wilcox <awilfox@adelielinux.org> +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" |