Commit 3c3ecf79 authored by Carlo Landmeter's avatar Carlo Landmeter
Browse files

main/py-alabaster: new aport

parent 740ecccc
# Contributor: Carlo Landmeter <clandmeter@gmail.com>
# Maintainer:
pkgname=py-alabaster
pkgver=0.7.6
pkgrel=0
pkgdesc="Modified Kr Sphinx doc theme"
url="https://github.com/bitprophet/alabaster"
arch="noarch"
license="BSD"
depends=""
depends_dev=""
makedepends="$depends_dev python-dev"
install=""
subpackages=""
source="alabaster-$pkgver.tar.gz::https://github.com/bitprophet/alabaster/archive/$pkgver.tar.gz"
_builddir="$srcdir"/alabaster-$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="940d47184c4d67d9e1943ba2e5b15a65 alabaster-0.7.6.tar.gz"
sha256sums="5446f84c69fd327cfe2fa1644b4f6453710e67c6479e79e736f7bedb6e2bcb8e alabaster-0.7.6.tar.gz"
sha512sums="8b07592930190428430ab6c3a73e6a159ea6b2073d11ffc5d2dd1052a38f06feed680527002785d2f056dd413d71218f1ecd5a6aba4294ce4047193e751af440 alabaster-0.7.6.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