Want more features on Pastebin? Sign Up, it's FREE!
Guest

codepy

By: a guest on Feb 12th, 2013  |  syntax: Bash  |  size: 0.63 KB  |  views: 11  |  expires: Never
download  |  raw  |  embed  |  report abuse  |  print
Text below is selected. Please press Ctrl+C to copy to your clipboard. (⌘+C on Mac)
  1. # Maintainer: Michael Schubert <mschu.dev at google mail>
  2.  
  3. pkgname=python2-codepy
  4. _pkgname=codepy
  5. pkgver=2012.1.2
  6. pkgrel=2
  7. pkgdesc="A C/C++ metaprogramming toolkit for Python"
  8. arch=('any')
  9. url="http://mathema.tician.de/software/codepy"
  10. license=('MIT')
  11. depends=('python2')
  12. makedepends=('python2-pytools')
  13. source=("http://pypi.python.org/packages/source/c/$_pkgname/$_pkgname-$pkgver.tar.gz")
  14. md5sums=('992482e56aa3f5351a08e4c39572bc3a')
  15.  
  16. build() {
  17.   cd "$srcdir/$_pkgname-$pkgver"
  18.   python2 setup.py build
  19. }
  20.  
  21. package() {
  22.   cd "$srcdir/$_pkgname-$pkgver"
  23.   python2 setup.py install --root="$pkgdir/" --skip-build --optimize=1
  24. }
clone this paste RAW Paste Data