Pastebin launched a little side project called VERYVIRAL.com, check it out ;-) Want more features on Pastebin? Sign Up, it's FREE!
Guest

python2-uncompyle2-git

By: a guest on Dec 1st, 2013  |  syntax: None  |  size: 0.68 KB  |  views: 39  |  expires: Never
download  |  raw  |  embed  |  report abuse  |  print
This paste has a previous version, view the difference. Text below is selected. Please press Ctrl+C to copy to your clipboard. (⌘+C on Mac)
  1. pkgname=python2-uncompyle2-git
  2. pkgver=20131201
  3. pkgrel=1
  4. pkgdesc="A Python 2.5, 2.6, 2.7 byte-code decompiler, written in Python 2.7"
  5. url="https://github.com/Mysterie/uncompyle2"
  6. arch=('any')
  7. depends=('python2')
  8. makedepends=('git')
  9. conflicts=('python2-uncompyle')
  10. license=('GPL3')
  11. source=('git+https://github.com/Mysterie/uncompyle2.git')
  12. md5sums=('SKIP')
  13.  
  14. pkgver() {
  15.   cd "$srcdir/uncompyle2"
  16.   # Use the tag of the last commit
  17.   git describe --long | sed -E 's/([^-]*-g)/r\1/;s/-/./g'
  18. }
  19.  
  20. build() {
  21.   cd "$srcdir/uncompyle2"
  22.   python2 setup.py build
  23. }
  24.  
  25. package() {
  26.   cd "$srcdir/uncompyle2"
  27.   python2 setup.py install --root="${pkgdir}/" --optimize=1 --skip-build
  28. }
clone this paste RAW Paste Data