[arch-commits] Commit in jupyter-nbconvert/repos/community-any (PKGBUILD PKGBUILD)
Antonio Rojas
arojas at gemini.archlinux.org
Mon Apr 4 09:23:41 UTC 2022
Date: Monday, April 4, 2022 @ 09:23:41
Author: arojas
Revision: 1181225
archrelease: copy trunk to community-any
Added:
jupyter-nbconvert/repos/community-any/PKGBUILD
(from rev 1181224, jupyter-nbconvert/trunk/PKGBUILD)
Deleted:
jupyter-nbconvert/repos/community-any/PKGBUILD
----------+
PKGBUILD | 108 ++++++++++++++++++++++++++++++-------------------------------
1 file changed, 54 insertions(+), 54 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2022-04-04 09:23:30 UTC (rev 1181224)
+++ PKGBUILD 2022-04-04 09:23:41 UTC (rev 1181225)
@@ -1,54 +0,0 @@
-# Maintainer: Kyle Keen <keenerd at gmail.com>
-
-pkgname=jupyter-nbconvert
-_name=nbconvert
-pkgver=6.4.5
-pkgrel=3
-pkgdesc="Jupyter Notebook Conversion"
-arch=('any')
-url="https://pypi.python.org/pypi/nbconvert"
-license=('BSD')
-depends=(
- 'jupyter-notebook'
- 'jupyter-nbclient'
- 'jupyterlab_pygments'
- 'python-beautifulsoup4'
- 'python-bleach'
- 'python-defusedxml'
- 'python-entrypoints'
- 'python-jinja'
- 'python-pandocfilters'
- 'python-mistune1'
- 'python-pygments'
- 'python-testpath'
- 'python-traitlets'
-)
-makedepends=('python-pyppeteer' 'python-setuptools')
-checkdepends=('python-pytest' 'python-ipywidgets')
-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=('58a2f5e9c61dca0e2b8a8338a68e8bd7384a4eb9c300a0df45cfe941b3f19c6a64573ac02415318caa65feb74cda375d52d89a009f185eb45c531eb38c5b6865')
-b2sums=('68ac22804b163fa3f36a9f81a24b39c84a60650a2c18175f7741a7299f84f627130732bd9d68e70cf252070ab662f21d57e9b7760b185ed164954baab87fee2c')
-
-build() {
- cd nbconvert-$pkgver
- python setup.py build
-}
-
-check() {
- cd "${_name}-${pkgver}"
- export PYTHONPATH="$PWD" # Make sure system nbconvert is not used
- # 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 1181224, jupyter-nbconvert/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2022-04-04 09:23:41 UTC (rev 1181225)
@@ -0,0 +1,54 @@
+# Maintainer: Kyle Keen <keenerd at gmail.com>
+
+pkgname=jupyter-nbconvert
+_name=nbconvert
+pkgver=6.4.5
+pkgrel=4
+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-mistune1'
+ 'python-pygments'
+ 'python-testpath'
+ 'python-traitlets'
+)
+makedepends=('python-pyppeteer' 'python-setuptools')
+checkdepends=('python-pytest' 'python-ipywidgets')
+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=('58a2f5e9c61dca0e2b8a8338a68e8bd7384a4eb9c300a0df45cfe941b3f19c6a64573ac02415318caa65feb74cda375d52d89a009f185eb45c531eb38c5b6865')
+b2sums=('68ac22804b163fa3f36a9f81a24b39c84a60650a2c18175f7741a7299f84f627130732bd9d68e70cf252070ab662f21d57e9b7760b185ed164954baab87fee2c')
+
+build() {
+ cd nbconvert-$pkgver
+ python setup.py build
+}
+
+check() {
+ cd "${_name}-${pkgver}"
+ export PYTHONPATH="$PWD" # Make sure system nbconvert is not used
+ # 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"
+}
More information about the arch-commits
mailing list