mirror of
https://github.com/archlinuxarm/PKGBUILDs.git
synced 2025-03-19 00:21:40 +00:00
added aur/python2-rpyc
This commit is contained in:
parent
c0e48c6fe8
commit
3f9814c662
1 changed files with 22 additions and 0 deletions
22
aur/python2-rpyc/PKGBUILD
Normal file
22
aur/python2-rpyc/PKGBUILD
Normal file
|
@ -0,0 +1,22 @@
|
|||
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
|
||||
}
|
Loading…
Reference in a new issue