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

Bruno Pagani archange at archlinux.org
Mon May 11 22:01:30 UTC 2020


    Date: Monday, May 11, 2020 @ 22:01:29
  Author: archange
Revision: 626564

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 626563, python-spyder-kernels/trunk/PKGBUILD)

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

Copied: python-spyder-kernels/repos/community-testing-any/PKGBUILD (from rev 626563, python-spyder-kernels/trunk/PKGBUILD)
===================================================================
--- community-testing-any/PKGBUILD	                        (rev 0)
+++ community-testing-any/PKGBUILD	2020-05-11 22:01:29 UTC (rev 626564)
@@ -0,0 +1,52 @@
+# Maintainer: Muflone http://www.muflone.com/contacts/english/
+# Maintainer: Bruno Pagani <archange at archlinux.org>
+
+_pkg=spyder-kernels
+pkgname=python-${_pkg}
+pkgver=1.9.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-cloudpickle
+    python-ipykernel
+    python-jupyter_client
+    python-pyzmq
+    python-wurlitzer
+)
+checkdepends=(
+    cython
+    python-flaky
+    python-matplotlib
+    python-mock
+    python-numpy
+    python-pandas
+    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=('ed708512d559b9ffc4ad578d9c4db80301f6a0c126bd310c4e677081e09ac2b6')
+
+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