[arch-commits] Commit in ipython/trunk (PKGBUILD)

Daniel M. Capella polyzen at archlinux.org
Tue May 4 02:44:08 UTC 2021


    Date: Tuesday, May 4, 2021 @ 02:44:08
  Author: polyzen
Revision: 927336

upgpkg: ipython 7.23.0-1

Modified:
  ipython/trunk/PKGBUILD

----------+
 PKGBUILD |   35 ++++++++++++++++++++++++-----------
 1 file changed, 24 insertions(+), 11 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2021-05-04 02:42:53 UTC (rev 927335)
+++ PKGBUILD	2021-05-04 02:44:08 UTC (rev 927336)
@@ -1,4 +1,5 @@
 # Maintainer: Kyle Keen <keenerd at gmail.com>
+# Maintainer: Daniel M. Capella <polyzen at archlinux.org>
 # Contributor: PepeSmith
 # Contributor: Aron Asor <aronasorman at gmail.com>
 # Contributor: Chris Brannon <chris at the-brannons.com>
@@ -5,7 +6,7 @@
 # Contributor: Douglas Soares de Andrade <dsa at aur.archlinux.org>
 
 pkgname=ipython
-pkgver=7.22.0
+pkgver=7.23.0
 pkgrel=1
 pkgdesc="An enhanced Interactive Python shell."
 arch=('any')
@@ -13,23 +14,35 @@
 license=('BSD')
 depends=('python' 'python-traitlets' 'python-pexpect' 'sqlite'
          'python-pickleshare' 'python-prompt_toolkit'
-         'python-jedi' 'python-pygments' 'python-backcall')
+         'python-jedi' 'python-pygments' 'python-backcall'
+         'python-matplotlib-inline')
 makedepends=('python-setuptools')
-optdepends=("python-nose: for IPython's test suite")
-
-# new optional thing: ipyparallel
-
-source=("ipython-$pkgver.tgz::https://github.com/ipython/ipython/archive/$pkgver.tar.gz"
+checkdepends=('python-nose' 'python-requests' 'python-testpath'
+              'jupyter-nbformat' 'python-ipykernel' 'python-numpy'
+              'python-pytest-trio' 'python-matplotlib')
+source=("https://files.pythonhosted.org/packages/source/${pkgname::1}/$pkgname/$pkgname-$pkgver.tar.gz"
         "https://www.packal.org/sites/default/files/public/styles/icon_large/public/workflow-files/nkeimipynbworkflow/icon/icon.png")
-md5sums=('ae722cc7b873503be020b3627e2d013e'
-         '2901d65f1b1fe354e72850085cd1c072')
+sha256sums=('69178f32bf9c6257430b6f592c3ae230c32861a1966d2facec454e09078e232d'
+            '3c44a6fa1e3a8afc24754c90469404770b639cb960361988999a4cdd677699d8')
+b2sums=('6672ea3a5bbc9afa38c73acef87a8c8f6d1830e3b949543537b522b809b68b80e5369566c8bee68139f9c3213fbe4c07ad36377a686fe2d26d7bbafd5e54fc4a'
+        'd445e2bc7a037db8715ea103611720e965987e155c32e445b0ef783e519fca8a0301b16c5763fd9a5d8d169c3b0d7b4db6c0bd0f9772842258b135dcb1d6d5a2')
 
 # confirm that an update does not break sage?
 
+build() {
+  cd $pkgname-$pkgver
+  python setup.py build
+}
+
+check() {
+  cd $pkgname-$pkgver
+  pytest
+}
+
 package() {
-  cd "ipython-$pkgver"
+  cd $pkgname-$pkgver
   export PYTHONHASHSEED=0
-  python3 setup.py install --prefix=/usr --root="$pkgdir" --optimize=1
+  python3 setup.py install --prefix=/usr --root="$pkgdir" --optimize=1 --skip-build
   install -Dm644 docs/source/about/license_and_copyright.rst "$pkgdir/usr/share/licenses/ipython/LICENSE"
 
   cd "examples/IPython Kernel"



More information about the arch-commits mailing list