aboutsummaryrefslogtreecommitdiffstats
path: root/testing/py3-sphinxcontrib-images/APKBUILD
blob: 8eaf9dcc1fb595ec9a7bafef89e335b331dbaf82 (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
# Contributor: Fabian Affolter <fabian@affolter-engineering.ch>
# Maintainer: Fabian Affolter <fabian@affolter-engineering.ch>
pkgname=py3-sphinxcontrib-images
_pkgname=sphinxcontrib-images
pkgver=0.8.0
pkgrel=1
pkgdesc="Sphinx images extension"
url="https://github.com/spinus/sphinxcontrib-images"
arch="noarch"
license="Apache-2.0"
depends="py3-requests py3-sphinx"
makedepends="py3-setuptools"
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 --prefix=/usr --root="$pkgdir"
}

sha512sums="10effe910c5dafd595482d43c3659a95dc51916b52e03d93b472909265f09cb5831c5bebbcc07b50b8ecec7c1b8b9d99f4274b2abb51e41b78713222c532d527  sphinxcontrib-images-0.8.0.tar.gz"