[arch-commits] Commit in ipython/repos (2 files)

2022-01-12 Thread Daniel M. Capella via arch-commits
Date: Thursday, January 13, 2022 @ 03:39:33
  Author: polyzen
Revision: 1101790

archrelease: copy trunk to community-testing-any

Added:
  ipython/repos/community-testing-any/
  ipython/repos/community-testing-any/PKGBUILD
(from rev 1101789, ipython/trunk/PKGBUILD)

--+
 PKGBUILD |   64 +
 1 file changed, 64 insertions(+)

Copied: ipython/repos/community-testing-any/PKGBUILD (from rev 1101789, 
ipython/trunk/PKGBUILD)
===
--- community-testing-any/PKGBUILD  (rev 0)
+++ community-testing-any/PKGBUILD  2022-01-13 03:39:33 UTC (rev 1101790)
@@ -0,0 +1,64 @@
+# Maintainer: Kyle Keen 
+# Maintainer: Daniel M. Capella 
+# Contributor: PepeSmith
+# Contributor: Aron Asor 
+# Contributor: Chris Brannon 
+# Contributor: Douglas Soares de Andrade 
+
+pkgname=ipython
+pkgver=8.0.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-black' 'python-stack-data')
+makedepends=('python-build' 'python-install' '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')
+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=('004a0d05aeecd32adec4841b6e2586d5ca35785b1477db4d8333a39333e0ce98'
+'3c44a6fa1e3a8afc24754c90469404770b639cb960361988999a4cdd677699d8')
+b2sums=('8844372c423c4b33a2a77b376c033aa00a4d44d1735cad42c4c85b05950370fcafea109025f4f02d124643656673ebf45ef27f78a93d31083b94e13d9364b32c'
+
'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 install --optimize=1 dist/*.whl
+  test-env/bin/python -m pytest
+}
+
+package() {
+  cd $pkgname-$pkgver
+  python -m install --optimize=1 --destdir="$pkgdir" dist/*.whl
+
+  # https://github.com/FFY00/python-install/pull/6
+  chmod +x "$pkgdir"/usr/bin/*
+
+  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
+}



[arch-commits] Commit in ipython/repos (2 files)

2021-12-01 Thread Evangelos Foutras via arch-commits
Date: Wednesday, December 1, 2021 @ 11:16:16
  Author: foutrelis
Revision: 1059125

archrelease: copy trunk to community-staging-any

Added:
  ipython/repos/community-staging-any/
  ipython/repos/community-staging-any/PKGBUILD
(from rev 1059124, ipython/trunk/PKGBUILD)

--+
 PKGBUILD |   57 +
 1 file changed, 57 insertions(+)

Copied: ipython/repos/community-staging-any/PKGBUILD (from rev 1059124, 
ipython/trunk/PKGBUILD)
===
--- community-staging-any/PKGBUILD  (rev 0)
+++ community-staging-any/PKGBUILD  2021-12-01 11:16:16 UTC (rev 1059125)
@@ -0,0 +1,57 @@
+# Maintainer: Kyle Keen 
+# Maintainer: Daniel M. Capella 
+# Contributor: PepeSmith
+# Contributor: Aron Asor 
+# Contributor: Chris Brannon 
+# Contributor: Douglas Soares de Andrade 
+
+pkgname=ipython
+pkgver=7.30.0
+pkgrel=2
+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=('d41f8e80b99690122400f9b2069b12f670246a1b4cc5d332bd6c4e2500e6d6fb'
+'3c44a6fa1e3a8afc24754c90469404770b639cb960361988999a4cdd677699d8')
+b2sums=('d78dd28aa294ef5e1432ca5d2d853f313f72113a26b9130628e706915d646795a950c983f10e6f6d749833169e42f137a5338a680ea5ed237099a9436497cced'
+
'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
+  python 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"
+}



[arch-commits] Commit in ipython/repos (2 files)

2021-03-10 Thread Daniel M. Capella via arch-commits
Date: Thursday, March 11, 2021 @ 06:06:44
  Author: polyzen
Revision: 887412

archrelease: copy trunk to community-staging-any

Added:
  ipython/repos/community-staging-any/
  ipython/repos/community-staging-any/PKGBUILD
(from rev 887411, ipython/trunk/PKGBUILD)

--+
 PKGBUILD |   45 +
 1 file changed, 45 insertions(+)

Copied: ipython/repos/community-staging-any/PKGBUILD (from rev 887411, 
ipython/trunk/PKGBUILD)
===
--- community-staging-any/PKGBUILD  (rev 0)
+++ community-staging-any/PKGBUILD  2021-03-11 06:06:44 UTC (rev 887412)
@@ -0,0 +1,45 @@
+# Maintainer: Kyle Keen 
+# Contributor: PepeSmith
+# Contributor: Aron Asor 
+# Contributor: Chris Brannon 
+# Contributor: Douglas Soares de Andrade 
+
+pkgname=ipython
+pkgver=7.21.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=('626310f78ef88ea3577b745444c2d60b'
+ '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"
+}