summaryrefslogblamecommitdiff
path: root/user/py3-sphinxcontrib-devhelp/APKBUILD
blob: aa36c4377939f1641650a377f123bc0bf37e27d8 (plain) (tree)
1
2
3
4
5
6
7



                                                     

                      
            






                                                        
                                    
                         
                                                                                                                       


                                    



                              



                                                                                         



                                                               
                                                                                                                                                                                     
# Contributor: Brandon Bergren <git@bdragon.rtk0.net>
# Maintainer: Brandon Bergren <git@bdragon.rtk0.net>
pkgname=py3-sphinxcontrib-devhelp
_pkgname=sphinxcontrib-devhelp
_p="${_pkgname#?}"
_p="${_pkgname%"$_p"}"
pkgver=1.0.2
pkgrel=0
pkgdesc="A sphinx extension to output Devhelp documents"
url="https://pypi.python.org/pypi/sphinxcontrib-devhelp"
arch="noarch"
options="!check" # Cyclic dependency with sphinx
license="BSD-2-Clause"
depends="python3"
checkdepends="py3-sphinx py3-pytest"
makedepends="python3-dev"
source="$pkgname-$pkgver.tar.gz::https://files.pythonhosted.org/packages/source/$_p/$_pkgname/$_pkgname-$pkgver.tar.gz"
builddir="$srcdir/$_pkgname-$pkgver"

build() {
	python3 setup.py build
}

check() {
	PYTHONWARNINGS="all,ignore::DeprecationWarning:docutils.io" pytest --durations 25
}

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

}

sha512sums="83b46eaf26df3932ea2136cfda1c0fca4fc08ce8bca564845b3efe5bb00d6c8c93991f4edd4913d4ec796e2d85bd2c7265adf28e98f42e8094daeb5ac11a0eb1  py3-sphinxcontrib-devhelp-1.0.2.tar.gz"