Date: Sunday, January 22, 2017 @ 23:22:53 Author: muflone Revision: 208448
new package python-qtawesome 0.4.3-1 Added: python-qtawesome/ python-qtawesome/repos/ python-qtawesome/trunk/ python-qtawesome/trunk/PKGBUILD Modified: spyder/trunk/PKGBUILD spyder/trunk/python2.patch ---------------------------------+ python-qtawesome/trunk/PKGBUILD | 36 +++++++++++++++++++++++++++++ spyder/trunk/PKGBUILD | 46 +++++++++++++++++++------------------- spyder/trunk/python2.patch | 46 ++++++++++++++------------------------ 3 files changed, 77 insertions(+), 51 deletions(-) Added: python-qtawesome/trunk/PKGBUILD =================================================================== --- python-qtawesome/trunk/PKGBUILD (rev 0) +++ python-qtawesome/trunk/PKGBUILD 2017-01-22 23:22:53 UTC (rev 208448) @@ -0,0 +1,36 @@ +# $Id$ +# Maintainer: Muflone http://www.muflone.com/contacts/english/ + +pkgbase='python-qtawesome' +_pkgbase='qtawesome' +pkgname=('python-qtawesome' 'python2-qtawesome') +pkgver=0.4.3 +pkgrel=1 +pkgdesc='Iconic fonts in PyQt and PySide applications' +makedepends=('python' 'python-setuptools' + 'python2' 'python2-setuptools') +arch=('any') +url="https://github.com/spyder-ide/${pkgbase}/" +license=('MIT') +source=("${pkgbase}-${pkgver}.tar.gz"::"https://github.com/spyder-ide/${_pkgbase}/archive/v${pkgver}.tar.gz") +sha256sums=('dc4c954740bb7f73c64be4633d258f04c8329d242962f0f6c09c71de72eb757c') + +package_python2-qtawesome() { + depends=('python2') + + cd "${srcdir}/${_pkgbase}-${pkgver}" + 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" +} + +package_python-qtawesome() { + depends=('python') + + cd "${srcdir}/${_pkgbase}-${pkgver}" + python setup.py build + python setup.py install --prefix=/usr --root="${pkgdir}" --optimize=1 + # Install license file + install -D -m644 "LICENSE" "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE" +} Property changes on: python-qtawesome/trunk/PKGBUILD ___________________________________________________________________ Added: svn:keywords ## -0,0 +1 ## +Id \ No newline at end of property Modified: spyder/trunk/PKGBUILD =================================================================== --- spyder/trunk/PKGBUILD 2017-01-22 22:41:57 UTC (rev 208447) +++ spyder/trunk/PKGBUILD 2017-01-22 23:22:53 UTC (rev 208448) @@ -5,8 +5,8 @@ pkgbase='spyder' pkgname=('spyder' 'spyder3') -pkgver=2.3.9 -pkgrel=2 +pkgver=3.1.1 +pkgrel=1 pkgdesc='Scientific PYthon Development EnviRonment providing MATLAB-like features.' makedepends=('python2-setuptools' 'python-setuptools' 'python-sphinx' 'python2-sphinx') arch=('any') @@ -13,30 +13,32 @@ 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') + "python2.patch" + "python2-pep8.patch" + "python3-pep8.patch") +sha256sums=('491347da4675fc8f8107ddbc5a0cdf8d2d0a8be6fad0cbb308d747dc3fd36d57' + '4fb415fb358371da4a8b9524712de9338d391eed3bdabc5e217cf54f558771b5' + 'dbebf909bf59027d22247e3e3c1736b5ec9337a879358f8117a967bb03e913b2' + 'f4eba4c414e655f0f2797e9864aa199607a6706f6b245aca56a54b250febc382') 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' + depends=('python2-pyqt5' 'qt5-webkit' 'python2-qtconsole' 'python2-qtpy' 'python2-qtawesome' + 'python2-pyflakes' 'python2-pyzmq' 'python2-pygments' 'python2-psutil' 'python2-pickleshare' + 'ipython2-notebook' + 'python2-rope' 'python2-jedi' 'python2-pylint' 'python2-pycodestyle' 'python2-sphinx' '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' + optdepends=('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" + patch -p1 -i "../python2-pep8.patch" python2 setup.py build python2 setup.py install --prefix=/usr --root="${pkgdir}" --optimize=1 # Install license file @@ -43,7 +45,7 @@ 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" + install -D -m644 "spyder/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" } @@ -50,23 +52,21 @@ 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' + 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' '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' + optdepends=('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 + patch -p1 -i "../python3-pep8.patch" python3 setup.py build python3 setup.py install --prefix=/usr --root="${pkgdir}" --optimize=1 # Install license file @@ -73,7 +73,7 @@ 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" + install -D -m644 "spyder/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" } Modified: spyder/trunk/python2.patch =================================================================== --- spyder/trunk/python2.patch 2017-01-22 22:41:57 UTC (rev 208447) +++ spyder/trunk/python2.patch 2017-01-22 23:22:53 UTC (rev 208448) @@ -1,39 +1,29 @@ -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 +diff -Naur spyder-3.1.1.orig/scripts/spyder spyder-3.1.1/scripts/spyder +--- spyder-3.1.1.orig/scripts/spyder 2017-01-22 18:28:03.000000000 +0100 ++++ spyder-3.1.1/scripts/spyder 2017-01-22 19:01:59.364263881 +0100 +@@ -1,3 +1,3 @@ +-#!/usr/bin/env python ++#!/usr/bin/env python2 + from spyder.app import start + start.main() +diff -Naur spyder-3.1.1.orig/spyder/app/restart.py spyder-3.1.1/spyder/app/restart.py +--- spyder-3.1.1.orig/spyder/app/restart.py 2017-01-22 18:28:03.000000000 +0100 ++++ spyder-3.1.1/spyder/app/restart.py 2017-01-22 19:00:54.574451747 +0100 @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python2 # -*- coding: utf-8 -*- + # + # Copyright © Spyder Project Contributors +diff -Naur spyder-3.1.1.orig/spyder_pylint/widgets/pylintgui.py spyder-3.1.1/spyder_pylint/widgets/pylintgui.py +--- spyder-3.1.1.orig/spyder_pylint/widgets/pylintgui.py 2017-01-22 18:28:03.000000000 +0100 ++++ spyder-3.1.1/spyder_pylint/widgets/pylintgui.py 2017-01-22 19:05:13.522630971 +0100 +@@ -47,7 +47,7 @@ + _ = gettext.gettext - # 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]