summaryrefslogtreecommitdiff
path: root/community/python-pyro/PKGBUILD
blob: c978da9a25b4a5ad0fc2aac09022adbc7a244cac (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 56634 2011-10-09 10:13:09Z angvp $
# 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' 'mips64el')
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
}