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

Felix Yan felixonmars at archlinux.org
Sat Oct 26 04:25:40 UTC 2019


    Date: Saturday, October 26, 2019 @ 04:25:39
  Author: felixonmars
Revision: 519991

archrelease: copy trunk to community-staging-any

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

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

Copied: python-spyder-kernels/repos/community-staging-any/PKGBUILD (from rev 519989, python-spyder-kernels/trunk/PKGBUILD)
===================================================================
--- community-staging-any/PKGBUILD	                        (rev 0)
+++ community-staging-any/PKGBUILD	2019-10-26 04:25:39 UTC (rev 519991)
@@ -0,0 +1,27 @@
+# Maintainer: Muflone http://www.muflone.com/contacts/english/
+
+pkgname=python-spyder-kernels
+_pkgname='spyder-kernels'
+pkgver=0.5.2
+pkgrel=2
+pkgdesc='Jupyter Kernels for the Spyder console'
+makedepends=('python' 'python-setuptools')
+depends=('python-ipykernel' 'python-cloudpickle')
+arch=('any')
+url="https://github.com/spyder-ide/${_pkgbase}/"
+license=('MIT')
+source=("python-${_pkgname}-${pkgver}.tar.gz"::"https://github.com/spyder-ide/${_pkgname}/archive/v${pkgver}.tar.gz")
+sha256sums=('861b7547ef407e1a02f315a9f54fe55fe21b516e6d40b7be0df524a85baf664e')
+
+build() {
+  cd "${_pkgname}-${pkgver}"
+  python setup.py build
+}
+
+package_python-spyder-kernels() {
+  cd "${_pkgname}-${pkgver}"
+  python setup.py install --prefix=/usr --root="${pkgdir}" --optimize=1
+  # Install license file
+  install -D -m 644 "LICENSE.txt" "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
+}
+



More information about the arch-commits mailing list