From a48ba24dc55c953d3b941dad26c0cc89c363c102 Mon Sep 17 00:00:00 2001 From: Britney Fransen Date: Sun, 16 Jul 2017 04:05:32 +0000 Subject: python-rpyc: initial inclusion. dep of flexget --- abs/core/python_modules/python-rpyc/PKGBUILD | 30 +++++++++++++++++++++++++ abs/core/python_modules/python-rpyc/__changelog | 2 ++ 2 files changed, 32 insertions(+) create mode 100644 abs/core/python_modules/python-rpyc/PKGBUILD create mode 100644 abs/core/python_modules/python-rpyc/__changelog diff --git a/abs/core/python_modules/python-rpyc/PKGBUILD b/abs/core/python_modules/python-rpyc/PKGBUILD new file mode 100644 index 0000000..55fcea4 --- /dev/null +++ b/abs/core/python_modules/python-rpyc/PKGBUILD @@ -0,0 +1,30 @@ +# Maintainer: Sebastien Leduc + +pkgname=('python2-rpyc') +pkgbase='python-rpyc' +_realname=rpyc +pkgver=3.4.0 +pkgrel=1 +pkgdesc="Remote Python Call (RPyC), a transparent and symmetric RPC library" +url="http://rpyc.readthedocs.org" +arch=('any') +license=('MIT') +source=("https://pypi.python.org/packages/77/6d/41e01e49e75ec9a92e8637f8dc566cc01d5e6a76d4ce01f3bc54d4ff03f9/$_realname-$pkgver.tar.gz") +md5sums=('6bba886aa3ec37f1f4cabdb56c411eba') + +package_python-rpyc() { + depends=('python' 'python-plumbum') + makedepends=("python-setuptools") + cd "$srcdir/$_realname-$pkgver" + python setup.py install --root="$pkgdir"/ --optimize=1 +} + +package_python2-rpyc() { + depends=('python2' 'python2-plumbum') + makedepends=("python2-setuptools") + cd "$srcdir/$_realname-$pkgver" + python2 setup.py install --root="$pkgdir"/ --optimize=1 + mv "$pkgdir"/usr/bin/rpyc_classic{,2}.py + mv "$pkgdir"/usr/bin/rpyc_registry{,2}.py +} +# vim:set ts=2 sw=2 et: diff --git a/abs/core/python_modules/python-rpyc/__changelog b/abs/core/python_modules/python-rpyc/__changelog new file mode 100644 index 0000000..4f818ef --- /dev/null +++ b/abs/core/python_modules/python-rpyc/__changelog @@ -0,0 +1,2 @@ +PKGBUILD: don't build py 3 stuff + -- cgit v0.12