summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorxantares2015-10-04 11:41:44 +0200
committerxantares2015-10-04 11:41:44 +0200
commita564c0544cfa01a44b572248ccdbdb15da78485b (patch)
treec5bce61a7f6e9983a707449c2c8e52e10c5ecfca
downloadaur-a564c0544cfa01a44b572248ccdbdb15da78485b.tar.gz
Initial import
-rw-r--r--.SRCINFO18
-rw-r--r--PKGBUILD41
2 files changed, 59 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO
new file mode 100644
index 00000000000..bbe6282d2f1
--- /dev/null
+++ b/.SRCINFO
@@ -0,0 +1,18 @@
+pkgbase = ipython-ipyparallel
+ pkgdesc = Interactive Parallel Computing in Python
+ pkgver = 4.0.2
+ pkgrel = 1
+ url = https://github.com/ipython/ipyparallel
+ arch = any
+ license = BSD
+ makedepends = python-setuptools
+ makedepends = python2-setuptools
+ source = https://github.com/ipython/ipyparallel/archive/4.0.2.tar.gz
+ md5sums = d33d94b733f02c0f8d6102dcb9be6a58
+
+pkgname = ipython-ipyparallel
+ depends = ipython
+
+pkgname = ipython2-ipyparallel
+ depends = ipython2
+
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 00000000000..b145217bb99
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,41 @@
+
+pkgbase=ipython-ipyparallel
+pkgname=('ipython-ipyparallel' 'ipython2-ipyparallel')
+pkgver=4.0.2
+pkgrel=1
+pkgdesc="Interactive Parallel Computing in Python"
+url="https://github.com/ipython/ipyparallel"
+arch=(any)
+license=('BSD')
+makedepends=('python-setuptools' 'python2-setuptools')
+source=("https://github.com/ipython/ipyparallel/archive/${pkgver}.tar.gz")
+md5sums=('d33d94b733f02c0f8d6102dcb9be6a58')
+
+prepare() {
+ cp -r "${srcdir}/ipyparallel-$pkgver" "${srcdir}/ipyparallel-$pkgver-py2"
+}
+
+build() {
+ cd "${srcdir}/ipyparallel-$pkgver"
+ python setup.py build
+
+ cd "${srcdir}/ipyparallel-$pkgver-py2"
+ python2 setup.py build
+}
+
+package_ipython-ipyparallel() {
+ depends=('ipython')
+
+ cd "${srcdir}/ipyparallel-$pkgver"
+ python setup.py install --root="${pkgdir}"
+}
+
+package_ipython2-ipyparallel() {
+ depends=('ipython2')
+
+ cd "${srcdir}/ipyparallel-$pkgver-py2"
+ python2 setup.py install --root="${pkgdir}"
+ mv "${pkgdir}"/usr/bin/ipcluster "${pkgdir}"/usr/bin/ipcluster2
+ mv "${pkgdir}"/usr/bin/ipcontroller "${pkgdir}"/usr/bin/ipcontroller2
+ mv "${pkgdir}"/usr/bin/ipengine "${pkgdir}"/usr/bin/ipengine2
+}