[arch-commits] Commit in spyder/repos/community-any (6 files)
Fabio Castelli
muflone at archlinux.org
Sat Dec 5 17:25:07 UTC 2015
Date: Saturday, December 5, 2015 @ 18:25:06
Author: muflone
Revision: 148579
archrelease: copy trunk to community-any
Added:
spyder/repos/community-any/PKGBUILD
(from rev 148578, spyder/trunk/PKGBUILD)
spyder/repos/community-any/python2.patch
(from rev 148578, spyder/trunk/python2.patch)
spyder/repos/community-any/spyder.install
(from rev 148578, spyder/trunk/spyder.install)
Deleted:
spyder/repos/community-any/PKGBUILD
spyder/repos/community-any/python2.patch
spyder/repos/community-any/spyder.install
----------------+
PKGBUILD | 160 +++++++++++++++++++++++++++----------------------------
python2.patch | 78 +++++++++++++-------------
spyder.install | 24 ++++----
3 files changed, 131 insertions(+), 131 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2015-12-05 17:24:32 UTC (rev 148578)
+++ PKGBUILD 2015-12-05 17:25:06 UTC (rev 148579)
@@ -1,80 +0,0 @@
-# $Id$
-# Maintainer: Muflone http://www.muflone.com/contacts/english/
-# Contributor: Francois Boulogne <fboulogne at april.org>
-# Contributor: TDY <tdy at gmx.com>
-
-pkgbase='spyder'
-pkgname=('spyder' 'spyder3')
-pkgver=2.3.7
-pkgrel=1
-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=("${pkgbase}-${pkgver}.tar.gz"::"https://github.com/spyder-ide/${pkgbase}/archive/v${pkgver}.tar.gz"
- "python2.patch")
-sha256sums=('d57a2eeed97689e667dfc339ce09e1cb1cdf62756a45c022c30bc52802ed0c41'
- '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'
- 'python-jedi: editor code completion, calltips and go-to-definition'
- 'python-pandas: view and edit DataFrames and Series in the Variable Explorer')
- [ -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-any/PKGBUILD (from rev 148578, spyder/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2015-12-05 17:25:06 UTC (rev 148579)
@@ -0,0 +1,80 @@
+# $Id$
+# Maintainer: Muflone http://www.muflone.com/contacts/english/
+# Contributor: Francois Boulogne <fboulogne at april.org>
+# Contributor: TDY <tdy at gmx.com>
+
+pkgbase='spyder'
+pkgname=('spyder' 'spyder3')
+pkgver=2.3.8
+pkgrel=1
+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=("${pkgbase}-${pkgver}.tar.gz"::"https://github.com/spyder-ide/${pkgbase}/archive/v${pkgver}.tar.gz"
+ "python2.patch")
+sha256sums=('526ba9fe4d98049cbf6ca1ac361351817ebb5d494ae4097a9f8a61bf6bf8df9c'
+ '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'
+ 'python-jedi: editor code completion, calltips and go-to-definition'
+ 'python-pandas: view and edit DataFrames and Series in the Variable Explorer')
+ [ -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: python2.patch
===================================================================
--- python2.patch 2015-12-05 17:24:32 UTC (rev 148578)
+++ python2.patch 2015-12-05 17:25:06 UTC (rev 148579)
@@ -1,39 +0,0 @@
-diff -Naur spyder-2.3.5.orig/spyderlib/userconfig.py spyder-2.3.5/spyderlib/userconfig.py
---- spyder-2.3.5.orig/spyderlib/userconfig.py 2015-06-22 16:47:56.000000000 +0200
-+++ spyder-2.3.5/spyderlib/userconfig.py 2015-07-12 15:17:03.639522116 +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.5.orig/spyderlib/utils/external/pickleshare.py spyder-2.3.5/spyderlib/utils/external/pickleshare.py
---- spyder-2.3.5.orig/spyderlib/utils/external/pickleshare.py 2015-06-22 16:47:56.000000000 +0200
-+++ spyder-2.3.5/spyderlib/utils/external/pickleshare.py 2015-07-12 15:17:18.216188678 +0200
-@@ -1,4 +1,4 @@
--#!/usr/bin/env python
-+#!/usr/bin/env python2
-
- """ PickleShare - a small 'shelve' like datastore with concurrency support
-
-diff -Naur spyder-2.3.5.orig/spyderplugins/widgets/pylintgui.py spyder-2.3.5/spyderplugins/widgets/pylintgui.py
---- spyder-2.3.5.orig/spyderplugins/widgets/pylintgui.py 2015-06-22 16:47:56.000000000 +0200
-+++ spyder-2.3.5/spyderplugins/widgets/pylintgui.py 2015-07-12 15:16:22.346189082 +0200
-@@ -40,7 +40,7 @@
- _ = get_translation("p_pylint", dirname="spyderplugins")
-
-
--PYLINT = 'pylint'
-+PYLINT = 'pylint2'
- if PY3:
- if programs.find_program('pylint3'):
- PYLINT = 'pylint3'
-@@ -61,7 +61,7 @@
- shell=True if os.name == 'nt' else False)
- lines = to_unicode_from_fs(process.stdout.read()).splitlines()
- if lines:
-- regex = '({0}*|pylint-script.py) ([0-9\.]*)'.format(PYLINT)
-+ regex = '({0}*|pylint2-script.py) ([0-9\.]*)'.format(PYLINT)
- match = re.match(regex, lines[0])
- if match is not None:
- return match.groups()[1]
Copied: spyder/repos/community-any/python2.patch (from rev 148578, spyder/trunk/python2.patch)
===================================================================
--- python2.patch (rev 0)
+++ python2.patch 2015-12-05 17:25:06 UTC (rev 148579)
@@ -0,0 +1,39 @@
+diff -Naur spyder-2.3.5.orig/spyderlib/userconfig.py spyder-2.3.5/spyderlib/userconfig.py
+--- spyder-2.3.5.orig/spyderlib/userconfig.py 2015-06-22 16:47:56.000000000 +0200
++++ spyder-2.3.5/spyderlib/userconfig.py 2015-07-12 15:17:03.639522116 +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.5.orig/spyderlib/utils/external/pickleshare.py spyder-2.3.5/spyderlib/utils/external/pickleshare.py
+--- spyder-2.3.5.orig/spyderlib/utils/external/pickleshare.py 2015-06-22 16:47:56.000000000 +0200
++++ spyder-2.3.5/spyderlib/utils/external/pickleshare.py 2015-07-12 15:17:18.216188678 +0200
+@@ -1,4 +1,4 @@
+-#!/usr/bin/env python
++#!/usr/bin/env python2
+
+ """ PickleShare - a small 'shelve' like datastore with concurrency support
+
+diff -Naur spyder-2.3.5.orig/spyderplugins/widgets/pylintgui.py spyder-2.3.5/spyderplugins/widgets/pylintgui.py
+--- spyder-2.3.5.orig/spyderplugins/widgets/pylintgui.py 2015-06-22 16:47:56.000000000 +0200
++++ spyder-2.3.5/spyderplugins/widgets/pylintgui.py 2015-07-12 15:16:22.346189082 +0200
+@@ -40,7 +40,7 @@
+ _ = get_translation("p_pylint", dirname="spyderplugins")
+
+
+-PYLINT = 'pylint'
++PYLINT = 'pylint2'
+ if PY3:
+ if programs.find_program('pylint3'):
+ PYLINT = 'pylint3'
+@@ -61,7 +61,7 @@
+ shell=True if os.name == 'nt' else False)
+ lines = to_unicode_from_fs(process.stdout.read()).splitlines()
+ if lines:
+- regex = '({0}*|pylint-script.py) ([0-9\.]*)'.format(PYLINT)
++ regex = '({0}*|pylint2-script.py) ([0-9\.]*)'.format(PYLINT)
+ match = re.match(regex, lines[0])
+ if match is not None:
+ return match.groups()[1]
Deleted: spyder.install
===================================================================
--- spyder.install 2015-12-05 17:24:32 UTC (rev 148578)
+++ spyder.install 2015-12-05 17:25:06 UTC (rev 148579)
@@ -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-any/spyder.install (from rev 148578, spyder/trunk/spyder.install)
===================================================================
--- spyder.install (rev 0)
+++ spyder.install 2015-12-05 17:25:06 UTC (rev 148579)
@@ -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
+}
More information about the arch-commits
mailing list