summaryrefslogtreecommitdiff
path: root/user/py3-sphinxcontrib-asyncio/APKBUILD
blob: 8723f312c26233c2dd6c98247d71b93a84e90656 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
# Contributor: A. Wilcox <awilfox@adelielinux.org>
# Maintainer: A. Wilcox <awilfox@adelielinux.org>
pkgname=py3-sphinxcontrib-asyncio
_pkgname=${pkgname#py3-}
_p="${_pkgname#?}"
_p="${_pkgname%"$_p"}"
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/$_p/$_pkgname/$_pkgname-$pkgver.tar.gz"
builddir="$srcdir/$_pkgname-$pkgver"

build() {
	python3 setup.py build
}

check() {
	python3 setup.py test
}

package() {
	python3 setup.py install --prefix=/usr --root="$pkgdir"
}

sha512sums="2ca25717c03385ae9bf879b8efeab8d508292d07f96d941032720d755d3db2e7bbc3c9a33c6103af9d83849ed8878bea1048d349bd0873288ee2addfee9756b7  sphinxcontrib-asyncio-0.2.0.tar.gz"