aboutsummaryrefslogtreecommitdiffstats
path: root/community/py3-sphinxcontrib-images/APKBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'community/py3-sphinxcontrib-images/APKBUILD')
-rw-r--r--community/py3-sphinxcontrib-images/APKBUILD27
1 files changed, 27 insertions, 0 deletions
diff --git a/community/py3-sphinxcontrib-images/APKBUILD b/community/py3-sphinxcontrib-images/APKBUILD
new file mode 100644
index 0000000000..8a01307f89
--- /dev/null
+++ b/community/py3-sphinxcontrib-images/APKBUILD
@@ -0,0 +1,27 @@
+# Contributor: Fabian Affolter <fabian@affolter-engineering.ch>
+# Maintainer: Fabian Affolter <fabian@affolter-engineering.ch>
+pkgname=py3-sphinxcontrib-images
+_pkgname=sphinxcontrib-images
+pkgver=0.9.2
+pkgrel=1
+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"
+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="ffadc362782d6496cb1435c10cddbb064605808b202750f96716bd00a6956b01d84af563d7f0e82333c0015b4f46ef4ee444b0a36501afe2b979bb6aa59e01f0 sphinxcontrib-images-0.9.2.tar.gz"