Date: Monday, April 4, 2022 @ 19:47:14 Author: archange Revision: 1181381
archrelease: copy trunk to community-testing-any Added: python-spyder-kernels/repos/community-testing-any/PKGBUILD (from rev 1181380, python-spyder-kernels/trunk/PKGBUILD) Deleted: python-spyder-kernels/repos/community-testing-any/PKGBUILD ----------+ PKGBUILD | 118 +++++++++++++++++++++++++++++-------------------------------- 1 file changed, 58 insertions(+), 60 deletions(-) Deleted: PKGBUILD =================================================================== --- PKGBUILD 2022-04-04 19:46:45 UTC (rev 1181380) +++ PKGBUILD 2022-04-04 19:47:14 UTC (rev 1181381) @@ -1,60 +0,0 @@ -# Maintainer: Bruno Pagani <archa...@archlinux.org> - -_pkg=spyder-kernels -pkgname=python-${_pkg} -pkgver=2.3.0 -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=('3fbf18088fdd3c4d3ca1923790b2537d08f52bb7e616a15a544534ef8e22d05f') - -prepare() { - cd ${_pkg}-${pkgver} - sed -i 's|ipython>=7.31.1,<8|ipython>=7.31.1|' setup.py -} - -build() { - cd ${_pkg}-${pkgver} - python setup.py build -} - -check() { - cd ${_pkg}-${pkgver} - # https://github.com/ipython/ipykernel/issues/901 - # https://github.com/spyder-ide/spyder-kernels/issues/380 - pytest -vv --color=yes spyder_kernels || echo "Tests failed" -} - -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-testing-any/PKGBUILD (from rev 1181380, python-spyder-kernels/trunk/PKGBUILD) =================================================================== --- PKGBUILD (rev 0) +++ PKGBUILD 2022-04-04 19:47:14 UTC (rev 1181381) @@ -0,0 +1,58 @@ +# Maintainer: Bruno Pagani <archa...@archlinux.org> + +_pkg=spyder-kernels +pkgname=python-${_pkg} +pkgver=2.3.0 +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=('3fbf18088fdd3c4d3ca1923790b2537d08f52bb7e616a15a544534ef8e22d05f') + +prepare() { + cd ${_pkg}-${pkgver} + sed -i 's|ipython>=7.31.1,<8|ipython>=7.31.1|' 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}/ +}