[arch-commits] Commit in python-spyder-kernels/repos (2 files)

Bruno Pagani archange at archlinux.org
Thu Feb 20 16:32:33 UTC 2020


    Date: Thursday, February 20, 2020 @ 16:32:33
  Author: archange
Revision: 577283

archrelease: copy trunk to community-testing-any

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

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

Copied: python-spyder-kernels/repos/community-testing-any/PKGBUILD (from rev 577282, python-spyder-kernels/trunk/PKGBUILD)
===================================================================
--- community-testing-any/PKGBUILD	                        (rev 0)
+++ community-testing-any/PKGBUILD	2020-02-20 16:32:33 UTC (rev 577283)
@@ -0,0 +1,59 @@
+# Maintainer: Muflone http://www.muflone.com/contacts/english/
+# Maintainer: Bruno Pagani <archange at archlinux.org>
+
+_pkg=spyder-kernels
+pkgname=python-${_pkg}
+pkgver=1.8.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=(
+    python-ipykernel
+    python-pyzmq
+    python-jupyter_client
+    python-cloudpickle
+    python-wurlitzer
+)
+checkdepends=(
+    python-numpy
+    python-pandas
+    python-scipy
+    python-pytest
+    python-flaky
+    python-mock
+    cython
+    python-matplotlib
+    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
+       spyder-kernels-fix-ipython-7.10-test.patch::https://github.com/spyder-ide/spyder-kernels/commit/ced5246e8f46e0e9f879026b016d2dbf8b206b33.patch)
+sha256sums=('54b8aeea219f98ea120bdc104cfa6fb36f387e6e2e467fc859e5a30cd7dfc36b'
+            'b7c2a9cb3630f266141014f253b86dd7942303f87053667675c5fad0c00c9a75')
+
+prepare() {
+  cd ${_pkg}-${pkgver}
+  patch -p1 -i ../spyder-kernels-fix-ipython-7.10-test.patch
+}
+
+build() {
+  cd ${_pkg}-${pkgver}
+  python setup.py build
+}
+
+check() {
+  cd ${_pkg}-${pkgver}
+  pytest spyder_kernels
+}
+
+package() {
+  cd ${_pkg}-${pkgver}
+  python setup.py install --prefix=/usr --root="${pkgdir}" --optimize=1 --skip-build
+  # Install license file
+  install -Dm644 LICENSE.txt -t "${pkgdir}"/usr/share/licenses/${pkgname}/
+}
+



More information about the arch-commits mailing list