[arch-commits] Commit in jupyter-nbconvert/repos/community-any (PKGBUILD PKGBUILD)

Antonio Rojas arojas at gemini.archlinux.org
Sun Apr 3 09:58:56 UTC 2022


    Date: Sunday, April 3, 2022 @ 09:58:56
  Author: arojas
Revision: 1180957

archrelease: copy trunk to community-any

Added:
  jupyter-nbconvert/repos/community-any/PKGBUILD
    (from rev 1180956, jupyter-nbconvert/trunk/PKGBUILD)
Deleted:
  jupyter-nbconvert/repos/community-any/PKGBUILD

----------+
 PKGBUILD |  110 +++++++++++++++++++++++++++++--------------------------------
 1 file changed, 54 insertions(+), 56 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2022-04-03 09:58:46 UTC (rev 1180956)
+++ PKGBUILD	2022-04-03 09:58:56 UTC (rev 1180957)
@@ -1,56 +0,0 @@
-# Maintainer: Kyle Keen <keenerd at gmail.com>
-
-pkgname=jupyter-nbconvert
-_name=nbconvert
-pkgver=6.4.5
-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-beautifulsoup4'
-  '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=('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 1180956, jupyter-nbconvert/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2022-04-03 09:58:56 UTC (rev 1180957)
@@ -0,0 +1,54 @@
+# Maintainer: Kyle Keen <keenerd at gmail.com>
+
+pkgname=jupyter-nbconvert
+_name=nbconvert
+pkgver=6.4.5
+pkgrel=2
+pkgdesc="Jupyter Notebook Conversion"
+arch=('any')
+url="https://pypi.python.org/pypi/nbconvert"
+license=('BSD')
+depends=(
+  'jupyter-notebook'
+  'jupyterlab_pygments'
+  'python-beautifulsoup4'
+  '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=('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