diff options
author | A. Wilcox <AWilcox@Wilcox-Tech.com> | 2019-07-17 15:12:01 +0000 |
---|---|---|
committer | A. Wilcox <AWilcox@Wilcox-Tech.com> | 2019-07-17 15:12:01 +0000 |
commit | fe6191d403699ddcf1c3e5070690d70daa92c88d (patch) | |
tree | d45461531a3d3d511addf0aa9b4acfd3ff7f5ee2 | |
parent | dc62b9305048204fceaecc5128f64446a1324f41 (diff) | |
download | packages-fe6191d403699ddcf1c3e5070690d70daa92c88d.tar.gz packages-fe6191d403699ddcf1c3e5070690d70daa92c88d.tar.bz2 packages-fe6191d403699ddcf1c3e5070690d70daa92c88d.tar.xz packages-fe6191d403699ddcf1c3e5070690d70daa92c88d.zip |
user/py3-sphinxcontrib-asyncio: new package
-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" |