summaryrefslogtreecommitdiff
path: root/community/python-pyro/PKGBUILD
blob: 73e71f73cd3155a93a3a916d08485eb16c5dfad7 (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
26
27
28
# $Id: PKGBUILD 60201 2011-12-07 14:41:34Z arodseth $
# Maintainer: Angel Velasquez <angvp@archlinux.org> 
# Contributor: Douglas Soares de Andrade <dsa@aur.archlinux.br>
pkgbase=python-pyro
pkgname=('python-pyro' 'python2-pyro')
pkgver=4.9
pkgrel=1
pkgdesc="Python Remote Objects"
url="http://irmen.home.xs4all.nl/pyro/"
arch=('i686' 'x86_64')
license=('MIT')
depends=('python' 'python2')
source=(http://pypi.python.org/packages/source/P/Pyro4/Pyro4-${pkgver}.tar.gz)
md5sums=('00bf604303898ee920975a8ddd76bae1')

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
}