summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorAshwin Vishnu2019-02-06 09:42:15 +0100
committerAshwin Vishnu2019-02-06 09:42:42 +0100
commitfbd5b9e2452cee4e2c07830b47caf9811515a6f3 (patch)
tree8d18f341edd0d216bc2f99469480634ab24b0ac9
parente80c0141b17044d5838d6551284828d0b26bbf67 (diff)
downloadaur-fbd5b9e2452cee4e2c07830b47caf9811515a6f3.tar.gz
Modify prepare with cp -a and install with optimize
mksrcinfo
-rw-r--r--.SRCINFO2
-rw-r--r--PKGBUILD8
2 files changed, 5 insertions, 5 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 2b517632b50..17db1904f20 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,7 +1,7 @@
pkgbase = ipython-ipyparallel
pkgdesc = Interactive Parallel Computing in Python
pkgver = 6.2.3
- pkgrel = 1
+ pkgrel = 2
url = https://github.com/ipython/ipyparallel
arch = any
license = BSD
diff --git a/PKGBUILD b/PKGBUILD
index 878030b0c5e..5cc03c76923 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -4,7 +4,7 @@
pkgbase=ipython-ipyparallel
pkgname=('ipython-ipyparallel' 'ipython2-ipyparallel')
pkgver=6.2.3
-pkgrel=1
+pkgrel=2
pkgdesc="Interactive Parallel Computing in Python"
url="https://github.com/ipython/ipyparallel"
arch=(any)
@@ -15,7 +15,7 @@ source=("https://github.com/ipython/ipyparallel/archive/${pkgver}.tar.gz")
sha256sums=('fa82384a59604c30e4f90a768f9e047d600b06c6bccf3c67f86fc26f899ed941')
prepare() {
- cp -r "${srcdir}/ipyparallel-$pkgver" "${srcdir}/ipyparallel-$pkgver-py2"
+ cp -a "${srcdir}/ipyparallel-$pkgver"{,-py2}
}
build() {
@@ -31,7 +31,7 @@ package_ipython-ipyparallel() {
conflicts=('ipython2-ipyparallel')
cd "${srcdir}/ipyparallel-$pkgver"
- python setup.py install --root="${pkgdir}"
+ python setup.py install --root="${pkgdir}" --optimize=1 --skip-build
}
package_ipython2-ipyparallel() {
@@ -39,7 +39,7 @@ package_ipython2-ipyparallel() {
conflicts=('ipython-ipyparallel')
cd "${srcdir}/ipyparallel-$pkgver-py2"
- python2 setup.py install --root="${pkgdir}"
+ python2 setup.py install --root="${pkgdir}" --optimize=1 --skip-build
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