blob: 70418c94df0cc6de957bfd13baeb3c083113691d (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
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' 'mips64el')
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
}
|