mirror of
https://github.com/archlinuxarm/PKGBUILDs.git
synced 2024-11-28 22:57:37 +00:00
22 lines
641 B
Bash
22 lines
641 B
Bash
pkgname=python2-rpyc
|
|
_realname=rpyc
|
|
pkgver=3.3.0
|
|
pkgrel=1
|
|
pkgdesc="Remote Python Call (RPyC), a transparent and symmetric RPC library"
|
|
url="http://rpyc.readthedocs.org"
|
|
arch=('any')
|
|
license=('MIT')
|
|
depends=('python2' 'python2-plumbum')
|
|
makedepends=('python2-setuptools')
|
|
source=("https://pypi.python.org/packages/source/r/rpyc/$_realname-$pkgver.tar.gz")
|
|
md5sums=('6931cb92c41f547591b525142ccaeef1')
|
|
|
|
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
|
|
}
|