PKGBUILD 1.1 KB

1234567891011121314151617181920212223242526272829303132333435363738
  1. # Maintainer: bill-auger <bill-auger@programmer.net>
  2. # Maintainer (aur): Simon Hanna <simon dot hanna AT serve-me DOT info>
  3. pkgname=('python-lazr-delegates' 'python2-lazr-delegates')
  4. pkgver=2.0.3
  5. pkgrel=1
  6. pkgdesc="Easily write objects that delegate behavior"
  7. arch=(any)
  8. url=https://launchpad.net/lazr.delegates
  9. license=('LGPL')
  10. options=(!emptydirs)
  11. makedepends=('python-setuptools' 'python2-setuptools')
  12. _upstream_name='lazr.delegates'
  13. _release=${_upstream_name}-${pkgver}
  14. source=(https://pypi.python.org/packages/source/${_upstream_name:0:1}/${_upstream_name}/${_release}.tar.gz)
  15. sha256sums=('51c80d5ac2c1f8f4a8c75fa271646529c8a6393a0b088dab50fb62138d092ee9')
  16. package_python-lazr-delegates()
  17. {
  18. depends=('python' 'python-setuptools' 'python-zope-interface' 'python-nose')
  19. cd "${srcdir}/${_release}"
  20. python setup.py install --root="$pkgdir/" --optimize=1
  21. }
  22. package_python2-lazr-delegates() {
  23. depends=('python2' 'python2-setuptools' 'python2-zope-interface' 'python2-nose')
  24. cd "${srcdir}/${_release}"
  25. python2 setup.py install --root="$pkgdir/" --optimize=1
  26. }