diff options
author | Parabola <dev@list.parabolagnulinux.org> | 2011-04-05 14:26:38 +0000 |
---|---|---|
committer | Parabola <dev@list.parabolagnulinux.org> | 2011-04-05 14:26:38 +0000 |
commit | 415856bdd4f48ab4f2732996f0bae58595092bbe (patch) | |
tree | ede2018b591f6dfb477fe9341ba17b9bc000fab9 /community/python-pyro/PKGBUILD |
Tue Apr 5 14:26:38 UTC 2011
Diffstat (limited to 'community/python-pyro/PKGBUILD')
-rwxr-xr-x | community/python-pyro/PKGBUILD | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/community/python-pyro/PKGBUILD b/community/python-pyro/PKGBUILD new file mode 100755 index 000000000..309105e93 --- /dev/null +++ b/community/python-pyro/PKGBUILD @@ -0,0 +1,25 @@ +# $Id: PKGBUILD 26298 2010-09-14 17:18:19Z schuay $ +# Contributor: Douglas Soares de Andrade <dsa@aur.archlinux.br> + +pkgname=python-pyro +pkgver=3.10 +pkgrel=2 +pkgdesc="Python Remote Objects" +url="http://pyro.sourceforge.net" +arch=('i686' 'x86_64') +license=('MIT') +depends=('python2') +source=(http://www.xs4all.nl/~irmen/pyro3/download/Pyro-${pkgver}.tar.gz) +md5sums=('7fc6b8b939073d4adb0e8939c59aaf1e') + +build() { + cd $srcdir/Pyro-${pkgver} + + # python2 fix + for file in Pyro/wxnsc.py Pyro/ext/daemonizer.py; do + sed -i 's_#!/usr/bin/env python_#!/usr/bin/env python2_' $file + done + + python2 setup.py install --root=$pkgdir + install -Dm644 LICENSE ${pkgdir}/usr/share/licenses/${pkgname}/LICENSE +} |