aports/community/py3-sphinxcontrib-images/APKBUILD
2023-04-28 23:45:29 +00:00

31 lines
1000 B
Plaintext

# 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=2
pkgdesc="Sphinx images extension"
url="https://github.com/sphinx-contrib/images"
arch="noarch"
license="Apache-2.0"
depends="py3-requests py3-sphinx"
makedepends="py3-setuptools 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
"