added alarm/python-sphinx_rtd_theme-043

This commit is contained in:
Kevin Mihelich 2020-06-18 13:50:31 +00:00
parent bf4960294a
commit 48f38d7cff

View file

@ -0,0 +1,37 @@
# Maintainer: Johannes Löthberg <johannes@kyriasis.com>
# Contributor: eolianoe <eolianoe [at] gmail [DoT] com>
# Contributor: Romain Schmitz <slopjong .at. slopjong .dot. de>
# ALARM: Kevin Mihelich <kevin@archlinuxarm.org>
# - pre-npm-required version for v5
buildarch=2
pkgname=python-sphinx_rtd_theme-043
pkgver=0.4.3
pkgrel=1
pkgdesc="Python Sphinx Read The Docs Theme"
url='https://github.com/rtfd/sphinx_rtd_theme/'
arch=('any')
license=('MIT')
provides=('python-sphinx_rtd_theme')
replaces=('python-sphinx_rtd_theme')
makedepends=('python-setuptools' 'python2-setuptools')
source=("https://pypi.org/packages/source/s/sphinx_rtd_theme/sphinx_rtd_theme-$pkgver.tar.gz")
sha256sums=('728607e34d60456d736cc7991fd236afb828b21b82f956c5ea75f94c8414040a')
build() {
cd sphinx_rtd_theme-$pkgver
python setup.py build
}
package() {
cd sphinx_rtd_theme-$pkgver
python setup.py install --root="$pkgdir" --optimize=1
install -Dm644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
}