# Contributor: Fabian Affolter # Maintainer: Fabian Affolter pkgname=py-sphinxcontrib-cheeseshop _pkgname=sphinxcontrib-cheeseshop pkgver=0.2 pkgrel=0 pkgdesc="Sphinx cheeseshop extension" url="https://pypi.python.org/pypi/sphinxcontrib-cheeseshop" arch="noarch" license="BSD" depends="python2 py-sphinx" depends_dev="" makedepends="python2-dev py-setuptools" install="" subpackages="" source="https://files.pythonhosted.org/packages/source/${_pkgname:0:1}/$_pkgname/$_pkgname-$pkgver.tar.gz" _builddir="$srcdir"/$_pkgname-$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" python2 setup.py build || return 1 } package() { cd "$_builddir" python2 setup.py install --prefix=/usr --root="$pkgdir" || return 1 } md5sums="56aff09d56d3e75236c024fcfe6ffa01 sphinxcontrib-cheeseshop-0.2.tar.gz" sha256sums="d1a3bc4c1842868f959f7e14fa7390e64fa717823144286e7d15a25c3624b1ec sphinxcontrib-cheeseshop-0.2.tar.gz" sha512sums="5d6c88c0c43f37b94ebe6a2a62f795a6f7d5d6c407b808d6b21d54c1775fc4b5f22466c13e61adc16ac7973ba11e99a66da8650c869856f766e6bb3a6e99923b sphinxcontrib-cheeseshop-0.2.tar.gz"