[arch-commits] Commit in python-spyder-kernels/repos/community-any (PKGBUILD PKGBUILD)

Bruno Pagani archange at gemini.archlinux.org
Tue Mar 22 17:34:45 UTC 2022


    Date: Tuesday, March 22, 2022 @ 17:34:45
  Author: archange
Revision: 1170361

archrelease: copy trunk to community-any

Added:
  python-spyder-kernels/repos/community-any/PKGBUILD
    (from rev 1170360, python-spyder-kernels/trunk/PKGBUILD)
Deleted:
  python-spyder-kernels/repos/community-any/PKGBUILD

----------+
 PKGBUILD |  111 +++++++++++++++++++++++++++++++------------------------------
 1 file changed, 58 insertions(+), 53 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2022-03-22 17:34:07 UTC (rev 1170360)
+++ PKGBUILD	2022-03-22 17:34:45 UTC (rev 1170361)
@@ -1,53 +0,0 @@
-# Maintainer: Bruno Pagani <archange at archlinux.org>
-
-_pkg=spyder-kernels
-pkgname=python-${_pkg}
-pkgver=2.2.1
-pkgrel=1
-pkgdesc="Jupyter Kernels for the Spyder console"
-arch=(any)
-url="https://github.com/spyder-ide/spyder-kernels/"
-license=(MIT)
-makedepends=(python python-setuptools)
-depends=(
-    ipython
-    python-cloudpickle
-    python-ipykernel
-    python-jupyter_client
-    python-pyzmq
-    python-wurlitzer
-)
-checkdepends=(
-    cython
-    python-dask
-    python-distributed
-    python-flaky
-    python-matplotlib
-    python-mock
-    python-numpy
-    python-pandas
-    python-pillow
-    python-pytest
-    python-scipy
-    python-xarray
-)
-# No tests in pypi tarballs
-#source=(https://files.pythonhosted.org/packages/source/${_pkg::1}/${_pkg}/${_pkg}-${pkgver}.tar.gz)
-source=(${url}/archive/v${pkgver}/${pkgname}-${pkgver}.tar.gz)
-sha256sums=('f9bca9db3c7955b6ed0c1fa70d188d7eb904b88a1cccb704a8465f619259b989')
-
-build() {
-  cd ${_pkg}-${pkgver}
-  python setup.py build
-}
-
-check() {
-  cd ${_pkg}-${pkgver}
-  pytest -vv --color=yes spyder_kernels
-}
-
-package() {
-  cd ${_pkg}-${pkgver}
-  python setup.py install --prefix=/usr --root="${pkgdir}" --optimize=1 --skip-build
-  install -Dm644 LICENSE.txt -t "${pkgdir}"/usr/share/licenses/${pkgname}/
-}

Copied: python-spyder-kernels/repos/community-any/PKGBUILD (from rev 1170360, python-spyder-kernels/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2022-03-22 17:34:45 UTC (rev 1170361)
@@ -0,0 +1,58 @@
+# Maintainer: Bruno Pagani <archange at archlinux.org>
+
+_pkg=spyder-kernels
+pkgname=python-${_pkg}
+pkgver=2.2.1
+pkgrel=2
+pkgdesc="Jupyter Kernels for the Spyder console"
+arch=(any)
+url="https://github.com/spyder-ide/spyder-kernels/"
+license=(MIT)
+makedepends=(python python-setuptools)
+depends=(
+    ipython
+    python-cloudpickle
+    python-ipykernel
+    python-jupyter_client
+    python-pyzmq
+    python-wurlitzer
+)
+checkdepends=(
+    cython
+    python-dask
+    python-distributed
+    python-flaky
+    python-matplotlib
+    python-mock
+    python-numpy
+    python-pandas
+    python-pillow
+    python-pytest
+    python-scipy
+    python-xarray
+)
+# No tests in pypi tarballs
+#source=(https://files.pythonhosted.org/packages/source/${_pkg::1}/${_pkg}/${_pkg}-${pkgver}.tar.gz)
+source=(${url}/archive/v${pkgver}/${pkgname}-${pkgver}.tar.gz)
+sha256sums=('f9bca9db3c7955b6ed0c1fa70d188d7eb904b88a1cccb704a8465f619259b989')
+
+prepare() {
+  cd ${_pkg}-${pkgver}
+  sed -i 's|ipython>=7.6.0,<8|ipython>=7.6.0|' setup.py
+}
+
+build() {
+  cd ${_pkg}-${pkgver}
+  python setup.py build
+}
+
+check() {
+  cd ${_pkg}-${pkgver}
+  pytest -vv --color=yes spyder_kernels
+}
+
+package() {
+  cd ${_pkg}-${pkgver}
+  python setup.py install --prefix=/usr --root="${pkgdir}" --optimize=1 --skip-build
+  install -Dm644 LICENSE.txt -t "${pkgdir}"/usr/share/licenses/${pkgname}/
+}



More information about the arch-commits mailing list