Date: Saturday, April 29, 2023 @ 03:36:39 Author: polyzen Revision: 1449214
archrelease: copy trunk to community-staging-any Added: ipython/repos/community-staging-any/PKGBUILD (from rev 1449213, ipython/trunk/PKGBUILD) Deleted: ipython/repos/community-staging-any/PKGBUILD ----------+ PKGBUILD | 124 ++++++++++++++++++++++++++++++------------------------------- 1 file changed, 62 insertions(+), 62 deletions(-) Deleted: PKGBUILD =================================================================== --- PKGBUILD 2023-04-29 03:35:47 UTC (rev 1449213) +++ PKGBUILD 2023-04-29 03:36:39 UTC (rev 1449214) @@ -1,62 +0,0 @@ -# Maintainer: Daniel M. Capella <poly...@archlinux.org> -# Contributor: 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=8.12.0 -pkgrel=3 -pkgdesc='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' 'python-stack-data') -makedepends=('python-build' 'python-installer' 'python-setuptools' 'python-wheel') -# texlive-bin checkdep excluded due to test_latex_to_png_color failure -checkdepends=('python-pytest' 'python-pytest-asyncio' 'python-testpath' - 'jupyter-nbformat' 'python-ipykernel' 'python-numpy' 'python-trio' - 'python-matplotlib' 'python-curio' 'python-pandas' 'tcsh') -optdepends=('python-black: to auto format with Black' - 'yapf: to auto format with YAPF') -source=("https://files.pythonhosted.org/packages/source/${pkgname::1}/$pkgname/$pkgname-$pkgver.tar.gz" - "IPython-icon.png::https://www.packal.org/sites/default/files/public/styles/icon_large/public/workflow-files/nkeimipynbworkflow/icon/icon.png") -sha256sums=('a950236df04ad75b5bc7f816f9af3d74dc118fd42f2ff7e80e8e60ca1f182e2d' - '3c44a6fa1e3a8afc24754c90469404770b639cb960361988999a4cdd677699d8') -b2sums=('946d3e649dcf8eea3518ed68499cfcaa6caa7eac99aa21c05fcbb81338037151253ba84d8d942746600dad3883f6d0e8ba1e82e9932cdddc8e1e77a270573ebf' - 'd445e2bc7a037db8715ea103611720e965987e155c32e445b0ef783e519fca8a0301b16c5763fd9a5d8d169c3b0d7b4db6c0bd0f9772842258b135dcb1d6d5a2') - -build() { - cd $pkgname-$pkgver - python -m build --wheel --skip-dependency-check --no-isolation -} - -check() { - cd $pkgname-$pkgver - python -m venv --system-site-packages test-env - test-env/bin/python -m installer dist/*.whl - test-env/bin/python -m pytest -} - -package() { - # FS#47046 - install -Dm644 IPython-icon.png "$pkgdir"/usr/share/pixmaps/ipython.png - - cd $pkgname-$pkgver - python -m installer --destdir="$pkgdir" dist/*.whl - - cd 'examples/IPython Kernel' - # FS#45120 - sed -i 's/gnome-netstatus-idle/ipython/' ipython.desktop - install -Dm644 -t "$pkgdir"/usr/share/applications ipython.desktop - - # Symlink license file - local site_packages=$(python -c "import site; print(site.getsitepackages()[0])") - install -d "$pkgdir"/usr/share/licenses/$pkgname - ln -s "$site_packages"/$pkgname-$pkgver.dist-info/LICENSE \ - "$pkgdir"/usr/share/licenses/$pkgname/LICENSE -} Copied: ipython/repos/community-staging-any/PKGBUILD (from rev 1449213, ipython/trunk/PKGBUILD) =================================================================== --- PKGBUILD (rev 0) +++ PKGBUILD 2023-04-29 03:36:39 UTC (rev 1449214) @@ -0,0 +1,62 @@ +# Maintainer: Daniel M. Capella <poly...@archlinux.org> +# Contributor: 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=8.13.0 +pkgrel=2 +pkgdesc='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' 'python-stack-data') +makedepends=('python-build' 'python-installer' 'python-setuptools' 'python-wheel') +# texlive-bin checkdep excluded due to test_latex_to_png_color failure +checkdepends=('python-pytest' 'python-pytest-asyncio' 'python-testpath' + 'jupyter-nbformat' 'python-ipykernel' 'python-numpy' 'python-trio' + 'python-matplotlib' 'python-curio' 'python-pandas' 'tcsh') +optdepends=('python-black: to auto format with Black' + 'yapf: to auto format with YAPF') +source=("https://files.pythonhosted.org/packages/source/${pkgname::1}/$pkgname/$pkgname-$pkgver.tar.gz" + "IPython-icon.png::https://www.packal.org/sites/default/files/public/styles/icon_large/public/workflow-files/nkeimipynbworkflow/icon/icon.png") +sha256sums=('8d56026b882958db8eab089654f0c045d1237622313a1506da136fb0cce4270f' + '3c44a6fa1e3a8afc24754c90469404770b639cb960361988999a4cdd677699d8') +b2sums=('038b4af8c5f9b32c9a2a1152e9a48131ae46f2903435f50fe67aeabfed7d34daf3f3439af372e561812c88bd6b90d7c729d4d876fe8b6e093582004def5058b7' + 'd445e2bc7a037db8715ea103611720e965987e155c32e445b0ef783e519fca8a0301b16c5763fd9a5d8d169c3b0d7b4db6c0bd0f9772842258b135dcb1d6d5a2') + +build() { + cd $pkgname-$pkgver + python -m build --wheel --skip-dependency-check --no-isolation +} + +check() { + cd $pkgname-$pkgver + python -m venv --system-site-packages test-env + test-env/bin/python -m installer dist/*.whl + test-env/bin/python -m pytest +} + +package() { + # FS#47046 + install -Dm644 IPython-icon.png "$pkgdir"/usr/share/pixmaps/ipython.png + + cd $pkgname-$pkgver + python -m installer --destdir="$pkgdir" dist/*.whl + + cd 'examples/IPython Kernel' + # FS#45120 + sed -i 's/gnome-netstatus-idle/ipython/' ipython.desktop + install -Dm644 -t "$pkgdir"/usr/share/applications ipython.desktop + + # Symlink license file + local site_packages=$(python -c "import site; print(site.getsitepackages()[0])") + install -d "$pkgdir"/usr/share/licenses/$pkgname + ln -s "$site_packages"/$pkgname-$pkgver.dist-info/LICENSE \ + "$pkgdir"/usr/share/licenses/$pkgname/LICENSE +}