Date: Wednesday, January 26, 2022 @ 22:24:25 Author: arojas Revision: 1116203
archrelease: copy trunk to community-any Added: jupyter-nbconvert/repos/community-any/PKGBUILD (from rev 1116202, jupyter-nbconvert/trunk/PKGBUILD) Deleted: jupyter-nbconvert/repos/community-any/PKGBUILD ----------+ PKGBUILD | 108 ++++++++++++++++++++++++++++++------------------------------- 1 file changed, 54 insertions(+), 54 deletions(-) Deleted: PKGBUILD =================================================================== --- PKGBUILD 2022-01-26 22:24:15 UTC (rev 1116202) +++ PKGBUILD 2022-01-26 22:24:25 UTC (rev 1116203) @@ -1,54 +0,0 @@ -# Maintainer: Kyle Keen <keen...@gmail.com> - -pkgname=jupyter-nbconvert -_name=nbconvert -pkgver=6.4.0 -pkgrel=1 -pkgdesc="Jupyter Notebook Conversion" -arch=('any') -url="https://pypi.python.org/pypi/nbconvert" -license=('BSD') -depends=( - 'jupyter' - 'jupyter-nbclient' - 'jupyter-nbformat' - 'jupyterlab_pygments' - 'python-bleach' - 'python-defusedxml' - 'python-entrypoints' - 'python-jinja' - 'python-pandocfilters' - 'python-mistune1' - 'python-pygments' - 'python-testpath' - 'python-traitlets' -) -# really depends on jupyter-client, not jupyter -makedepends=('python-pyppeteer' 'python-setuptools') -checkdepends=('chromium' 'python-pytest') -optdepends=('pandoc: non-html conversion output' - 'python-pyppeteer: for webPDF conversion support') -source=("https://github.com/jupyter/nbconvert/archive/$pkgver/$pkgname-$pkgver.tar.gz") -sha512sums=('9dadfde947924e775168ac9e06f6333813b9a99caecd287d888ab137af4368c9b250cd557cfd5e68a2c6166f84282c76e7e53d8a17515be20f11842aa4a27b65') -b2sums=('07a19135375196c6484a761a9744cecc84831dc7d8d836f927ecdde6be483c57e532c99a17ccccdc4fc2d53c41019651cb42dce4062934af1b5ab35840139829') - -build() { - cd nbconvert-$pkgver - python setup.py build -} - -check() { - cd "${_name}-${pkgver}" - # disable tests that download chromium and (probably) require a graphical session - pytest -vv -k 'TestWebPDFExporter and not (test_export or test_webpdf_without_pyppeteer)' - pytest -vv -k 'TestNbConvertApp and not test_webpdf_with_chromium' - # run all remaining tests - pytest -vv -k 'not TestWebPDFExporter and not TestNbConvertApp' -} - -package() { - cd "nbconvert-$pkgver" - python setup.py install --root="$pkgdir" --optimize=0 - - install -Dm644 "LICENSE" "$pkgdir/usr/share/licenses/$pkgname/LICENSE" -} Copied: jupyter-nbconvert/repos/community-any/PKGBUILD (from rev 1116202, jupyter-nbconvert/trunk/PKGBUILD) =================================================================== --- PKGBUILD (rev 0) +++ PKGBUILD 2022-01-26 22:24:25 UTC (rev 1116203) @@ -0,0 +1,54 @@ +# Maintainer: Kyle Keen <keen...@gmail.com> + +pkgname=jupyter-nbconvert +_name=nbconvert +pkgver=6.4.1 +pkgrel=1 +pkgdesc="Jupyter Notebook Conversion" +arch=('any') +url="https://pypi.python.org/pypi/nbconvert" +license=('BSD') +depends=( + 'jupyter' + 'jupyter-nbclient' + 'jupyter-nbformat' + 'jupyterlab_pygments' + 'python-bleach' + 'python-defusedxml' + 'python-entrypoints' + 'python-jinja' + 'python-pandocfilters' + 'python-mistune1' + 'python-pygments' + 'python-testpath' + 'python-traitlets' +) +# really depends on jupyter-client, not jupyter +makedepends=('python-pyppeteer' 'python-setuptools') +checkdepends=('chromium' 'python-pytest') +optdepends=('pandoc: non-html conversion output' + 'python-pyppeteer: for webPDF conversion support') +source=("https://github.com/jupyter/nbconvert/archive/$pkgver/$pkgname-$pkgver.tar.gz") +sha512sums=('410801969a34eb207e3a76664e56462927548dd81ea3cb015551fc52256dc03d3161b79a9beb0ef068787d5dfd412d224aadf8aa7a36caf66e4660db3382b930') +b2sums=('d89748245bb26a14a9c01b0138d632ce44577ccb5ecf7a12fcbba5d40f36577f8388a1557a6f3c2d38ec43f9a8fa2e8d3f7861b2e336a6a2921fceeb07734219') + +build() { + cd nbconvert-$pkgver + python setup.py build +} + +check() { + cd "${_name}-${pkgver}" + # disable tests that download chromium and (probably) require a graphical session + pytest -vv -k 'TestWebPDFExporter and not (test_export or test_webpdf_without_pyppeteer)' + pytest -vv -k 'TestNbConvertApp and not test_webpdf_with_chromium' + # run all remaining tests + pytest -vv -k 'not TestWebPDFExporter and not TestNbConvertApp' +} + +package() { + cd "nbconvert-$pkgver" + python setup.py install --root="$pkgdir" --optimize=0 + + install -Dm644 "LICENSE" "$pkgdir/usr/share/licenses/$pkgname/LICENSE" +}