Date: Tuesday, May 4, 2021 @ 02:44:29 Author: polyzen Revision: 927337
archrelease: copy trunk to community-any Added: ipython/repos/community-any/PKGBUILD (from rev 927336, ipython/trunk/PKGBUILD) Deleted: ipython/repos/community-any/PKGBUILD ----------+ PKGBUILD | 103 ++++++++++++++++++++++++++++++++++--------------------------- 1 file changed, 58 insertions(+), 45 deletions(-) Deleted: PKGBUILD =================================================================== --- PKGBUILD 2021-05-04 02:44:08 UTC (rev 927336) +++ PKGBUILD 2021-05-04 02:44:29 UTC (rev 927337) @@ -1,45 +0,0 @@ -# Maintainer: Kyle Keen <keen...@gmail.com> -# Contributor: PepeSmith -# Contributor: Aron Asor <aronasorman at gmail.com> -# Contributor: Chris Brannon <ch...@the-brannons.com> -# Contributor: Douglas Soares de Andrade <d...@aur.archlinux.org> - -pkgname=ipython -pkgver=7.22.0 -pkgrel=1 -pkgdesc="An enhanced Interactive Python shell." -arch=('any') -url="https://ipython.org" -license=('BSD') -depends=('python' 'python-traitlets' 'python-pexpect' 'sqlite' - 'python-pickleshare' 'python-prompt_toolkit' - 'python-jedi' 'python-pygments' 'python-backcall') -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" - "https://www.packal.org/sites/default/files/public/styles/icon_large/public/workflow-files/nkeimipynbworkflow/icon/icon.png") -md5sums=('ae722cc7b873503be020b3627e2d013e' - '2901d65f1b1fe354e72850085cd1c072') - -# confirm that an update does not break sage? - -package() { - cd "ipython-$pkgver" - export PYTHONHASHSEED=0 - python3 setup.py install --prefix=/usr --root="$pkgdir" --optimize=1 - install -Dm644 docs/source/about/license_and_copyright.rst "$pkgdir/usr/share/licenses/ipython/LICENSE" - - cd "examples/IPython Kernel" - # FS#45120 - sed -i 's/gnome-netstatus-idle/ipython/' *.desktop - install -Dm644 ipython.desktop "$pkgdir/usr/share/applications/ipython.desktop" - #install -Dm644 ipython-qtconsole.desktop "$pkgdir/usr/share/applications/ipython-qtconsole.desktop" - # FS#47046 - install -Dm644 "$srcdir/icon.png" "$pkgdir/usr/share/pixmaps/ipython.png" - - #cd $srcdir/ipython-$pkgver/IPython/qt/console/resources/icon/ - #install -Dm644 IPythonConsole.svg "$pkgdir/usr/share/icons/hicolor/scalable/apps/ipython.svg" -} Copied: ipython/repos/community-any/PKGBUILD (from rev 927336, ipython/trunk/PKGBUILD) =================================================================== --- PKGBUILD (rev 0) +++ PKGBUILD 2021-05-04 02:44:29 UTC (rev 927337) @@ -0,0 +1,58 @@ +# Maintainer: Kyle Keen <keen...@gmail.com> +# Maintainer: Daniel M. Capella <poly...@archlinux.org> +# Contributor: PepeSmith +# Contributor: Aron Asor <aronasorman at gmail.com> +# Contributor: Chris Brannon <ch...@the-brannons.com> +# Contributor: Douglas Soares de Andrade <d...@aur.archlinux.org> + +pkgname=ipython +pkgver=7.23.0 +pkgrel=1 +pkgdesc="An enhanced Interactive Python shell." +arch=('any') +url="https://ipython.org" +license=('BSD') +depends=('python' 'python-traitlets' 'python-pexpect' 'sqlite' + 'python-pickleshare' 'python-prompt_toolkit' + 'python-jedi' 'python-pygments' 'python-backcall' + 'python-matplotlib-inline') +makedepends=('python-setuptools') +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") +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 $pkgname-$pkgver + export PYTHONHASHSEED=0 + 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" + # FS#45120 + sed -i 's/gnome-netstatus-idle/ipython/' *.desktop + install -Dm644 ipython.desktop "$pkgdir/usr/share/applications/ipython.desktop" + #install -Dm644 ipython-qtconsole.desktop "$pkgdir/usr/share/applications/ipython-qtconsole.desktop" + # FS#47046 + install -Dm644 "$srcdir/icon.png" "$pkgdir/usr/share/pixmaps/ipython.png" + + #cd $srcdir/ipython-$pkgver/IPython/qt/console/resources/icon/ + #install -Dm644 IPythonConsole.svg "$pkgdir/usr/share/icons/hicolor/scalable/apps/ipython.svg" +}