diff options
author | root <root@rshg054.dnsready.net> | 2011-10-10 23:14:36 +0000 |
---|---|---|
committer | root <root@rshg054.dnsready.net> | 2011-10-10 23:14:36 +0000 |
commit | cbcf42aba84733e1b9072f5320519c99bf8c0ac7 (patch) | |
tree | a329670cb53aabe42cc50ef6cda1e534d4dfbabf /community/python-pyro/PKGBUILD | |
parent | 8e372cc6207b56516c1facdaeb92d15c4716d8a2 (diff) |
Mon Oct 10 23:14:36 UTC 2011
Diffstat (limited to 'community/python-pyro/PKGBUILD')
-rwxr-xr-x | community/python-pyro/PKGBUILD | 35 |
1 files changed, 19 insertions, 16 deletions
diff --git a/community/python-pyro/PKGBUILD b/community/python-pyro/PKGBUILD index 309105e93..d6dd0aa79 100755 --- a/community/python-pyro/PKGBUILD +++ b/community/python-pyro/PKGBUILD @@ -1,25 +1,28 @@ -# $Id: PKGBUILD 26298 2010-09-14 17:18:19Z schuay $ +# $Id: PKGBUILD 56634 2011-10-09 10:13:09Z angvp $ +# Maintainer: Angel Velasquez <angvp@archlinux.org> # Contributor: Douglas Soares de Andrade <dsa@aur.archlinux.br> - -pkgname=python-pyro -pkgver=3.10 -pkgrel=2 +pkgbase=python-pyro +pkgname=('python-pyro' 'python2-pyro') +pkgver=4.9 +pkgrel=1 pkgdesc="Python Remote Objects" -url="http://pyro.sourceforge.net" +url="http://irmen.home.xs4all.nl/pyro/" 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} +depends=('python' 'python2') +source=(http://pypi.python.org/packages/source/P/Pyro4/Pyro4-${pkgver}.tar.gz) +md5sums=('00bf604303898ee920975a8ddd76bae1') - # 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 +package_python-pyro() { + depends=('python') + cd $srcdir/Pyro4-${pkgver} + python setup.py install --root=$pkgdir + install -Dm644 LICENSE ${pkgdir}/usr/share/licenses/${pkgname}/LICENSE +} +package_python2-pyro() { + depends=('python2') + cd $srcdir/Pyro4-${pkgver} python2 setup.py install --root=$pkgdir install -Dm644 LICENSE ${pkgdir}/usr/share/licenses/${pkgname}/LICENSE } |