[arch-commits] Commit in python-qtconsole/repos/community-any (PKGBUILD PKGBUILD)

Kyle Keen kkeen at archlinux.org
Thu Jun 6 10:58:43 UTC 2019


    Date: Thursday, June 6, 2019 @ 10:58:43
  Author: kkeen
Revision: 477429

archrelease: copy trunk to community-any

Added:
  python-qtconsole/repos/community-any/PKGBUILD
    (from rev 477428, python-qtconsole/trunk/PKGBUILD)
Deleted:
  python-qtconsole/repos/community-any/PKGBUILD

----------+
 PKGBUILD |  144 ++++++++++++++++++++++++++++++-------------------------------
 1 file changed, 72 insertions(+), 72 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2019-06-06 10:58:25 UTC (rev 477428)
+++ PKGBUILD	2019-06-06 10:58:43 UTC (rev 477429)
@@ -1,72 +0,0 @@
-# Maintainer: Kyle Keen <keenerd at gmail.com>
-
-pkgbase=python-qtconsole
-pkgname=(python-qtconsole python2-qtconsole)
-pkgver=4.4.3
-pkgrel=1
-pkgdesc="Qt-based console for Jupyter with support for rich media output"
-arch=('any')
-url="https://pypi.org/project/qtconsole/"
-license=('BSD')
-makedepends=('python-setuptools' 'python2-setuptools' 'python-ipykernel' 'python2-ipykernel'
-             'python-jupyter_core' 'python2-jupyter_core' 'python-jupyter_client'
-             'python2-jupyter_client' 'python-traitlets' 'python2-traitlets'
-             'python-pygments' 'python2-pygments' 'python-pyzmq' 'python2-pyzmq'
-             'python-pyqt5' 'python2-pyqt5' 'python-sip' 'python2-sip' 'qt5-svg')
-checkdepends=('python-nose' 'python2-nose' 'python-pytest' 'python2-pytest')
-source=("$pkgbase-$pkgver.tgz::https://github.com/jupyter/qtconsole/archive/$pkgver.tar.gz")
-md5sums=('0a62968e5d5bf60579d20c83d4c6a678')
-
-prepare() {
-  cd "$srcdir"
-  cp -r qtconsole-$pkgver python2-qtconsole-$pkgver
-}
-
-build() {
-  cd "$srcdir/qtconsole-$pkgver"
-  python setup.py build
-
-  cd "$srcdir/python2-qtconsole-$pkgver"
-  python2 setup.py build
-}
-
-check() {
-  # tests require an active X session
-  return
-  cd "$srcdir/qtconsole-$pkgver"
-  nosetests qtconsole
-
-  cd "$srcdir/python2-qtconsole-$pkgver"
-  nosetests2 qtconsole
-}
-
-package_python-qtconsole() {
-depends=('python-ipykernel' 'python-jupyter_core' 'python-jupyter_client'
-         'python-traitlets' 'python-pygments' 'python-pyzmq'
-         'qt5-svg' 'python-pyqt5' 'python-sip')
-  cd "$srcdir/qtconsole-$pkgver"
-  python3 setup.py install --prefix=/usr --root="$pkgdir" --optimize=0
-  install -Dm644 LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
-
-  cd examples
-  # FS#47046 fix .desktop icon
-  # FS#57556 fix .desktop icon again
-  sed -i 's|^Icon=.*$|Icon=/usr/lib/python3.7/site-packages/qtconsole/resources/icon/JupyterConsole|' \
-    jupyter-qtconsole.desktop
-  install -Dm644 jupyter-qtconsole.desktop \
-    "$pkgdir/usr/share/applications/jupyter-qtconsole.desktop"
-
-}
-
-package_python2-qtconsole() {
-  depends=('python2-ipykernel' 'python2-jupyter_core' 'python2-jupyter_client'
-           'python2-traitlets' 'python2-pygments' 'python2-pyzmq'
-           'qt5-svg' 'python2-pyqt5' 'python2-sip')
-
-  cd "$srcdir/python2-qtconsole-$pkgver"
-  python2 setup.py install --prefix=/usr --root="$pkgdir" --optimize=0
-  install -Dm644 LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
-
-  cd "$pkgdir/usr/bin"
-  mv jupyter-qtconsole jupyter-qtconsole-py2
-}

Copied: python-qtconsole/repos/community-any/PKGBUILD (from rev 477428, python-qtconsole/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2019-06-06 10:58:43 UTC (rev 477429)
@@ -0,0 +1,72 @@
+# Maintainer: Kyle Keen <keenerd at gmail.com>
+
+pkgbase=python-qtconsole
+pkgname=(python-qtconsole python2-qtconsole)
+pkgver=4.5.1
+pkgrel=1
+pkgdesc="Qt-based console for Jupyter with support for rich media output"
+arch=('any')
+url="https://pypi.org/project/qtconsole/"
+license=('BSD')
+makedepends=('python-setuptools' 'python2-setuptools' 'python-ipykernel' 'python2-ipykernel'
+             'python-jupyter_core' 'python2-jupyter_core' 'python-jupyter_client'
+             'python2-jupyter_client' 'python-traitlets' 'python2-traitlets'
+             'python-pygments' 'python2-pygments' 'python-pyzmq' 'python2-pyzmq'
+             'python-pyqt5' 'python2-pyqt5' 'python-sip' 'python2-sip' 'qt5-svg')
+checkdepends=('python-nose' 'python2-nose' 'python-pytest' 'python2-pytest')
+source=("$pkgbase-$pkgver.tgz::https://github.com/jupyter/qtconsole/archive/$pkgver.tar.gz")
+md5sums=('3c267f60d3e0299079ea225a2af2f338')
+
+prepare() {
+  cd "$srcdir"
+  cp -r qtconsole-$pkgver python2-qtconsole-$pkgver
+}
+
+build() {
+  cd "$srcdir/qtconsole-$pkgver"
+  python setup.py build
+
+  cd "$srcdir/python2-qtconsole-$pkgver"
+  python2 setup.py build
+}
+
+check() {
+  # tests require an active X session
+  return
+  cd "$srcdir/qtconsole-$pkgver"
+  nosetests qtconsole
+
+  cd "$srcdir/python2-qtconsole-$pkgver"
+  nosetests2 qtconsole
+}
+
+package_python-qtconsole() {
+depends=('python-ipykernel' 'python-jupyter_core' 'python-jupyter_client'
+         'python-traitlets' 'python-pygments' 'python-pyzmq'
+         'qt5-svg' 'python-pyqt5' 'python-sip')
+  cd "$srcdir/qtconsole-$pkgver"
+  python3 setup.py install --prefix=/usr --root="$pkgdir" --optimize=0
+  install -Dm644 LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
+
+  cd examples
+  # FS#47046 fix .desktop icon
+  # FS#57556 fix .desktop icon again
+  sed -i 's|^Icon=.*$|Icon=/usr/lib/python3.7/site-packages/qtconsole/resources/icon/JupyterConsole|' \
+    jupyter-qtconsole.desktop
+  install -Dm644 jupyter-qtconsole.desktop \
+    "$pkgdir/usr/share/applications/jupyter-qtconsole.desktop"
+
+}
+
+package_python2-qtconsole() {
+  depends=('python2-ipykernel' 'python2-jupyter_core' 'python2-jupyter_client'
+           'python2-traitlets' 'python2-pygments' 'python2-pyzmq'
+           'qt5-svg' 'python2-pyqt5' 'python2-sip')
+
+  cd "$srcdir/python2-qtconsole-$pkgver"
+  python2 setup.py install --prefix=/usr --root="$pkgdir" --optimize=0
+  install -Dm644 LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
+
+  cd "$pkgdir/usr/bin"
+  mv jupyter-qtconsole jupyter-qtconsole-py2
+}


More information about the arch-commits mailing list