Date: Monday, April 4, 2022 @ 19:50:24 Author: arojas Revision: 1181383
archrelease: copy trunk to community-any Added: jupyter-nbformat/repos/community-any/PKGBUILD (from rev 1181382, jupyter-nbformat/trunk/PKGBUILD) Deleted: jupyter-nbformat/repos/community-any/PKGBUILD ----------+ PKGBUILD | 65 ++++++++++++++++++++++++++++++++----------------------------- 1 file changed, 35 insertions(+), 30 deletions(-) Deleted: PKGBUILD =================================================================== --- PKGBUILD 2022-04-04 19:50:14 UTC (rev 1181382) +++ PKGBUILD 2022-04-04 19:50:24 UTC (rev 1181383) @@ -1,30 +0,0 @@ -# Maintainer: Kyle Keen <keen...@gmail.com> - -pkgname=jupyter-nbformat -pkgver=5.2.0 -pkgrel=1 -pkgdesc="The base implementation of the Jupyter Notebook format and Python APIs for working with notebooks" -arch=('any') -url="https://pypi.python.org/pypi/nbformat" -license=('BSD') -depends=('python-traitlets' 'python-jupyter_core' 'python-jsonschema') -makedepends=('python-build' 'python-installer' 'python-wheel') -checkdepends=('python-pytest' 'python-testpath' 'python-fastjsonschema') -source=("$pkgname-$pkgver.tgz::https://github.com/jupyter/nbformat/archive/$pkgver.tar.gz") -md5sums=('835f4d20224a3327b570c2c8ba1ad941') - -build() { - cd nbformat-$pkgver - python -m build --wheel --no-isolation -} - -check() { - cd nbformat-$pkgver - pytest -} - -package() { - cd nbformat-$pkgver - python -m installer --destdir="$pkgdir" dist/*.whl - install -Dm644 COPYING.md "$pkgdir/usr/share/licenses/$pkgname/LICENSE" -} Copied: jupyter-nbformat/repos/community-any/PKGBUILD (from rev 1181382, jupyter-nbformat/trunk/PKGBUILD) =================================================================== --- PKGBUILD (rev 0) +++ PKGBUILD 2022-04-04 19:50:24 UTC (rev 1181383) @@ -0,0 +1,35 @@ +# Maintainer: Kyle Keen <keen...@gmail.com> + +pkgname=jupyter-nbformat +pkgver=5.3.0 +pkgrel=1 +pkgdesc="The base implementation of the Jupyter Notebook format and Python APIs for working with notebooks" +arch=('any') +url="https://pypi.python.org/pypi/nbformat" +license=('BSD') +depends=('python-traitlets' 'python-jupyter_core' 'python-jsonschema') +makedepends=('python-build' 'python-installer' 'python-wheel') +checkdepends=('python-pytest' 'python-testpath' 'python-fastjsonschema') +source=(https://github.com/jupyter/nbformat/archive/$pkgver/nbformat-$pkgver.tar.gz) +sha256sums=('b5a31ef91530af8338406884f798400b9c64d8ff85db79b5c6e8d4971885dea8') + +prepare() { + cd nbformat-$pkgver + sed -e 's|setuptools>=60.0|setuptools|' -i pyproject.toml +} + +build() { + cd nbformat-$pkgver + python -m build --wheel --no-isolation +} + +check() { + cd nbformat-$pkgver + pytest +} + +package() { + cd nbformat-$pkgver + python -m installer --destdir="$pkgdir" dist/*.whl + install -Dm644 COPYING.md "$pkgdir/usr/share/licenses/$pkgname/LICENSE" +}