aboutsummaryrefslogtreecommitdiffstats
path: root/testing/py3-sphinxcontrib-gravatar/APKBUILD
blob: 5623a390096369d6b84463e14a8b47b1af0933e7 (plain)
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: Fabian Affolter <fabian@affolter-engineering.ch>
# Maintainer: Fabian Affolter <fabian@affolter-engineering.ch>
pkgname=py3-sphinxcontrib-gravatar
_pkgname=sphinxcontrib-gravatar
pkgver=0.1.2
pkgrel=1
pkgdesc="Sphinx gravatar extension"
options="!check" # Most tests fail
url="https://pypi.python.org/pypi/sphinxcontrib-gravatar"
arch="noarch"
license="BSD-2-Clause"
depends="python3 py3-sphinx"
makedepends="py3-setuptools"
checkdepends="py3-pytest py3-pytest-cov py3-mock"
source="https://files.pythonhosted.org/packages/source/${_pkgname:0:1}/$_pkgname/$_pkgname-$pkgver.tar.gz"
builddir="$srcdir"/$_pkgname-$pkgver

replaces="py-sphinxcontrib-gravatar" # Backwards compatibility
provides="py-sphinxcontrib-gravatar=$pkgver-r$pkgrel" # Backwards compatibility

build() {
	python3 setup.py build
}

check() {
	python3 setup.py test
}

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

sha512sums="18f68ab2259a85fe33bf76c9c6c98eed2b196b33a5a3fe04bb481f4df37b653473aeca1bf58871164dc60cf82d7225b62bade9993d825356f6450bca9d8f2980  sphinxcontrib-gravatar-0.1.2.tar.gz"