Date: Monday, March 28, 2022 @ 08:39:51 Author: polyzen Revision: 1177352
archrelease: copy trunk to community-any Added: ipython/repos/community-any/PKGBUILD (from rev 1177351, ipython/trunk/PKGBUILD) Deleted: ipython/repos/community-any/PKGBUILD ----------+ PKGBUILD | 126 ++++++++++++++++++++++++++++++------------------------------- 1 file changed, 63 insertions(+), 63 deletions(-) Deleted: PKGBUILD =================================================================== --- PKGBUILD 2022-03-28 08:39:27 UTC (rev 1177351) +++ PKGBUILD 2022-03-28 08:39:51 UTC (rev 1177352) @@ -1,63 +0,0 @@ -# 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=8.1.1 -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' '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=('8138762243c9b3a3ffcf70b37151a2a35c23d3a29f9743878c33624f4207be3d' - '3c44a6fa1e3a8afc24754c90469404770b639cb960361988999a4cdd677699d8') -b2sums=('0972b2f4a8072c5775f5cc4637aeb8e684b342d097d77e2d9d0a3e659d7a10f94f741bafc7f33595cbb205d8dbbc72e88b820e5407cb9ab506189d44e8c19cf0' - 'd445e2bc7a037db8715ea103611720e965987e155c32e445b0ef783e519fca8a0301b16c5763fd9a5d8d169c3b0d7b4db6c0bd0f9772842258b135dcb1d6d5a2') - -# confirm that an update does not break sage? - -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() { - 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 - # FS#47046 - install -Dm644 "$srcdir/IPython-icon.png" "$pkgdir/usr/share/pixmaps/ipython.png" - - # 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-any/PKGBUILD (from rev 1177351, ipython/trunk/PKGBUILD) =================================================================== --- PKGBUILD (rev 0) +++ PKGBUILD 2022-03-28 08:39:51 UTC (rev 1177352) @@ -0,0 +1,63 @@ +# 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=8.2.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' '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=('70e5eb132cac594a34b5f799bd252589009905f05104728aea6a403ec2519dc1' + '3c44a6fa1e3a8afc24754c90469404770b639cb960361988999a4cdd677699d8') +b2sums=('6af50e671823005b035a8463e65463b06dacb3bf4d43c4d3bd9720d1747ebda8abe3d73a49f59ae0e6e2651035db20bcfa1e82dbb0a73e40b4e2507e63118921' + 'd445e2bc7a037db8715ea103611720e965987e155c32e445b0ef783e519fca8a0301b16c5763fd9a5d8d169c3b0d7b4db6c0bd0f9772842258b135dcb1d6d5a2') + +# confirm that an update does not break sage? + +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() { + 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 + # FS#47046 + install -Dm644 "$srcdir/IPython-icon.png" "$pkgdir/usr/share/pixmaps/ipython.png" + + # 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 +}