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

Antonio Rojas arojas at gemini.archlinux.org
Sun Apr 17 16:29:23 UTC 2022


    Date: Sunday, April 17, 2022 @ 16:29:23
  Author: arojas
Revision: 1186900

archrelease: copy trunk to community-any

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

----------+
 PKGBUILD |  114 ++++++++++++++++++++++++++++++-------------------------------
 1 file changed, 57 insertions(+), 57 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2022-04-17 16:29:04 UTC (rev 1186899)
+++ PKGBUILD	2022-04-17 16:29:23 UTC (rev 1186900)
@@ -1,57 +0,0 @@
-# Maintainer: Kyle Keen <keenerd at gmail.com>
-
-pkgname=jupyter-nbconvert
-_name=nbconvert
-pkgver=6.5.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-mistune1'
-  'python-pygments'
-  'python-traitlets'
-)
-makedepends=('python-pyppeteer' 'python-build' 'python-installer' 'python-wheel')
-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")
-sha256sums=('548bfb47a15ab12b7c68e6be7c702db791effa8d524707152249a562a019b8f5')
-
-prepare() {
-  cd nbconvert-$pkgver
-  sed -e 's|setuptools>=60.0|setuptools|' -i pyproject.toml
-}
-
-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 1186899, jupyter-nbconvert/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2022-04-17 16:29:23 UTC (rev 1186900)
@@ -0,0 +1,57 @@
+# Maintainer: Kyle Keen <keenerd at gmail.com>
+
+pkgname=jupyter-nbconvert
+_name=nbconvert
+pkgver=6.5.0
+pkgrel=2
+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-traitlets'
+)
+makedepends=('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/$pkgver/$pkgname-$pkgver.tar.gz")
+sha256sums=('548bfb47a15ab12b7c68e6be7c702db791effa8d524707152249a562a019b8f5')
+
+prepare() {
+  cd nbconvert-$pkgver
+  sed -e 's|setuptools>=60.0|setuptools|' -i pyproject.toml
+}
+
+build() {
+  cd nbconvert-$pkgver
+  python setup.py build
+}
+
+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 setup.py install --skip-build --optimize=1 --root="$pkgdir"
+
+  install -Dm644 LICENSE -t "$pkgdir"/usr/share/licenses/$pkgname
+}



More information about the arch-commits mailing list