1
0
Fork 0
mirror of https://gitlab.alpinelinux.org/alpine/aports.git synced 2025-07-16 12:45:18 +03:00
aports/testing/py3-sphinx-theme-bootstrap/APKBUILD
psykose deb62258ec */*: set --skip-build for python installs
this marginally increases install speed by not checking if it needs a rebuild.
also remove --prefix=/usr as it defaults to /usr already.

might break a build or two, will fix later
2023-01-10 04:19:31 +01:00

29 lines
992 B
Text

# Contributor: Fabian Affolter <fabian@affolter-engineering.ch>
# Maintainer: Fabian Affolter <fabian@affolter-engineering.ch>
pkgname=py3-sphinx-theme-bootstrap
_pkgname=sphinx-bootstrap-theme
pkgver=0.8.1
pkgrel=1
pkgdesc="The Bootstrap Sphinx theme"
url="http://ryan-roemer.github.com/sphinx-bootstrap-theme"
arch="noarch"
license="MIT"
depends="python3 py3-sphinx"
makedepends="py3-setuptools"
source="$_pkgname-$pkgver.tar.gz::https://github.com/ryan-roemer/sphinx-bootstrap-theme/archive/refs/tags/v$pkgver.tar.gz"
builddir="$srcdir"/$_pkgname-$pkgver
replaces="py-sphinx-theme-bootstrap" # Backwards compatibility
replaces="py-sphinx-theme-bootstrap=$pkgver-r$pkgrel" # Backwards compatibility
build() {
python3 setup.py build
}
package() {
python3 setup.py install --skip-build --root="$pkgdir"
}
sha512sums="
de56b56bbb729c9d4f98697a1d312555ddb22c05588fb00e0417075f8b500a6cb09c8918276f4a59900ceec1374f1355cd4919b012505a37481de970f0172399 sphinx-bootstrap-theme-0.8.1.tar.gz
"