# Contributor: Fabian Affolter # Maintainer: Fabian Affolter pkgname=py-sphinxcontrib-issuetracker _pkgname=sphinxcontrib-issuetracker pkgver=0.11 pkgrel=0 pkgdesc="Sphinx issuetracker extension" url="https://pypi.python.org/pypi/sphinxcontrib-issuetracker" arch="noarch" license="BSD" depends="python py-sphinx" depends_dev="" makedepends="python-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" python setup.py build || return 1 } package() { cd "$_builddir" python setup.py install --prefix=/usr --root="$pkgdir" || return 1 } md5sums="69c2f0e5770c5d7bad73f60f8d764e28 sphinxcontrib-issuetracker-0.11.tar.gz" sha256sums="843753d8b5e989116378ab45ecccb368fb78dc56eaa1554ed25e4fbf22745f4e sphinxcontrib-issuetracker-0.11.tar.gz" sha512sums="fb4a977bea22451a3d90b16821fc2a38ed53b17913666ca250e9aab8bb1726bbdb52fb2b6dbb2ae512a0ca6cc3d33dcddeba758c02c77b099180443d67e147c9 sphinxcontrib-issuetracker-0.11.tar.gz"