Skip to content

Instantly share code, notes, and snippets.

@sdiehl
Created June 16, 2011 16:58
Show Gist options
  • Select an option

  • Save sdiehl/1029684 to your computer and use it in GitHub Desktop.

Select an option

Save sdiehl/1029684 to your computer and use it in GitHub Desktop.
Greenlet with debug symbols
# greenlet with debug symbols for gdb
pkgname=python2-greenlet-debuginfo
pkgver=0.3.1
pkgrel=2
pkgdesc="python coroutine library"
license=("MIT")
url="http://pypi.python.org/pypi/greenlet"
depends=('python2')
source=(http://pypi.python.org/packages/source/g/greenlet/greenlet-$pkgver.tar.gz patch)
arch=('i686' 'x86_64')
md5sums=('8d75d7f3f659e915e286e1b0fa0e1c4d'
'cdb93be3ec24b9ae4b18f2c60ec564db')
build() {
cd $startdir/src/greenlet-$pkgver
patch -p1 <$startdir/patch
/usr/bin/python2 setup.py build --debug || return 1
/usr/bin/python2 setup.py install --root=$startdir/pkg
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment