[arch-commits] Commit in spyder/repos (7 files)
Date: Saturday, August 11, 2018 @ 22:08:23 Author: muflone Revision: 371187 archrelease: copy trunk to community-testing-any Added: spyder/repos/community-testing-any/ spyder/repos/community-testing-any/PKGBUILD (from rev 371186, spyder/trunk/PKGBUILD) spyder/repos/community-testing-any/bug_51437_spyder2.patch (from rev 371186, spyder/trunk/bug_51437_spyder2.patch) spyder/repos/community-testing-any/bug_53489_python2-optional-nbconvert.patch (from rev 371186, spyder/trunk/bug_53489_python2-optional-nbconvert.patch) spyder/repos/community-testing-any/bug_54508_missing_pyqt4_qtwebkit.patch (from rev 371186, spyder/trunk/bug_54508_missing_pyqt4_qtwebkit.patch) spyder/repos/community-testing-any/python2.patch (from rev 371186, spyder/trunk/python2.patch) spyder/repos/community-testing-any/spyder2.install (from rev 371186, spyder/trunk/spyder2.install) + PKGBUILD | 114 +++ bug_51437_spyder2.patch| 50 +++ bug_53489_python2-optional-nbconvert.patch | 12 ++ bug_54508_missing_pyqt4_qtwebkit.patch | 24 + python2.patch | 17 spyder2.install|8 + 6 files changed, 225 insertions(+) Copied: spyder/repos/community-testing-any/PKGBUILD (from rev 371186, spyder/trunk/PKGBUILD) === --- community-testing-any/PKGBUILD (rev 0) +++ community-testing-any/PKGBUILD 2018-08-11 22:08:23 UTC (rev 371187) @@ -0,0 +1,114 @@ +# $Id$ +# Maintainer: Muflone http://www.muflone.com/contacts/english/ +# Contributor: Francois Boulogne +# Contributor: TDY + +pkgbase='spyder' +pkgname=('spyder2' 'spyder3') +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://www.spyder-ide.org/' +license=('MIT') +source=("${pkgbase}-${pkgver}.tar.gz"::"https://github.com/spyder-ide/${pkgbase}/archive/v${pkgver}.tar.gz; +"python2.patch" +"bug_53489_python2-optional-nbconvert.patch" +"bug_54508_missing_pyqt4_qtwebkit.patch" +"bug_51437_spyder2.patch") +sha256sums=('2d7ce1bd19cc3e1c8eb30cc42f12c50caed60aeb2f1d7e1871201785e4ec327b' +'84b8d5e9640d5d347ac4564130f217368cc3f823de30b458d467a05e60bbc8da' +'7486faba90da062ef8da6912bfabd22b59343b1275758f04e4a41df2b3b8eec0' +'28d4aa8938d809c299ab6bf6b00a2f82677f9a98a9763b7127970881b76276f5' +'4773c1b88816e696d7238cc7a1881dc5e954bbab633455af15fcbebcc3923745') + +prepare() { + cd "${pkgbase}-${pkgver}" + # Forced QT API to pyqt5 (see https://bugs.archlinux.org/task/54508) + 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) + 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" + + # Prepare sources for spyder2 build + cp -r "${srcdir}/${pkgbase}-${pkgver}" "${srcdir}/spyder2-${pkgver}" + cd "${srcdir}/spyder2-${pkgver}" + echo "Applying patches python2.patch" + patch -p1 -i "../python2.patch" + echo "Applying patches bug_53489_python2-optional-nbconvert.patch" + patch -p1 -i "../bug_53489_python2-optional-nbconvert.patch" + + # Prepare sources for spyder3 build + cp -r "${srcdir}/${pkgbase}-${pkgver}" "${srcdir}/spyder3-${pkgver}" + cd "${srcdir}/spyder3-${pkgver}" +} + +build() { + cd "${srcdir}/${pkgname}-${pkgver}" + python2 setup.py build + + cd "${srcdir}/${pkgname}-${pkgver}" + python3 setup.py build +} + +package_spyder2() { + 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-spyder-kernels' 'icu' 'gtk-update-icon-cache' + 'desktop-file-utils') + provides=('spyder') + conflicts=('spyder') + replaces=('spyder') + optdepends=('python2-numpy: N-dimensional arrays' + 'python2-scipy: signal/image processing' + 'python2-h5py: HDF5 support' + 'python2-matplotlib: interactive 2D/3D data plotting' + 'python2-sympy: symbolic mathematics for the IPython console' + 'python2-pandas: view and edit DataFrames and Series in the Variable Explorer') +
[arch-commits] Commit in spyder/repos (7 files)
Date: Monday, July 23, 2018 @ 15:15:59 Author: felixonmars Revision: 362968 archrelease: copy trunk to community-staging-any Added: spyder/repos/community-staging-any/ spyder/repos/community-staging-any/PKGBUILD (from rev 362965, spyder/trunk/PKGBUILD) spyder/repos/community-staging-any/bug_51437_spyder2.patch (from rev 362965, spyder/trunk/bug_51437_spyder2.patch) spyder/repos/community-staging-any/bug_53489_python2-optional-nbconvert.patch (from rev 362966, spyder/trunk/bug_53489_python2-optional-nbconvert.patch) spyder/repos/community-staging-any/bug_54508_missing_pyqt4_qtwebkit.patch (from rev 362967, spyder/trunk/bug_54508_missing_pyqt4_qtwebkit.patch) spyder/repos/community-staging-any/python2.patch (from rev 362967, spyder/trunk/python2.patch) spyder/repos/community-staging-any/spyder2.install (from rev 362967, spyder/trunk/spyder2.install) + PKGBUILD | 111 +++ bug_51437_spyder2.patch| 50 bug_53489_python2-optional-nbconvert.patch | 12 ++ bug_54508_missing_pyqt4_qtwebkit.patch | 24 + python2.patch | 17 spyder2.install|8 + 6 files changed, 222 insertions(+) Copied: spyder/repos/community-staging-any/PKGBUILD (from rev 362965, spyder/trunk/PKGBUILD) === --- community-staging-any/PKGBUILD (rev 0) +++ community-staging-any/PKGBUILD 2018-07-23 15:15:59 UTC (rev 362968) @@ -0,0 +1,111 @@ +# $Id$ +# Maintainer: Muflone http://www.muflone.com/contacts/english/ +# Contributor: Francois Boulogne +# Contributor: TDY + +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') +arch=('any') +url='https://github.com/spyder-ide/spyder/' +license=('MIT') +source=("${pkgbase}-${pkgver}.tar.gz"::"https://github.com/spyder-ide/${pkgbase}/archive/v${pkgver}.tar.gz; +"python2.patch" +"bug_53489_python2-optional-nbconvert.patch" +"bug_54508_missing_pyqt4_qtwebkit.patch" +"bug_51437_spyder2.patch") +sha256sums=('171b14bc0db30986c4a69fa34cf68ee9b2c388f97556548a433d4b6a7aa087ae' +'84b8d5e9640d5d347ac4564130f217368cc3f823de30b458d467a05e60bbc8da' +'7486faba90da062ef8da6912bfabd22b59343b1275758f04e4a41df2b3b8eec0' +'28d4aa8938d809c299ab6bf6b00a2f82677f9a98a9763b7127970881b76276f5' +'4773c1b88816e696d7238cc7a1881dc5e954bbab633455af15fcbebcc3923745') + +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" + 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" + patch -p1 -i "../bug_51437_spyder2.patch" + mv "img_src/spyder.png" "img_src/spyder2.png" + mv "scripts/spyder.desktop" "scripts/spyder2.desktop" + + # Prepare sources for spyder2 build + cp -r "${srcdir}/${pkgbase}-${pkgver}" "${srcdir}/spyder2-${pkgver}" + cd "${srcdir}/spyder2-${pkgver}" + msg2 "Applying patches python2.patch" + patch -p1 -i "../python2.patch" + msg2 "Applying patches bug_53489_python2-optional-nbconvert.patch" + patch -p1 -i "../bug_53489_python2-optional-nbconvert.patch" + + # Prepare sources for spyder3 build + cp -r "${srcdir}/${pkgbase}-${pkgver}" "${srcdir}/spyder3-${pkgver}" + cd "${srcdir}/spyder3-${pkgver}" +} + +build() { + cd "${srcdir}/${pkgname}-${pkgver}" + python2 setup.py build + + cd "${srcdir}/${pkgname}-${pkgver}" + python3 setup.py build +} + +package_spyder2() { + pkgdesc='Scientific PYthon Development EnviRonment providing MATLAB-like features for Python 2.x series.' + 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') + provides=('spyder') + conflicts=('spyder') + replaces=('spyder') + optdepends=('python2-numpy: N-dimensional arrays' + 'python2-scipy: signal/image processing' + 'python2-h5py: HDF5 support' + 'python2-matplotlib: interactive 2D/3D data plotting' + 'python2-sympy: symbolic mathematics for the IPython console' + 'python2-pandas: view and edit DataFrames and Series in the Variable Explorer') +
[arch-commits] Commit in spyder/repos (7 files)
Date: Sunday, March 25, 2018 @ 18:04:55 Author: muflone Revision: 312610 archrelease: copy trunk to community-testing-any Added: spyder/repos/community-testing-any/ spyder/repos/community-testing-any/PKGBUILD (from rev 312609, spyder/trunk/PKGBUILD) spyder/repos/community-testing-any/bug_51437_spyder2.patch (from rev 312609, spyder/trunk/bug_51437_spyder2.patch) spyder/repos/community-testing-any/bug_53489_python2-optional-nbconvert.patch (from rev 312609, spyder/trunk/bug_53489_python2-optional-nbconvert.patch) spyder/repos/community-testing-any/bug_54508_missing_pyqt4_qtwebkit.patch (from rev 312609, spyder/trunk/bug_54508_missing_pyqt4_qtwebkit.patch) spyder/repos/community-testing-any/python2.patch (from rev 312609, spyder/trunk/python2.patch) spyder/repos/community-testing-any/spyder2.install (from rev 312609, spyder/trunk/spyder2.install) + PKGBUILD | 111 +++ bug_51437_spyder2.patch| 50 bug_53489_python2-optional-nbconvert.patch | 12 ++ bug_54508_missing_pyqt4_qtwebkit.patch | 24 + python2.patch | 17 spyder2.install|8 + 6 files changed, 222 insertions(+) Copied: spyder/repos/community-testing-any/PKGBUILD (from rev 312609, spyder/trunk/PKGBUILD) === --- community-testing-any/PKGBUILD (rev 0) +++ community-testing-any/PKGBUILD 2018-03-25 18:04:55 UTC (rev 312610) @@ -0,0 +1,111 @@ +# $Id$ +# Maintainer: Muflone http://www.muflone.com/contacts/english/ +# Contributor: Francois Boulogne+# Contributor: TDY + +pkgbase='spyder' +pkgname=('spyder2' 'spyder3') +pkgver=3.2.8 +pkgrel=1 +pkgdesc='Scientific PYthon Development EnviRonment providing MATLAB-like features.' +makedepends=('python2-setuptools' 'python-setuptools' 'python-sphinx' 'python2-sphinx') +arch=('any') +url='https://github.com/spyder-ide/spyder/' +license=('MIT') +source=("${pkgbase}-${pkgver}.tar.gz"::"https://github.com/spyder-ide/${pkgbase}/archive/v${pkgver}.tar.gz; +"python2.patch" +"bug_53489_python2-optional-nbconvert.patch" +"bug_54508_missing_pyqt4_qtwebkit.patch" +"bug_51437_spyder2.patch") +sha256sums=('171b14bc0db30986c4a69fa34cf68ee9b2c388f97556548a433d4b6a7aa087ae' +'84b8d5e9640d5d347ac4564130f217368cc3f823de30b458d467a05e60bbc8da' +'7486faba90da062ef8da6912bfabd22b59343b1275758f04e4a41df2b3b8eec0' +'28d4aa8938d809c299ab6bf6b00a2f82677f9a98a9763b7127970881b76276f5' +'4773c1b88816e696d7238cc7a1881dc5e954bbab633455af15fcbebcc3923745') + +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" + 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" + patch -p1 -i "../bug_51437_spyder2.patch" + mv "img_src/spyder.png" "img_src/spyder2.png" + mv "scripts/spyder.desktop" "scripts/spyder2.desktop" + + # Prepare sources for spyder2 build + cp -r "${srcdir}/${pkgbase}-${pkgver}" "${srcdir}/spyder2-${pkgver}" + cd "${srcdir}/spyder2-${pkgver}" + msg2 "Applying patches python2.patch" + patch -p1 -i "../python2.patch" + msg2 "Applying patches bug_53489_python2-optional-nbconvert.patch" + patch -p1 -i "../bug_53489_python2-optional-nbconvert.patch" + + # Prepare sources for spyder3 build + cp -r "${srcdir}/${pkgbase}-${pkgver}" "${srcdir}/spyder3-${pkgver}" + cd "${srcdir}/spyder3-${pkgver}" +} + +build() { + cd "${srcdir}/${pkgname}-${pkgver}" + python2 setup.py build + + cd "${srcdir}/${pkgname}-${pkgver}" + python3 setup.py build +} + +package_spyder2() { + pkgdesc='Scientific PYthon Development EnviRonment providing MATLAB-like features for Python 2.x series.' + 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') + provides=('spyder') + conflicts=('spyder') + replaces=('spyder') + optdepends=('python2-numpy: N-dimensional arrays' + 'python2-scipy: signal/image processing' + 'python2-h5py: HDF5 support' + 'python2-matplotlib: interactive 2D/3D data plotting' + 'python2-sympy: symbolic mathematics for the IPython console' + 'python2-pandas: view and edit DataFrames and Series in the Variable
[arch-commits] Commit in spyder/repos (7 files)
Date: Sunday, January 14, 2018 @ 00:03:33 Author: muflone Revision: 281866 archrelease: copy trunk to community-testing-any Added: spyder/repos/community-testing-any/ spyder/repos/community-testing-any/PKGBUILD (from rev 281865, spyder/trunk/PKGBUILD) spyder/repos/community-testing-any/bug_51437_spyder2.patch (from rev 281865, spyder/trunk/bug_51437_spyder2.patch) spyder/repos/community-testing-any/bug_53489_python2-optional-nbconvert.patch (from rev 281865, spyder/trunk/bug_53489_python2-optional-nbconvert.patch) spyder/repos/community-testing-any/bug_54508_missing_pyqt4_qtwebkit.patch (from rev 281865, spyder/trunk/bug_54508_missing_pyqt4_qtwebkit.patch) spyder/repos/community-testing-any/python2.patch (from rev 281865, spyder/trunk/python2.patch) spyder/repos/community-testing-any/spyder2.install (from rev 281865, spyder/trunk/spyder2.install) + PKGBUILD | 107 +++ bug_51437_spyder2.patch| 51 bug_53489_python2-optional-nbconvert.patch | 12 +++ bug_54508_missing_pyqt4_qtwebkit.patch | 24 ++ python2.patch | 17 spyder2.install|8 ++ 6 files changed, 219 insertions(+) Copied: spyder/repos/community-testing-any/PKGBUILD (from rev 281865, spyder/trunk/PKGBUILD) === --- community-testing-any/PKGBUILD (rev 0) +++ community-testing-any/PKGBUILD 2018-01-14 00:03:33 UTC (rev 281866) @@ -0,0 +1,107 @@ +# $Id$ +# Maintainer: Muflone http://www.muflone.com/contacts/english/ +# Contributor: Francois Boulogne+# Contributor: TDY + +pkgbase='spyder' +pkgname=('spyder2' 'spyder3') +pkgver=3.2.6 +pkgrel=1 +pkgdesc='Scientific PYthon Development EnviRonment providing MATLAB-like features.' +makedepends=('python2-setuptools' 'python-setuptools' 'python-sphinx' 'python2-sphinx') +arch=('any') +url='https://github.com/spyder-ide/spyder/' +license=('MIT') +source=("${pkgbase}-${pkgver}.tar.gz"::"https://github.com/spyder-ide/${pkgbase}/archive/v${pkgver}.tar.gz; +"python2.patch" +"bug_53489_python2-optional-nbconvert.patch" +"bug_54508_missing_pyqt4_qtwebkit.patch" +"bug_51437_spyder2.patch") +sha256sums=('119546359c00574619bb26cba0c10697dfb7bdf1e539fdde7f5e2d7fdb7d56f3' +'84b8d5e9640d5d347ac4564130f217368cc3f823de30b458d467a05e60bbc8da' +'7486faba90da062ef8da6912bfabd22b59343b1275758f04e4a41df2b3b8eec0' +'28d4aa8938d809c299ab6bf6b00a2f82677f9a98a9763b7127970881b76276f5' +'ae077fc95bc6861402a90c55bc11b3a2dda3fde4005e9d7ad65df3b1a120d8c1') + +prepare() { + cd "${pkgbase}-${pkgver}" + # Forced QT API to pyqt5 (see https://bugs.archlinux.org/task/54508) + patch -p1 -i "../bug_54508_missing_pyqt4_qtwebkit.patch" + # Replace spyder with spyder2 (see https://bugs.archlinux.org/task/51437) + patch -p1 -i "../bug_51437_spyder2.patch" + mv "img_src/spyder.png" "img_src/spyder2.png" + mv "scripts/spyder.desktop" "scripts/spyder2.desktop" + + # Prepare sources for spyder2 build + cp -r "${srcdir}/${pkgbase}-${pkgver}" "${srcdir}/spyder2-${pkgver}" + cd "${srcdir}/spyder2-${pkgver}" + patch -p1 -i "../python2.patch" + patch -p1 -i "../bug_53489_python2-optional-nbconvert.patch" + + # Prepare sources for spyder3 build + cp -r "${srcdir}/${pkgbase}-${pkgver}" "${srcdir}/spyder3-${pkgver}" + cd "${srcdir}/spyder3-${pkgver}" +} + +build() { + cd "${srcdir}/${pkgname}-${pkgver}" + python2 setup.py build + + cd "${srcdir}/${pkgname}-${pkgver}" + python3 setup.py build +} + +package_spyder2() { + pkgdesc='Scientific PYthon Development EnviRonment providing MATLAB-like features for Python 2.x series.' + 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') + provides=('spyder') + conflicts=('spyder') + replaces=('spyder') + optdepends=('python2-numpy: N-dimensional arrays' + 'python2-scipy: signal/image processing' + 'python2-h5py: HDF5 support' + 'python2-matplotlib: interactive 2D/3D data plotting' + 'python2-sympy: symbolic mathematics for the IPython console' + 'python2-pandas: view and edit DataFrames and Series in the Variable Explorer') + install="${pkgname}.install" + + cd "${pkgname}-${pkgver}" + python2 setup.py install --prefix=/usr --root="${pkgdir}" --optimize=1 + # Install license file + install -D -m644 "LICENSE"
[arch-commits] Commit in spyder/repos (7 files)
Date: Sunday, November 19, 2017 @ 19:16:30 Author: muflone Revision: 267483 archrelease: copy trunk to community-testing-any Added: spyder/repos/community-testing-any/ spyder/repos/community-testing-any/PKGBUILD (from rev 267482, spyder/trunk/PKGBUILD) spyder/repos/community-testing-any/bug_51437_spyder2.patch (from rev 267482, spyder/trunk/bug_51437_spyder2.patch) spyder/repos/community-testing-any/bug_53489_python2-optional-nbconvert.patch (from rev 267482, spyder/trunk/bug_53489_python2-optional-nbconvert.patch) spyder/repos/community-testing-any/bug_54508_missing_pyqt4_qtwebkit.patch (from rev 267482, spyder/trunk/bug_54508_missing_pyqt4_qtwebkit.patch) spyder/repos/community-testing-any/python2.patch (from rev 267482, spyder/trunk/python2.patch) spyder/repos/community-testing-any/spyder2.install (from rev 267482, spyder/trunk/spyder2.install) + PKGBUILD | 107 +++ bug_51437_spyder2.patch| 51 bug_53489_python2-optional-nbconvert.patch | 12 +++ bug_54508_missing_pyqt4_qtwebkit.patch | 24 ++ python2.patch | 17 spyder2.install|8 ++ 6 files changed, 219 insertions(+) Copied: spyder/repos/community-testing-any/PKGBUILD (from rev 267482, spyder/trunk/PKGBUILD) === --- community-testing-any/PKGBUILD (rev 0) +++ community-testing-any/PKGBUILD 2017-11-19 19:16:30 UTC (rev 267483) @@ -0,0 +1,107 @@ +# $Id$ +# Maintainer: Muflone http://www.muflone.com/contacts/english/ +# Contributor: Francois Boulogne+# Contributor: TDY + +pkgbase='spyder' +pkgname=('spyder2' 'spyder3') +pkgver=3.2.4 +pkgrel=1 +pkgdesc='Scientific PYthon Development EnviRonment providing MATLAB-like features.' +makedepends=('python2-setuptools' 'python-setuptools' 'python-sphinx' 'python2-sphinx') +arch=('any') +url='https://github.com/spyder-ide/spyder/' +license=('MIT') +source=("${pkgbase}-${pkgver}.tar.gz"::"https://github.com/spyder-ide/${pkgbase}/archive/v${pkgver}.tar.gz; +"python2.patch" +"bug_53489_python2-optional-nbconvert.patch" +"bug_54508_missing_pyqt4_qtwebkit.patch" +"bug_51437_spyder2.patch") +sha256sums=('5206a69193038fb29b6d0a5a68591c4222d2abdb058bdfef87081f0d48ea80be' +'84b8d5e9640d5d347ac4564130f217368cc3f823de30b458d467a05e60bbc8da' +'7486faba90da062ef8da6912bfabd22b59343b1275758f04e4a41df2b3b8eec0' +'28d4aa8938d809c299ab6bf6b00a2f82677f9a98a9763b7127970881b76276f5' +'ae077fc95bc6861402a90c55bc11b3a2dda3fde4005e9d7ad65df3b1a120d8c1') + +prepare() { + cd "${pkgbase}-${pkgver}" + # Forced QT API to pyqt5 (see https://bugs.archlinux.org/task/54508) + patch -p1 -i "../bug_54508_missing_pyqt4_qtwebkit.patch" + # Replace spyder with spyder2 (see https://bugs.archlinux.org/task/51437) + patch -p1 -i "../bug_51437_spyder2.patch" + mv "img_src/spyder.png" "img_src/spyder2.png" + mv "scripts/spyder.desktop" "scripts/spyder2.desktop" + + # Prepare sources for spyder2 build + cp -r "${srcdir}/${pkgbase}-${pkgver}" "${srcdir}/spyder2-${pkgver}" + cd "${srcdir}/spyder2-${pkgver}" + patch -p1 -i "../python2.patch" + patch -p1 -i "../bug_53489_python2-optional-nbconvert.patch" + + # Prepare sources for spyder3 build + cp -r "${srcdir}/${pkgbase}-${pkgver}" "${srcdir}/spyder3-${pkgver}" + cd "${srcdir}/spyder3-${pkgver}" +} + +build() { + cd "${srcdir}/${pkgname}-${pkgver}" + python2 setup.py build + + cd "${srcdir}/${pkgname}-${pkgver}" + python3 setup.py build +} + +package_spyder2() { + pkgdesc='Scientific PYthon Development EnviRonment providing MATLAB-like features for Python 2.x series.' + 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' + 'icu' 'gtk-update-icon-cache') + provides=('spyder') + conflicts=('spyder') + replaces=('spyder') + optdepends=('python2-numpy: N-dimensional arrays' + 'python2-scipy: signal/image processing' + 'python2-h5py: HDF5 support' + 'python2-matplotlib: interactive 2D/3D data plotting' + 'python2-sympy: symbolic mathematics for the IPython console' + 'python2-pandas: view and edit DataFrames and Series in the Variable Explorer') + install="${pkgname}.install" + + cd "${pkgname}-${pkgver}" + python2 setup.py install --prefix=/usr --root="${pkgdir}" --optimize=1 + # Install license file + install -D -m644 "LICENSE" "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE" + #
[arch-commits] Commit in spyder/repos (7 files)
Date: Sunday, October 1, 2017 @ 16:44:57 Author: muflone Revision: 261179 archrelease: copy trunk to community-testing-any Added: spyder/repos/community-testing-any/ spyder/repos/community-testing-any/PKGBUILD (from rev 261178, spyder/trunk/PKGBUILD) spyder/repos/community-testing-any/bug_51437_spyder2.patch (from rev 261178, spyder/trunk/bug_51437_spyder2.patch) spyder/repos/community-testing-any/bug_53489_python2-optional-nbconvert.patch (from rev 261178, spyder/trunk/bug_53489_python2-optional-nbconvert.patch) spyder/repos/community-testing-any/bug_54508_missing_pyqt4_qtwebkit.patch (from rev 261178, spyder/trunk/bug_54508_missing_pyqt4_qtwebkit.patch) spyder/repos/community-testing-any/python2.patch (from rev 261178, spyder/trunk/python2.patch) spyder/repos/community-testing-any/spyder2.install (from rev 261178, spyder/trunk/spyder2.install) + PKGBUILD | 107 +++ bug_51437_spyder2.patch| 51 bug_53489_python2-optional-nbconvert.patch | 12 +++ bug_54508_missing_pyqt4_qtwebkit.patch | 24 ++ python2.patch | 17 spyder2.install|8 ++ 6 files changed, 219 insertions(+) Copied: spyder/repos/community-testing-any/PKGBUILD (from rev 261178, spyder/trunk/PKGBUILD) === --- community-testing-any/PKGBUILD (rev 0) +++ community-testing-any/PKGBUILD 2017-10-01 16:44:57 UTC (rev 261179) @@ -0,0 +1,107 @@ +# $Id$ +# Maintainer: Muflone http://www.muflone.com/contacts/english/ +# Contributor: Francois Boulogne+# Contributor: TDY + +pkgbase='spyder' +pkgname=('spyder2' 'spyder3') +pkgver=3.2.1 +pkgrel=1 +pkgdesc='Scientific PYthon Development EnviRonment providing MATLAB-like features.' +makedepends=('python2-setuptools' 'python-setuptools' 'python-sphinx' 'python2-sphinx') +arch=('any') +url='https://github.com/spyder-ide/spyder/' +license=('MIT') +source=("${pkgbase}-${pkgver}.tar.gz"::"https://github.com/spyder-ide/${pkgbase}/archive/v${pkgver}.tar.gz; +"python2.patch" +"bug_53489_python2-optional-nbconvert.patch" +"bug_54508_missing_pyqt4_qtwebkit.patch" +"bug_51437_spyder2.patch") +sha256sums=('c8d4aec5d4753938cf3c20886fc8e2fb0c470140cf1c5d9cf3534bb3a0164918' +'84b8d5e9640d5d347ac4564130f217368cc3f823de30b458d467a05e60bbc8da' +'7486faba90da062ef8da6912bfabd22b59343b1275758f04e4a41df2b3b8eec0' +'28d4aa8938d809c299ab6bf6b00a2f82677f9a98a9763b7127970881b76276f5' +'ae077fc95bc6861402a90c55bc11b3a2dda3fde4005e9d7ad65df3b1a120d8c1') + +prepare() { + cd "${pkgbase}-${pkgver}" + # Forced QT API to pyqt5 (see https://bugs.archlinux.org/task/54508) + patch -p1 -i "../bug_54508_missing_pyqt4_qtwebkit.patch" + # Replace spyder with spyder2 (see https://bugs.archlinux.org/task/51437) + patch -p1 -i "../bug_51437_spyder2.patch" + mv "img_src/spyder.png" "img_src/spyder2.png" + mv "scripts/spyder.desktop" "scripts/spyder2.desktop" + + # Prepare sources for spyder2 build + cp -r "${srcdir}/${pkgbase}-${pkgver}" "${srcdir}/spyder2-${pkgver}" + cd "${srcdir}/spyder2-${pkgver}" + patch -p1 -i "../python2.patch" + patch -p1 -i "../bug_53489_python2-optional-nbconvert.patch" + + # Prepare sources for spyder3 build + cp -r "${srcdir}/${pkgbase}-${pkgver}" "${srcdir}/spyder3-${pkgver}" + cd "${srcdir}/spyder3-${pkgver}" +} + +build() { + cd "${srcdir}/${pkgname}-${pkgver}" + python2 setup.py build + + cd "${srcdir}/${pkgname}-${pkgver}" + python3 setup.py build +} + +package_spyder2() { + pkgdesc='Scientific PYthon Development EnviRonment providing MATLAB-like features for Python 2.x series.' + 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' + 'icu' 'gtk-update-icon-cache') + provides=('spyder') + conflicts=('spyder') + replaces=('spyder') + optdepends=('python2-numpy: N-dimensional arrays' + 'python2-scipy: signal/image processing' + 'python2-h5py: HDF5 support' + 'python2-matplotlib: interactive 2D/3D data plotting' + 'python2-sympy: symbolic mathematics for the IPython console' + 'python2-pandas: view and edit DataFrames and Series in the Variable Explorer') + install="${pkgname}.install" + + cd "${pkgname}-${pkgver}" + python2 setup.py install --prefix=/usr --root="${pkgdir}" --optimize=1 + # Install license file + install -D -m644 "LICENSE" "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE" + # Install
[arch-commits] Commit in spyder/repos (7 files)
Date: Saturday, January 28, 2017 @ 12:18:08 Author: muflone Revision: 209290 db-move: moved spyder from [community-testing] to [community] (any) Added: spyder/repos/community-any/PKGBUILD (from rev 209289, spyder/repos/community-testing-any/PKGBUILD) spyder/repos/community-any/python2-pep8.patch (from rev 209289, spyder/repos/community-testing-any/python2-pep8.patch) spyder/repos/community-any/python2.patch (from rev 209289, spyder/repos/community-testing-any/python2.patch) spyder/repos/community-any/python3-pep8.patch (from rev 209289, spyder/repos/community-testing-any/python3-pep8.patch) Deleted: spyder/repos/community-any/PKGBUILD spyder/repos/community-any/python2.patch spyder/repos/community-testing-any/ --+ /PKGBUILD| 79 + /python2.patch | 29 + community-any/PKGBUILD | 79 - community-any/python2-pep8.patch | 45 + community-any/python2.patch | 39 -- community-any/python3-pep8.patch | 45 + 6 files changed, 198 insertions(+), 118 deletions(-) Deleted: community-any/PKGBUILD === --- community-any/PKGBUILD 2017-01-28 12:18:05 UTC (rev 209289) +++ community-any/PKGBUILD 2017-01-28 12:18:08 UTC (rev 209290) @@ -1,79 +0,0 @@ -# $Id$ -# Maintainer: Muflone http://www.muflone.com/contacts/english/ -# Contributor: Francois Boulogne-# Contributor: TDY - -pkgbase='spyder' -pkgname=('spyder' 'spyder3') -pkgver=2.3.9 -pkgrel=2 -pkgdesc='Scientific PYthon Development EnviRonment providing MATLAB-like features.' -makedepends=('python2-setuptools' 'python-setuptools' 'python-sphinx' 'python2-sphinx') -arch=('any') -url='https://github.com/spyder-ide/spyder/' -license=('MIT') -source=("${pkgbase}-${pkgver}.tar.gz"::"https://github.com/spyder-ide/${pkgbase}/archive/v${pkgver}.tar.gz; -"python2.patch") -sha256sums=('8343147e98d3e6e93090cc51d0d4d03ea6f4d7e3a26defe37236eb3f36780868' -'58a30ff9401c528176690f2081aed2fe3185c5baaf54ee6a1c127e9421bab96a') - -package_spyder() { - pkgdesc='Scientific PYthon Development EnviRonment providing MATLAB-like features for Python 2.x series.' - depends=('python2-pyqt4' 'python2-pyflakes' 'python2-pyzmq' 'python2-pygments' 'ipython2-notebook' - 'icu' 'gtk-update-icon-cache') - optdepends=('python2-pylint: powerful code analysis' - 'python2-rope: editor code completion, calltips and go-to-definition' - 'python2-sphinx: rich text help on the object inspector' - 'python2-numpy: N-dimensional arrays' - 'python2-scipy: signal/image processing' - 'python2-psutil: memory/CPU usage in the status bar' - 'python2-h5py: HDF5 support' - 'python2-matplotlib: interactive 2D/3D data plotting' - 'python2-pep8: real-time code style analysis' - 'python2-sympy: symbolic mathematics for the IPython console' - 'python2-jedi: editor code completion, calltips and go-to-definition' - 'python2-pandas: view and edit DataFrames and Series in the Variable Explorer') - [ -d "build" ] && rm -rf "build" - cp -r "${pkgbase}-${pkgver}" build - cd build - patch -p1 -i "../python2.patch" - python2 setup.py build - python2 setup.py install --prefix=/usr --root="${pkgdir}" --optimize=1 - # Install license file - install -D -m644 "LICENSE" "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE" - # Install icon and desktop file - install -D -m644 "scripts/${pkgname}.desktop" "${pkgdir}/usr/share/applications/${pkgname}.desktop" - install -D -m644 "spyderlib/images/spyder.svg" "${pkgdir}/usr/share/icons/hicolor/scalable/apps/${pkgname}.svg" - # Remove useless spyder_win_post_install script - rm -f "${pkgdir}/usr/bin/spyder_win_post_install.py" -} - -package_spyder3() { - pkgdesc='Scientific PYthon Development EnviRonment providing MATLAB-like features for Python 3.x series.' - depends=('python-pyqt4' 'python-pyflakes' 'python-pyzmq' 'python-pygments' 'jupyter' - 'icu' 'gtk-update-icon-cache') - optdepends=('python-pylint: powerful code analysis' - 'python-rope: editor code completion, calltips and go-to-definition' - 'python-sphinx: rich text help on the object inspector' - 'python-numpy: N-dimensional arrays' - 'python-scipy: signal/image processing' - 'python-psutil: memory/CPU usage in the status bar' - 'python-h5py: HDF5 support' - 'python-matplotlib: interactive 2D/3D data plotting' - 'pep8: real-time code style analysis' - 'python-sympy: symbolic mathematics for the IPython console' -