Date: Monday, April 10, 2023 @ 14:02:18 Author: arojas Revision: 1444416
archrelease: copy trunk to community-any Added: jupyter-nbconvert/repos/community-any/PKGBUILD (from rev 1444415, jupyter-nbconvert/trunk/PKGBUILD) Deleted: jupyter-nbconvert/repos/community-any/PKGBUILD ----------+ PKGBUILD | 84 ++++++++++++++++++++++++++++++------------------------------- 1 file changed, 42 insertions(+), 42 deletions(-) Deleted: PKGBUILD =================================================================== --- PKGBUILD 2023-04-10 14:02:10 UTC (rev 1444415) +++ PKGBUILD 2023-04-10 14:02:18 UTC (rev 1444416) @@ -1,42 +0,0 @@ -# Maintainer: Antonio Rojas <aro...@archlinux.org> -# Contributor: Kyle Keen <keen...@gmail.com> - -pkgname=jupyter-nbconvert -_name=nbconvert -pkgver=7.3.0 -pkgrel=1 -pkgdesc='Jupyter Notebook Conversion' -arch=(any) -url='https://pypi.python.org/pypi/nbconvert' -license=(BSD) -depends=(jupyter-nbformat jupyter-nbclient jupyterlab_pygments - python-beautifulsoup4 python-bleach python-defusedxml python-entrypoints python-jinja python-pandocfilters - python-mistune python-pygments python-traitlets python-tinycss2 python-lxml) -makedepends=(python-build python-installer python-hatchling python-pyppeteer) -checkdepends=(python-pytest python-ipywidgets) -optdepends=('pandoc: non-html conversion output' - 'python-pyppeteer: for webPDF conversion support') -source=(https://github.com/jupyter/nbconvert/archive/v$pkgver/$pkgname-$pkgver.tar.gz) -sha256sums=('bdf27f48373230ded5f12d3f94890733db290e8a5adfc18afc94101a1b1bd4e9') - -build() { - cd nbconvert-$pkgver - python -m build --wheel --no-isolation -} - -check() { - cd nbconvert-$pkgver - export PYTHONPATH="$PWD" # Make sure system nbconvert is not used - # disable tests that download chromium and (probably) require a graphical session - pytest -v -k 'TestWebPDFExporter and not (test_export or test_webpdf_without_pyppeteer)' -W ignore::DeprecationWarning - pytest -v -k 'TestNbConvertApp and not test_webpdf_with_chromium' -W ignore::DeprecationWarning - # run all remaining tests - pytest -v -k 'not TestWebPDFExporter and not TestNbConvertApp' -W ignore::DeprecationWarning -} - -package() { - cd nbconvert-$pkgver - python -m installer --destdir="$pkgdir" dist/*.whl - - install -Dm644 LICENSE -t "$pkgdir"/usr/share/licenses/$pkgname -} Copied: jupyter-nbconvert/repos/community-any/PKGBUILD (from rev 1444415, jupyter-nbconvert/trunk/PKGBUILD) =================================================================== --- PKGBUILD (rev 0) +++ PKGBUILD 2023-04-10 14:02:18 UTC (rev 1444416) @@ -0,0 +1,42 @@ +# Maintainer: Antonio Rojas <aro...@archlinux.org> +# Contributor: Kyle Keen <keen...@gmail.com> + +pkgname=jupyter-nbconvert +_name=nbconvert +pkgver=7.3.1 +pkgrel=1 +pkgdesc='Jupyter Notebook Conversion' +arch=(any) +url='https://pypi.python.org/pypi/nbconvert' +license=(BSD) +depends=(jupyter-nbformat jupyter-nbclient jupyterlab_pygments + python-beautifulsoup4 python-bleach python-defusedxml python-entrypoints python-jinja python-pandocfilters + python-mistune python-pygments python-traitlets python-tinycss2 python-lxml) +makedepends=(python-build python-installer python-hatchling python-pyppeteer) +checkdepends=(python-pytest python-ipywidgets) +optdepends=('pandoc: non-html conversion output' + 'python-pyppeteer: for webPDF conversion support') +source=(https://github.com/jupyter/nbconvert/archive/v$pkgver/$pkgname-$pkgver.tar.gz) +sha256sums=('a3113cddd4f578498d6f476375938d4dedbfd8f6036abe3926e72cf9e8e266d6') + +build() { + cd nbconvert-$pkgver + python -m build --wheel --no-isolation +} + +check() { + cd nbconvert-$pkgver + export PYTHONPATH="$PWD" # Make sure system nbconvert is not used + # disable tests that download chromium and (probably) require a graphical session + pytest -v -k 'TestWebPDFExporter and not (test_export or test_webpdf_without_pyppeteer)' -W ignore::DeprecationWarning + pytest -v -k 'TestNbConvertApp and not test_webpdf_with_chromium' -W ignore::DeprecationWarning + # run all remaining tests + pytest -v -k 'not TestWebPDFExporter and not TestNbConvertApp' -W ignore::DeprecationWarning +} + +package() { + cd nbconvert-$pkgver + python -m installer --destdir="$pkgdir" dist/*.whl + + install -Dm644 LICENSE -t "$pkgdir"/usr/share/licenses/$pkgname +}