mirror of
https://github.com/archlinuxarm/PKGBUILDs.git
synced 2024-11-18 22:54:00 +00:00
22 lines
622 B
Bash
22 lines
622 B
Bash
pkgname=python2-rpyc
|
|
_realname=rpyc
|
|
pkgver=3.2.3
|
|
pkgrel=1
|
|
pkgdesc="Remote Python Call (RPyC), a transparent and symmetric RPC library"
|
|
url="http://rpyc.readthedocs.org"
|
|
arch=('any')
|
|
license=('MIT')
|
|
depends=('python2')
|
|
makedepends=('python2-setuptools')
|
|
source=("https://pypi.python.org/packages/source/r/rpyc/$_realname-$pkgver.tar.gz")
|
|
md5sums=('e638011247d21ab2f0be1fc5713e0e54')
|
|
|
|
prepare() {
|
|
cd "$_realname-$pkgver"
|
|
find . -type f -exec sed -i 's@#! */usr/bin/\(env \+\)\?python *\r\?$@#!/usr/bin/\1python2@' '{}' +
|
|
}
|
|
|
|
package(){
|
|
cd "$_realname-$pkgver"
|
|
python2 setup.py install --root="$pkgdir" --optimize=1
|
|
}
|