# Contributor: Fabian Affolter # Maintainer: Fabian Affolter setvar pkgname = 'py-sphinxcontrib-testbuild' setvar _pkgname = 'sphinxcontrib-testbuild' setvar pkgver = '0.1.3' setvar pkgrel = '0' setvar pkgdesc = ""Sphinx testbuild extension"" setvar url = ""https://pypi.python.org/pypi/sphinxcontrib-testbuild"" setvar arch = ""noarch"" setvar license = ""BSD"" setvar depends = ""python2 py-sphinx"" setvar depends_dev = """" setvar makedepends = ""python2-dev py-setuptools"" setvar install = """" setvar subpackages = """" setvar source = ""https://files.pythonhosted.org/packages/source/${_pkgname:0:1}/$_pkgname/$_pkgname-$pkgver.zip"" setvar _builddir = ""$srcdir"/$_pkgname-$pkgver" proc prepare { local i cd $_builddir for i in $source { case (i) { *.patch { msg $i; patch -p1 -i "$srcdir"/$i || return 1} } } } proc build { cd $_builddir python2 setup.py build || return 1 } proc package { cd $_builddir python2 setup.py install --prefix=/usr --root="$pkgdir" || return 1 } setvar md5sums = ""b4f2ca908d2daca176b148a712e79d19 sphinxcontrib-testbuild-0.1.3.zip"" setvar sha256sums = ""ccbcac7769dbaa260a09106a9d729def505084ee916eb861f963c05b07bfda4d sphinxcontrib-testbuild-0.1.3.zip"" setvar sha512sums = ""86eb9f6abbe7b4931fbd90962274d17fe5efdbcdbeff6d77eea9d4dbd8deda1a2ef11cb223ae997fc32297e0625c4c7239b7ab3478552e9ab272b00573e163fc sphinxcontrib-testbuild-0.1.3.zip""