From The Compiler, 1 Year ago, written in Plain Text.
Embed
  1. pkgname=python-plaster-pastedeploy
  2. _pkgname=plaster_pastedeploy
  3. pkgver=0.4.1
  4. pkgrel=1
  5. pkgdesc="A PasteDeploy binding to the plaster configuration loader."
  6. arch=('any')
  7. url="https://github.com/Pylons/plaster_pastedeploy/"
  8. license=('MIT')
  9. depends=('python' 'python-plaster' 'python-pastedeploy')
  10. makedepends=('python-setuptools')
  11. source=(https://files.pythonhosted.org/packages/source/${_pkgname::1}/${_pkgname}/${_pkgname}-${pkgver}.tar.gz)
  12. sha256sums=('5b92469d4efb26f3581ea32ecc64a513891693d29639fbd2ab2ec755949f2bd3')
  13.  
  14. build(){
  15.   cd ${srcdir}/${_pkgname}-${pkgver}
  16.   python setup.py build
  17. }
  18.  
  19. package() {
  20.   cd ${srcdir}/${_pkgname}-${pkgver}
  21.   python setup.py install --prefix=/usr --root=${pkgdir} --optimize=1
  22. }