PKGBUILDs/aur/python2-rpyc/PKGBUILD

23 lines
641 B
Bash
Raw Normal View History

2014-01-15 01:43:37 +00:00
pkgname=python2-rpyc
_realname=rpyc
2014-07-05 02:03:10 +00:00
pkgver=3.3.0
2014-01-15 01:43:37 +00:00
pkgrel=1
pkgdesc="Remote Python Call (RPyC), a transparent and symmetric RPC library"
url="http://rpyc.readthedocs.org"
arch=('any')
license=('MIT')
2014-07-05 02:03:10 +00:00
depends=('python2' 'python2-plumbum')
2014-01-15 01:43:37 +00:00
makedepends=('python2-setuptools')
source=("https://pypi.python.org/packages/source/r/rpyc/$_realname-$pkgver.tar.gz")
2014-07-05 02:03:10 +00:00
md5sums=('6931cb92c41f547591b525142ccaeef1')
2014-01-15 01:43:37 +00:00
prepare() {
cd "$_realname-$pkgver"
find . -type f -exec sed -i 's@#! */usr/bin/\(env \+\)\?python *\r\?$@#!/usr/bin/\1python2@' '{}' +
}
2014-07-05 02:03:10 +00:00
package() {
2014-01-15 01:43:37 +00:00
cd "$_realname-$pkgver"
python2 setup.py install --root="$pkgdir" --optimize=1
}