# Contributor: Fabian Affolter <fabian@affolter-engineering.ch> # Maintainer: Fabian Affolter <fabian@affolter-engineering.ch> setvar pkgname = 'py-sphinx-theme-guzzle' setvar _pkgname = 'guzzle_sphinx_theme' setvar pkgver = '0.2.1' setvar pkgrel = '0' setvar pkgdesc = ""The Guzzle Sphinx theme"" setvar url = ""https://github.com/guzzle/guzzle_sphinx_theme"" 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.tar.gz"" 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 = ""d66821491087ad33b2a030f5f155bf31 guzzle_sphinx_theme-0.2.1.tar.gz"" setvar sha256sums = ""73799d1789c07ff89a84f2c13dafce06e8d9c91ae5de9b5ce907b5f5b59fcad8 guzzle_sphinx_theme-0.2.1.tar.gz"" setvar sha512sums = ""2775b47a2ee27ab42de8247322676ab1bf2c4beb67e4c574b05ba08c22a71b61d5766d4dfa955f1f0dccfd57526b8251d8cec875bbf53d86e98402ddf3d20a81 guzzle_sphinx_theme-0.2.1.tar.gz""