Commit 05a11497 authored by Carlo Landmeter's avatar Carlo Landmeter

main/py-sphinx_rtd_theme: new aport

parent 6ccdcfb6
# Contributor: Carlo Landmeter <clandmeter@gmail.com>
# Maintainer:
pkgname=py-sphinx_rtd_theme
pkgver=0.1.9
pkgrel=0
pkgdesc="Sphinx theme for readthedocs.org"
url="https://github.com/snide/sphinx_rtd_theme"
arch="noarch"
license="MIT"
depends=""
depends_dev=""
makedepends="$depends_dev python-dev"
install=""
subpackages=""
source="sphinx_rtd_theme-$pkgver.tar.gz::https://github.com/snide/sphinx_rtd_theme/archive/$pkgver.tar.gz"
_builddir="$srcdir"/sphinx_rtd_theme-$pkgver
prepare() {
local i
cd "$_builddir"
for i in $source; do
case $i in
*.patch) msg $i; patch -p1 -i "$srcdir"/$i || return 1;;
esac
done
}
build() {
cd "$_builddir"
python setup.py build || return 1
}
package() {
cd "$_builddir"
python setup.py install --prefix=/usr --root="$pkgdir" || return 1
}
md5sums="f1745463231113bb2677ad34f0a20b3a sphinx_rtd_theme-0.1.9.tar.gz"
sha256sums="46fd802c696b78e2681b21084c0d96c36e12b118c4c0cdf94f4a0702138f82a5 sphinx_rtd_theme-0.1.9.tar.gz"
sha512sums="2ac313c8cf276bb8fc8c92cb3f39c1e216f8e0072a11a26af4fb6a37132e45b1c472c1f9625f171a411b0fcb909cc695b0af5f3def53ffa0ec3f568df7b0b197 sphinx_rtd_theme-0.1.9.tar.gz"
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment