Date: Saturday, December 6, 2014 @ 16:21:11 Author: muflone Revision: 123541
archrelease: copy trunk to community-testing-any Added: spyder/repos/community-testing-any/PKGBUILD (from rev 123540, spyder/trunk/PKGBUILD) spyder/repos/community-testing-any/pylint2.patch (from rev 123540, spyder/trunk/pylint2.patch) spyder/repos/community-testing-any/python2.patch (from rev 123540, spyder/trunk/python2.patch) spyder/repos/community-testing-any/spyder.install (from rev 123540, spyder/trunk/spyder.install) Deleted: spyder/repos/community-testing-any/PKGBUILD spyder/repos/community-testing-any/pylint2.patch spyder/repos/community-testing-any/python2.patch spyder/repos/community-testing-any/spyder.install ----------------+ PKGBUILD | 158 +++++++++++++++++++++++++++---------------------------- pylint2.patch | 56 +++++++++---------- python2.patch | 36 ++++++------ spyder.install | 24 ++++---- 4 files changed, 137 insertions(+), 137 deletions(-) Deleted: PKGBUILD =================================================================== --- PKGBUILD 2014-12-06 15:08:11 UTC (rev 123540) +++ PKGBUILD 2014-12-06 15:21:11 UTC (rev 123541) @@ -1,79 +0,0 @@ -# $Id$ -# Maintainer: Muflone http://www.muflone.com/contacts/english/ -# Contributor: Francois Boulogne <fboulo...@april.org> -# Contributor: TDY <t...@gmx.com> - -pkgbase='spyder' -pkgname=('spyder' 'spyder3') -pkgver=2.3.2 -pkgrel=2 -pkgdesc='Scientific PYthon Development EnviRonment providing MATLAB-like features.' -makedepends=('python2-setuptools' 'python-setuptools' 'python-sphinx' 'python2-sphinx') -arch=('any') -url='http://code.google.com/p/spyderlib/' -license=('MIT') -install="${pkgbase}.install" -source=("https://bitbucket.org/spyder-ide/spyderlib/downloads/${pkgbase}-${pkgver}.zip" - "pylint2.patch" - "python2.patch") -sha256sums=('f4f71ffe8590ffa8813622efb6705e52897552624726df317e0589ae121240bb' - 'f8836efa74ac9b8fce389a2708bb253083bbe042aabec124659839d5b3e167dd' - '05f194438176cfa03cb76f38e5f64723b72a39d6771d5d4a927adf07a0ec67f1') - -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' 'gtk-update-icon-cache') - optdepends=('python2-pylint: powerful code analysis' - 'ipython2: enhanced Python interpreter' - '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') - [ -d "build" ] && rm -rf "build" - cp -r "${pkgbase}-${pkgver}" build - cd build - patch -p1 -i "../python2.patch" - patch -p1 -i "../pylint2.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' 'gtk-update-icon-cache') - optdepends=('python-pylint: powerful code analysis' - 'ipython: enhanced Python interpreter' - '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') - [ -d "build" ] && rm -rf "build" - cp -r "${pkgbase}-${pkgver}" build - cd build - python3 setup.py build - python3 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" -} Copied: spyder/repos/community-testing-any/PKGBUILD (from rev 123540, spyder/trunk/PKGBUILD) =================================================================== --- PKGBUILD (rev 0) +++ PKGBUILD 2014-12-06 15:21:11 UTC (rev 123541) @@ -0,0 +1,79 @@ +# $Id$ +# Maintainer: Muflone http://www.muflone.com/contacts/english/ +# Contributor: Francois Boulogne <fboulo...@april.org> +# Contributor: TDY <t...@gmx.com> + +pkgbase='spyder' +pkgname=('spyder' 'spyder3') +pkgver=2.3.2 +pkgrel=2 +pkgdesc='Scientific PYthon Development EnviRonment providing MATLAB-like features.' +makedepends=('python2-setuptools' 'python-setuptools' 'python-sphinx' 'python2-sphinx') +arch=('any') +url='http://code.google.com/p/spyderlib/' +license=('MIT') +install="${pkgbase}.install" +source=("https://bitbucket.org/spyder-ide/spyderlib/downloads/${pkgbase}-${pkgver}.zip" + "pylint2.patch" + "python2.patch") +sha256sums=('f4f71ffe8590ffa8813622efb6705e52897552624726df317e0589ae121240bb' + 'f8836efa74ac9b8fce389a2708bb253083bbe042aabec124659839d5b3e167dd' + '05f194438176cfa03cb76f38e5f64723b72a39d6771d5d4a927adf07a0ec67f1') + +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' 'gtk-update-icon-cache') + optdepends=('python2-pylint: powerful code analysis' + 'ipython2: enhanced Python interpreter' + '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') + [ -d "build" ] && rm -rf "build" + cp -r "${pkgbase}-${pkgver}" build + cd build + patch -p1 -i "../python2.patch" + patch -p1 -i "../pylint2.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' 'gtk-update-icon-cache') + optdepends=('python-pylint: powerful code analysis' + 'ipython: enhanced Python interpreter' + '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') + [ -d "build" ] && rm -rf "build" + cp -r "${pkgbase}-${pkgver}" build + cd build + python3 setup.py build + python3 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" +} Deleted: pylint2.patch =================================================================== --- pylint2.patch 2014-12-06 15:08:11 UTC (rev 123540) +++ pylint2.patch 2014-12-06 15:21:11 UTC (rev 123541) @@ -1,28 +0,0 @@ -diff -Naur spyder-2.3.0/spyderplugins/widgets/pylintgui.py spyder-2.3.0-patched/spyderplugins/widgets/pylintgui.py ---- spyder-2.3.0/spyderplugins/widgets/pylintgui.py 2014-07-10 08:06:40.000000000 +0200 -+++ spyder-2.3.0-patched/spyderplugins/widgets/pylintgui.py 2014-08-08 12:26:07.164971831 +0200 -@@ -40,7 +40,7 @@ - _ = get_translation("p_pylint", dirname="spyderplugins") - - --PYLINT_PATH = programs.find_program('pylint') -+PYLINT_PATH = programs.find_program('pylint2') - - - def get_pylint_version(): -@@ -48,13 +48,13 @@ - global PYLINT_PATH - if PYLINT_PATH is None: - return -- process = subprocess.Popen(['pylint', '--version'], -+ process = subprocess.Popen(['pylint2', '--version'], - stdout=subprocess.PIPE, stderr=subprocess.PIPE, - cwd=osp.dirname(PYLINT_PATH), - shell=True if os.name == 'nt' else False) - lines = to_unicode_from_fs(process.stdout.read()).splitlines() - if lines: -- match = re.match('(pylint|pylint-script.py) ([0-9\.]*)', lines[0]) -+ match = re.match('(pylint2|pylint2-script.py) ([0-9\.]*)', lines[0]) - if match is not None: - return match.groups()[1] - Copied: spyder/repos/community-testing-any/pylint2.patch (from rev 123540, spyder/trunk/pylint2.patch) =================================================================== --- pylint2.patch (rev 0) +++ pylint2.patch 2014-12-06 15:21:11 UTC (rev 123541) @@ -0,0 +1,28 @@ +diff -Naur spyder-2.3.0/spyderplugins/widgets/pylintgui.py spyder-2.3.0-patched/spyderplugins/widgets/pylintgui.py +--- spyder-2.3.0/spyderplugins/widgets/pylintgui.py 2014-07-10 08:06:40.000000000 +0200 ++++ spyder-2.3.0-patched/spyderplugins/widgets/pylintgui.py 2014-08-08 12:26:07.164971831 +0200 +@@ -40,7 +40,7 @@ + _ = get_translation("p_pylint", dirname="spyderplugins") + + +-PYLINT_PATH = programs.find_program('pylint') ++PYLINT_PATH = programs.find_program('pylint2') + + + def get_pylint_version(): +@@ -48,13 +48,13 @@ + global PYLINT_PATH + if PYLINT_PATH is None: + return +- process = subprocess.Popen(['pylint', '--version'], ++ process = subprocess.Popen(['pylint2', '--version'], + stdout=subprocess.PIPE, stderr=subprocess.PIPE, + cwd=osp.dirname(PYLINT_PATH), + shell=True if os.name == 'nt' else False) + lines = to_unicode_from_fs(process.stdout.read()).splitlines() + if lines: +- match = re.match('(pylint|pylint-script.py) ([0-9\.]*)', lines[0]) ++ match = re.match('(pylint2|pylint2-script.py) ([0-9\.]*)', lines[0]) + if match is not None: + return match.groups()[1] + Deleted: python2.patch =================================================================== --- python2.patch 2014-12-06 15:08:11 UTC (rev 123540) +++ python2.patch 2014-12-06 15:21:11 UTC (rev 123541) @@ -1,18 +0,0 @@ -diff -Naur spyder-2.3.0/spyderlib/userconfig.py spyder-2.3.0-patched/spyderlib/userconfig.py ---- spyder-2.3.0/spyderlib/userconfig.py 2014-07-10 08:06:40.000000000 +0200 -+++ spyder-2.3.0-patched/spyderlib/userconfig.py 2014-08-08 12:30:53.544984165 +0200 -@@ -1,4 +1,4 @@ --#!/usr/bin/env python -+#!/usr/bin/env python2 - # -*- coding: utf-8 -*- - - # userconfig License Agreement (MIT License) -diff -Naur spyder-2.3.0/spyderlib/utils/external/pickleshare.py spyder-2.3.0-patched/spyderlib/utils/external/pickleshare.py ---- spyder-2.3.0/spyderlib/utils/external/pickleshare.py 2014-07-10 08:06:40.000000000 +0200 -+++ spyder-2.3.0-patched/spyderlib/utils/external/pickleshare.py 2014-08-08 12:31:00.181651117 +0200 -@@ -1,4 +1,4 @@ --#!/usr/bin/env python -+#!/usr/bin/env python2 - - """ PickleShare - a small 'shelve' like datastore with concurrency support - Copied: spyder/repos/community-testing-any/python2.patch (from rev 123540, spyder/trunk/python2.patch) =================================================================== --- python2.patch (rev 0) +++ python2.patch 2014-12-06 15:21:11 UTC (rev 123541) @@ -0,0 +1,18 @@ +diff -Naur spyder-2.3.0/spyderlib/userconfig.py spyder-2.3.0-patched/spyderlib/userconfig.py +--- spyder-2.3.0/spyderlib/userconfig.py 2014-07-10 08:06:40.000000000 +0200 ++++ spyder-2.3.0-patched/spyderlib/userconfig.py 2014-08-08 12:30:53.544984165 +0200 +@@ -1,4 +1,4 @@ +-#!/usr/bin/env python ++#!/usr/bin/env python2 + # -*- coding: utf-8 -*- + + # userconfig License Agreement (MIT License) +diff -Naur spyder-2.3.0/spyderlib/utils/external/pickleshare.py spyder-2.3.0-patched/spyderlib/utils/external/pickleshare.py +--- spyder-2.3.0/spyderlib/utils/external/pickleshare.py 2014-07-10 08:06:40.000000000 +0200 ++++ spyder-2.3.0-patched/spyderlib/utils/external/pickleshare.py 2014-08-08 12:31:00.181651117 +0200 +@@ -1,4 +1,4 @@ +-#!/usr/bin/env python ++#!/usr/bin/env python2 + + """ PickleShare - a small 'shelve' like datastore with concurrency support + Deleted: spyder.install =================================================================== --- spyder.install 2014-12-06 15:08:11 UTC (rev 123540) +++ spyder.install 2014-12-06 15:21:11 UTC (rev 123541) @@ -1,12 +0,0 @@ -post_install() { - update-desktop-database -q - gtk-update-icon-cache -q -f /usr/share/icons/hicolor -} - -post_upgrade() { - post_install -} - -post_remove() { - post_install -} Copied: spyder/repos/community-testing-any/spyder.install (from rev 123540, spyder/trunk/spyder.install) =================================================================== --- spyder.install (rev 0) +++ spyder.install 2014-12-06 15:21:11 UTC (rev 123541) @@ -0,0 +1,12 @@ +post_install() { + update-desktop-database -q + gtk-update-icon-cache -q -f /usr/share/icons/hicolor +} + +post_upgrade() { + post_install +} + +post_remove() { + post_install +}