aboutsummaryrefslogtreecommitdiffstats
path: root/community/py3-sphinxcontrib-images/APKBUILD
blob: 3fd1ed8da0af44d55d4539081a2ad200b60f6f14 (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
# Contributor: Fabian Affolter <fabian@affolter-engineering.ch>
# Maintainer: Fabian Affolter <fabian@affolter-engineering.ch>
pkgname=py3-sphinxcontrib-images
_pkgname=sphinxcontrib-images
pkgver=0.9.4
pkgrel=4
pkgdesc="Sphinx images extension"
url="https://github.com/sphinx-contrib/images"
arch="noarch"
license="Apache-2.0"
depends="py3-requests py3-sphinx py3-setuptools"
makedepends="py3-wheel"
subpackages="$pkgname-pyc"
source="https://files.pythonhosted.org/packages/source/${_pkgname:0:1}/$_pkgname/$_pkgname-$pkgver.tar.gz"
builddir="$srcdir"/$_pkgname-$pkgver

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

build() {
	python3 setup.py build
}

package() {
	python3 setup.py install --skip-build --root="$pkgdir"
}

sha512sums="
1abce99942233fa1f27ec09f7545dfeac8a8e8d3569e430615f8144f192f4f7be0703eb9a076d08afd76d78c0f45a87d77cf4b9abede915e5f2539ed1318f2b3  sphinxcontrib-images-0.9.4.tar.gz
"