[arch-commits] Commit in spyder/trunk (PKGBUILD)
Fabio Castelli
muflone at archlinux.org
Sat Aug 11 22:07:59 UTC 2018
Date: Saturday, August 11, 2018 @ 22:07:59
Author: muflone
Revision: 371186
upgpkg: spyder 3.3.0-1
Modified:
spyder/trunk/PKGBUILD
----------+
PKGBUILD | 31 +++++++++++++++++--------------
1 file changed, 17 insertions(+), 14 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2018-08-11 21:40:32 UTC (rev 371185)
+++ PKGBUILD 2018-08-11 22:07:59 UTC (rev 371186)
@@ -5,12 +5,13 @@
pkgbase='spyder'
pkgname=('spyder2' 'spyder3')
-pkgver=3.2.8
-pkgrel=2
-pkgdesc='Scientific PYthon Development EnviRonment providing MATLAB-like features.'
-makedepends=('python2-setuptools' 'python-setuptools' 'python-sphinx' 'python2-sphinx')
+pkgver=3.3.0
+pkgrel=1
+pkgdesc='The Scientific Python Development Environment'
+makedepends=('python2-setuptools' 'python-setuptools' 'python-sphinx' 'python2-sphinx'
+ 'desktop-file-utils')
arch=('any')
-url='https://github.com/spyder-ide/spyder/'
+url='https://www.spyder-ide.org/'
license=('MIT')
source=("${pkgbase}-${pkgver}.tar.gz"::"https://github.com/spyder-ide/${pkgbase}/archive/v${pkgver}.tar.gz"
"python2.patch"
@@ -17,7 +18,7 @@
"bug_53489_python2-optional-nbconvert.patch"
"bug_54508_missing_pyqt4_qtwebkit.patch"
"bug_51437_spyder2.patch")
-sha256sums=('171b14bc0db30986c4a69fa34cf68ee9b2c388f97556548a433d4b6a7aa087ae'
+sha256sums=('2d7ce1bd19cc3e1c8eb30cc42f12c50caed60aeb2f1d7e1871201785e4ec327b'
'84b8d5e9640d5d347ac4564130f217368cc3f823de30b458d467a05e60bbc8da'
'7486faba90da062ef8da6912bfabd22b59343b1275758f04e4a41df2b3b8eec0'
'28d4aa8938d809c299ab6bf6b00a2f82677f9a98a9763b7127970881b76276f5'
@@ -26,10 +27,10 @@
prepare() {
cd "${pkgbase}-${pkgver}"
# Forced QT API to pyqt5 (see https://bugs.archlinux.org/task/54508)
- msg2 "Applying patches bug_54508_missing_pyqt4_qtwebkit.patch"
+ echo "Applying patches bug_54508_missing_pyqt4_qtwebkit.patch"
patch -p1 -i "../bug_54508_missing_pyqt4_qtwebkit.patch"
# Replace spyder with spyder2 (see https://bugs.archlinux.org/task/51437)
- msg2 "Applying patches bug_51437_spyder2.patch"
+ echo "Applying patches bug_51437_spyder2.patch"
patch -p1 -i "../bug_51437_spyder2.patch"
mv "img_src/spyder.png" "img_src/spyder2.png"
mv "scripts/spyder.desktop" "scripts/spyder2.desktop"
@@ -37,9 +38,9 @@
# Prepare sources for spyder2 build
cp -r "${srcdir}/${pkgbase}-${pkgver}" "${srcdir}/spyder2-${pkgver}"
cd "${srcdir}/spyder2-${pkgver}"
- msg2 "Applying patches python2.patch"
+ echo "Applying patches python2.patch"
patch -p1 -i "../python2.patch"
- msg2 "Applying patches bug_53489_python2-optional-nbconvert.patch"
+ echo "Applying patches bug_53489_python2-optional-nbconvert.patch"
patch -p1 -i "../bug_53489_python2-optional-nbconvert.patch"
# Prepare sources for spyder3 build
@@ -56,11 +57,12 @@
}
package_spyder2() {
- pkgdesc='Scientific PYthon Development EnviRonment providing MATLAB-like features for Python 2.x series.'
+ pkgdesc='The Scientific Python Development Environment (Python 2 version)'
depends=('python2-pyqt5' 'qt5-webkit' 'python2-qtconsole' 'python2-qtpy' 'python2-qtawesome'
'python2-pyflakes' 'python2-pyzmq' 'python2-pygments' 'python2-psutil' 'python2-pickleshare'
'python2-rope' 'python2-jedi' 'python2-pylint' 'python2-pycodestyle' 'python2-sphinx'
- 'python2-opengl' 'python2-cloudpickle' 'icu' 'gtk-update-icon-cache')
+ 'python2-opengl' 'python2-spyder-kernels' 'icu' 'gtk-update-icon-cache'
+ 'desktop-file-utils')
provides=('spyder')
conflicts=('spyder')
replaces=('spyder')
@@ -85,12 +87,13 @@
}
package_spyder3() {
- pkgdesc='Scientific PYthon Development EnviRonment providing MATLAB-like features for Python 3.x series.'
+ pkgdesc='The Scientific Python Development Environment (Python 3 version)'
depends=('python-pyqt5' 'qt5-webkit' 'python-qtconsole' 'python-qtpy' 'python-qtawesome'
'python-pyflakes' 'python-pyzmq' 'python-pygments' 'python-psutil' 'python-pickleshare'
'jupyter' 'jupyter-nbconvert'
'python-rope' 'python-jedi' 'python-pylint' 'python-pycodestyle' 'python-sphinx'
- 'python-opengl' 'python-cloudpickle' 'icu' 'gtk-update-icon-cache')
+ 'python-opengl' 'python-spyder-kernels' 'icu' 'gtk-update-icon-cache'
+ 'desktop-file-utils')
optdepends=('python-numpy: N-dimensional arrays'
'python-scipy: signal/image processing'
'python-h5py: HDF5 support'
More information about the arch-commits
mailing list